ez_azml.params.DockerParams

class ez_azml.params.DockerParams(image_name: str = <factory>, registry: str = <factory>, tag: str = <factory>, username: str = <factory>, password: str = <factory>)

Bases: object

Dataclass representing a docker setup.

Parameters:
  • image_name – name of the image, without registry or tag. Defaults to env DOCKER_IMAGE.

  • registry – registry hosting the image. Defaults to env DOCKER_REGISTRY.

  • tag – image tag. Defaults to env DOCKER_TAG if set, “latest” otherwise.

  • username – username to log in to the registry. Defaults to env DOCKER_USERNAME.

  • password – password to log in to the registry. Defaults to env DOCKER_PASSWORD.

__init__(image_name: str = <factory>, registry: str = <factory>, tag: str = <factory>, username: str = <factory>, password: str = <factory>) None

Methods

__init__([image_name, registry, tag, ...])

Attributes

image

Concatenated registry + image name + tag.

image_name

registry

tag

username

password