argo.models.v1alpha1_workflow_spec
¶
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_workflow_spec.
V1alpha1WorkflowSpec
(active_deadline_seconds=None, affinity=None, arguments=None, artifact_repository_ref=None, automount_service_account_token=None, dns_config=None, dns_policy=None, entrypoint=None, executor=None, host_aliases=None, host_network=None, image_pull_secrets=None, metrics=None, node_selector=None, on_exit=None, parallelism=None, pod_disruption_budget=None, pod_gc=None, pod_priority=None, pod_priority_class_name=None, pod_spec_patch=None, priority=None, scheduler_name=None, security_context=None, service_account_name=None, shutdown=None, suspend=None, templates=None, tolerations=None, ttl_seconds_after_finished=None, ttl_strategy=None, volume_claim_templates=None, volumes=None)¶ NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech
Do not edit the class manually.
V1alpha1WorkflowSpec - a model defined in OpenAPI
-
openapi_types
¶
-
attribute_map
¶
-
property
active_deadline_seconds
(self)¶ Gets the active_deadline_seconds of this V1alpha1WorkflowSpec. # noqa: E501
- Returns
The active_deadline_seconds of this V1alpha1WorkflowSpec. # noqa: E501
- Return type
str
-
property
affinity
(self)¶ Gets the affinity of this V1alpha1WorkflowSpec. # noqa: E501
- Returns
The affinity of this V1alpha1WorkflowSpec. # noqa: E501
- Return type
kubernetes.client.models.V1Affinity
-
property
arguments
(self)¶ Gets the arguments of this V1alpha1WorkflowSpec. # noqa: E501
- Returns
The arguments of this V1alpha1WorkflowSpec. # noqa: E501
- Return type
-
property
artifact_repository_ref
(self)¶ Gets the artifact_repository_ref of this V1alpha1WorkflowSpec. # noqa: E501
- Returns
The artifact_repository_ref of this V1alpha1WorkflowSpec. # noqa: E501
- Return type
-
property
automount_service_account_token
(self)¶ Gets the automount_service_account_token of this V1alpha1WorkflowSpec. # 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 V1alpha1WorkflowSpec. # noqa: E501
- Return type
bool
-
property
dns_config
(self)¶ Gets the dns_config of this V1alpha1WorkflowSpec. # noqa: E501
- Returns
The dns_config of this V1alpha1WorkflowSpec. # noqa: E501
- Return type
kubernetes.client.models.V1PodDNSConfig
-
property
dns_policy
(self)¶ Gets the dns_policy of this V1alpha1WorkflowSpec. # noqa: E501
Set DNS policy for the pod. Defaults to “ClusterFirst”. Valid values are ‘ClusterFirstWithHostNet’, ‘ClusterFirst’, ‘Default’ or ‘None’. DNS parameters given in DNSConfig will be merged with the policy selected with DNSPolicy. To have DNS options set along with hostNetwork, you have to specify DNS policy explicitly to ‘ClusterFirstWithHostNet’. # noqa: E501
- Returns
The dns_policy of this V1alpha1WorkflowSpec. # noqa: E501
- Return type
str
-
property
entrypoint
(self)¶ Gets the entrypoint of this V1alpha1WorkflowSpec. # noqa: E501
Entrypoint is a template reference to the starting point of the v1alpha1. # noqa: E501
- Returns
The entrypoint of this V1alpha1WorkflowSpec. # noqa: E501
- Return type
str
-
property
executor
(self)¶ Gets the executor of this V1alpha1WorkflowSpec. # noqa: E501
- Returns
The executor of this V1alpha1WorkflowSpec. # noqa: E501
- Return type
-
property
host_aliases
(self)¶ Gets the host_aliases of this V1alpha1WorkflowSpec. # noqa: E501
- Returns
The host_aliases of this V1alpha1WorkflowSpec. # noqa: E501
- Return type
list[kubernetes.client.models.V1HostAlias]
-
property
host_network
(self)¶ Gets the host_network of this V1alpha1WorkflowSpec. # noqa: E501
Host networking requested for this workflow pod. Default to false. # noqa: E501
- Returns
The host_network of this V1alpha1WorkflowSpec. # noqa: E501
- Return type
bool
-
property
image_pull_secrets
(self)¶ Gets the image_pull_secrets of this V1alpha1WorkflowSpec. # noqa: E501
- Returns
The image_pull_secrets of this V1alpha1WorkflowSpec. # noqa: E501
- Return type
list[kubernetes.client.models.V1LocalObjectReference]
-
property
metrics
(self)¶ Gets the metrics of this V1alpha1WorkflowSpec. # noqa: E501
- Returns
The metrics of this V1alpha1WorkflowSpec. # noqa: E501
- Return type
-
property
node_selector
(self)¶ Gets the node_selector of this V1alpha1WorkflowSpec. # noqa: E501
NodeSelector is a selector which will result in all pods of the workflow to be scheduled on the selected node(s). This is able to be overridden by a nodeSelector specified in the template. # noqa: E501
- Returns
The node_selector of this V1alpha1WorkflowSpec. # noqa: E501
- Return type
dict(str, str)
-
property
on_exit
(self)¶ Gets the on_exit of this V1alpha1WorkflowSpec. # noqa: E501
OnExit is a template reference which is invoked at the end of the workflow, irrespective of the success, failure, or error of the primary v1alpha1. # noqa: E501
- Returns
The on_exit of this V1alpha1WorkflowSpec. # noqa: E501
- Return type
str
-
property
parallelism
(self)¶ Gets the parallelism of this V1alpha1WorkflowSpec. # noqa: E501
- Returns
The parallelism of this V1alpha1WorkflowSpec. # noqa: E501
- Return type
str
-
property
pod_disruption_budget
(self)¶ Gets the pod_disruption_budget of this V1alpha1WorkflowSpec. # noqa: E501
- Returns
The pod_disruption_budget of this V1alpha1WorkflowSpec. # noqa: E501
- Return type
kubernetes.client.models.V1PodDisruptionBudgetSpec
-
property
pod_gc
(self)¶ Gets the pod_gc of this V1alpha1WorkflowSpec. # noqa: E501
- Returns
The pod_gc of this V1alpha1WorkflowSpec. # noqa: E501
- Return type
-
property
pod_priority
(self)¶ Gets the pod_priority of this V1alpha1WorkflowSpec. # noqa: E501
Priority to apply to workflow pods. # noqa: E501
- Returns
The pod_priority of this V1alpha1WorkflowSpec. # noqa: E501
- Return type
int
-
property
pod_priority_class_name
(self)¶ Gets the pod_priority_class_name of this V1alpha1WorkflowSpec. # noqa: E501
PriorityClassName to apply to workflow pods. # noqa: E501
- Returns
The pod_priority_class_name of this V1alpha1WorkflowSpec. # noqa: E501
- Return type
str
-
property
pod_spec_patch
(self)¶ Gets the pod_spec_patch of this V1alpha1WorkflowSpec. # 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 V1alpha1WorkflowSpec. # noqa: E501
- Return type
str
-
property
priority
(self)¶ Gets the priority of this V1alpha1WorkflowSpec. # noqa: E501
Priority is used if controller is configured to process limited number of workflows in parallel. Workflows with higher priority are processed first. # noqa: E501
- Returns
The priority of this V1alpha1WorkflowSpec. # noqa: E501
- Return type
int
-
property
scheduler_name
(self)¶ Gets the scheduler_name of this V1alpha1WorkflowSpec. # noqa: E501
- Returns
The scheduler_name of this V1alpha1WorkflowSpec. # noqa: E501
- Return type
str
-
property
security_context
(self)¶ Gets the security_context of this V1alpha1WorkflowSpec. # noqa: E501
- Returns
The security_context of this V1alpha1WorkflowSpec. # noqa: E501
- Return type
kubernetes.client.models.V1PodSecurityContext
-
property
service_account_name
(self)¶ Gets the service_account_name of this V1alpha1WorkflowSpec. # noqa: E501
ServiceAccountName is the name of the ServiceAccount to run all pods of the workflow as. # noqa: E501
- Returns
The service_account_name of this V1alpha1WorkflowSpec. # noqa: E501
- Return type
str
-
property
shutdown
(self)¶ Gets the shutdown of this V1alpha1WorkflowSpec. # noqa: E501
- Returns
The shutdown of this V1alpha1WorkflowSpec. # noqa: E501
- Return type
str
-
property
suspend
(self)¶ Gets the suspend of this V1alpha1WorkflowSpec. # noqa: E501
- Returns
The suspend of this V1alpha1WorkflowSpec. # noqa: E501
- Return type
bool
-
property
templates
(self)¶ Gets the templates of this V1alpha1WorkflowSpec. # noqa: E501
- Returns
The templates of this V1alpha1WorkflowSpec. # noqa: E501
- Return type
list[V1alpha1Template]
-
property
tolerations
(self)¶ Gets the tolerations of this V1alpha1WorkflowSpec. # noqa: E501
- Returns
The tolerations of this V1alpha1WorkflowSpec. # noqa: E501
- Return type
list[kubernetes.client.models.V1Toleration]
-
property
ttl_seconds_after_finished
(self)¶ Gets the ttl_seconds_after_finished of this V1alpha1WorkflowSpec. # noqa: E501
TTLSecondsAfterFinished limits the lifetime of a Workflow that has finished execution (Succeeded, Failed, Error). If this field is set, once the Workflow finishes, it will be deleted after ttlSecondsAfterFinished expires. If this field is unset, ttlSecondsAfterFinished will not expire. If this field is set to zero, ttlSecondsAfterFinished expires immediately after the Workflow finishes. DEPRECATED: Use TTLStrategy.SecondsAfterCompletion instead. # noqa: E501
- Returns
The ttl_seconds_after_finished of this V1alpha1WorkflowSpec. # noqa: E501
- Return type
int
-
property
ttl_strategy
(self)¶ Gets the ttl_strategy of this V1alpha1WorkflowSpec. # noqa: E501
- Returns
The ttl_strategy of this V1alpha1WorkflowSpec. # noqa: E501
- Return type
-
property
volume_claim_templates
(self)¶ Gets the volume_claim_templates of this V1alpha1WorkflowSpec. # noqa: E501
- Returns
The volume_claim_templates of this V1alpha1WorkflowSpec. # noqa: E501
- Return type
list[kubernetes.client.models.V1PersistentVolumeClaim]
-
property
volumes
(self)¶ Gets the volumes of this V1alpha1WorkflowSpec. # noqa: E501
- Returns
The volumes of this V1alpha1WorkflowSpec. # 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
-