def __init__(self,
                 api_version=None,
                 kind=None,
                 metadata=None,
                 spec=None,
                 status=None,
                 local_vars_configuration=None):  # noqa: E501
        """V1alpha1PipelineResource - 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._api_version = None
        self._kind = None
        self._metadata = None
        self._spec = None
        self._status = None
        self.discriminator = None

        if api_version is not None:
            self.api_version = api_version
        if kind is not None:
            self.kind = kind
        if metadata is not None:
            self.metadata = metadata
        if spec is not None:
            self.spec = spec
        if status is not None:
            self.status = status
Example #2
0
    def __init__(self,
                 api_version=None,
                 kind=None,
                 metadata=None,
                 spec=None,
                 local_vars_configuration=None):  # noqa: E501
        """V1beta1ClusterTask - 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._api_version = None
        self._kind = None
        self._metadata = None
        self._spec = None
        self.discriminator = None

        if api_version is not None:
            self.api_version = api_version
        if kind is not None:
            self.kind = kind
        if metadata is not None:
            self.metadata = metadata
        if spec is not None:
            self.spec = spec
Example #3
0
    def __init__(self,
                 description=None,
                 name='',
                 optional=None,
                 target_path=None,
                 type='',
                 local_vars_configuration=None):  # noqa: E501
        """V1alpha1ResourceDeclaration - 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._description = None
        self._name = None
        self._optional = None
        self._target_path = None
        self._type = None
        self.discriminator = None

        if description is not None:
            self.description = description
        self.name = name
        if optional is not None:
            self.optional = optional
        if target_path is not None:
            self.target_path = target_path
        self.type = type
Example #4
0
    def __init__(self, description=None, _finally=None, params=None, resources=None, results=None, tasks=None, workspaces=None, local_vars_configuration=None):  # noqa: E501
        """V1beta1PipelineSpec - 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._description = None
        self.__finally = None
        self._params = None
        self._resources = None
        self._results = None
        self._tasks = None
        self._workspaces = None
        self.discriminator = None

        if description is not None:
            self.description = description
        if _finally is not None:
            self._finally = _finally
        if params is not None:
            self.params = params
        if resources is not None:
            self.resources = resources
        if results is not None:
            self.results = results
        if tasks is not None:
            self.tasks = tasks
        if workspaces is not None:
            self.workspaces = workspaces
    def __init__(self,
                 name=None,
                 paths=None,
                 resource_ref=None,
                 resource_spec=None,
                 local_vars_configuration=None):  # noqa: E501
        """V1beta1TaskResourceBinding - 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._paths = None
        self._resource_ref = None
        self._resource_spec = None
        self.discriminator = None

        if name is not None:
            self.name = name
        if paths is not None:
            self.paths = paths
        if resource_ref is not None:
            self.resource_ref = resource_ref
        if resource_spec is not None:
            self.resource_spec = resource_spec
Example #6
0
    def __init__(self,
                 completion_time=None,
                 pipeline_results=None,
                 pipeline_spec=None,
                 skipped_tasks=None,
                 start_time=None,
                 task_runs=None,
                 local_vars_configuration=None):  # noqa: E501
        """V1beta1PipelineRunStatusFields - 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._completion_time = None
        self._pipeline_results = None
        self._pipeline_spec = None
        self._skipped_tasks = None
        self._start_time = None
        self._task_runs = None
        self.discriminator = None

        if completion_time is not None:
            self.completion_time = completion_time
        if pipeline_results is not None:
            self.pipeline_results = pipeline_results
        if pipeline_spec is not None:
            self.pipeline_spec = pipeline_spec
        if skipped_tasks is not None:
            self.skipped_tasks = skipped_tasks
        if start_time is not None:
            self.start_time = start_time
        if task_runs is not None:
            self.task_runs = task_runs
    def __init__(self,
                 key='',
                 resource_name=None,
                 resource_ref=None,
                 type=None,
                 value='',
                 local_vars_configuration=None):  # noqa: E501
        """V1beta1PipelineResourceResult - 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._key = None
        self._resource_name = None
        self._resource_ref = None
        self._type = None
        self._value = None
        self.discriminator = None

        self.key = key
        if resource_name is not None:
            self.resource_name = resource_name
        if resource_ref is not None:
            self.resource_ref = resource_ref
        if type is not None:
            self.type = type
        self.value = value
Example #8
0
    def __init__(self,
                 condition_checks=None,
                 pipeline_task_name=None,
                 status=None,
                 when_expressions=None,
                 local_vars_configuration=None):  # noqa: E501
        """V1beta1PipelineRunTaskRunStatus - 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._condition_checks = None
        self._pipeline_task_name = None
        self._status = None
        self._when_expressions = None
        self.discriminator = None

        if condition_checks is not None:
            self.condition_checks = condition_checks
        if pipeline_task_name is not None:
            self.pipeline_task_name = pipeline_task_name
        if status is not None:
            self.status = status
        if when_expressions is not None:
            self.when_expressions = when_expressions
    def __init__(self,
                 api_version=None,
                 items=None,
                 kind=None,
                 metadata=None,
                 local_vars_configuration=None):  # noqa: E501
        """V1beta1PipelineRunList - 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._api_version = None
        self._items = None
        self._kind = None
        self._metadata = None
        self.discriminator = None

        if api_version is not None:
            self.api_version = api_version
        if items is not None:
            self.items = items
        if kind is not None:
            self.kind = kind
        if metadata is not None:
            self.metadata = metadata
    def __init__(self,
                 container=None,
                 image_id=None,
                 name=None,
                 running=None,
                 terminated=None,
                 waiting=None,
                 local_vars_configuration=None):  # noqa: E501
        """V1beta1SidecarState - 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._container = None
        self._image_id = None
        self._name = None
        self._running = None
        self._terminated = None
        self._waiting = None
        self.discriminator = None

        if container is not None:
            self.container = container
        if image_id is not None:
            self.image_id = image_id
        if name is not None:
            self.name = name
        if running is not None:
            self.running = running
        if terminated is not None:
            self.terminated = terminated
        if waiting is not None:
            self.waiting = waiting
    def __init__(self,
                 annotations=None,
                 cloud_events=None,
                 completion_time=None,
                 conditions=None,
                 observed_generation=None,
                 pod_name=None,
                 resources_result=None,
                 retries_status=None,
                 sidecars=None,
                 start_time=None,
                 steps=None,
                 task_results=None,
                 task_spec=None,
                 local_vars_configuration=None):  # noqa: E501
        """V1beta1TaskRunStatus - 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._annotations = None
        self._cloud_events = None
        self._completion_time = None
        self._conditions = None
        self._observed_generation = None
        self._pod_name = None
        self._resources_result = None
        self._retries_status = None
        self._sidecars = None
        self._start_time = None
        self._steps = None
        self._task_results = None
        self._task_spec = None
        self.discriminator = None

        if annotations is not None:
            self.annotations = annotations
        if cloud_events is not None:
            self.cloud_events = cloud_events
        if completion_time is not None:
            self.completion_time = completion_time
        if conditions is not None:
            self.conditions = conditions
        if observed_generation is not None:
            self.observed_generation = observed_generation
        self.pod_name = pod_name
        if resources_result is not None:
            self.resources_result = resources_result
        if retries_status is not None:
            self.retries_status = retries_status
        if sidecars is not None:
            self.sidecars = sidecars
        if start_time is not None:
            self.start_time = start_time
        if steps is not None:
            self.steps = steps
        if task_results is not None:
            self.task_results = task_results
        if task_spec is not None:
            self.task_spec = task_spec
Example #12
0
    def __init__(self,
                 input=None,
                 operator=None,
                 values=None,
                 local_vars_configuration=None):  # noqa: E501
        """V1beta1WhenExpression - 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._input = None
        self._operator = None
        self._values = None
        self._input = None
        self._operator = None
        self._values = None
        self.discriminator = None

        if input is not None:
            self.input = input
        if operator is not None:
            self.operator = operator
        if values is not None:
            self.values = values
        self.input = input
        self.operator = operator
        self.values = values
    def __init__(self,
                 description=None,
                 mount_path=None,
                 name=None,
                 optional=None,
                 read_only=None,
                 local_vars_configuration=None):  # noqa: E501
        """V1beta1WorkspaceDeclaration - 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._description = None
        self._mount_path = None
        self._name = None
        self._optional = None
        self._read_only = None
        self.discriminator = None

        if description is not None:
            self.description = description
        if mount_path is not None:
            self.mount_path = mount_path
        self.name = name
        if optional is not None:
            self.optional = optional
        if read_only is not None:
            self.read_only = read_only
Example #14
0
    def __init__(self,
                 api_version=None,
                 bundle=None,
                 kind=None,
                 name=None,
                 local_vars_configuration=None):  # noqa: E501
        """V1beta1TaskRef - 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._api_version = None
        self._bundle = None
        self._kind = None
        self._name = None
        self.discriminator = None

        if api_version is not None:
            self.api_version = api_version
        if bundle is not None:
            self.bundle = bundle
        if kind is not None:
            self.kind = kind
        if name is not None:
            self.name = name
    def __init__(self,
                 params=None,
                 pipeline_ref=None,
                 pipeline_spec=None,
                 pod_template=None,
                 resources=None,
                 service_account_name=None,
                 service_account_names=None,
                 status=None,
                 task_run_specs=None,
                 timeout=None,
                 timeouts=None,
                 workspaces=None,
                 local_vars_configuration=None):  # noqa: E501
        """V1beta1PipelineRunSpec - 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._params = None
        self._pipeline_ref = None
        self._pipeline_spec = None
        self._pod_template = None
        self._resources = None
        self._service_account_name = None
        self._service_account_names = None
        self._status = None
        self._task_run_specs = None
        self._timeout = None
        self._timeouts = None
        self._workspaces = None
        self.discriminator = None

        if params is not None:
            self.params = params
        if pipeline_ref is not None:
            self.pipeline_ref = pipeline_ref
        if pipeline_spec is not None:
            self.pipeline_spec = pipeline_spec
        if pod_template is not None:
            self.pod_template = pod_template
        if resources is not None:
            self.resources = resources
        if service_account_name is not None:
            self.service_account_name = service_account_name
        if service_account_names is not None:
            self.service_account_names = service_account_names
        if status is not None:
            self.status = status
        if task_run_specs is not None:
            self.task_run_specs = task_run_specs
        if timeout is not None:
            self.timeout = timeout
        if timeouts is not None:
            self.timeouts = timeouts
        if workspaces is not None:
            self.workspaces = workspaces
Example #16
0
    def __init__(self, name=None, local_vars_configuration=None):  # noqa: E501
        """V1beta1PipelineTaskRun - 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

        if name is not None:
            self.name = name
