argo.models.v1alpha1_resource_template

Argo

No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501

The version of the OpenAPI document: v2.5.2 Generated by: https://openapi-generator.tech

Module Contents

class argo.models.v1alpha1_resource_template.V1alpha1ResourceTemplate(action=None, failure_condition=None, manifest=None, merge_strategy=None, set_owner_reference=None, success_condition=None, local_vars_configuration=None)

Bases: object

NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech

Do not edit the class manually.

V1alpha1ResourceTemplate - a model defined in OpenAPI

openapi_types
attribute_map
property action(self)

Gets the action of this V1alpha1ResourceTemplate. # noqa: E501

Action is the action to perform to the resource. Must be one of: get, create, apply, delete, replace, patch # noqa: E501

Returns

The action of this V1alpha1ResourceTemplate. # noqa: E501

Return type

str

property failure_condition(self)

Gets the failure_condition of this V1alpha1ResourceTemplate. # noqa: E501

FailureCondition is a label selector expression which describes the conditions of the k8s resource in which the step was considered failed # noqa: E501

Returns

The failure_condition of this V1alpha1ResourceTemplate. # noqa: E501

Return type

str

property manifest(self)

Gets the manifest of this V1alpha1ResourceTemplate. # noqa: E501

Manifest contains the kubernetes manifest # noqa: E501

Returns

The manifest of this V1alpha1ResourceTemplate. # noqa: E501

Return type

str

property merge_strategy(self)

Gets the merge_strategy of this V1alpha1ResourceTemplate. # noqa: E501

MergeStrategy is the strategy used to merge a patch. It defaults to “strategic” Must be one of: strategic, merge, json # noqa: E501

Returns

The merge_strategy of this V1alpha1ResourceTemplate. # noqa: E501

Return type

str

property set_owner_reference(self)

Gets the set_owner_reference of this V1alpha1ResourceTemplate. # noqa: E501

SetOwnerReference sets the reference to the workflow on the OwnerReference of generated resource. # noqa: E501

Returns

The set_owner_reference of this V1alpha1ResourceTemplate. # noqa: E501

Return type

bool

property success_condition(self)

Gets the success_condition of this V1alpha1ResourceTemplate. # noqa: E501

SuccessCondition is a label selector expression which describes the conditions of the k8s resource in which it is acceptable to proceed to the following step # noqa: E501

Returns

The success_condition of this V1alpha1ResourceTemplate. # noqa: E501

Return type

str

to_dict(self)

Returns the model properties as a dict

to_str(self)

Returns the string representation of the model