Example #1
0
    def __init__(self,
                 test=None,
                 interval=None,
                 timeout=None,
                 retries=None,
                 start_period=None,
                 local_vars_configuration=None):  # noqa: E501
        """DockerHealthConfig - a model defined in OpenAPI"""  # noqa: E501
        if local_vars_configuration is None:
            local_vars_configuration = Configuration()
        self.local_vars_configuration = local_vars_configuration

        self._test = None
        self._interval = None
        self._timeout = None
        self._retries = None
        self._start_period = None
        self.discriminator = None

        if test is not None:
            self.test = test
        if interval is not None:
            self.interval = interval
        if timeout is not None:
            self.timeout = timeout
        if retries is not None:
            self.retries = retries
        if start_period is not None:
            self.start_period = start_period
Example #2
0
    def __init__(self,
                 id=None,
                 title=None,
                 question=None,
                 filepath=None,
                 visualized=None,
                 accepted=None,
                 local_vars_configuration=None):  # noqa: E501
        """Eula - a model defined in OpenAPI"""  # noqa: E501
        if local_vars_configuration is None:
            local_vars_configuration = Configuration()
        self.local_vars_configuration = local_vars_configuration

        self._id = None
        self._title = None
        self._question = None
        self._filepath = None
        self._visualized = None
        self._accepted = None
        self.discriminator = None

        if id is not None:
            self.id = id
        if title is not None:
            self.title = title
        if question is not None:
            self.question = question
        if filepath is not None:
            self.filepath = filepath
        if visualized is not None:
            self.visualized = visualized
        if accepted is not None:
            self.accepted = accepted
Example #3
0
    def __init__(self,
                 id=None,
                 progress=None,
                 messages=None,
                 pending=None,
                 result=None,
                 local_vars_configuration=None):  # noqa: E501
        """Progress - a model defined in OpenAPI"""  # noqa: E501
        if local_vars_configuration is None:
            local_vars_configuration = Configuration()
        self.local_vars_configuration = local_vars_configuration

        self._id = None
        self._progress = None
        self._messages = None
        self._pending = None
        self._result = None
        self.discriminator = None

        if id is not None:
            self.id = id
        if progress is not None:
            self.progress = progress
        if messages is not None:
            self.messages = messages
        if pending is not None:
            self.pending = pending
        if result is not None:
            self.result = result
Example #4
0
    def __init__(self,
                 mountpoint=None,
                 filesystem=None,
                 size=None,
                 available=None,
                 local_vars_configuration=None):  # noqa: E501
        """MountPoint - a model defined in OpenAPI"""  # noqa: E501
        if local_vars_configuration is None:
            local_vars_configuration = Configuration()
        self.local_vars_configuration = local_vars_configuration

        self._mountpoint = None
        self._filesystem = None
        self._size = None
        self._available = None
        self.discriminator = None

        if mountpoint is not None:
            self.mountpoint = mountpoint
        if filesystem is not None:
            self.filesystem = filesystem
        if size is not None:
            self.size = size
        if available is not None:
            self.available = available
Example #5
0
    def __init__(self, target=None, source=None, type=None, read_only=None, consistency=None, bind_options=None, volume_options=None, tmpfs_options=None, local_vars_configuration=None):  # noqa: E501
        """DockerMount - a model defined in OpenAPI"""  # noqa: E501
        if local_vars_configuration is None:
            local_vars_configuration = Configuration()
        self.local_vars_configuration = local_vars_configuration

        self._target = None
        self._source = None
        self._type = None
        self._read_only = None
        self._consistency = None
        self._bind_options = None
        self._volume_options = None
        self._tmpfs_options = None
        self.discriminator = None

        if target is not None:
            self.target = target
        if source is not None:
            self.source = source
        if type is not None:
            self.type = type
        if read_only is not None:
            self.read_only = read_only
        if consistency is not None:
            self.consistency = consistency
        if bind_options is not None:
            self.bind_options = bind_options
        if volume_options is not None:
            self.volume_options = volume_options
        if tmpfs_options is not None:
            self.tmpfs_options = tmpfs_options