Example #17
0
    def __init__(self, field=None, message=None, local_vars_configuration=None):  # noqa: E501
        """V1beta1CannotConvertError - 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._field = None
        self._message = None
        self.discriminator = None

        self.field = field
        self.message = message
Example #18
0
    def __init__(self, name=None, resource=None, local_vars_configuration=None):  # noqa: E501
        """V1beta1PipelineTaskOutputResource - 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._resource = None
        self.discriminator = None

        self.name = name
        self.resource = resource
Example #19
0
    def __init__(self,
                 conditions=None,
                 name=None,
                 params=None,
                 resources=None,
                 retries=None,
                 run_after=None,
                 task_ref=None,
                 task_spec=None,
                 timeout=None,
                 when=None,
                 workspaces=None,
                 local_vars_configuration=None):  # noqa: E501
        """V1beta1PipelineTask - 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._conditions = None
        self._name = None
        self._params = None
        self._resources = None
        self._retries = None
        self._run_after = None
        self._task_ref = None
        self._task_spec = None
        self._timeout = None
        self._when = None
        self._workspaces = None
        self.discriminator = None

        if conditions is not None:
            self.conditions = conditions
        if name is not None:
            self.name = name
        if params is not None:
            self.params = params
        if resources is not None:
            self.resources = resources
        if retries is not None:
            self.retries = retries
        if run_after is not None:
            self.run_after = run_after
        if task_ref is not None:
            self.task_ref = task_ref
        if task_spec is not None:
            self.task_spec = task_spec
        if timeout is not None:
            self.timeout = timeout
        if when is not None:
            self.when = when
        if workspaces is not None:
            self.workspaces = workspaces
    def __init__(self,
                 breakpoint=None,
                 local_vars_configuration=None):  # noqa: E501
        """V1beta1TaskRunDebug - 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._breakpoint = None
        self.discriminator = None

        if breakpoint is not None:
            self.breakpoint = breakpoint
    def __init__(self,
                 resources=None,
                 local_vars_configuration=None):  # noqa: E501
        """V1beta1TaskRunOutputs - 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._resources = None
        self.discriminator = None

        if resources is not None:
            self.resources = resources
    def __init__(self, service_account_name=None, task_name=None, local_vars_configuration=None):  # noqa: E501
        """V1beta1PipelineRunSpecServiceAccountName - 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._service_account_name = None
        self._task_name = None
        self.discriminator = None

        if service_account_name is not None:
            self.service_account_name = service_account_name
        if task_name is not None:
            self.task_name = task_name
    def __init__(self, status=None, target=None, local_vars_configuration=None):  # noqa: E501
        """V1beta1CloudEventDelivery - 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._target = None
        self.discriminator = None

        if status is not None:
            self.status = status
        if target is not None:
            self.target = target
Example #24
0
    def __init__(self, inputs=None, outputs=None, local_vars_configuration=None):  # noqa: E501
        """V1beta1TaskResources - 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._inputs = None
        self._outputs = None
        self.discriminator = None

        if inputs is not None:
            self.inputs = inputs
        if outputs is not None:
            self.outputs = outputs
    def __init__(self, description=None, name=None, value=None, local_vars_configuration=None):  # noqa: E501
        """V1beta1PipelineResult - 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._description = None
        self._name = None
        self._value = None
        self.discriminator = None

        if description is not None:
            self.description = description
        self.name = name
        self.value = value
Example #26
0
    def __init__(self,
                 mount_path='',
                 name='',
                 local_vars_configuration=None):  # noqa: E501
        """V1beta1WorkspaceUsage - 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._mount_path = None
        self._name = None
        self.discriminator = None

        self.mount_path = mount_path
        self.name = name
    def __init__(self,
                 name='',
                 value=None,
                 local_vars_configuration=None):  # noqa: E501
        """V1beta1Param - 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._value = None
        self.discriminator = None

        self.name = name
        self.value = value
Example #28
0
    def __init__(self,
                 pipeline_task=None,
                 result=None,
                 local_vars_configuration=None):  # noqa: E501
        """V1beta1ResultRef - 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._pipeline_task = None
        self._result = None
        self.discriminator = None

        self.pipeline_task = pipeline_task
        self.result = result
    def __init__(self,
                 name=None,
                 when_expressions=None,
                 local_vars_configuration=None):  # noqa: E501
        """V1beta1SkippedTask - 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._when_expressions = None
        self.discriminator = None

        self.name = name
        if when_expressions is not None:
            self.when_expressions = when_expressions
Example #30
0
    def __init__(self, condition_ref=None, params=None, resources=None, local_vars_configuration=None):  # noqa: E501
        """V1beta1PipelineTaskCondition - 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._condition_ref = None
        self._params = None
        self._resources = None
        self.discriminator = None

        self.condition_ref = condition_ref
        if params is not None:
            self.params = params
        if resources is not None:
            self.resources = resources