module documentation

Undocumented

Class AuthConfig No class docstring; 0/4 property, 0/2 instance variable, 1/7 method, 2/2 class methods documented
Function convert_to_hostname Undocumented
Function decode_auth Undocumented
Function encode_header Undocumented
Function get_config_header Undocumented
Function get_credential_store Undocumented
Function load_config Undocumented
Function parse_auth Parses authentication entries
Function resolve_authconfig Undocumented
Function resolve_index_name Undocumented
Function resolve_repository_name Undocumented
Function split_repo_name Undocumented
Constant INDEX_NAME Undocumented
Constant INDEX_URL Undocumented
Constant TOKEN_USERNAME Undocumented
Variable log Undocumented
Function _load_legacy_config Undocumented
def convert_to_hostname(url): (source)

Undocumented

def decode_auth(auth): (source)

Undocumented

def encode_header(auth): (source)

Undocumented

def get_config_header(client, registry): (source)

Undocumented

def get_credential_store(authconfig, registry): (source)

Undocumented

def load_config(config_path=None, config_dict=None, credstore_env=None): (source)

Undocumented

def parse_auth(entries, raise_on_error=False): (source)

Parses authentication entries Args: entries: Dict of authentication entries. raise_on_error: If set to true, an invalid format will raise InvalidConfigFile Returns: Authentication registry.

def resolve_authconfig(authconfig, registry=None, credstore_env=None): (source)

Undocumented

def resolve_index_name(index_name): (source)

Undocumented

def resolve_repository_name(repo_name): (source)

Undocumented

def split_repo_name(repo_name): (source)

Undocumented

INDEX_NAME: str = (source)

Undocumented

Value
'docker.io'
INDEX_URL = (source)

Undocumented

Value
f"""https://index.{INDEX_NAME}/v1/"""
TOKEN_USERNAME: str = (source)

Undocumented

Value
'<token>'

Undocumented

def _load_legacy_config(config_file): (source)

Undocumented