Example #6
0
    def __init__(self,
                 platform=None,
                 components=None,
                 version=None,
                 api_version=None,
                 min_api_version=None,
                 git_commit=None,
                 go_version=None,
                 os=None,
                 arch=None,
                 kernel_version=None,
                 experimental=None,
                 build_time=None,
                 local_vars_configuration=None):  # noqa: E501
        """DockerVersion - a model defined in OpenAPI"""  # noqa: E501
        if local_vars_configuration is None:
            local_vars_configuration = Configuration()
        self.local_vars_configuration = local_vars_configuration

        self._platform = None
        self._components = None
        self._version = None
        self._api_version = None
        self._min_api_version = None
        self._git_commit = None
        self._go_version = None
        self._os = None
        self._arch = None
        self._kernel_version = None
        self._experimental = None
        self._build_time = None
        self.discriminator = None

        if platform is not None:
            self.platform = platform
        if components is not None:
            self.components = components
        if version is not None:
            self.version = version
        if api_version is not None:
            self.api_version = api_version
        if min_api_version is not None:
            self.min_api_version = min_api_version
        if git_commit is not None:
            self.git_commit = git_commit
        if go_version is not None:
            self.go_version = go_version
        if os is not None:
            self.os = os
        if arch is not None:
            self.arch = arch
        if kernel_version is not None:
            self.kernel_version = kernel_version
        if experimental is not None:
            self.experimental = experimental
        if build_time is not None:
            self.build_time = build_time
Example #7
0
    def __init__(self, name=None, local_vars_configuration=None):  # noqa: E501
        """DockerVersionPlatform - a model defined in OpenAPI"""  # noqa: E501
        if local_vars_configuration is None:
            local_vars_configuration = Configuration()
        self.local_vars_configuration = local_vars_configuration

        self._name = None
        self.discriminator = None

        self.name = name
Example #8
0
    def __init__(self,
                 status=None,
                 running=None,
                 paused=None,
                 restarting=None,
                 oom_killed=None,
                 dead=None,
                 pid=None,
                 exit_code=None,
                 error=None,
                 started_at=None,
                 finished_at=None,
                 local_vars_configuration=None):  # noqa: E501
        """DockerContainerState - a model defined in OpenAPI"""  # noqa: E501
        if local_vars_configuration is None:
            local_vars_configuration = Configuration()
        self.local_vars_configuration = local_vars_configuration

        self._status = None
        self._running = None
        self._paused = None
        self._restarting = None
        self._oom_killed = None
        self._dead = None
        self._pid = None
        self._exit_code = None
        self._error = None
        self._started_at = None
        self._finished_at = None
        self.discriminator = None

        if status is not None:
            self.status = status
        if running is not None:
            self.running = running
        if paused is not None:
            self.paused = paused
        if restarting is not None:
            self.restarting = restarting
        if oom_killed is not None:
            self.oom_killed = oom_killed
        if dead is not None:
            self.dead = dead
        if pid is not None:
            self.pid = pid
        if exit_code is not None:
            self.exit_code = exit_code
        if error is not None:
            self.error = error
        if started_at is not None:
            self.started_at = started_at
        if finished_at is not None:
            self.finished_at = finished_at
Example #9
0
    def __init__(self, id=None, repo_tags=None, repo_digests=None, parent=None, comment=None, created=None, container=None, container_config=None, docker_version=None, author=None, config=None, architecture=None, os=None, os_version=None, size=None, virtual_size=None, graph_driver=None, root_fs=None, metadata=None, local_vars_configuration=None):  # noqa: E501
        """DockerImage - a model defined in OpenAPI"""  # noqa: E501
        if local_vars_configuration is None:
            local_vars_configuration = Configuration()
        self.local_vars_configuration = local_vars_configuration

        self._id = None
        self._repo_tags = None
        self._repo_digests = None
        self._parent = None
        self._comment = None
        self._created = None
        self._container = None
        self._container_config = None
        self._docker_version = None
        self._author = None
        self._config = None
        self._architecture = None
        self._os = None
        self._os_version = None
        self._size = None
        self._virtual_size = None
        self._graph_driver = None
        self._root_fs = None
        self._metadata = None
        self.discriminator = None

        self.id = id
        if repo_tags is not None:
            self.repo_tags = repo_tags
        if repo_digests is not None:
            self.repo_digests = repo_digests
        self.parent = parent
        self.comment = comment
        self.created = created
        self.container = container
        if container_config is not None:
            self.container_config = container_config
        self.docker_version = docker_version
        self.author = author
        if config is not None:
            self.config = config
        self.architecture = architecture
        self.os = os
        if os_version is not None:
            self.os_version = os_version
        self.size = size
        self.virtual_size = virtual_size
        self.graph_driver = graph_driver
        self.root_fs = root_fs
        if metadata is not None:
            self.metadata = metadata
