validate#

Validation functions for Azure configuration.

Functions#

is_valid_acr_endpoint(→ tuple[bool, str])

Check whether an Azure container

Module Contents#

is_valid_acr_endpoint(endpoint: str) tuple[bool, str]#

Check whether an Azure container registry endpoint is valid given CFA ACR configurations.

Parameters#

endpoint

Azure Container Registry endpoint to validate.

Returns#

tuple[bool, str]

First entry: True if validation passes, else False. Second entry: None if validation passes, else a string indicating what failed validation.