argo.models.v1alpha1_template
¶
Argo
Argo # noqa: E501
The version of the OpenAPI document: v2.7.5 Generated by: https://openapi-generator.tech
Module Contents¶
-
class
argo.models.v1alpha1_template.
V1alpha1Template
(active_deadline_seconds=None, affinity=None, archive_location=None, arguments=None, automount_service_account_token=None, container=None, daemon=None, dag=None, executor=None, host_aliases=None, init_containers=None, inputs=None, metadata=None, metrics=None, name=None, node_selector=None, outputs=None, parallelism=None, pod_spec_patch=None, priority=None, priority_class_name=None, resource=None, resubmit_pending_pods=None, retry_strategy=None, scheduler_name=None, script=None, security_context=None, service_account_name=None, sidecars=None, steps=None, suspend=None, template=None, template_ref=None, tolerations=None, volumes=None)¶ NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech
Do not edit the class manually.
V1alpha1Template - a model defined in OpenAPI
-
openapi_types
¶
-
attribute_map
¶
-
property
active_deadline_seconds
(self)¶ Gets the active_deadline_seconds of this V1alpha1Template. # noqa: E501
Optional duration in seconds relative to the StartTime that the pod may be active on a node before the system actively tries to terminate the pod; value must be positive integer This field is only applicable to container and script templates. # noqa: E501
- Returns
The active_deadline_seconds of this V1alpha1Template. # noqa: E501
- Return type
str
-
property
affinity
(self)¶ Gets the affinity of this V1alpha1Template. # noqa: E501
- Returns
The affinity of this V1alpha1Template. # noqa: E501
- Return type
kubernetes.client.models.V1Affinity
-
property
archive_location
(self)¶ Gets the archive_location of this V1alpha1Template. # noqa: E501
- Returns
The archive_location of this V1alpha1Template. # noqa: E501
- Return type
-
property
arguments
(self)¶ Gets the arguments of this V1alpha1Template. # noqa: E501
- Returns
The arguments of this V1alpha1Template. # noqa: E501
- Return type
-
property
automount_service_account_token
(self)¶ Gets the automount_service_account_token of this V1alpha1Template. # noqa: E501
AutomountServiceAccountToken indicates whether a service account token should be automatically mounted in pods. ServiceAccountName of ExecutorConfig must be specified if this value is false. # noqa: E501
- Returns
The automount_service_account_token of this V1alpha1Template. # noqa: E501
- Return type
bool
-
property
container
(self)¶ Gets the container of this V1alpha1Template. # noqa: E501
- Returns
The container of this V1alpha1Template. # noqa: E501
- Return type
kubernetes.client.models.V1Container
-
property
daemon
(self)¶ Gets the daemon of this V1alpha1Template. # noqa: E501
- Returns
The daemon of this V1alpha1Template. # noqa: E501
- Return type
bool
-
property
dag
(self)¶ Gets the dag of this V1alpha1Template. # noqa: E501
- Returns
The dag of this V1alpha1Template. # noqa: E501
- Return type
-
property
executor
(self)¶ Gets the executor of this V1alpha1Template. # noqa: E501
- Returns
The executor of this V1alpha1Template. # noqa: E501
- Return type
-
property
host_aliases
(self)¶ Gets the host_aliases of this V1alpha1Template. # noqa: E501
- Returns
The host_aliases of this V1alpha1Template. # noqa: E501
- Return type
list[kubernetes.client.models.V1HostAlias]
-
property
init_containers
(self)¶ Gets the init_containers of this V1alpha1Template. # noqa: E501
- Returns
The init_containers of this V1alpha1Template. # noqa: E501
- Return type
list[V1alpha1UserContainer]
-
property
inputs
(self)¶ Gets the inputs of this V1alpha1Template. # noqa: E501
- Returns
The inputs of this V1alpha1Template. # noqa: E501
- Return type
-
property
metadata
(self)¶ Gets the metadata of this V1alpha1Template. # noqa: E501
- Returns
The metadata of this V1alpha1Template. # noqa: E501
- Return type
-
property
metrics
(self)¶ Gets the metrics of this V1alpha1Template. # noqa: E501
- Returns
The metrics of this V1alpha1Template. # noqa: E501
- Return type
-
property
name
(self)¶ Gets the name of this V1alpha1Template. # noqa: E501
- Returns
The name of this V1alpha1Template. # noqa: E501
- Return type
str
-
property
node_selector
(self)¶ Gets the node_selector of this V1alpha1Template. # noqa: E501
NodeSelector is a selector to schedule this step of the workflow to be run on the selected node(s). Overrides the selector set at the workflow level. # noqa: E501
- Returns
The node_selector of this V1alpha1Template. # noqa: E501
- Return type
dict(str, str)
-
property
outputs
(self)¶ Gets the outputs of this V1alpha1Template. # noqa: E501
- Returns
The outputs of this V1alpha1Template. # noqa: E501
- Return type
-
property
parallelism
(self)¶ Gets the parallelism of this V1alpha1Template. # noqa: E501
Parallelism limits the max total parallel pods that can execute at the same time within the boundaries of this template invocation. If additional steps/dag templates are invoked, the pods created by those templates will not be counted towards this total. # noqa: E501
- Returns
The parallelism of this V1alpha1Template. # noqa: E501
- Return type
str
-
property
pod_spec_patch
(self)¶ Gets the pod_spec_patch of this V1alpha1Template. # noqa: E501
PodSpecPatch holds strategic merge patch to apply against the pod spec. Allows parameterization of container fields which are not strings (e.g. resource limits). # noqa: E501
- Returns
The pod_spec_patch of this V1alpha1Template. # noqa: E501
- Return type
str
-
property
priority
(self)¶ Gets the priority of this V1alpha1Template. # noqa: E501
Priority to apply to workflow pods. # noqa: E501
- Returns
The priority of this V1alpha1Template. # noqa: E501
- Return type
int
-
property
priority_class_name
(self)¶ Gets the priority_class_name of this V1alpha1Template. # noqa: E501
PriorityClassName to apply to workflow pods. # noqa: E501
- Returns
The priority_class_name of this V1alpha1Template. # noqa: E501
- Return type
str
-
property
resource
(self)¶ Gets the resource of this V1alpha1Template. # noqa: E501
- Returns
The resource of this V1alpha1Template. # noqa: E501
- Return type
-
property
resubmit_pending_pods
(self)¶ Gets the resubmit_pending_pods of this V1alpha1Template. # noqa: E501
- Returns
The resubmit_pending_pods of this V1alpha1Template. # noqa: E501
- Return type
bool
-
property
retry_strategy
(self)¶ Gets the retry_strategy of this V1alpha1Template. # noqa: E501
- Returns
The retry_strategy of this V1alpha1Template. # noqa: E501
- Return type
-
property
scheduler_name
(self)¶ Gets the scheduler_name of this V1alpha1Template. # noqa: E501
- Returns
The scheduler_name of this V1alpha1Template. # noqa: E501
- Return type
str
-
property
script
(self)¶ Gets the script of this V1alpha1Template. # noqa: E501
- Returns
The script of this V1alpha1Template. # noqa: E501
- Return type
-
property
security_context
(self)¶ Gets the security_context of this V1alpha1Template. # noqa: E501
- Returns
The security_context of this V1alpha1Template. # noqa: E501
- Return type
kubernetes.client.models.V1PodSecurityContext
-
property
service_account_name
(self)¶ Gets the service_account_name of this V1alpha1Template. # noqa: E501
- Returns
The service_account_name of this V1alpha1Template. # noqa: E501
- Return type
str
-
property
sidecars
(self)¶ Gets the sidecars of this V1alpha1Template. # noqa: E501
- Returns
The sidecars of this V1alpha1Template. # noqa: E501
- Return type
list[V1alpha1UserContainer]
-
property
steps
(self)¶ Gets the steps of this V1alpha1Template. # noqa: E501
- Returns
The steps of this V1alpha1Template. # noqa: E501
- Return type
list[list]
-
property
suspend
(self)¶ Gets the suspend of this V1alpha1Template. # noqa: E501
- Returns
The suspend of this V1alpha1Template. # noqa: E501
- Return type
-
property
template
(self)¶ Gets the template of this V1alpha1Template. # noqa: E501
Template is the name of the template which is used as the base of this template. DEPRECATED: This field is not used. # noqa: E501
- Returns
The template of this V1alpha1Template. # noqa: E501
- Return type
str
-
property
template_ref
(self)¶ Gets the template_ref of this V1alpha1Template. # noqa: E501
- Returns
The template_ref of this V1alpha1Template. # noqa: E501
- Return type
-
property
tolerations
(self)¶ Gets the tolerations of this V1alpha1Template. # noqa: E501
- Returns
The tolerations of this V1alpha1Template. # noqa: E501
- Return type
list[kubernetes.client.models.V1Toleration]
-
property
volumes
(self)¶ Gets the volumes of this V1alpha1Template. # noqa: E501
- Returns
The volumes of this V1alpha1Template. # noqa: E501
- Return type
list[kubernetes.client.models.V1Volume]
-
to_dict
(self)¶ Returns the model properties as a dict
-
to_str
(self)¶ Returns the string representation of the model
-