Example #10
0
    def __init__(self,
                 propagation=None,
                 local_vars_configuration=None):  # noqa: E501
        """DockerMountBindOptions - a model defined in OpenAPI"""  # noqa: E501
        if local_vars_configuration is None:
            local_vars_configuration = Configuration()
        self.local_vars_configuration = local_vars_configuration

        self._propagation = None
        self.discriminator = None

        if propagation is not None:
            self.propagation = propagation
Example #11
0
    def __init__(self,
                 last_tag_time=None,
                 local_vars_configuration=None):  # noqa: E501
        """DockerImageMetadata - a model defined in OpenAPI"""  # noqa: E501
        if local_vars_configuration is None:
            local_vars_configuration = Configuration()
        self.local_vars_configuration = local_vars_configuration

        self._last_tag_time = None
        self.discriminator = None

        if last_tag_time is not None:
            self.last_tag_time = last_tag_time
Example #12
0
    def __init__(self, name=None, maximum_retry_count=None, local_vars_configuration=None):  # noqa: E501
        """DockerRestartPolicy - a model defined in OpenAPI"""  # noqa: E501
        if local_vars_configuration is None:
            local_vars_configuration = Configuration()
        self.local_vars_configuration = local_vars_configuration

        self._name = None
        self._maximum_retry_count = None
        self.discriminator = None

        if name is not None:
            self.name = name
        if maximum_retry_count is not None:
            self.maximum_retry_count = maximum_retry_count
Example #13
0
    def __init__(self, host_ip=None, host_port=None, local_vars_configuration=None):  # noqa: E501
        """DockerPortBinding - a model defined in OpenAPI"""  # noqa: E501
        if local_vars_configuration is None:
            local_vars_configuration = Configuration()
        self.local_vars_configuration = local_vars_configuration

        self._host_ip = None
        self._host_port = None
        self.discriminator = None

        if host_ip is not None:
            self.host_ip = host_ip
        if host_port is not None:
            self.host_port = host_port
Example #14
0
    def __init__(self, size_bytes=None, mode=None, local_vars_configuration=None):  # noqa: E501
        """DockerMountTmpfsOptions - a model defined in OpenAPI"""  # noqa: E501
        if local_vars_configuration is None:
            local_vars_configuration = Configuration()
        self.local_vars_configuration = local_vars_configuration

        self._size_bytes = None
        self._mode = None
        self.discriminator = None

        if size_bytes is not None:
            self.size_bytes = size_bytes
        if mode is not None:
            self.mode = mode
Example #15
0
    def __init__(self, name=None, version=None, details=None, local_vars_configuration=None):  # noqa: E501
        """DockerVersionComponents - a model defined in OpenAPI"""  # noqa: E501
        if local_vars_configuration is None:
            local_vars_configuration = Configuration()
        self.local_vars_configuration = local_vars_configuration

        self._name = None
        self._version = None
        self._details = None
        self.discriminator = None

        self.name = name
        self.version = version
        self.details = details
Example #16
0
    def __init__(self, name=None, options=None, local_vars_configuration=None):  # noqa: E501
        """DockerMountVolumeOptionsDriverConfig - a model defined in OpenAPI"""  # noqa: E501
        if local_vars_configuration is None:
            local_vars_configuration = Configuration()
        self.local_vars_configuration = local_vars_configuration

        self._name = None
        self._options = None
        self.discriminator = None

        if name is not None:
            self.name = name
        if options is not None:
            self.options = options
Example #17
0
    def __init__(self,
                 name=None,
                 data=None,
                 local_vars_configuration=None):  # noqa: E501
        """DockerGraphDriverData - a model defined in OpenAPI"""  # noqa: E501
        if local_vars_configuration is None:
            local_vars_configuration = Configuration()
        self.local_vars_configuration = local_vars_configuration

        self._name = None
        self._data = None
        self.discriminator = None

        self.name = name
        self.data = data
Example #18
0
    def __init__(self,
                 path=None,
                 rate=None,
                 local_vars_configuration=None):  # noqa: E501
        """DockerThrottleDevice - a model defined in OpenAPI"""  # noqa: E501
        if local_vars_configuration is None:
            local_vars_configuration = Configuration()
        self.local_vars_configuration = local_vars_configuration

        self._path = None
        self._rate = None
        self.discriminator = None

        if path is not None:
            self.path = path
        if rate is not None:
            self.rate = rate
Example #19
0
    def __init__(self,
                 path=None,
                 weight=None,
                 local_vars_configuration=None):  # noqa: E501
        """DockerResourcesBlkioWeightDevice - a model defined in OpenAPI"""  # noqa: E501
        if local_vars_configuration is None:
            local_vars_configuration = Configuration()
        self.local_vars_configuration = local_vars_configuration

        self._path = None
        self._weight = None
        self.discriminator = None

        if path is not None:
            self.path = path
        if weight is not None:
            self.weight = weight
Example #20
0
    def __init__(self,
                 type=None,
                 config=None,
                 local_vars_configuration=None):  # noqa: E501
        """DockerHostConfigAllOfLogConfig - a model defined in OpenAPI"""  # noqa: E501
        if local_vars_configuration is None:
            local_vars_configuration = Configuration()
        self.local_vars_configuration = local_vars_configuration

        self._type = None
        self._config = None
        self.discriminator = None

        if type is not None:
            self.type = type
        if config is not None:
            self.config = config
Example #21
0
    def __init__(self,
                 addr=None,
                 prefix_len=None,
                 local_vars_configuration=None):  # noqa: E501
        """DockerAddress - a model defined in OpenAPI"""  # noqa: E501
        if local_vars_configuration is None:
            local_vars_configuration = Configuration()
        self.local_vars_configuration = local_vars_configuration

        self._addr = None
        self._prefix_len = None
        self.discriminator = None

        if addr is not None:
            self.addr = addr
        if prefix_len is not None:
            self.prefix_len = prefix_len
Example #22
0
    def __init__(self, name=None, soft=None, hard=None, local_vars_configuration=None):  # noqa: E501
        """DockerResourcesUlimits - a model defined in OpenAPI"""  # noqa: E501
        if local_vars_configuration is None:
            local_vars_configuration = Configuration()
        self.local_vars_configuration = local_vars_configuration

        self._name = None
        self._soft = None
        self._hard = None
        self.discriminator = None

        if name is not None:
            self.name = name
        if soft is not None:
            self.soft = soft
        if hard is not None:
            self.hard = hard
Example #23
0
    def __init__(self, ipam_config=None, links=None, aliases=None, network_id=None, endpoint_id=None, gateway=None, ip_address=None, ip_prefix_len=None, i_pv6_gateway=None, global_i_pv6_address=None, global_i_pv6_prefix_len=None, mac_address=None, driver_opts=None, local_vars_configuration=None):  # noqa: E501
        """DockerEndpointSettings - a model defined in OpenAPI"""  # noqa: E501
        if local_vars_configuration is None:
            local_vars_configuration = Configuration()
        self.local_vars_configuration = local_vars_configuration

        self._ipam_config = None
        self._links = None
        self._aliases = None
        self._network_id = None
        self._endpoint_id = None
        self._gateway = None
        self._ip_address = None
        self._ip_prefix_len = None
        self._i_pv6_gateway = None
        self._global_i_pv6_address = None
        self._global_i_pv6_prefix_len = None
        self._mac_address = None
        self._driver_opts = None
        self.discriminator = None

        self.ipam_config = ipam_config
        if links is not None:
            self.links = links
        if aliases is not None:
            self.aliases = aliases
        if network_id is not None:
            self.network_id = network_id
        if endpoint_id is not None:
            self.endpoint_id = endpoint_id
        if gateway is not None:
            self.gateway = gateway
        if ip_address is not None:
            self.ip_address = ip_address
        if ip_prefix_len is not None:
            self.ip_prefix_len = ip_prefix_len
        if i_pv6_gateway is not None:
            self.i_pv6_gateway = i_pv6_gateway
        if global_i_pv6_address is not None:
            self.global_i_pv6_address = global_i_pv6_address
        if global_i_pv6_prefix_len is not None:
            self.global_i_pv6_prefix_len = global_i_pv6_prefix_len
        if mac_address is not None:
            self.mac_address = mac_address
        self.driver_opts = driver_opts
Example #24
0
    def __init__(self,
                 type=None,
                 layers=None,
                 base_layer=None,
                 local_vars_configuration=None):  # noqa: E501
        """DockerImageRootFS - a model defined in OpenAPI"""  # noqa: E501
        if local_vars_configuration is None:
            local_vars_configuration = Configuration()
        self.local_vars_configuration = local_vars_configuration

        self._type = None
        self._layers = None
        self._base_layer = None
        self.discriminator = None

        self.type = type
        if layers is not None:
            self.layers = layers
        if base_layer is not None:
            self.base_layer = base_layer
Example #25
0
    def __init__(self, id=None, name=None, model=None, hwrev=None, kernelversion=None, kernelrelease=None, distroversion=None, hostname=None, username=None, homefolder=None, runningtorizon=None, local_vars_configuration=None):  # noqa: E501
        """TargetDevice - a model defined in OpenAPI"""  # noqa: E501
        if local_vars_configuration is None:
            local_vars_configuration = Configuration()
        self.local_vars_configuration = local_vars_configuration

        self._id = None
        self._name = None
        self._model = None
        self._hwrev = None
        self._kernelversion = None
        self._kernelrelease = None
        self._distroversion = None
        self._hostname = None
        self._username = None
        self._homefolder = None
        self._runningtorizon = None
        self.discriminator = None

        if id is not None:
            self.id = id
        if name is not None:
            self.name = name
        if model is not None:
            self.model = model
        if hwrev is not None:
            self.hwrev = hwrev
        if kernelversion is not None:
            self.kernelversion = kernelversion
        if kernelrelease is not None:
            self.kernelrelease = kernelrelease
        if distroversion is not None:
            self.distroversion = distroversion
        if hostname is not None:
            self.hostname = hostname
        if username is not None:
            self.username = username
        if homefolder is not None:
            self.homefolder = homefolder
        if runningtorizon is not None:
            self.runningtorizon = runningtorizon
Example #26
0
    def __init__(self,
                 type=None,
                 name=None,
                 source=None,
                 destination=None,
                 driver=None,
                 mode=None,
                 rw=None,
                 propagation=None,
                 local_vars_configuration=None):  # noqa: E501
        """DockerMountPoint - a model defined in OpenAPI"""  # noqa: E501
        if local_vars_configuration is None:
            local_vars_configuration = Configuration()
        self.local_vars_configuration = local_vars_configuration

        self._type = None
        self._name = None
        self._source = None
        self._destination = None
        self._driver = None
        self._mode = None
        self._rw = None
        self._propagation = None
        self.discriminator = None

        if type is not None:
            self.type = type
        if name is not None:
            self.name = name
        if source is not None:
            self.source = source
        if destination is not None:
            self.destination = destination
        if driver is not None:
            self.driver = driver
        if mode is not None:
            self.mode = mode
        if rw is not None:
            self.rw = rw
        if propagation is not None:
            self.propagation = propagation
Example #27
0
    def __init__(self,
                 no_copy=False,
                 labels=None,
                 driver_config=None,
                 local_vars_configuration=None):  # noqa: E501
        """DockerMountVolumeOptions - a model defined in OpenAPI"""  # noqa: E501
        if local_vars_configuration is None:
            local_vars_configuration = Configuration()
        self.local_vars_configuration = local_vars_configuration

        self._no_copy = None
        self._labels = None
        self._driver_config = None
        self.discriminator = None

        if no_copy is not None:
            self.no_copy = no_copy
        if labels is not None:
            self.labels = labels
        if driver_config is not None:
            self.driver_config = driver_config
Example #28
0
    def __init__(self,
                 i_pv4_address=None,
                 i_pv6_address=None,
                 link_local_i_ps=None,
                 local_vars_configuration=None):  # noqa: E501
        """DockerEndpointIPAMConfig - a model defined in OpenAPI"""  # noqa: E501
        if local_vars_configuration is None:
            local_vars_configuration = Configuration()
        self.local_vars_configuration = local_vars_configuration

        self._i_pv4_address = None
        self._i_pv6_address = None
        self._link_local_i_ps = None
        self.discriminator = None

        if i_pv4_address is not None:
            self.i_pv4_address = i_pv4_address
        if i_pv6_address is not None:
            self.i_pv6_address = i_pv6_address
        if link_local_i_ps is not None:
            self.link_local_i_ps = link_local_i_ps
Example #29
0
    def __init__(self,
                 code=None,
                 message=None,
                 description=None,
                 local_vars_configuration=None):  # noqa: E501
        """ErrorInfo - a model defined in OpenAPI"""  # noqa: E501
        if local_vars_configuration is None:
            local_vars_configuration = Configuration()
        self.local_vars_configuration = local_vars_configuration

        self._code = None
        self._message = None
        self._description = None
        self.discriminator = None

        if code is not None:
            self.code = code
        if message is not None:
            self.message = message
        if description is not None:
            self.description = description
Example #30
0
    def __init__(self,
                 total=None,
                 available=None,
                 free=None,
                 local_vars_configuration=None):  # noqa: E501
        """MemInfo - a model defined in OpenAPI"""  # noqa: E501
        if local_vars_configuration is None:
            local_vars_configuration = Configuration()
        self.local_vars_configuration = local_vars_configuration

        self._total = None
        self._available = None
        self._free = None
        self.discriminator = None

        if total is not None:
            self.total = total
        if available is not None:
            self.available = available
        if free is not None:
            self.free = free