v1alpha1

package
v3.4.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 23, 2022 License: Apache-2.0 Imports: 38 Imported by: 308

Documentation

Overview

Package v1alpha1 is the v1alpha1 version of the API. +groupName=argoproj.io +k8s:deepcopy-gen=package,register +k8s:openapi-gen=true

Index

Constants

View Source
const (
	ProgressUndefined = Progress("")
	ProgressZero      = Progress("0/0") // zero value (not the same as "no progress)
	ProgressDefault   = Progress("0/1")
)
View Source
const (
	ExitLifecycleEvent = "exit"
)
View Source
const LogsSuffix = "-logs"

Variables

View Source
var (
	ErrInvalidLengthGenerated        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowGenerated          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupGenerated = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	SchemeGroupVersion             = schema.GroupVersion{Group: workflow.Group, Version: "v1alpha1"}
	WorkflowSchemaGroupVersionKind = schema.GroupVersionKind{Group: workflow.Group, Version: "v1alpha1", Kind: workflow.WorkflowKind}
)

SchemeGroupVersion is group version used to register these objects

View Source
var (
	SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes)
	AddToScheme   = SchemeBuilder.AddToScheme
)
View Source
var (
	WorkflowCreatedAfter = func(t time.Time) WorkflowPredicate {
		return func(wf Workflow) bool {
			return wf.ObjectMeta.CreationTimestamp.After(t)
		}
	}
	WorkflowFinishedBefore = func(t time.Time) WorkflowPredicate {
		return func(wf Workflow) bool {
			return !wf.Status.FinishedAt.IsZero() && wf.Status.FinishedAt.Time.Before(t)
		}
	}
	WorkflowRanBetween = func(startTime time.Time, endTime time.Time) WorkflowPredicate {
		return func(wf Workflow) bool {
			return wf.ObjectMeta.CreationTimestamp.After(startTime) && !wf.Status.FinishedAt.IsZero() && wf.Status.FinishedAt.Time.Before(endTime)
		}
	}
)
View Source
var (
	// DefaultArchivePattern is the default pattern when storing artifacts in an archive repository
	DefaultArchivePattern = "{{workflow.name}}/{{pod.name}}"
)

Functions

func FailedPodNode

func FailedPodNode(n NodeStatus) bool

func Kind

func Kind(kind string) schema.GroupKind

Kind takes an unqualified kind and returns back a Group qualified GroupKind

func MustMarshallJSON added in v3.1.0

func MustMarshallJSON(v interface{}) string

func MustUnmarshal added in v3.1.0

func MustUnmarshal(text, v interface{})

MustUnmarshal is a utility function to unmarshall either a file, byte array, or string of JSON or YAMl into a object. text - a byte array or string, if starts with "@" it assumed to be a file and read from disk, is starts with "{" assumed to be JSON, otherwise assumed to be YAML v - a pointer to an object

func NodeWithDisplayName

func NodeWithDisplayName(name string) func(n NodeStatus) bool

func NodeWithName added in v3.4.0

func NodeWithName(name string) func(n NodeStatus) bool

func ParseStringToDuration added in v3.3.0

func ParseStringToDuration(durationString string) (time.Duration, error)

func Resource

func Resource(resource string) schema.GroupResource

Resource takes an unqualified resource and returns a Group-qualified GroupResource.

func ResourceQuantityDenominator

func ResourceQuantityDenominator(r apiv1.ResourceName) *resource.Quantity

func SucceededPodNode

func SucceededPodNode(n NodeStatus) bool

Types

type Amount

type Amount struct {
	Value json.Number `json:"-" protobuf:"bytes,1,opt,name=value,casttype=encoding/json.Number"`
}

Amount represent a numeric amount. +kubebuilder:validation:Type=number

func (*Amount) DeepCopy

func (in *Amount) DeepCopy() *Amount

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Amount.

func (*Amount) DeepCopyInto

func (in *Amount) DeepCopyInto(out *Amount)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*Amount) Descriptor

func (*Amount) Descriptor() ([]byte, []int)

func (*Amount) Float64

func (a *Amount) Float64() (float64, error)

func (*Amount) Marshal

func (m *Amount) Marshal() (dAtA []byte, err error)

func (Amount) MarshalJSON

func (a Amount) MarshalJSON() ([]byte, error)

func (*Amount) MarshalTo

func (m *Amount) MarshalTo(dAtA []byte) (int, error)

func (*Amount) MarshalToSizedBuffer

func (m *Amount) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (Amount) OpenAPISchemaFormat

func (a Amount) OpenAPISchemaFormat() string

func (Amount) OpenAPISchemaType

func (a Amount) OpenAPISchemaType() []string

func (*Amount) ProtoMessage

func (*Amount) ProtoMessage()

func (*Amount) Reset

func (m *Amount) Reset()

func (*Amount) Size

func (m *Amount) Size() (n int)

func (*Amount) String

func (this *Amount) String() string

func (*Amount) Unmarshal

func (m *Amount) Unmarshal(dAtA []byte) error

func (*Amount) UnmarshalJSON

func (a *Amount) UnmarshalJSON(data []byte) error

func (*Amount) XXX_DiscardUnknown

func (m *Amount) XXX_DiscardUnknown()

func (*Amount) XXX_Marshal

func (m *Amount) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Amount) XXX_Merge

func (m *Amount) XXX_Merge(src proto.Message)

func (*Amount) XXX_Size

func (m *Amount) XXX_Size() int

func (*Amount) XXX_Unmarshal

func (m *Amount) XXX_Unmarshal(b []byte) error

type AnyString

type AnyString string

* It's JSON type is just string. * It will unmarshall int64, int32, float64, float32, boolean, a plain string and represents it as string. * It will marshall back to string - marshalling is not symmetric.

func AnyStringPtr

func AnyStringPtr(val interface{}) *AnyString

func ParseAnyString

func ParseAnyString(val interface{}) AnyString

func (AnyString) MarshalJSON

func (i AnyString) MarshalJSON() ([]byte, error)

func (AnyString) String

func (i AnyString) String() string

func (*AnyString) UnmarshalJSON

func (i *AnyString) UnmarshalJSON(value []byte) error

type ArchiveStrategy

type ArchiveStrategy struct {
	Tar  *TarStrategy  `json:"tar,omitempty" protobuf:"bytes,1,opt,name=tar"`
	None *NoneStrategy `json:"none,omitempty" protobuf:"bytes,2,opt,name=none"`
	Zip  *ZipStrategy  `json:"zip,omitempty" protobuf:"bytes,3,opt,name=zip"`
}

ArchiveStrategy describes how to archive files/directory when saving artifacts

func (*ArchiveStrategy) DeepCopy

func (in *ArchiveStrategy) DeepCopy() *ArchiveStrategy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ArchiveStrategy.

func (*ArchiveStrategy) DeepCopyInto

func (in *ArchiveStrategy) DeepCopyInto(out *ArchiveStrategy)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ArchiveStrategy) Descriptor

func (*ArchiveStrategy) Descriptor() ([]byte, []int)

func (*ArchiveStrategy) Marshal

func (m *ArchiveStrategy) Marshal() (dAtA []byte, err error)

func (*ArchiveStrategy) MarshalTo

func (m *ArchiveStrategy) MarshalTo(dAtA []byte) (int, error)

func (*ArchiveStrategy) MarshalToSizedBuffer

func (m *ArchiveStrategy) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ArchiveStrategy) ProtoMessage

func (*ArchiveStrategy) ProtoMessage()

func (*ArchiveStrategy) Reset

func (m *ArchiveStrategy) Reset()

func (*ArchiveStrategy) Size

func (m *ArchiveStrategy) Size() (n int)

func (*ArchiveStrategy) String

func (this *ArchiveStrategy) String() string

func (*ArchiveStrategy) Unmarshal

func (m *ArchiveStrategy) Unmarshal(dAtA []byte) error

func (*ArchiveStrategy) XXX_DiscardUnknown

func (m *ArchiveStrategy) XXX_DiscardUnknown()

func (*ArchiveStrategy) XXX_Marshal

func (m *ArchiveStrategy) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ArchiveStrategy) XXX_Merge

func (m *ArchiveStrategy) XXX_Merge(src proto.Message)

func (*ArchiveStrategy) XXX_Size

func (m *ArchiveStrategy) XXX_Size() int

func (*ArchiveStrategy) XXX_Unmarshal

func (m *ArchiveStrategy) XXX_Unmarshal(b []byte) error

type Arguments

type Arguments struct {
	// Parameters is the list of parameters to pass to the template or workflow
	// +patchStrategy=merge
	// +patchMergeKey=name
	Parameters []Parameter `json:"parameters,omitempty" patchStrategy:"merge" patchMergeKey:"name" protobuf:"bytes,1,rep,name=parameters"`

	// Artifacts is the list of artifacts to pass to the template or workflow
	// +patchStrategy=merge
	// +patchMergeKey=name
	Artifacts Artifacts `json:"artifacts,omitempty" patchStrategy:"merge" patchMergeKey:"name" protobuf:"bytes,2,rep,name=artifacts"`
}

Arguments to a template

func (*Arguments) DeepCopy

func (in *Arguments) DeepCopy() *Arguments

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Arguments.

func (*Arguments) DeepCopyInto

func (in *Arguments) DeepCopyInto(out *Arguments)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*Arguments) Descriptor

func (*Arguments) Descriptor() ([]byte, []int)

func (*Arguments) GetArtifactByName

func (args *Arguments) GetArtifactByName(name string) *Artifact

GetArtifactByName retrieves an artifact by its name

func (*Arguments) GetParameterByName

func (args *Arguments) GetParameterByName(name string) *Parameter

GetParameterByName retrieves a parameter by its name

func (Arguments) IsEmpty

func (a Arguments) IsEmpty() bool

func (*Arguments) Marshal

func (m *Arguments) Marshal() (dAtA []byte, err error)

func (*Arguments) MarshalTo

func (m *Arguments) MarshalTo(dAtA []byte) (int, error)

func (*Arguments) MarshalToSizedBuffer

func (m *Arguments) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Arguments) ProtoMessage

func (*Arguments) ProtoMessage()

func (*Arguments) Reset

func (m *Arguments) Reset()

func (*Arguments) Size

func (m *Arguments) Size() (n int)

func (*Arguments) String

func (this *Arguments) String() string

func (*Arguments) Unmarshal

func (m *Arguments) Unmarshal(dAtA []byte) error

func (*Arguments) XXX_DiscardUnknown

func (m *Arguments) XXX_DiscardUnknown()

func (*Arguments) XXX_Marshal

func (m *Arguments) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Arguments) XXX_Merge

func (m *Arguments) XXX_Merge(src proto.Message)

func (*Arguments) XXX_Size

func (m *Arguments) XXX_Size() int

func (*Arguments) XXX_Unmarshal

func (m *Arguments) XXX_Unmarshal(b []byte) error

type ArgumentsProvider

type ArgumentsProvider interface {
	GetParameterByName(name string) *Parameter
	GetArtifactByName(name string) *Artifact
}

type ArtGCStatus added in v3.4.0

type ArtGCStatus struct {

	// have Pods been started to perform this strategy? (enables us not to re-process what we've already done)
	StrategiesProcessed map[ArtifactGCStrategy]bool `json:"strategiesProcessed,omitempty" protobuf:"bytes,1,opt,name=strategiesProcessed"`

	// have completed Pods been processed? (mapped by Pod name)
	// used to prevent re-processing the Status of a Pod more than once
	PodsRecouped map[string]bool `json:"podsRecouped,omitempty" protobuf:"bytes,2,opt,name=podsRecouped"`

	// if this is true, we already checked to see if we need to do it and we don't
	NotSpecified bool `json:"notSpecified,omitempty" protobuf:"varint,3,opt,name=notSpecified"`
}

ArtGCStatus maintains state related to ArtifactGC

func (*ArtGCStatus) DeepCopy added in v3.4.0

func (in *ArtGCStatus) DeepCopy() *ArtGCStatus

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ArtGCStatus.

func (*ArtGCStatus) DeepCopyInto added in v3.4.0

func (in *ArtGCStatus) DeepCopyInto(out *ArtGCStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ArtGCStatus) Descriptor added in v3.4.0

func (*ArtGCStatus) Descriptor() ([]byte, []int)

func (*ArtGCStatus) IsArtifactGCPodRecouped added in v3.4.0

func (gcStatus *ArtGCStatus) IsArtifactGCPodRecouped(podName string) bool

func (*ArtGCStatus) IsArtifactGCStrategyProcessed added in v3.4.0

func (gcStatus *ArtGCStatus) IsArtifactGCStrategyProcessed(strategy ArtifactGCStrategy) bool

func (*ArtGCStatus) Marshal added in v3.4.0

func (m *ArtGCStatus) Marshal() (dAtA []byte, err error)

func (*ArtGCStatus) MarshalTo added in v3.4.0

func (m *ArtGCStatus) MarshalTo(dAtA []byte) (int, error)

func (*ArtGCStatus) MarshalToSizedBuffer added in v3.4.0

func (m *ArtGCStatus) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ArtGCStatus) ProtoMessage added in v3.4.0

func (*ArtGCStatus) ProtoMessage()

func (*ArtGCStatus) Reset added in v3.4.0

func (m *ArtGCStatus) Reset()

func (*ArtGCStatus) SetArtifactGCPodRecouped added in v3.4.0

func (gcStatus *ArtGCStatus) SetArtifactGCPodRecouped(podName string, recouped bool)

func (*ArtGCStatus) SetArtifactGCStrategyProcessed added in v3.4.0

func (gcStatus *ArtGCStatus) SetArtifactGCStrategyProcessed(strategy ArtifactGCStrategy, processed bool)

func (*ArtGCStatus) Size added in v3.4.0

func (m *ArtGCStatus) Size() (n int)

func (*ArtGCStatus) String added in v3.4.0

func (this *ArtGCStatus) String() string

func (*ArtGCStatus) Unmarshal added in v3.4.0

func (m *ArtGCStatus) Unmarshal(dAtA []byte) error

func (*ArtGCStatus) XXX_DiscardUnknown added in v3.4.0

func (m *ArtGCStatus) XXX_DiscardUnknown()

func (*ArtGCStatus) XXX_Marshal added in v3.4.0

func (m *ArtGCStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ArtGCStatus) XXX_Merge added in v3.4.0

func (m *ArtGCStatus) XXX_Merge(src proto.Message)

func (*ArtGCStatus) XXX_Size added in v3.4.0

func (m *ArtGCStatus) XXX_Size() int

func (*ArtGCStatus) XXX_Unmarshal added in v3.4.0

func (m *ArtGCStatus) XXX_Unmarshal(b []byte) error

type Artifact

type Artifact struct {
	// name of the artifact. must be unique within a template's inputs/outputs.
	Name string `json:"name" protobuf:"bytes,1,opt,name=name"`

	// Path is the container path to the artifact
	Path string `json:"path,omitempty" protobuf:"bytes,2,opt,name=path"`

	// mode bits to use on this file, must be a value between 0 and 0777
	// set when loading input artifacts.
	Mode *int32 `json:"mode,omitempty" protobuf:"varint,3,opt,name=mode"`

	// From allows an artifact to reference an artifact from a previous step
	From string `json:"from,omitempty" protobuf:"bytes,4,opt,name=from"`

	// ArtifactLocation contains the location of the artifact
	ArtifactLocation `json:",inline" protobuf:"bytes,5,opt,name=artifactLocation"`

	// GlobalName exports an output artifact to the global scope, making it available as
	// '{{workflow.outputs.artifacts.XXXX}} and in workflow.status.outputs.artifacts
	GlobalName string `json:"globalName,omitempty" protobuf:"bytes,6,opt,name=globalName"`

	// Archive controls how the artifact will be saved to the artifact repository.
	Archive *ArchiveStrategy `json:"archive,omitempty" protobuf:"bytes,7,opt,name=archive"`

	// Make Artifacts optional, if Artifacts doesn't generate or exist
	Optional bool `json:"optional,omitempty" protobuf:"varint,8,opt,name=optional"`

	// SubPath allows an artifact to be sourced from a subpath within the specified source
	SubPath string `json:"subPath,omitempty" protobuf:"bytes,9,opt,name=subPath"`

	// If mode is set, apply the permission recursively into the artifact if it is a folder
	RecurseMode bool `json:"recurseMode,omitempty" protobuf:"varint,10,opt,name=recurseMode"`

	// FromExpression, if defined, is evaluated to specify the value for the artifact
	FromExpression string `json:"fromExpression,omitempty" protobuf:"bytes,11,opt,name=fromExpression"`

	// ArtifactGC describes the strategy to use when to deleting an artifact from completed or deleted workflows
	ArtifactGC *ArtifactGC `json:"artifactGC,omitempty" protobuf:"bytes,12,opt,name=artifactGC"`

	// Has this been deleted?
	Deleted bool `json:"deleted,omitempty" protobuf:"varint,13,opt,name=deleted"`
}

Artifact indicates an artifact to place at a specified path

func (*Artifact) CleanPath added in v3.3.0

func (a *Artifact) CleanPath() error

CleanPath validates and cleans the artifact path.

func (*Artifact) DeepCopy

func (in *Artifact) DeepCopy() *Artifact

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Artifact.

func (*Artifact) DeepCopyInto

func (in *Artifact) DeepCopyInto(out *Artifact)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*Artifact) Descriptor

func (*Artifact) Descriptor() ([]byte, []int)

func (*Artifact) GetArchive

func (a *Artifact) GetArchive() *ArchiveStrategy

func (*Artifact) GetArtifactGC added in v3.4.0

func (a *Artifact) GetArtifactGC() *ArtifactGC

ArtifactGC returns the ArtifactGC that was defined by the artifact. If none was provided, a default value is returned.

func (*Artifact) Marshal

func (m *Artifact) Marshal() (dAtA []byte, err error)

func (*Artifact) MarshalTo

func (m *Artifact) MarshalTo(dAtA []byte) (int, error)

func (*Artifact) MarshalToSizedBuffer

func (m *Artifact) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Artifact) ProtoMessage

func (*Artifact) ProtoMessage()

func (*Artifact) Reset

func (m *Artifact) Reset()

func (*Artifact) Size

func (m *Artifact) Size() (n int)

func (*Artifact) String

func (this *Artifact) String() string

func (*Artifact) Unmarshal

func (m *Artifact) Unmarshal(dAtA []byte) error

func (*Artifact) XXX_DiscardUnknown

func (m *Artifact) XXX_DiscardUnknown()

func (*Artifact) XXX_Marshal

func (m *Artifact) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Artifact) XXX_Merge

func (m *Artifact) XXX_Merge(src proto.Message)

func (*Artifact) XXX_Size

func (m *Artifact) XXX_Size() int

func (*Artifact) XXX_Unmarshal

func (m *Artifact) XXX_Unmarshal(b []byte) error

type ArtifactGC added in v3.4.0

type ArtifactGC struct {
	// Strategy is the strategy to use.
	// +kubebuilder:validation:Enum="";OnWorkflowCompletion;OnWorkflowDeletion;Never
	Strategy ArtifactGCStrategy `json:"strategy,omitempty" protobuf:"bytes,1,opt,name=strategy,casttype=ArtifactGCStategy"`

	// PodMetadata is an optional field for specifying the Labels and Annotations that should be assigned to the Pod doing the deletion
	PodMetadata *Metadata `json:"podMetadata,omitempty" protobuf:"bytes,2,opt,name=podMetadata"`

	// ServiceAccountName is an optional field for specifying the Service Account that should be assigned to the Pod doing the deletion
	ServiceAccountName string `json:"serviceAccountName,omitempty" protobuf:"bytes,3,opt,name=serviceAccountName"`
}

ArtifactGC describes how to delete artifacts from completed Workflows

func (*ArtifactGC) DeepCopy added in v3.4.0

func (in *ArtifactGC) DeepCopy() *ArtifactGC

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ArtifactGC.

func (*ArtifactGC) DeepCopyInto added in v3.4.0

func (in *ArtifactGC) DeepCopyInto(out *ArtifactGC)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ArtifactGC) Descriptor added in v3.4.0

func (*ArtifactGC) Descriptor() ([]byte, []int)

func (*ArtifactGC) GetStrategy added in v3.4.0

func (agc *ArtifactGC) GetStrategy() ArtifactGCStrategy

GetStrategy returns the VolumeClaimGCStrategy to use for the workflow

func (*ArtifactGC) Marshal added in v3.4.0

func (m *ArtifactGC) Marshal() (dAtA []byte, err error)

func (*ArtifactGC) MarshalTo added in v3.4.0

func (m *ArtifactGC) MarshalTo(dAtA []byte) (int, error)

func (*ArtifactGC) MarshalToSizedBuffer added in v3.4.0

func (m *ArtifactGC) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ArtifactGC) ProtoMessage added in v3.4.0

func (*ArtifactGC) ProtoMessage()

func (*ArtifactGC) Reset added in v3.4.0

func (m *ArtifactGC) Reset()

func (*ArtifactGC) Size added in v3.4.0

func (m *ArtifactGC) Size() (n int)

func (*ArtifactGC) String added in v3.4.0

func (this *ArtifactGC) String() string

func (*ArtifactGC) Unmarshal added in v3.4.0

func (m *ArtifactGC) Unmarshal(dAtA []byte) error

func (*ArtifactGC) XXX_DiscardUnknown added in v3.4.0

func (m *ArtifactGC) XXX_DiscardUnknown()

func (*ArtifactGC) XXX_Marshal added in v3.4.0

func (m *ArtifactGC) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ArtifactGC) XXX_Merge added in v3.4.0

func (m *ArtifactGC) XXX_Merge(src proto.Message)

func (*ArtifactGC) XXX_Size added in v3.4.0

func (m *ArtifactGC) XXX_Size() int

func (*ArtifactGC) XXX_Unmarshal added in v3.4.0

func (m *ArtifactGC) XXX_Unmarshal(b []byte) error

type ArtifactGCSpec added in v3.4.0

type ArtifactGCSpec struct {
	// ArtifactsByNode maps Node name to information pertaining to Artifacts on that Node
	ArtifactsByNode map[string]ArtifactNodeSpec `json:"artifactsByNode,omitempty" protobuf:"bytes,1,rep,name=artifactsByNode"`
}

ArtifactGCSpec specifies the Artifacts that need to be deleted

func (*ArtifactGCSpec) DeepCopy added in v3.4.0

func (in *ArtifactGCSpec) DeepCopy() *ArtifactGCSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ArtifactGCSpec.

func (*ArtifactGCSpec) DeepCopyInto added in v3.4.0

func (in *ArtifactGCSpec) DeepCopyInto(out *ArtifactGCSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ArtifactGCSpec) Descriptor added in v3.4.0

func (*ArtifactGCSpec) Descriptor() ([]byte, []int)

func (*ArtifactGCSpec) Marshal added in v3.4.0

func (m *ArtifactGCSpec) Marshal() (dAtA []byte, err error)

func (*ArtifactGCSpec) MarshalTo added in v3.4.0

func (m *ArtifactGCSpec) MarshalTo(dAtA []byte) (int, error)

func (*ArtifactGCSpec) MarshalToSizedBuffer added in v3.4.0

func (m *ArtifactGCSpec) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ArtifactGCSpec) ProtoMessage added in v3.4.0

func (*ArtifactGCSpec) ProtoMessage()

func (*ArtifactGCSpec) Reset added in v3.4.0

func (m *ArtifactGCSpec) Reset()

func (*ArtifactGCSpec) Size added in v3.4.0

func (m *ArtifactGCSpec) Size() (n int)

func (*ArtifactGCSpec) String added in v3.4.0

func (this *ArtifactGCSpec) String() string

func (*ArtifactGCSpec) Unmarshal added in v3.4.0

func (m *ArtifactGCSpec) Unmarshal(dAtA []byte) error

func (*ArtifactGCSpec) XXX_DiscardUnknown added in v3.4.0

func (m *ArtifactGCSpec) XXX_DiscardUnknown()

func (*ArtifactGCSpec) XXX_Marshal added in v3.4.0

func (m *ArtifactGCSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ArtifactGCSpec) XXX_Merge added in v3.4.0

func (m *ArtifactGCSpec) XXX_Merge(src proto.Message)

func (*ArtifactGCSpec) XXX_Size added in v3.4.0

func (m *ArtifactGCSpec) XXX_Size() int

func (*ArtifactGCSpec) XXX_Unmarshal added in v3.4.0

func (m *ArtifactGCSpec) XXX_Unmarshal(b []byte) error

type ArtifactGCStatus added in v3.4.0

type ArtifactGCStatus struct {
	// ArtifactResultsByNode maps Node name to result
	ArtifactResultsByNode map[string]ArtifactResultNodeStatus `json:"artifactResultsByNode,omitempty" protobuf:"bytes,1,rep,name=artifactResultsByNode"`
}

ArtifactGCStatus describes the result of the deletion

func (*ArtifactGCStatus) DeepCopy added in v3.4.0

func (in *ArtifactGCStatus) DeepCopy() *ArtifactGCStatus

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ArtifactGCStatus.

func (*ArtifactGCStatus) DeepCopyInto added in v3.4.0

func (in *ArtifactGCStatus) DeepCopyInto(out *ArtifactGCStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ArtifactGCStatus) Descriptor added in v3.4.0

func (*ArtifactGCStatus) Descriptor() ([]byte, []int)

func (*ArtifactGCStatus) Marshal added in v3.4.0

func (m *ArtifactGCStatus) Marshal() (dAtA []byte, err error)

func (*ArtifactGCStatus) MarshalTo added in v3.4.0

func (m *ArtifactGCStatus) MarshalTo(dAtA []byte) (int, error)

func (*ArtifactGCStatus) MarshalToSizedBuffer added in v3.4.0

func (m *ArtifactGCStatus) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ArtifactGCStatus) ProtoMessage added in v3.4.0

func (*ArtifactGCStatus) ProtoMessage()

func (*ArtifactGCStatus) Reset added in v3.4.0

func (m *ArtifactGCStatus) Reset()

func (*ArtifactGCStatus) Size added in v3.4.0

func (m *ArtifactGCStatus) Size() (n int)

func (*ArtifactGCStatus) String added in v3.4.0

func (this *ArtifactGCStatus) String() string

func (*ArtifactGCStatus) Unmarshal added in v3.4.0

func (m *ArtifactGCStatus) Unmarshal(dAtA []byte) error

func (*ArtifactGCStatus) XXX_DiscardUnknown added in v3.4.0

func (m *ArtifactGCStatus) XXX_DiscardUnknown()

func (*ArtifactGCStatus) XXX_Marshal added in v3.4.0

func (m *ArtifactGCStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ArtifactGCStatus) XXX_Merge added in v3.4.0

func (m *ArtifactGCStatus) XXX_Merge(src proto.Message)

func (*ArtifactGCStatus) XXX_Size added in v3.4.0

func (m *ArtifactGCStatus) XXX_Size() int

func (*ArtifactGCStatus) XXX_Unmarshal added in v3.4.0

func (m *ArtifactGCStatus) XXX_Unmarshal(b []byte) error

type ArtifactGCStrategy added in v3.4.0

type ArtifactGCStrategy string

ArtifactGCStrategy is the strategy when to delete artifacts for GC.

const (
	ArtifactGCOnWorkflowCompletion ArtifactGCStrategy = "OnWorkflowCompletion"
	ArtifactGCOnWorkflowDeletion   ArtifactGCStrategy = "OnWorkflowDeletion"
	ArtifactGCNever                ArtifactGCStrategy = "Never"
	ArtifactGCStrategyUndefined    ArtifactGCStrategy = ""
)

ArtifactGCStrategy

type ArtifactLocation

type ArtifactLocation struct {
	// ArchiveLogs indicates if the container logs should be archived
	ArchiveLogs *bool `json:"archiveLogs,omitempty" protobuf:"varint,1,opt,name=archiveLogs"`

	// S3 contains S3 artifact location details
	S3 *S3Artifact `json:"s3,omitempty" protobuf:"bytes,2,opt,name=s3"`

	// Git contains git artifact location details
	Git *GitArtifact `json:"git,omitempty" protobuf:"bytes,3,opt,name=git"`

	// HTTP contains HTTP artifact location details
	HTTP *HTTPArtifact `json:"http,omitempty" protobuf:"bytes,4,opt,name=http"`

	// Artifactory contains artifactory artifact location details
	Artifactory *ArtifactoryArtifact `json:"artifactory,omitempty" protobuf:"bytes,5,opt,name=artifactory"`

	// HDFS contains HDFS artifact location details
	HDFS *HDFSArtifact `json:"hdfs,omitempty" protobuf:"bytes,6,opt,name=hdfs"`

	// Raw contains raw artifact location details
	Raw *RawArtifact `json:"raw,omitempty" protobuf:"bytes,7,opt,name=raw"`

	// OSS contains OSS artifact location details
	OSS *OSSArtifact `json:"oss,omitempty" protobuf:"bytes,8,opt,name=oss"`

	// GCS contains GCS artifact location details
	GCS *GCSArtifact `json:"gcs,omitempty" protobuf:"bytes,9,opt,name=gcs"`

	// Azure contains Azure Storage artifact location details
	Azure *AzureArtifact `json:"azure,omitempty" protobuf:"bytes,10,opt,name=azure"`
}

ArtifactLocation describes a location for a single or multiple artifacts. It is used as single artifact in the context of inputs/outputs (e.g. outputs.artifacts.artname). It is also used to describe the location of multiple artifacts such as the archive location of a single workflow step, which the executor will use as a default location to store its files.

func (*ArtifactLocation) AppendToKey

func (a *ArtifactLocation) AppendToKey(x string) error

func (*ArtifactLocation) DeepCopy

func (in *ArtifactLocation) DeepCopy() *ArtifactLocation

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ArtifactLocation.

func (*ArtifactLocation) DeepCopyInto

func (in *ArtifactLocation) DeepCopyInto(out *ArtifactLocation)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ArtifactLocation) Descriptor

func (*ArtifactLocation) Descriptor() ([]byte, []int)

func (*ArtifactLocation) Get

func (*ArtifactLocation) GetKey

func (a *ArtifactLocation) GetKey() (string, error)

func (*ArtifactLocation) HasKey

func (a *ArtifactLocation) HasKey() bool

HasKey returns whether or not an artifact has a key. They may or may not also HasLocation.

func (*ArtifactLocation) HasLocation

func (a *ArtifactLocation) HasLocation() bool

HasLocation whether or not an artifact has a *full* location defined An artifact that has a location implicitly has a key (i.e. HasKey() == true).

func (*ArtifactLocation) HasLocationOrKey

func (a *ArtifactLocation) HasLocationOrKey() bool

func (*ArtifactLocation) IsArchiveLogs

func (a *ArtifactLocation) IsArchiveLogs() bool

func (*ArtifactLocation) Marshal

func (m *ArtifactLocation) Marshal() (dAtA []byte, err error)

func (*ArtifactLocation) MarshalTo

func (m *ArtifactLocation) MarshalTo(dAtA []byte) (int, error)

func (*ArtifactLocation) MarshalToSizedBuffer

func (m *ArtifactLocation) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ArtifactLocation) ProtoMessage

func (*ArtifactLocation) ProtoMessage()

func (*ArtifactLocation) Relocate

func (a *ArtifactLocation) Relocate(l *ArtifactLocation) error

Relocate copies all location info from the parameter, except the key. But only if it does not have a location already.

func (*ArtifactLocation) Reset

func (m *ArtifactLocation) Reset()

func (*ArtifactLocation) SetKey

func (a *ArtifactLocation) SetKey(key string) error

set the key to a new value, use path.Join to combine items

func (*ArtifactLocation) SetType

SetType sets the type of the artifact to type the argument. Any existing value is deleted.

func (*ArtifactLocation) Size

func (m *ArtifactLocation) Size() (n int)

func (*ArtifactLocation) String

func (this *ArtifactLocation) String() string

func (*ArtifactLocation) Unmarshal

func (m *ArtifactLocation) Unmarshal(dAtA []byte) error

func (*ArtifactLocation) XXX_DiscardUnknown

func (m *ArtifactLocation) XXX_DiscardUnknown()

func (*ArtifactLocation) XXX_Marshal

func (m *ArtifactLocation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ArtifactLocation) XXX_Merge

func (m *ArtifactLocation) XXX_Merge(src proto.Message)

func (*ArtifactLocation) XXX_Size

func (m *ArtifactLocation) XXX_Size() int

func (*ArtifactLocation) XXX_Unmarshal

func (m *ArtifactLocation) XXX_Unmarshal(b []byte) error

type ArtifactLocationType

type ArtifactLocationType interface {
	HasLocation() bool
	GetKey() (string, error)
	SetKey(key string) error
}

type ArtifactNodeSpec added in v3.4.0

type ArtifactNodeSpec struct {
	// ArchiveLocation is the template-level Artifact location specification
	ArchiveLocation *ArtifactLocation `json:"archiveLocation,omitempty" protobuf:"bytes,1,opt,name=archiveLocation"`
	// Artifacts maps artifact name to Artifact description
	Artifacts map[string]Artifact `json:"artifacts,omitempty" protobuf:"bytes,2,rep,name=artifacts"`
}

ArtifactNodeSpec specifies the Artifacts that need to be deleted for a given Node

func (*ArtifactNodeSpec) DeepCopy added in v3.4.0

func (in *ArtifactNodeSpec) DeepCopy() *ArtifactNodeSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ArtifactNodeSpec.

func (*ArtifactNodeSpec) DeepCopyInto added in v3.4.0

func (in *ArtifactNodeSpec) DeepCopyInto(out *ArtifactNodeSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ArtifactNodeSpec) Descriptor added in v3.4.0

func (*ArtifactNodeSpec) Descriptor() ([]byte, []int)

func (*ArtifactNodeSpec) Marshal added in v3.4.0

func (m *ArtifactNodeSpec) Marshal() (dAtA []byte, err error)

func (*ArtifactNodeSpec) MarshalTo added in v3.4.0

func (m *ArtifactNodeSpec) MarshalTo(dAtA []byte) (int, error)

func (*ArtifactNodeSpec) MarshalToSizedBuffer added in v3.4.0

func (m *ArtifactNodeSpec) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ArtifactNodeSpec) ProtoMessage added in v3.4.0

func (*ArtifactNodeSpec) ProtoMessage()

func (*ArtifactNodeSpec) Reset added in v3.4.0

func (m *ArtifactNodeSpec) Reset()

func (*ArtifactNodeSpec) Size added in v3.4.0

func (m *ArtifactNodeSpec) Size() (n int)

func (*ArtifactNodeSpec) String added in v3.4.0

func (this *ArtifactNodeSpec) String() string

func (*ArtifactNodeSpec) Unmarshal added in v3.4.0

func (m *ArtifactNodeSpec) Unmarshal(dAtA []byte) error

func (*ArtifactNodeSpec) XXX_DiscardUnknown added in v3.4.0

func (m *ArtifactNodeSpec) XXX_DiscardUnknown()

func (*ArtifactNodeSpec) XXX_Marshal added in v3.4.0

func (m *ArtifactNodeSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ArtifactNodeSpec) XXX_Merge added in v3.4.0

func (m *ArtifactNodeSpec) XXX_Merge(src proto.Message)

func (*ArtifactNodeSpec) XXX_Size added in v3.4.0

func (m *ArtifactNodeSpec) XXX_Size() int

func (*ArtifactNodeSpec) XXX_Unmarshal added in v3.4.0

func (m *ArtifactNodeSpec) XXX_Unmarshal(b []byte) error

type ArtifactPaths added in v3.1.0

type ArtifactPaths struct {
	// Artifact is the artifact location from which to source the artifacts, it can be a directory
	Artifact `json:",inline" protobuf:"bytes,1,opt,name=artifact"`
}

ArtifactPaths expands a step from a collection of artifacts

func (*ArtifactPaths) DeepCopy added in v3.1.0

func (in *ArtifactPaths) DeepCopy() *ArtifactPaths

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ArtifactPaths.

func (*ArtifactPaths) DeepCopyInto added in v3.1.0

func (in *ArtifactPaths) DeepCopyInto(out *ArtifactPaths)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ArtifactPaths) Descriptor added in v3.1.0

func (*ArtifactPaths) Descriptor() ([]byte, []int)

func (*ArtifactPaths) Marshal added in v3.1.0

func (m *ArtifactPaths) Marshal() (dAtA []byte, err error)

func (*ArtifactPaths) MarshalTo added in v3.1.0

func (m *ArtifactPaths) MarshalTo(dAtA []byte) (int, error)

func (*ArtifactPaths) MarshalToSizedBuffer added in v3.1.0

func (m *ArtifactPaths) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ArtifactPaths) ProtoMessage added in v3.1.0

func (*ArtifactPaths) ProtoMessage()

func (*ArtifactPaths) Reset added in v3.1.0

func (m *ArtifactPaths) Reset()

func (*ArtifactPaths) Size added in v3.1.0

func (m *ArtifactPaths) Size() (n int)

func (*ArtifactPaths) String added in v3.1.0

func (this *ArtifactPaths) String() string

func (*ArtifactPaths) Unmarshal added in v3.1.0

func (m *ArtifactPaths) Unmarshal(dAtA []byte) error

func (*ArtifactPaths) XXX_DiscardUnknown added in v3.1.0

func (m *ArtifactPaths) XXX_DiscardUnknown()

func (*ArtifactPaths) XXX_Marshal added in v3.1.0

func (m *ArtifactPaths) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ArtifactPaths) XXX_Merge added in v3.1.0

func (m *ArtifactPaths) XXX_Merge(src proto.Message)

func (*ArtifactPaths) XXX_Size added in v3.1.0

func (m *ArtifactPaths) XXX_Size() int

func (*ArtifactPaths) XXX_Unmarshal added in v3.1.0

func (m *ArtifactPaths) XXX_Unmarshal(b []byte) error

type ArtifactRepository added in v3.1.2

type ArtifactRepository struct {
	// ArchiveLogs enables log archiving
	ArchiveLogs *bool `json:"archiveLogs,omitempty" protobuf:"varint,1,opt,name=archiveLogs"`
	// S3 stores artifact in a S3-compliant object store
	S3 *S3ArtifactRepository `json:"s3,omitempty" protobuf:"bytes,2,opt,name=s3"`
	// Artifactory stores artifacts to JFrog Artifactory
	Artifactory *ArtifactoryArtifactRepository `json:"artifactory,omitempty" protobuf:"bytes,3,opt,name=artifactory"`
	// HDFS stores artifacts in HDFS
	HDFS *HDFSArtifactRepository `json:"hdfs,omitempty" protobuf:"bytes,4,opt,name=hdfs"`
	// OSS stores artifact in a OSS-compliant object store
	OSS *OSSArtifactRepository `json:"oss,omitempty" protobuf:"bytes,5,opt,name=oss"`
	// GCS stores artifact in a GCS object store
	GCS *GCSArtifactRepository `json:"gcs,omitempty" protobuf:"bytes,6,opt,name=gcs"`
	// Azure stores artifact in an Azure Storage account
	Azure *AzureArtifactRepository `json:"azure,omitempty" protobuf:"bytes,7,opt,name=azure"`
}

ArtifactRepository represents an artifact repository in which a controller will store its artifacts

func (*ArtifactRepository) DeepCopy added in v3.1.2

func (in *ArtifactRepository) DeepCopy() *ArtifactRepository

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ArtifactRepository.

func (*ArtifactRepository) DeepCopyInto added in v3.1.2

func (in *ArtifactRepository) DeepCopyInto(out *ArtifactRepository)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ArtifactRepository) Descriptor added in v3.1.2

func (*ArtifactRepository) Descriptor() ([]byte, []int)

func (*ArtifactRepository) Get added in v3.1.2

func (*ArtifactRepository) IsArchiveLogs added in v3.1.2

func (a *ArtifactRepository) IsArchiveLogs() bool

func (*ArtifactRepository) Marshal added in v3.1.2

func (m *ArtifactRepository) Marshal() (dAtA []byte, err error)

func (*ArtifactRepository) MarshalTo added in v3.1.2

func (m *ArtifactRepository) MarshalTo(dAtA []byte) (int, error)

func (*ArtifactRepository) MarshalToSizedBuffer added in v3.1.2

func (m *ArtifactRepository) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ArtifactRepository) ProtoMessage added in v3.1.2

func (*ArtifactRepository) ProtoMessage()

func (*ArtifactRepository) Reset added in v3.1.2

func (m *ArtifactRepository) Reset()

func (*ArtifactRepository) Size added in v3.1.2

func (m *ArtifactRepository) Size() (n int)

func (*ArtifactRepository) String added in v3.1.2

func (this *ArtifactRepository) String() string

func (*ArtifactRepository) ToArtifactLocation added in v3.1.2

func (a *ArtifactRepository) ToArtifactLocation() *ArtifactLocation

ToArtifactLocation returns the artifact location set with default template key: key = `{{workflow.name}}/{{pod.name}}`

func (*ArtifactRepository) Unmarshal added in v3.1.2

func (m *ArtifactRepository) Unmarshal(dAtA []byte) error

func (*ArtifactRepository) XXX_DiscardUnknown added in v3.1.2

func (m *ArtifactRepository) XXX_DiscardUnknown()

func (*ArtifactRepository) XXX_Marshal added in v3.1.2

func (m *ArtifactRepository) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ArtifactRepository) XXX_Merge added in v3.1.2

func (m *ArtifactRepository) XXX_Merge(src proto.Message)

func (*ArtifactRepository) XXX_Size added in v3.1.2

func (m *ArtifactRepository) XXX_Size() int

func (*ArtifactRepository) XXX_Unmarshal added in v3.1.2

func (m *ArtifactRepository) XXX_Unmarshal(b []byte) error

type ArtifactRepositoryRef

type ArtifactRepositoryRef struct {
	// The name of the config map. Defaults to "artifact-repositories".
	ConfigMap string `json:"configMap,omitempty" protobuf:"bytes,1,opt,name=configMap"`
	// The config map key. Defaults to the value of the "workflows.argoproj.io/default-artifact-repository" annotation.
	Key string `json:"key,omitempty" protobuf:"bytes,2,opt,name=key"`
}

+protobuf.options.(gogoproto.goproto_stringer)=false

func (*ArtifactRepositoryRef) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ArtifactRepositoryRef.

func (*ArtifactRepositoryRef) DeepCopyInto

func (in *ArtifactRepositoryRef) DeepCopyInto(out *ArtifactRepositoryRef)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ArtifactRepositoryRef) Descriptor

func (*ArtifactRepositoryRef) Descriptor() ([]byte, []int)

func (*ArtifactRepositoryRef) GetConfigMapOr

func (r *ArtifactRepositoryRef) GetConfigMapOr(configMap string) string

func (*ArtifactRepositoryRef) GetKeyOr

func (r *ArtifactRepositoryRef) GetKeyOr(key string) string

func (*ArtifactRepositoryRef) Marshal

func (m *ArtifactRepositoryRef) Marshal() (dAtA []byte, err error)

func (*ArtifactRepositoryRef) MarshalTo

func (m *ArtifactRepositoryRef) MarshalTo(dAtA []byte) (int, error)

func (*ArtifactRepositoryRef) MarshalToSizedBuffer

func (m *ArtifactRepositoryRef) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ArtifactRepositoryRef) ProtoMessage

func (*ArtifactRepositoryRef) ProtoMessage()

func (*ArtifactRepositoryRef) Reset

func (m *ArtifactRepositoryRef) Reset()

func (*ArtifactRepositoryRef) Size

func (m *ArtifactRepositoryRef) Size() (n int)

func (*ArtifactRepositoryRef) String

func (r *ArtifactRepositoryRef) String() string

func (*ArtifactRepositoryRef) Unmarshal

func (m *ArtifactRepositoryRef) Unmarshal(dAtA []byte) error

func (*ArtifactRepositoryRef) XXX_DiscardUnknown

func (m *ArtifactRepositoryRef) XXX_DiscardUnknown()

func (*ArtifactRepositoryRef) XXX_Marshal

func (m *ArtifactRepositoryRef) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ArtifactRepositoryRef) XXX_Merge

func (m *ArtifactRepositoryRef) XXX_Merge(src proto.Message)

func (*ArtifactRepositoryRef) XXX_Size

func (m *ArtifactRepositoryRef) XXX_Size() int

func (*ArtifactRepositoryRef) XXX_Unmarshal

func (m *ArtifactRepositoryRef) XXX_Unmarshal(b []byte) error

type ArtifactRepositoryRefStatus

type ArtifactRepositoryRefStatus struct {
	ArtifactRepositoryRef `json:",inline" protobuf:"bytes,1,opt,name=artifactRepositoryRef"`
	// The namespace of the config map. Defaults to the workflow's namespace, or the controller's namespace (if found).
	Namespace string `json:"namespace,omitempty" protobuf:"bytes,2,opt,name=namespace"`
	// If this ref represents the default artifact repository, rather than a config map.
	Default bool `json:"default,omitempty" protobuf:"varint,3,opt,name=default"`
	// The repository the workflow will use. This maybe empty before v3.1.
	ArtifactRepository *ArtifactRepository `json:"artifactRepository,omitempty" protobuf:"bytes,4,opt,name=artifactRepository"`
}

+protobuf.options.(gogoproto.goproto_stringer)=false

func (*ArtifactRepositoryRefStatus) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ArtifactRepositoryRefStatus.

func (*ArtifactRepositoryRefStatus) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ArtifactRepositoryRefStatus) Descriptor

func (*ArtifactRepositoryRefStatus) Descriptor() ([]byte, []int)

func (*ArtifactRepositoryRefStatus) Marshal

func (m *ArtifactRepositoryRefStatus) Marshal() (dAtA []byte, err error)

func (*ArtifactRepositoryRefStatus) MarshalTo

func (m *ArtifactRepositoryRefStatus) MarshalTo(dAtA []byte) (int, error)

func (*ArtifactRepositoryRefStatus) MarshalToSizedBuffer

func (m *ArtifactRepositoryRefStatus) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ArtifactRepositoryRefStatus) ProtoMessage

func (*ArtifactRepositoryRefStatus) ProtoMessage()

func (*ArtifactRepositoryRefStatus) Reset

func (m *ArtifactRepositoryRefStatus) Reset()

func (*ArtifactRepositoryRefStatus) Size

func (m *ArtifactRepositoryRefStatus) Size() (n int)

func (*ArtifactRepositoryRefStatus) String

func (r *ArtifactRepositoryRefStatus) String() string

func (*ArtifactRepositoryRefStatus) Unmarshal

func (m *ArtifactRepositoryRefStatus) Unmarshal(dAtA []byte) error

func (*ArtifactRepositoryRefStatus) XXX_DiscardUnknown

func (m *ArtifactRepositoryRefStatus) XXX_DiscardUnknown()

func (*ArtifactRepositoryRefStatus) XXX_Marshal

func (m *ArtifactRepositoryRefStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ArtifactRepositoryRefStatus) XXX_Merge

func (m *ArtifactRepositoryRefStatus) XXX_Merge(src proto.Message)

func (*ArtifactRepositoryRefStatus) XXX_Size

func (m *ArtifactRepositoryRefStatus) XXX_Size() int

func (*ArtifactRepositoryRefStatus) XXX_Unmarshal

func (m *ArtifactRepositoryRefStatus) XXX_Unmarshal(b []byte) error

type ArtifactRepositoryType added in v3.1.2

type ArtifactRepositoryType interface {
	IntoArtifactLocation(l *ArtifactLocation)
}

type ArtifactResult added in v3.4.0

type ArtifactResult struct {
	// Name is the name of the Artifact
	Name string `json:"name" protobuf:"bytes,1,opt,name=name"`

	// Success describes whether the deletion succeeded
	Success bool `json:"success,omitempty" protobuf:"varint,2,opt,name=success"`

	// Error is an optional error message which should be set if Success==false
	Error *string `json:"error,omitempty" protobuf:"bytes,3,opt,name=error"`
}

ArtifactResult describes the result of attempting to delete a given Artifact

func (*ArtifactResult) DeepCopy added in v3.4.0

func (in *ArtifactResult) DeepCopy() *ArtifactResult

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ArtifactResult.

func (*ArtifactResult) DeepCopyInto added in v3.4.0

func (in *ArtifactResult) DeepCopyInto(out *ArtifactResult)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ArtifactResult) Descriptor added in v3.4.0

func (*ArtifactResult) Descriptor() ([]byte, []int)

func (*ArtifactResult) Marshal added in v3.4.0

func (m *ArtifactResult) Marshal() (dAtA []byte, err error)

func (*ArtifactResult) MarshalTo added in v3.4.0

func (m *ArtifactResult) MarshalTo(dAtA []byte) (int, error)

func (*ArtifactResult) MarshalToSizedBuffer added in v3.4.0

func (m *ArtifactResult) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ArtifactResult) ProtoMessage added in v3.4.0

func (*ArtifactResult) ProtoMessage()

func (*ArtifactResult) Reset added in v3.4.0

func (m *ArtifactResult) Reset()

func (*ArtifactResult) Size added in v3.4.0

func (m *ArtifactResult) Size() (n int)

func (*ArtifactResult) String added in v3.4.0

func (this *ArtifactResult) String() string

func (*ArtifactResult) Unmarshal added in v3.4.0

func (m *ArtifactResult) Unmarshal(dAtA []byte) error

func (*ArtifactResult) XXX_DiscardUnknown added in v3.4.0

func (m *ArtifactResult) XXX_DiscardUnknown()

func (*ArtifactResult) XXX_Marshal added in v3.4.0

func (m *ArtifactResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ArtifactResult) XXX_Merge added in v3.4.0

func (m *ArtifactResult) XXX_Merge(src proto.Message)

func (*ArtifactResult) XXX_Size added in v3.4.0

func (m *ArtifactResult) XXX_Size() int

func (*ArtifactResult) XXX_Unmarshal added in v3.4.0

func (m *ArtifactResult) XXX_Unmarshal(b []byte) error

type ArtifactResultNodeStatus added in v3.4.0

type ArtifactResultNodeStatus struct {
	// ArtifactResults maps Artifact name to result of the deletion
	ArtifactResults map[string]ArtifactResult `json:"artifactResults,omitempty" protobuf:"bytes,1,rep,name=artifactResults"`
}

ArtifactResultNodeStatus describes the result of the deletion on a given node

func (*ArtifactResultNodeStatus) DeepCopy added in v3.4.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ArtifactResultNodeStatus.

func (*ArtifactResultNodeStatus) DeepCopyInto added in v3.4.0

func (in *ArtifactResultNodeStatus) DeepCopyInto(out *ArtifactResultNodeStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ArtifactResultNodeStatus) Descriptor added in v3.4.0

func (*ArtifactResultNodeStatus) Descriptor() ([]byte, []int)

func (*ArtifactResultNodeStatus) Marshal added in v3.4.0

func (m *ArtifactResultNodeStatus) Marshal() (dAtA []byte, err error)

func (*ArtifactResultNodeStatus) MarshalTo added in v3.4.0

func (m *ArtifactResultNodeStatus) MarshalTo(dAtA []byte) (int, error)

func (*ArtifactResultNodeStatus) MarshalToSizedBuffer added in v3.4.0

func (m *ArtifactResultNodeStatus) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ArtifactResultNodeStatus) ProtoMessage added in v3.4.0

func (*ArtifactResultNodeStatus) ProtoMessage()

func (*ArtifactResultNodeStatus) Reset added in v3.4.0

func (m *ArtifactResultNodeStatus) Reset()

func (*ArtifactResultNodeStatus) Size added in v3.4.0

func (m *ArtifactResultNodeStatus) Size() (n int)

func (*ArtifactResultNodeStatus) String added in v3.4.0

func (this *ArtifactResultNodeStatus) String() string

func (*ArtifactResultNodeStatus) Unmarshal added in v3.4.0

func (m *ArtifactResultNodeStatus) Unmarshal(dAtA []byte) error

func (*ArtifactResultNodeStatus) XXX_DiscardUnknown added in v3.4.0

func (m *ArtifactResultNodeStatus) XXX_DiscardUnknown()

func (*ArtifactResultNodeStatus) XXX_Marshal added in v3.4.0

func (m *ArtifactResultNodeStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ArtifactResultNodeStatus) XXX_Merge added in v3.4.0

func (m *ArtifactResultNodeStatus) XXX_Merge(src proto.Message)

func (*ArtifactResultNodeStatus) XXX_Size added in v3.4.0

func (m *ArtifactResultNodeStatus) XXX_Size() int

func (*ArtifactResultNodeStatus) XXX_Unmarshal added in v3.4.0

func (m *ArtifactResultNodeStatus) XXX_Unmarshal(b []byte) error

type ArtifactSearchQuery added in v3.4.0

type ArtifactSearchQuery struct {
	ArtifactGCStrategies map[ArtifactGCStrategy]bool `json:"artifactGCStrategies,omitempty" protobuf:"bytes,1,rep,name=artifactGCStrategies,castkey=ArtifactGCStrategy"`
	ArtifactName         string                      `json:"artifactName,omitempty" protobuf:"bytes,2,rep,name=artifactName"`
	TemplateName         string                      `json:"templateName,omitempty" protobuf:"bytes,3,rep,name=templateName"`
	NodeId               string                      `json:"nodeId,omitempty" protobuf:"bytes,4,rep,name=nodeId"`
	Deleted              *bool                       `json:"deleted,omitempty" protobuf:"varint,5,opt,name=deleted"`
	NodeTypes            map[NodeType]bool           `json:"nodeTypes,omitempty" protobuf:"bytes,6,opt,name=nodeTypes"`
}

func NewArtifactSearchQuery added in v3.4.0

func NewArtifactSearchQuery() *ArtifactSearchQuery

func (*ArtifactSearchQuery) DeepCopy added in v3.4.0

func (in *ArtifactSearchQuery) DeepCopy() *ArtifactSearchQuery

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ArtifactSearchQuery.

func (*ArtifactSearchQuery) DeepCopyInto added in v3.4.0

func (in *ArtifactSearchQuery) DeepCopyInto(out *ArtifactSearchQuery)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ArtifactSearchQuery) Descriptor added in v3.4.0

func (*ArtifactSearchQuery) Descriptor() ([]byte, []int)

func (*ArtifactSearchQuery) Marshal added in v3.4.0

func (m *ArtifactSearchQuery) Marshal() (dAtA []byte, err error)

func (*ArtifactSearchQuery) MarshalTo added in v3.4.0

func (m *ArtifactSearchQuery) MarshalTo(dAtA []byte) (int, error)

func (*ArtifactSearchQuery) MarshalToSizedBuffer added in v3.4.0

func (m *ArtifactSearchQuery) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ArtifactSearchQuery) ProtoMessage added in v3.4.0

func (*ArtifactSearchQuery) ProtoMessage()

func (*ArtifactSearchQuery) Reset added in v3.4.0

func (m *ArtifactSearchQuery) Reset()

func (*ArtifactSearchQuery) Size added in v3.4.0

func (m *ArtifactSearchQuery) Size() (n int)

func (*ArtifactSearchQuery) String added in v3.4.0

func (this *ArtifactSearchQuery) String() string

func (*ArtifactSearchQuery) Unmarshal added in v3.4.0

func (m *ArtifactSearchQuery) Unmarshal(dAtA []byte) error

func (*ArtifactSearchQuery) XXX_DiscardUnknown added in v3.4.0

func (m *ArtifactSearchQuery) XXX_DiscardUnknown()

func (*ArtifactSearchQuery) XXX_Marshal added in v3.4.0

func (m *ArtifactSearchQuery) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ArtifactSearchQuery) XXX_Merge added in v3.4.0

func (m *ArtifactSearchQuery) XXX_Merge(src proto.Message)

func (*ArtifactSearchQuery) XXX_Size added in v3.4.0

func (m *ArtifactSearchQuery) XXX_Size() int

func (*ArtifactSearchQuery) XXX_Unmarshal added in v3.4.0

func (m *ArtifactSearchQuery) XXX_Unmarshal(b []byte) error

type ArtifactSearchResult added in v3.4.0

type ArtifactSearchResult struct {
	Artifact `protobuf:"bytes,1,opt,name=artifact"`
	NodeID   string `protobuf:"bytes,2,opt,name=nodeID"`
}

func (*ArtifactSearchResult) DeepCopy added in v3.4.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ArtifactSearchResult.

func (*ArtifactSearchResult) DeepCopyInto added in v3.4.0

func (in *ArtifactSearchResult) DeepCopyInto(out *ArtifactSearchResult)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ArtifactSearchResult) Descriptor added in v3.4.0

func (*ArtifactSearchResult) Descriptor() ([]byte, []int)

func (*ArtifactSearchResult) Marshal added in v3.4.0

func (m *ArtifactSearchResult) Marshal() (dAtA []byte, err error)

func (*ArtifactSearchResult) MarshalTo added in v3.4.0

func (m *ArtifactSearchResult) MarshalTo(dAtA []byte) (int, error)

func (*ArtifactSearchResult) MarshalToSizedBuffer added in v3.4.0

func (m *ArtifactSearchResult) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ArtifactSearchResult) ProtoMessage added in v3.4.0

func (*ArtifactSearchResult) ProtoMessage()

func (*ArtifactSearchResult) Reset added in v3.4.0

func (m *ArtifactSearchResult) Reset()

func (*ArtifactSearchResult) Size added in v3.4.0

func (m *ArtifactSearchResult) Size() (n int)

func (*ArtifactSearchResult) String added in v3.4.0

func (this *ArtifactSearchResult) String() string

func (*ArtifactSearchResult) Unmarshal added in v3.4.0

func (m *ArtifactSearchResult) Unmarshal(dAtA []byte) error

func (*ArtifactSearchResult) XXX_DiscardUnknown added in v3.4.0

func (m *ArtifactSearchResult) XXX_DiscardUnknown()

func (*ArtifactSearchResult) XXX_Marshal added in v3.4.0

func (m *ArtifactSearchResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ArtifactSearchResult) XXX_Merge added in v3.4.0

func (m *ArtifactSearchResult) XXX_Merge(src proto.Message)

func (*ArtifactSearchResult) XXX_Size added in v3.4.0

func (m *ArtifactSearchResult) XXX_Size() int

func (*ArtifactSearchResult) XXX_Unmarshal added in v3.4.0

func (m *ArtifactSearchResult) XXX_Unmarshal(b []byte) error

type ArtifactSearchResults added in v3.4.0

type ArtifactSearchResults []ArtifactSearchResult

func (ArtifactSearchResults) DeepCopy added in v3.4.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ArtifactSearchResults.

func (ArtifactSearchResults) DeepCopyInto added in v3.4.0

func (in ArtifactSearchResults) DeepCopyInto(out *ArtifactSearchResults)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (ArtifactSearchResults) GetArtifacts added in v3.4.0

func (asr ArtifactSearchResults) GetArtifacts() []Artifact

type ArtifactoryArtifact

type ArtifactoryArtifact struct {
	// URL of the artifact
	URL             string `json:"url" protobuf:"bytes,1,opt,name=url"`
	ArtifactoryAuth `json:",inline" protobuf:"bytes,2,opt,name=artifactoryAuth"`
}

ArtifactoryArtifact is the location of an artifactory artifact

func (*ArtifactoryArtifact) DeepCopy

func (in *ArtifactoryArtifact) DeepCopy() *ArtifactoryArtifact

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ArtifactoryArtifact.

func (*ArtifactoryArtifact) DeepCopyInto

func (in *ArtifactoryArtifact) DeepCopyInto(out *ArtifactoryArtifact)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ArtifactoryArtifact) Descriptor

func (*ArtifactoryArtifact) Descriptor() ([]byte, []int)

func (*ArtifactoryArtifact) GetKey

func (a *ArtifactoryArtifact) GetKey() (string, error)
func (a *ArtifactoryArtifact) String() string {
	return a.URL
}

func (*ArtifactoryArtifact) HasLocation

func (a *ArtifactoryArtifact) HasLocation() bool

func (*ArtifactoryArtifact) Marshal

func (m *ArtifactoryArtifact) Marshal() (dAtA []byte, err error)

func (*ArtifactoryArtifact) MarshalTo

func (m *ArtifactoryArtifact) MarshalTo(dAtA []byte) (int, error)

func (*ArtifactoryArtifact) MarshalToSizedBuffer

func (m *ArtifactoryArtifact) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ArtifactoryArtifact) ProtoMessage

func (*ArtifactoryArtifact) ProtoMessage()

func (*ArtifactoryArtifact) Reset

func (m *ArtifactoryArtifact) Reset()

func (*ArtifactoryArtifact) SetKey

func (a *ArtifactoryArtifact) SetKey(key string) error

func (*ArtifactoryArtifact) Size

func (m *ArtifactoryArtifact) Size() (n int)

func (*ArtifactoryArtifact) String

func (this *ArtifactoryArtifact) String() string

func (*ArtifactoryArtifact) Unmarshal

func (m *ArtifactoryArtifact) Unmarshal(dAtA []byte) error

func (*ArtifactoryArtifact) XXX_DiscardUnknown

func (m *ArtifactoryArtifact) XXX_DiscardUnknown()

func (*ArtifactoryArtifact) XXX_Marshal

func (m *ArtifactoryArtifact) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ArtifactoryArtifact) XXX_Merge

func (m *ArtifactoryArtifact) XXX_Merge(src proto.Message)

func (*ArtifactoryArtifact) XXX_Size

func (m *ArtifactoryArtifact) XXX_Size() int

func (*ArtifactoryArtifact) XXX_Unmarshal

func (m *ArtifactoryArtifact) XXX_Unmarshal(b []byte) error

type ArtifactoryArtifactRepository added in v3.1.2

type ArtifactoryArtifactRepository struct {
	ArtifactoryAuth `json:",inline" protobuf:"bytes,1,opt,name=artifactoryAuth"`
	// RepoURL is the url for artifactory repo.
	RepoURL string `json:"repoURL,omitempty" protobuf:"bytes,2,opt,name=repoURL"`
}

ArtifactoryArtifactRepository defines the controller configuration for an artifactory artifact repository

func (*ArtifactoryArtifactRepository) DeepCopy added in v3.1.2

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ArtifactoryArtifactRepository.

func (*ArtifactoryArtifactRepository) DeepCopyInto added in v3.1.2

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ArtifactoryArtifactRepository) Descriptor added in v3.1.2

func (*ArtifactoryArtifactRepository) Descriptor() ([]byte, []int)

func (*ArtifactoryArtifactRepository) IntoArtifactLocation added in v3.1.2

func (r *ArtifactoryArtifactRepository) IntoArtifactLocation(l *ArtifactLocation)

func (*ArtifactoryArtifactRepository) Marshal added in v3.1.2

func (m *ArtifactoryArtifactRepository) Marshal() (dAtA []byte, err error)

func (*ArtifactoryArtifactRepository) MarshalTo added in v3.1.2

func (m *ArtifactoryArtifactRepository) MarshalTo(dAtA []byte) (int, error)

func (*ArtifactoryArtifactRepository) MarshalToSizedBuffer added in v3.1.2

func (m *ArtifactoryArtifactRepository) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ArtifactoryArtifactRepository) ProtoMessage added in v3.1.2

func (*ArtifactoryArtifactRepository) ProtoMessage()

func (*ArtifactoryArtifactRepository) Reset added in v3.1.2

func (m *ArtifactoryArtifactRepository) Reset()

func (*ArtifactoryArtifactRepository) Size added in v3.1.2

func (m *ArtifactoryArtifactRepository) Size() (n int)

func (*ArtifactoryArtifactRepository) String added in v3.1.2

func (this *ArtifactoryArtifactRepository) String() string

func (*ArtifactoryArtifactRepository) Unmarshal added in v3.1.2

func (m *ArtifactoryArtifactRepository) Unmarshal(dAtA []byte) error

func (*ArtifactoryArtifactRepository) XXX_DiscardUnknown added in v3.1.2

func (m *ArtifactoryArtifactRepository) XXX_DiscardUnknown()

func (*ArtifactoryArtifactRepository) XXX_Marshal added in v3.1.2

func (m *ArtifactoryArtifactRepository) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ArtifactoryArtifactRepository) XXX_Merge added in v3.1.2

func (m *ArtifactoryArtifactRepository) XXX_Merge(src proto.Message)

func (*ArtifactoryArtifactRepository) XXX_Size added in v3.1.2

func (m *ArtifactoryArtifactRepository) XXX_Size() int

func (*ArtifactoryArtifactRepository) XXX_Unmarshal added in v3.1.2

func (m *ArtifactoryArtifactRepository) XXX_Unmarshal(b []byte) error

type ArtifactoryAuth

type ArtifactoryAuth struct {
	// UsernameSecret is the secret selector to the repository username
	UsernameSecret *apiv1.SecretKeySelector `json:"usernameSecret,omitempty" protobuf:"bytes,1,opt,name=usernameSecret"`

	// PasswordSecret is the secret selector to the repository password
	PasswordSecret *apiv1.SecretKeySelector `json:"passwordSecret,omitempty" protobuf:"bytes,2,opt,name=passwordSecret"`
}

ArtifactoryAuth describes the secret selectors required for authenticating to artifactory

func (*ArtifactoryAuth) DeepCopy

func (in *ArtifactoryAuth) DeepCopy() *ArtifactoryAuth

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ArtifactoryAuth.

func (*ArtifactoryAuth) DeepCopyInto

func (in *ArtifactoryAuth) DeepCopyInto(out *ArtifactoryAuth)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ArtifactoryAuth) Descriptor

func (*ArtifactoryAuth) Descriptor() ([]byte, []int)

func (*ArtifactoryAuth) Marshal

func (m *ArtifactoryAuth) Marshal() (dAtA []byte, err error)

func (*ArtifactoryAuth) MarshalTo

func (m *ArtifactoryAuth) MarshalTo(dAtA []byte) (int, error)

func (*ArtifactoryAuth) MarshalToSizedBuffer

func (m *ArtifactoryAuth) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ArtifactoryAuth) ProtoMessage

func (*ArtifactoryAuth) ProtoMessage()

func (*ArtifactoryAuth) Reset

func (m *ArtifactoryAuth) Reset()

func (*ArtifactoryAuth) Size

func (m *ArtifactoryAuth) Size() (n int)

func (*ArtifactoryAuth) String

func (this *ArtifactoryAuth) String() string

func (*ArtifactoryAuth) Unmarshal

func (m *ArtifactoryAuth) Unmarshal(dAtA []byte) error

func (*ArtifactoryAuth) XXX_DiscardUnknown

func (m *ArtifactoryAuth) XXX_DiscardUnknown()

func (*ArtifactoryAuth) XXX_Marshal

func (m *ArtifactoryAuth) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ArtifactoryAuth) XXX_Merge

func (m *ArtifactoryAuth) XXX_Merge(src proto.Message)

func (*ArtifactoryAuth) XXX_Size

func (m *ArtifactoryAuth) XXX_Size() int

func (*ArtifactoryAuth) XXX_Unmarshal

func (m *ArtifactoryAuth) XXX_Unmarshal(b []byte) error

type Artifacts

type Artifacts []Artifact

func (Artifacts) DeepCopy

func (in Artifacts) DeepCopy() Artifacts

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Artifacts.

func (Artifacts) DeepCopyInto

func (in Artifacts) DeepCopyInto(out *Artifacts)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (Artifacts) GetArtifactByName

func (a Artifacts) GetArtifactByName(name string) *Artifact

type AzureArtifact added in v3.4.0

type AzureArtifact struct {
	AzureBlobContainer `json:",inline" protobuf:"bytes,1,opt,name=azureBlobContainer"`

	// Blob is the blob name (i.e., path) in the container where the artifact resides
	Blob string `json:"blob" protobuf:"bytes,2,opt,name=blob"`
}

AzureArtifact is the location of a an Azure Storage artifact

func (*AzureArtifact) DeepCopy added in v3.4.0

func (in *AzureArtifact) DeepCopy() *AzureArtifact

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AzureArtifact.

func (*AzureArtifact) DeepCopyInto added in v3.4.0

func (in *AzureArtifact) DeepCopyInto(out *AzureArtifact)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*AzureArtifact) Descriptor added in v3.4.0

func (*AzureArtifact) Descriptor() ([]byte, []int)

func (*AzureArtifact) GetKey added in v3.4.0

func (a *AzureArtifact) GetKey() (string, error)

func (*AzureArtifact) HasLocation added in v3.4.0

func (a *AzureArtifact) HasLocation() bool

func (*AzureArtifact) Marshal added in v3.4.0

func (m *AzureArtifact) Marshal() (dAtA []byte, err error)

func (*AzureArtifact) MarshalTo added in v3.4.0

func (m *AzureArtifact) MarshalTo(dAtA []byte) (int, error)

func (*AzureArtifact) MarshalToSizedBuffer added in v3.4.0

func (m *AzureArtifact) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*AzureArtifact) ProtoMessage added in v3.4.0

func (*AzureArtifact) ProtoMessage()

func (*AzureArtifact) Reset added in v3.4.0

func (m *AzureArtifact) Reset()

func (*AzureArtifact) SetKey added in v3.4.0

func (a *AzureArtifact) SetKey(key string) error

func (*AzureArtifact) Size added in v3.4.0

func (m *AzureArtifact) Size() (n int)

func (*AzureArtifact) String added in v3.4.0

func (this *AzureArtifact) String() string

func (*AzureArtifact) Unmarshal added in v3.4.0

func (m *AzureArtifact) Unmarshal(dAtA []byte) error

func (*AzureArtifact) XXX_DiscardUnknown added in v3.4.0

func (m *AzureArtifact) XXX_DiscardUnknown()

func (*AzureArtifact) XXX_Marshal added in v3.4.0

func (m *AzureArtifact) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AzureArtifact) XXX_Merge added in v3.4.0

func (m *AzureArtifact) XXX_Merge(src proto.Message)

func (*AzureArtifact) XXX_Size added in v3.4.0

func (m *AzureArtifact) XXX_Size() int

func (*AzureArtifact) XXX_Unmarshal added in v3.4.0

func (m *AzureArtifact) XXX_Unmarshal(b []byte) error

type AzureArtifactRepository added in v3.4.0

type AzureArtifactRepository struct {
	AzureBlobContainer `json:",inline" protobuf:"bytes,1,opt,name=blobContainer"`

	// BlobNameFormat is defines the format of how to store blob names. Can reference workflow variables
	BlobNameFormat string `json:"blobNameFormat,omitempty" protobuf:"bytes,2,opt,name=blobNameFormat"`
}

AzureArtifactRepository defines the controller configuration for an Azure Blob Storage artifact repository

func (*AzureArtifactRepository) DeepCopy added in v3.4.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AzureArtifactRepository.

func (*AzureArtifactRepository) DeepCopyInto added in v3.4.0

func (in *AzureArtifactRepository) DeepCopyInto(out *AzureArtifactRepository)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*AzureArtifactRepository) Descriptor added in v3.4.0

func (*AzureArtifactRepository) Descriptor() ([]byte, []int)

func (*AzureArtifactRepository) IntoArtifactLocation added in v3.4.0

func (r *AzureArtifactRepository) IntoArtifactLocation(l *ArtifactLocation)

func (*AzureArtifactRepository) Marshal added in v3.4.0

func (m *AzureArtifactRepository) Marshal() (dAtA []byte, err error)

func (*AzureArtifactRepository) MarshalTo added in v3.4.0

func (m *AzureArtifactRepository) MarshalTo(dAtA []byte) (int, error)

func (*AzureArtifactRepository) MarshalToSizedBuffer added in v3.4.0

func (m *AzureArtifactRepository) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*AzureArtifactRepository) ProtoMessage added in v3.4.0

func (*AzureArtifactRepository) ProtoMessage()

func (*AzureArtifactRepository) Reset added in v3.4.0

func (m *AzureArtifactRepository) Reset()

func (*AzureArtifactRepository) Size added in v3.4.0

func (m *AzureArtifactRepository) Size() (n int)

func (*AzureArtifactRepository) String added in v3.4.0

func (this *AzureArtifactRepository) String() string

func (*AzureArtifactRepository) Unmarshal added in v3.4.0

func (m *AzureArtifactRepository) Unmarshal(dAtA []byte) error

func (*AzureArtifactRepository) XXX_DiscardUnknown added in v3.4.0

func (m *AzureArtifactRepository) XXX_DiscardUnknown()

func (*AzureArtifactRepository) XXX_Marshal added in v3.4.0

func (m *AzureArtifactRepository) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AzureArtifactRepository) XXX_Merge added in v3.4.0

func (m *AzureArtifactRepository) XXX_Merge(src proto.Message)

func (*AzureArtifactRepository) XXX_Size added in v3.4.0

func (m *AzureArtifactRepository) XXX_Size() int

func (*AzureArtifactRepository) XXX_Unmarshal added in v3.4.0

func (m *AzureArtifactRepository) XXX_Unmarshal(b []byte) error

type AzureBlobContainer added in v3.4.0

type AzureBlobContainer struct {
	// Endpoint is the service url associated with an account. It is most likely "https://<ACCOUNT_NAME>.blob.core.windows.net"
	Endpoint string `json:"endpoint" protobuf:"bytes,1,opt,name=endpoint"`

	// Container is the container where resources will be stored
	Container string `json:"container" protobuf:"bytes,2,opt,name=container"`

	// AccountKeySecret is the secret selector to the Azure Blob Storage account access key
	AccountKeySecret *apiv1.SecretKeySelector `json:"accountKeySecret,omitempty" protobuf:"bytes,3,opt,name=accountKeySecret"`

	// UseSDKCreds tells the driver to figure out credentials based on sdk defaults.
	UseSDKCreds bool `json:"useSDKCreds,omitempty" protobuf:"varint,4,opt,name=useSDKCreds"`
}

AzureBlobContainer contains the access information for interfacing with an Azure Blob Storage container

func (*AzureBlobContainer) DeepCopy added in v3.4.0

func (in *AzureBlobContainer) DeepCopy() *AzureBlobContainer

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AzureBlobContainer.

func (*AzureBlobContainer) DeepCopyInto added in v3.4.0

func (in *AzureBlobContainer) DeepCopyInto(out *AzureBlobContainer)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*AzureBlobContainer) Descriptor added in v3.4.0

func (*AzureBlobContainer) Descriptor() ([]byte, []int)

func (*AzureBlobContainer) Marshal added in v3.4.0

func (m *AzureBlobContainer) Marshal() (dAtA []byte, err error)

func (*AzureBlobContainer) MarshalTo added in v3.4.0

func (m *AzureBlobContainer) MarshalTo(dAtA []byte) (int, error)

func (*AzureBlobContainer) MarshalToSizedBuffer added in v3.4.0

func (m *AzureBlobContainer) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*AzureBlobContainer) ProtoMessage added in v3.4.0

func (*AzureBlobContainer) ProtoMessage()

func (*AzureBlobContainer) Reset added in v3.4.0

func (m *AzureBlobContainer) Reset()

func (*AzureBlobContainer) Size added in v3.4.0

func (m *AzureBlobContainer) Size() (n int)

func (*AzureBlobContainer) String added in v3.4.0

func (this *AzureBlobContainer) String() string

func (*AzureBlobContainer) Unmarshal added in v3.4.0

func (m *AzureBlobContainer) Unmarshal(dAtA []byte) error

func (*AzureBlobContainer) XXX_DiscardUnknown added in v3.4.0

func (m *AzureBlobContainer) XXX_DiscardUnknown()

func (*AzureBlobContainer) XXX_Marshal added in v3.4.0

func (m *AzureBlobContainer) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AzureBlobContainer) XXX_Merge added in v3.4.0

func (m *AzureBlobContainer) XXX_Merge(src proto.Message)

func (*AzureBlobContainer) XXX_Size added in v3.4.0

func (m *AzureBlobContainer) XXX_Size() int

func (*AzureBlobContainer) XXX_Unmarshal added in v3.4.0

func (m *AzureBlobContainer) XXX_Unmarshal(b []byte) error

type Backoff

type Backoff struct {
	// Duration is the amount to back off. Default unit is seconds, but could also be a duration (e.g. "2m", "1h")
	Duration string `json:"duration,omitempty" protobuf:"varint,1,opt,name=duration"`
	// Factor is a factor to multiply the base duration after each failed retry
	Factor *intstr.IntOrString `json:"factor,omitempty" protobuf:"varint,2,opt,name=factor"`
	// MaxDuration is the maximum amount of time allowed for the backoff strategy
	MaxDuration string `json:"maxDuration,omitempty" protobuf:"varint,3,opt,name=maxDuration"`
}

Backoff is a backoff strategy to use within retryStrategy

func (*Backoff) DeepCopy

func (in *Backoff) DeepCopy() *Backoff

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Backoff.

func (*Backoff) DeepCopyInto

func (in *Backoff) DeepCopyInto(out *Backoff)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*Backoff) Descriptor

func (*Backoff) Descriptor() ([]byte, []int)

func (*Backoff) Marshal

func (m *Backoff) Marshal() (dAtA []byte, err error)

func (*Backoff) MarshalTo

func (m *Backoff) MarshalTo(dAtA []byte) (int, error)

func (*Backoff) MarshalToSizedBuffer

func (m *Backoff) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Backoff) ProtoMessage

func (*Backoff) ProtoMessage()

func (*Backoff) Reset

func (m *Backoff) Reset()

func (*Backoff) Size

func (m *Backoff) Size() (n int)

func (*Backoff) String

func (this *Backoff) String() string

func (*Backoff) Unmarshal

func (m *Backoff) Unmarshal(dAtA []byte) error

func (*Backoff) XXX_DiscardUnknown

func (m *Backoff) XXX_DiscardUnknown()

func (*Backoff) XXX_Marshal

func (m *Backoff) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Backoff) XXX_Merge

func (m *Backoff) XXX_Merge(src proto.Message)

func (*Backoff) XXX_Size

func (m *Backoff) XXX_Size() int

func (*Backoff) XXX_Unmarshal

func (m *Backoff) XXX_Unmarshal(b []byte) error

type BasicAuth added in v3.4.0

type BasicAuth struct {
	// UsernameSecret is the secret selector to the repository username
	UsernameSecret *apiv1.SecretKeySelector `json:"usernameSecret,omitempty" protobuf:"bytes,1,opt,name=usernameSecret"`

	// PasswordSecret is the secret selector to the repository password
	PasswordSecret *apiv1.SecretKeySelector `json:"passwordSecret,omitempty" protobuf:"bytes,2,opt,name=passwordSecret"`
}

BasicAuth describes the secret selectors required for basic authentication

func (*BasicAuth) DeepCopy added in v3.4.0

func (in *BasicAuth) DeepCopy() *BasicAuth

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BasicAuth.

func (*BasicAuth) DeepCopyInto added in v3.4.0

func (in *BasicAuth) DeepCopyInto(out *BasicAuth)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*BasicAuth) Descriptor added in v3.4.0

func (*BasicAuth) Descriptor() ([]byte, []int)

func (*BasicAuth) Marshal added in v3.4.0

func (m *BasicAuth) Marshal() (dAtA []byte, err error)

func (*BasicAuth) MarshalTo added in v3.4.0

func (m *BasicAuth) MarshalTo(dAtA []byte) (int, error)

func (*BasicAuth) MarshalToSizedBuffer added in v3.4.0

func (m *BasicAuth) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*BasicAuth) ProtoMessage added in v3.4.0

func (*BasicAuth) ProtoMessage()

func (*BasicAuth) Reset added in v3.4.0

func (m *BasicAuth) Reset()

func (*BasicAuth) Size added in v3.4.0

func (m *BasicAuth) Size() (n int)

func (*BasicAuth) String added in v3.4.0

func (this *BasicAuth) String() string

func (*BasicAuth) Unmarshal added in v3.4.0

func (m *BasicAuth) Unmarshal(dAtA []byte) error

func (*BasicAuth) XXX_DiscardUnknown added in v3.4.0

func (m *BasicAuth) XXX_DiscardUnknown()

func (*BasicAuth) XXX_Marshal added in v3.4.0

func (m *BasicAuth) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*BasicAuth) XXX_Merge added in v3.4.0

func (m *BasicAuth) XXX_Merge(src proto.Message)

func (*BasicAuth) XXX_Size added in v3.4.0

func (m *BasicAuth) XXX_Size() int

func (*BasicAuth) XXX_Unmarshal added in v3.4.0

func (m *BasicAuth) XXX_Unmarshal(b []byte) error

type Cache

type Cache struct {
	// ConfigMap sets a ConfigMap-based cache
	ConfigMap *apiv1.ConfigMapKeySelector `json:"configMap" protobuf:"bytes,1,opt,name=configMap"`
}

Cache is the configuration for the type of cache to be used

func (*Cache) DeepCopy

func (in *Cache) DeepCopy() *Cache

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Cache.

func (*Cache) DeepCopyInto

func (in *Cache) DeepCopyInto(out *Cache)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*Cache) Descriptor

func (*Cache) Descriptor() ([]byte, []int)

func (*Cache) Marshal

func (m *Cache) Marshal() (dAtA []byte, err error)

func (*Cache) MarshalTo

func (m *Cache) MarshalTo(dAtA []byte) (int, error)

func (*Cache) MarshalToSizedBuffer

func (m *Cache) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Cache) ProtoMessage

func (*Cache) ProtoMessage()

func (*Cache) Reset

func (m *Cache) Reset()

func (*Cache) Size

func (m *Cache) Size() (n int)

func (*Cache) String

func (this *Cache) String() string

func (*Cache) Unmarshal

func (m *Cache) Unmarshal(dAtA []byte) error

func (*Cache) XXX_DiscardUnknown

func (m *Cache) XXX_DiscardUnknown()

func (*Cache) XXX_Marshal

func (m *Cache) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Cache) XXX_Merge

func (m *Cache) XXX_Merge(src proto.Message)

func (*Cache) XXX_Size

func (m *Cache) XXX_Size() int

func (*Cache) XXX_Unmarshal

func (m *Cache) XXX_Unmarshal(b []byte) error

type ClientCertAuth added in v3.4.0

type ClientCertAuth struct {
	ClientCertSecret *apiv1.SecretKeySelector `json:"clientCertSecret,omitempty" protobuf:"bytes,1,opt,name=clientCertSecret"`
	ClientKeySecret  *apiv1.SecretKeySelector `json:"clientKeySecret,omitempty" protobuf:"bytes,2,opt,name=clientKeySecret"`
}

ClientCertAuth holds necessary information for client authentication via certificates

func (*ClientCertAuth) DeepCopy added in v3.4.0

func (in *ClientCertAuth) DeepCopy() *ClientCertAuth

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClientCertAuth.

func (*ClientCertAuth) DeepCopyInto added in v3.4.0

func (in *ClientCertAuth) DeepCopyInto(out *ClientCertAuth)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ClientCertAuth) Descriptor added in v3.4.0

func (*ClientCertAuth) Descriptor() ([]byte, []int)

func (*ClientCertAuth) Marshal added in v3.4.0

func (m *ClientCertAuth) Marshal() (dAtA []byte, err error)

func (*ClientCertAuth) MarshalTo added in v3.4.0

func (m *ClientCertAuth) MarshalTo(dAtA []byte) (int, error)

func (*ClientCertAuth) MarshalToSizedBuffer added in v3.4.0

func (m *ClientCertAuth) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ClientCertAuth) ProtoMessage added in v3.4.0

func (*ClientCertAuth) ProtoMessage()

func (*ClientCertAuth) Reset added in v3.4.0

func (m *ClientCertAuth) Reset()

func (*ClientCertAuth) Size added in v3.4.0

func (m *ClientCertAuth) Size() (n int)

func (*ClientCertAuth) String added in v3.4.0

func (this *ClientCertAuth) String() string

func (*ClientCertAuth) Unmarshal added in v3.4.0

func (m *ClientCertAuth) Unmarshal(dAtA []byte) error

func (*ClientCertAuth) XXX_DiscardUnknown added in v3.4.0

func (m *ClientCertAuth) XXX_DiscardUnknown()

func (*ClientCertAuth) XXX_Marshal added in v3.4.0

func (m *ClientCertAuth) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ClientCertAuth) XXX_Merge added in v3.4.0

func (m *ClientCertAuth) XXX_Merge(src proto.Message)

func (*ClientCertAuth) XXX_Size added in v3.4.0

func (m *ClientCertAuth) XXX_Size() int

func (*ClientCertAuth) XXX_Unmarshal added in v3.4.0

func (m *ClientCertAuth) XXX_Unmarshal(b []byte) error

type ClusterWorkflowTemplate

type ClusterWorkflowTemplate struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata" protobuf:"bytes,1,opt,name=metadata"`
	Spec              WorkflowSpec `json:"spec" protobuf:"bytes,2,opt,name=spec"`
}

ClusterWorkflowTemplate is the definition of a workflow template resource in cluster scope +genclient +genclient:noStatus +genclient:nonNamespaced +kubebuilder:resource:scope=Cluster,shortName=clusterwftmpl;cwft +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object

func MustUnmarshalClusterWorkflow added in v3.1.0

func MustUnmarshalClusterWorkflow(text interface{}) *ClusterWorkflowTemplate

func (*ClusterWorkflowTemplate) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterWorkflowTemplate.

func (*ClusterWorkflowTemplate) DeepCopyInto

func (in *ClusterWorkflowTemplate) DeepCopyInto(out *ClusterWorkflowTemplate)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ClusterWorkflowTemplate) DeepCopyObject

func (in *ClusterWorkflowTemplate) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*ClusterWorkflowTemplate) Descriptor

func (*ClusterWorkflowTemplate) Descriptor() ([]byte, []int)

func (*ClusterWorkflowTemplate) GetResourceScope

func (cwftmpl *ClusterWorkflowTemplate) GetResourceScope() ResourceScope

GetResourceScope returns the template scope of workflow template.

func (*ClusterWorkflowTemplate) GetTemplateByName

func (cwftmpl *ClusterWorkflowTemplate) GetTemplateByName(name string) *Template

GetTemplateByName retrieves a defined template by its name

func (*ClusterWorkflowTemplate) GetWorkflowSpec

func (cwftmpl *ClusterWorkflowTemplate) GetWorkflowSpec() *WorkflowSpec

GetWorkflowSpec returns the WorkflowSpec of cluster workflow template.

func (*ClusterWorkflowTemplate) Marshal

func (m *ClusterWorkflowTemplate) Marshal() (dAtA []byte, err error)

func (*ClusterWorkflowTemplate) MarshalTo

func (m *ClusterWorkflowTemplate) MarshalTo(dAtA []byte) (int, error)

func (*ClusterWorkflowTemplate) MarshalToSizedBuffer

func (m *ClusterWorkflowTemplate) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ClusterWorkflowTemplate) ProtoMessage

func (*ClusterWorkflowTemplate) ProtoMessage()

func (*ClusterWorkflowTemplate) Reset

func (m *ClusterWorkflowTemplate) Reset()

func (*ClusterWorkflowTemplate) Size

func (m *ClusterWorkflowTemplate) Size() (n int)

func (*ClusterWorkflowTemplate) String

func (this *ClusterWorkflowTemplate) String() string

func (*ClusterWorkflowTemplate) Unmarshal

func (m *ClusterWorkflowTemplate) Unmarshal(dAtA []byte) error

func (*ClusterWorkflowTemplate) XXX_DiscardUnknown

func (m *ClusterWorkflowTemplate) XXX_DiscardUnknown()

func (*ClusterWorkflowTemplate) XXX_Marshal

func (m *ClusterWorkflowTemplate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ClusterWorkflowTemplate) XXX_Merge

func (m *ClusterWorkflowTemplate) XXX_Merge(src proto.Message)

func (*ClusterWorkflowTemplate) XXX_Size

func (m *ClusterWorkflowTemplate) XXX_Size() int

func (*ClusterWorkflowTemplate) XXX_Unmarshal

func (m *ClusterWorkflowTemplate) XXX_Unmarshal(b []byte) error

type ClusterWorkflowTemplateList

type ClusterWorkflowTemplateList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata" protobuf:"bytes,1,opt,name=metadata"`
	Items           ClusterWorkflowTemplates `json:"items" protobuf:"bytes,2,rep,name=items"`
}

ClusterWorkflowTemplateList is list of ClusterWorkflowTemplate resources +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object

func (*ClusterWorkflowTemplateList) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterWorkflowTemplateList.

func (*ClusterWorkflowTemplateList) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ClusterWorkflowTemplateList) DeepCopyObject

func (in *ClusterWorkflowTemplateList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*ClusterWorkflowTemplateList) Descriptor

func (*ClusterWorkflowTemplateList) Descriptor() ([]byte, []int)

func (*ClusterWorkflowTemplateList) Marshal

func (m *ClusterWorkflowTemplateList) Marshal() (dAtA []byte, err error)

func (*ClusterWorkflowTemplateList) MarshalTo

func (m *ClusterWorkflowTemplateList) MarshalTo(dAtA []byte) (int, error)

func (*ClusterWorkflowTemplateList) MarshalToSizedBuffer

func (m *ClusterWorkflowTemplateList) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ClusterWorkflowTemplateList) ProtoMessage

func (*ClusterWorkflowTemplateList) ProtoMessage()

func (*ClusterWorkflowTemplateList) Reset

func (m *ClusterWorkflowTemplateList) Reset()

func (*ClusterWorkflowTemplateList) Size

func (m *ClusterWorkflowTemplateList) Size() (n int)

func (*ClusterWorkflowTemplateList) String

func (this *ClusterWorkflowTemplateList) String() string

func (*ClusterWorkflowTemplateList) Unmarshal

func (m *ClusterWorkflowTemplateList) Unmarshal(dAtA []byte) error

func (*ClusterWorkflowTemplateList) XXX_DiscardUnknown

func (m *ClusterWorkflowTemplateList) XXX_DiscardUnknown()

func (*ClusterWorkflowTemplateList) XXX_Marshal

func (m *ClusterWorkflowTemplateList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ClusterWorkflowTemplateList) XXX_Merge

func (m *ClusterWorkflowTemplateList) XXX_Merge(src proto.Message)

func (*ClusterWorkflowTemplateList) XXX_Size

func (m *ClusterWorkflowTemplateList) XXX_Size() int

func (*ClusterWorkflowTemplateList) XXX_Unmarshal

func (m *ClusterWorkflowTemplateList) XXX_Unmarshal(b []byte) error

type ClusterWorkflowTemplates

type ClusterWorkflowTemplates []ClusterWorkflowTemplate

func (ClusterWorkflowTemplates) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterWorkflowTemplates.

func (ClusterWorkflowTemplates) DeepCopyInto

func (in ClusterWorkflowTemplates) DeepCopyInto(out *ClusterWorkflowTemplates)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (ClusterWorkflowTemplates) Len

func (w ClusterWorkflowTemplates) Len() int

func (ClusterWorkflowTemplates) Less

func (w ClusterWorkflowTemplates) Less(i, j int) bool

func (ClusterWorkflowTemplates) Swap

func (w ClusterWorkflowTemplates) Swap(i, j int)

type ConcurrencyPolicy

type ConcurrencyPolicy string
const (
	AllowConcurrent   ConcurrencyPolicy = "Allow"
	ForbidConcurrent  ConcurrencyPolicy = "Forbid"
	ReplaceConcurrent ConcurrencyPolicy = "Replace"
)

type Condition

type Condition struct {
	// Type is the type of condition
	Type ConditionType `json:"type,omitempty" protobuf:"bytes,1,opt,name=type,casttype=ConditionType"`

	// Status is the status of the condition
	Status metav1.ConditionStatus `json:"status,omitempty" protobuf:"bytes,2,opt,name=status,casttype=k8s.io/apimachinery/pkg/apis/meta/v1.ConditionStatus"`

	// Message is the condition message
	Message string `json:"message,omitempty" protobuf:"bytes,3,opt,name=message"`
}

func (*Condition) DeepCopy

func (in *Condition) DeepCopy() *Condition

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Condition.

func (*Condition) DeepCopyInto

func (in *Condition) DeepCopyInto(out *Condition)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*Condition) Descriptor

func (*Condition) Descriptor() ([]byte, []int)

func (*Condition) Marshal

func (m *Condition) Marshal() (dAtA []byte, err error)

func (*Condition) MarshalTo

func (m *Condition) MarshalTo(dAtA []byte) (int, error)

func (*Condition) MarshalToSizedBuffer

func (m *Condition) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Condition) ProtoMessage

func (*Condition) ProtoMessage()

func (*Condition) Reset

func (m *Condition) Reset()

func (*Condition) Size

func (m *Condition) Size() (n int)

func (*Condition) String

func (this *Condition) String() string

func (*Condition) Unmarshal

func (m *Condition) Unmarshal(dAtA []byte) error

func (*Condition) XXX_DiscardUnknown

func (m *Condition) XXX_DiscardUnknown()

func (*Condition) XXX_Marshal

func (m *Condition) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Condition) XXX_Merge

func (m *Condition) XXX_Merge(src proto.Message)

func (*Condition) XXX_Size

func (m *Condition) XXX_Size() int

func (*Condition) XXX_Unmarshal

func (m *Condition) XXX_Unmarshal(b []byte) error

type ConditionType

type ConditionType string
const (
	// ConditionTypeCompleted is a signifies the workflow has completed
	ConditionTypeCompleted ConditionType = "Completed"
	// ConditionTypePodRunning any workflow pods are currently running
	ConditionTypePodRunning ConditionType = "PodRunning"
	// ConditionTypeSpecWarning is a warning on the current application spec
	ConditionTypeSpecWarning ConditionType = "SpecWarning"
	// ConditionTypeSpecWarning is an error on the current application spec
	ConditionTypeSpecError ConditionType = "SpecError"
	// ConditionTypeMetricsError is an error during metric emission
	ConditionTypeMetricsError ConditionType = "MetricsError"
	//ConditionTypeArtifactGCError is an error on artifact garbage collection
	ConditionTypeArtifactGCError ConditionType = "ArtifactGCError"
)
const (
	// ConditionTypeSubmissionError signifies that there was an error when submitting the CronWorkflow as a Workflow
	ConditionTypeSubmissionError ConditionType = "SubmissionError"
)

type Conditions

type Conditions []Condition

func (Conditions) DeepCopy

func (in Conditions) DeepCopy() Conditions

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Conditions.

func (Conditions) DeepCopyInto

func (in Conditions) DeepCopyInto(out *Conditions)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*Conditions) DisplayString

func (cs *Conditions) DisplayString(fmtStr string, iconMap map[ConditionType]string) string

func (*Conditions) JoinConditions

func (cs *Conditions) JoinConditions(conditions *Conditions)

func (*Conditions) RemoveCondition

func (cs *Conditions) RemoveCondition(conditionType ConditionType)

func (*Conditions) UpsertCondition

func (cs *Conditions) UpsertCondition(condition Condition)

func (*Conditions) UpsertConditionMessage

func (cs *Conditions) UpsertConditionMessage(condition Condition)

type ContainerNode added in v3.1.0

type ContainerNode struct {
	corev1.Container `json:",inline" protobuf:"bytes,1,opt,name=container"`
	Dependencies     []string `json:"dependencies,omitempty" protobuf:"bytes,2,rep,name=dependencies"`
}

func (*ContainerNode) DeepCopy added in v3.1.0

func (in *ContainerNode) DeepCopy() *ContainerNode

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContainerNode.

func (*ContainerNode) DeepCopyInto added in v3.1.0

func (in *ContainerNode) DeepCopyInto(out *ContainerNode)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ContainerNode) Descriptor added in v3.1.0

func (*ContainerNode) Descriptor() ([]byte, []int)

func (*ContainerNode) Marshal added in v3.1.0

func (m *ContainerNode) Marshal() (dAtA []byte, err error)

func (*ContainerNode) MarshalTo added in v3.1.0

func (m *ContainerNode) MarshalTo(dAtA []byte) (int, error)

func (*ContainerNode) MarshalToSizedBuffer added in v3.1.0

func (m *ContainerNode) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ContainerNode) ProtoMessage added in v3.1.0

func (*ContainerNode) ProtoMessage()

func (*ContainerNode) Reset added in v3.1.0

func (m *ContainerNode) Reset()

func (*ContainerNode) Size added in v3.1.0

func (m *ContainerNode) Size() (n int)

func (*ContainerNode) String added in v3.1.0

func (this *ContainerNode) String() string

func (*ContainerNode) Unmarshal added in v3.1.0

func (m *ContainerNode) Unmarshal(dAtA []byte) error

func (*ContainerNode) XXX_DiscardUnknown added in v3.1.0

func (m *ContainerNode) XXX_DiscardUnknown()

func (*ContainerNode) XXX_Marshal added in v3.1.0

func (m *ContainerNode) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ContainerNode) XXX_Merge added in v3.1.0

func (m *ContainerNode) XXX_Merge(src proto.Message)

func (*ContainerNode) XXX_Size added in v3.1.0

func (m *ContainerNode) XXX_Size() int

func (*ContainerNode) XXX_Unmarshal added in v3.1.0

func (m *ContainerNode) XXX_Unmarshal(b []byte) error

type ContainerSetRetryStrategy added in v3.3.0

type ContainerSetRetryStrategy struct {
	// Duration is the time between each retry, examples values are "300ms", "1s" or "5m".
	// Valid time units are "ns", "us" (or "µs"), "ms", "s", "m", "h".
	Duration string `json:"duration,omitempty" protobuf:"bytes,1,opt,name=duration"`
	// Nbr of retries
	Retries *intstr.IntOrString `json:"retries" protobuf:"bytes,2,rep,name=retries"`
}

func (*ContainerSetRetryStrategy) DeepCopy added in v3.3.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContainerSetRetryStrategy.

func (*ContainerSetRetryStrategy) DeepCopyInto added in v3.3.0

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ContainerSetRetryStrategy) Descriptor added in v3.3.0

func (*ContainerSetRetryStrategy) Descriptor() ([]byte, []int)

func (*ContainerSetRetryStrategy) Marshal added in v3.3.0

func (m *ContainerSetRetryStrategy) Marshal() (dAtA []byte, err error)

func (*ContainerSetRetryStrategy) MarshalTo added in v3.3.0

func (m *ContainerSetRetryStrategy) MarshalTo(dAtA []byte) (int, error)

func (*ContainerSetRetryStrategy) MarshalToSizedBuffer added in v3.3.0

func (m *ContainerSetRetryStrategy) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ContainerSetRetryStrategy) ProtoMessage added in v3.3.0

func (*ContainerSetRetryStrategy) ProtoMessage()

func (*ContainerSetRetryStrategy) Reset added in v3.3.0

func (m *ContainerSetRetryStrategy) Reset()

func (*ContainerSetRetryStrategy) Size added in v3.3.0

func (m *ContainerSetRetryStrategy) Size() (n int)

func (*ContainerSetRetryStrategy) String added in v3.3.0

func (this *ContainerSetRetryStrategy) String() string

func (*ContainerSetRetryStrategy) Unmarshal added in v3.3.0

func (m *ContainerSetRetryStrategy) Unmarshal(dAtA []byte) error

func (*ContainerSetRetryStrategy) XXX_DiscardUnknown added in v3.3.0

func (m *ContainerSetRetryStrategy) XXX_DiscardUnknown()

func (*ContainerSetRetryStrategy) XXX_Marshal added in v3.3.0

func (m *ContainerSetRetryStrategy) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ContainerSetRetryStrategy) XXX_Merge added in v3.3.0

func (m *ContainerSetRetryStrategy) XXX_Merge(src proto.Message)

func (*ContainerSetRetryStrategy) XXX_Size added in v3.3.0

func (m *ContainerSetRetryStrategy) XXX_Size() int

func (*ContainerSetRetryStrategy) XXX_Unmarshal added in v3.3.0

func (m *ContainerSetRetryStrategy) XXX_Unmarshal(b []byte) error

type ContainerSetTemplate added in v3.1.0

type ContainerSetTemplate struct {
	Containers   []ContainerNode      `json:"containers" protobuf:"bytes,4,rep,name=containers"`
	VolumeMounts []corev1.VolumeMount `json:"volumeMounts,omitempty" protobuf:"bytes,3,rep,name=volumeMounts"`
	// RetryStrategy describes how to retry a container nodes in the container set if it fails.
	// Nbr of retries(default 0) and sleep duration between retries(default 0s, instant retry) can be set.
	RetryStrategy *ContainerSetRetryStrategy `json:"retryStrategy,omitempty" protobuf:"bytes,5,opt,name=retryStrategy"`
}

func (*ContainerSetTemplate) DeepCopy added in v3.1.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContainerSetTemplate.

func (*ContainerSetTemplate) DeepCopyInto added in v3.1.0

func (in *ContainerSetTemplate) DeepCopyInto(out *ContainerSetTemplate)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ContainerSetTemplate) Descriptor added in v3.1.0

func (*ContainerSetTemplate) Descriptor() ([]byte, []int)

func (*ContainerSetTemplate) GetContainers added in v3.1.0

func (in *ContainerSetTemplate) GetContainers() []corev1.Container

func (*ContainerSetTemplate) GetGraph added in v3.1.0

func (in *ContainerSetTemplate) GetGraph() []ContainerNode

func (*ContainerSetTemplate) GetRetryStrategy added in v3.3.0

func (t *ContainerSetTemplate) GetRetryStrategy() (wait.Backoff, error)

func (*ContainerSetTemplate) HasContainerNamed added in v3.1.0

func (in *ContainerSetTemplate) HasContainerNamed(n string) bool

func (*ContainerSetTemplate) HasSequencedContainers added in v3.1.0

func (in *ContainerSetTemplate) HasSequencedContainers() bool

func (*ContainerSetTemplate) Marshal added in v3.1.0

func (m *ContainerSetTemplate) Marshal() (dAtA []byte, err error)

func (*ContainerSetTemplate) MarshalTo added in v3.1.0

func (m *ContainerSetTemplate) MarshalTo(dAtA []byte) (int, error)

func (*ContainerSetTemplate) MarshalToSizedBuffer added in v3.1.0

func (m *ContainerSetTemplate) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ContainerSetTemplate) ProtoMessage added in v3.1.0

func (*ContainerSetTemplate) ProtoMessage()

func (*ContainerSetTemplate) Reset added in v3.1.0

func (m *ContainerSetTemplate) Reset()

func (*ContainerSetTemplate) Size added in v3.1.0

func (m *ContainerSetTemplate) Size() (n int)

func (*ContainerSetTemplate) String added in v3.1.0

func (this *ContainerSetTemplate) String() string

func (*ContainerSetTemplate) Unmarshal added in v3.1.0

func (m *ContainerSetTemplate) Unmarshal(dAtA []byte) error

func (*ContainerSetTemplate) Validate added in v3.1.0

func (in *ContainerSetTemplate) Validate() error

Validate checks if the ContainerSetTemplate is valid

func (*ContainerSetTemplate) XXX_DiscardUnknown added in v3.1.0

func (m *ContainerSetTemplate) XXX_DiscardUnknown()

func (*ContainerSetTemplate) XXX_Marshal added in v3.1.0

func (m *ContainerSetTemplate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ContainerSetTemplate) XXX_Merge added in v3.1.0

func (m *ContainerSetTemplate) XXX_Merge(src proto.Message)

func (*ContainerSetTemplate) XXX_Size added in v3.1.0

func (m *ContainerSetTemplate) XXX_Size() int

func (*ContainerSetTemplate) XXX_Unmarshal added in v3.1.0

func (m *ContainerSetTemplate) XXX_Unmarshal(b []byte) error

type ContinueOn

type ContinueOn struct {
	// +optional
	Error bool `json:"error,omitempty" protobuf:"varint,1,opt,name=error"`
	// +optional
	Failed bool `json:"failed,omitempty" protobuf:"varint,2,opt,name=failed"`
}

ContinueOn defines if a workflow should continue even if a task or step fails/errors. It can be specified if the workflow should continue when the pod errors, fails or both.

func (*ContinueOn) DeepCopy

func (in *ContinueOn) DeepCopy() *ContinueOn

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContinueOn.

func (*ContinueOn) DeepCopyInto

func (in *ContinueOn) DeepCopyInto(out *ContinueOn)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ContinueOn) Descriptor

func (*ContinueOn) Descriptor() ([]byte, []int)

func (*ContinueOn) Marshal

func (m *ContinueOn) Marshal() (dAtA []byte, err error)

func (*ContinueOn) MarshalTo

func (m *ContinueOn) MarshalTo(dAtA []byte) (int, error)

func (*ContinueOn) MarshalToSizedBuffer

func (m *ContinueOn) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ContinueOn) ProtoMessage

func (*ContinueOn) ProtoMessage()

func (*ContinueOn) Reset

func (m *ContinueOn) Reset()

func (*ContinueOn) Size

func (m *ContinueOn) Size() (n int)

func (*ContinueOn) String

func (this *ContinueOn) String() string

func (*ContinueOn) Unmarshal

func (m *ContinueOn) Unmarshal(dAtA []byte) error

func (*ContinueOn) XXX_DiscardUnknown

func (m *ContinueOn) XXX_DiscardUnknown()

func (*ContinueOn) XXX_Marshal

func (m *ContinueOn) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ContinueOn) XXX_Merge

func (m *ContinueOn) XXX_Merge(src proto.Message)

func (*ContinueOn) XXX_Size

func (m *ContinueOn) XXX_Size() int

func (*ContinueOn) XXX_Unmarshal

func (m *ContinueOn) XXX_Unmarshal(b []byte) error

type Counter

type Counter struct {
	// Value is the value of the metric
	Value string `json:"value" protobuf:"bytes,1,opt,name=value"`
}

Counter is a Counter prometheus metric

func (*Counter) DeepCopy

func (in *Counter) DeepCopy() *Counter

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Counter.

func (*Counter) DeepCopyInto

func (in *Counter) DeepCopyInto(out *Counter)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*Counter) Descriptor

func (*Counter) Descriptor() ([]byte, []int)

func (*Counter) Marshal

func (m *Counter) Marshal() (dAtA []byte, err error)

func (*Counter) MarshalTo

func (m *Counter) MarshalTo(dAtA []byte) (int, error)

func (*Counter) MarshalToSizedBuffer

func (m *Counter) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Counter) ProtoMessage

func (*Counter) ProtoMessage()

func (*Counter) Reset

func (m *Counter) Reset()

func (*Counter) Size

func (m *Counter) Size() (n int)

func (*Counter) String

func (this *Counter) String() string

func (*Counter) Unmarshal

func (m *Counter) Unmarshal(dAtA []byte) error

func (*Counter) XXX_DiscardUnknown

func (m *Counter) XXX_DiscardUnknown()

func (*Counter) XXX_Marshal

func (m *Counter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Counter) XXX_Merge

func (m *Counter) XXX_Merge(src proto.Message)

func (*Counter) XXX_Size

func (m *Counter) XXX_Size() int

func (*Counter) XXX_Unmarshal

func (m *Counter) XXX_Unmarshal(b []byte) error

type CreateS3BucketOptions

type CreateS3BucketOptions struct {
	// ObjectLocking Enable object locking
	ObjectLocking bool `json:"objectLocking,omitempty" protobuf:"varint,3,opt,name=objectLocking"`
}

CreateS3BucketOptions options used to determine automatic automatic bucket-creation process

func (*CreateS3BucketOptions) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CreateS3BucketOptions.

func (*CreateS3BucketOptions) DeepCopyInto

func (in *CreateS3BucketOptions) DeepCopyInto(out *CreateS3BucketOptions)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*CreateS3BucketOptions) Descriptor

func (*CreateS3BucketOptions) Descriptor() ([]byte, []int)

func (*CreateS3BucketOptions) Marshal

func (m *CreateS3BucketOptions) Marshal() (dAtA []byte, err error)

func (*CreateS3BucketOptions) MarshalTo

func (m *CreateS3BucketOptions) MarshalTo(dAtA []byte) (int, error)

func (*CreateS3BucketOptions) MarshalToSizedBuffer

func (m *CreateS3BucketOptions) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*CreateS3BucketOptions) ProtoMessage

func (*CreateS3BucketOptions) ProtoMessage()

func (*CreateS3BucketOptions) Reset

func (m *CreateS3BucketOptions) Reset()

func (*CreateS3BucketOptions) Size

func (m *CreateS3BucketOptions) Size() (n int)

func (*CreateS3BucketOptions) String

func (this *CreateS3BucketOptions) String() string

func (*CreateS3BucketOptions) Unmarshal

func (m *CreateS3BucketOptions) Unmarshal(dAtA []byte) error

func (*CreateS3BucketOptions) XXX_DiscardUnknown

func (m *CreateS3BucketOptions) XXX_DiscardUnknown()

func (*CreateS3BucketOptions) XXX_Marshal

func (m *CreateS3BucketOptions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CreateS3BucketOptions) XXX_Merge

func (m *CreateS3BucketOptions) XXX_Merge(src proto.Message)

func (*CreateS3BucketOptions) XXX_Size

func (m *CreateS3BucketOptions) XXX_Size() int

func (*CreateS3BucketOptions) XXX_Unmarshal

func (m *CreateS3BucketOptions) XXX_Unmarshal(b []byte) error

type CronWorkflow

type CronWorkflow struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata" protobuf:"bytes,1,opt,name=metadata"`
	Spec              CronWorkflowSpec   `json:"spec" protobuf:"bytes,2,opt,name=spec"`
	Status            CronWorkflowStatus `json:"status,omitempty" protobuf:"bytes,3,opt,name=status"`
}

CronWorkflow is the definition of a scheduled workflow resource +genclient +genclient:noStatus +kubebuilder:resource:shortName=cwf;cronwf +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object

func MustUnmarshalCronWorkflow added in v3.1.0

func MustUnmarshalCronWorkflow(text interface{}) *CronWorkflow

func (*CronWorkflow) DeepCopy

func (in *CronWorkflow) DeepCopy() *CronWorkflow

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CronWorkflow.

func (*CronWorkflow) DeepCopyInto

func (in *CronWorkflow) DeepCopyInto(out *CronWorkflow)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*CronWorkflow) DeepCopyObject

func (in *CronWorkflow) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*CronWorkflow) Descriptor

func (*CronWorkflow) Descriptor() ([]byte, []int)

func (*CronWorkflow) GetLatestSchedule added in v3.2.5

func (c *CronWorkflow) GetLatestSchedule() string

func (*CronWorkflow) IsUsingNewSchedule added in v3.2.5

func (c *CronWorkflow) IsUsingNewSchedule() bool

func (*CronWorkflow) Marshal

func (m *CronWorkflow) Marshal() (dAtA []byte, err error)

func (*CronWorkflow) MarshalTo

func (m *CronWorkflow) MarshalTo(dAtA []byte) (int, error)

func (*CronWorkflow) MarshalToSizedBuffer

func (m *CronWorkflow) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*CronWorkflow) ProtoMessage

func (*CronWorkflow) ProtoMessage()

func (*CronWorkflow) Reset

func (m *CronWorkflow) Reset()

func (*CronWorkflow) SetSchedule added in v3.2.5

func (c *CronWorkflow) SetSchedule(schedule string)

func (*CronWorkflow) Size

func (m *CronWorkflow) Size() (n int)

func (*CronWorkflow) String

func (this *CronWorkflow) String() string

func (*CronWorkflow) Unmarshal

func (m *CronWorkflow) Unmarshal(dAtA []byte) error

func (*CronWorkflow) XXX_DiscardUnknown

func (m *CronWorkflow) XXX_DiscardUnknown()

func (*CronWorkflow) XXX_Marshal

func (m *CronWorkflow) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CronWorkflow) XXX_Merge

func (m *CronWorkflow) XXX_Merge(src proto.Message)

func (*CronWorkflow) XXX_Size

func (m *CronWorkflow) XXX_Size() int

func (*CronWorkflow) XXX_Unmarshal

func (m *CronWorkflow) XXX_Unmarshal(b []byte) error

type CronWorkflowList

type CronWorkflowList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata" protobuf:"bytes,1,opt,name=metadata"`
	Items           []CronWorkflow `json:"items" protobuf:"bytes,2,rep,name=items"`
}

CronWorkflowList is list of CronWorkflow resources +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object

func (*CronWorkflowList) DeepCopy

func (in *CronWorkflowList) DeepCopy() *CronWorkflowList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CronWorkflowList.

func (*CronWorkflowList) DeepCopyInto

func (in *CronWorkflowList) DeepCopyInto(out *CronWorkflowList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*CronWorkflowList) DeepCopyObject

func (in *CronWorkflowList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*CronWorkflowList) Descriptor

func (*CronWorkflowList) Descriptor() ([]byte, []int)

func (*CronWorkflowList) Marshal

func (m *CronWorkflowList) Marshal() (dAtA []byte, err error)

func (*CronWorkflowList) MarshalTo

func (m *CronWorkflowList) MarshalTo(dAtA []byte) (int, error)

func (*CronWorkflowList) MarshalToSizedBuffer

func (m *CronWorkflowList) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*CronWorkflowList) ProtoMessage

func (*CronWorkflowList) ProtoMessage()

func (*CronWorkflowList) Reset

func (m *CronWorkflowList) Reset()

func (*CronWorkflowList) Size

func (m *CronWorkflowList) Size() (n int)

func (*CronWorkflowList) String

func (this *CronWorkflowList) String() string

func (*CronWorkflowList) Unmarshal

func (m *CronWorkflowList) Unmarshal(dAtA []byte) error

func (*CronWorkflowList) XXX_DiscardUnknown

func (m *CronWorkflowList) XXX_DiscardUnknown()

func (*CronWorkflowList) XXX_Marshal

func (m *CronWorkflowList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CronWorkflowList) XXX_Merge

func (m *CronWorkflowList) XXX_Merge(src proto.Message)

func (*CronWorkflowList) XXX_Size

func (m *CronWorkflowList) XXX_Size() int

func (*CronWorkflowList) XXX_Unmarshal

func (m *CronWorkflowList) XXX_Unmarshal(b []byte) error

type CronWorkflowSpec

type CronWorkflowSpec struct {
	// WorkflowSpec is the spec of the workflow to be run
	WorkflowSpec WorkflowSpec `json:"workflowSpec" protobuf:"bytes,1,opt,name=workflowSpec,casttype=WorkflowSpec"`
	// Schedule is a schedule to run the Workflow in Cron format
	Schedule string `json:"schedule" protobuf:"bytes,2,opt,name=schedule"`
	// ConcurrencyPolicy is the K8s-style concurrency policy that will be used
	ConcurrencyPolicy ConcurrencyPolicy `json:"concurrencyPolicy,omitempty" protobuf:"bytes,3,opt,name=concurrencyPolicy,casttype=ConcurrencyPolicy"`
	// Suspend is a flag that will stop new CronWorkflows from running if set to true
	Suspend bool `json:"suspend,omitempty" protobuf:"varint,4,opt,name=suspend"`
	// StartingDeadlineSeconds is the K8s-style deadline that will limit the time a CronWorkflow will be run after its
	// original scheduled time if it is missed.
	StartingDeadlineSeconds *int64 `json:"startingDeadlineSeconds,omitempty" protobuf:"varint,5,opt,name=startingDeadlineSeconds"`
	// SuccessfulJobsHistoryLimit is the number of successful jobs to be kept at a time
	SuccessfulJobsHistoryLimit *int32 `json:"successfulJobsHistoryLimit,omitempty" protobuf:"varint,6,opt,name=successfulJobsHistoryLimit"`
	// FailedJobsHistoryLimit is the number of failed jobs to be kept at a time
	FailedJobsHistoryLimit *int32 `json:"failedJobsHistoryLimit,omitempty" protobuf:"varint,7,opt,name=failedJobsHistoryLimit"`
	// Timezone is the timezone against which the cron schedule will be calculated, e.g. "Asia/Tokyo". Default is machine's local time.
	Timezone string `json:"timezone,omitempty" protobuf:"bytes,8,opt,name=timezone"`
	// WorkflowMetadata contains some metadata of the workflow to be run
	WorkflowMetadata *metav1.ObjectMeta `json:"workflowMetadata,omitempty" protobuf:"bytes,9,opt,name=workflowMeta"`
}

CronWorkflowSpec is the specification of a CronWorkflow

func (*CronWorkflowSpec) DeepCopy

func (in *CronWorkflowSpec) DeepCopy() *CronWorkflowSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CronWorkflowSpec.

func (*CronWorkflowSpec) DeepCopyInto

func (in *CronWorkflowSpec) DeepCopyInto(out *CronWorkflowSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*CronWorkflowSpec) Descriptor

func (*CronWorkflowSpec) Descriptor() ([]byte, []int)

func (*CronWorkflowSpec) GetScheduleString added in v3.2.5

func (c *CronWorkflowSpec) GetScheduleString() string

func (*CronWorkflowSpec) Marshal

func (m *CronWorkflowSpec) Marshal() (dAtA []byte, err error)

func (*CronWorkflowSpec) MarshalTo

func (m *CronWorkflowSpec) MarshalTo(dAtA []byte) (int, error)

func (*CronWorkflowSpec) MarshalToSizedBuffer

func (m *CronWorkflowSpec) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*CronWorkflowSpec) ProtoMessage

func (*CronWorkflowSpec) ProtoMessage()

func (*CronWorkflowSpec) Reset

func (m *CronWorkflowSpec) Reset()

func (*CronWorkflowSpec) Size

func (m *CronWorkflowSpec) Size() (n int)

func (*CronWorkflowSpec) String

func (this *CronWorkflowSpec) String() string

func (*CronWorkflowSpec) Unmarshal

func (m *CronWorkflowSpec) Unmarshal(dAtA []byte) error

func (*CronWorkflowSpec) XXX_DiscardUnknown

func (m *CronWorkflowSpec) XXX_DiscardUnknown()

func (*CronWorkflowSpec) XXX_Marshal

func (m *CronWorkflowSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CronWorkflowSpec) XXX_Merge

func (m *CronWorkflowSpec) XXX_Merge(src proto.Message)

func (*CronWorkflowSpec) XXX_Size

func (m *CronWorkflowSpec) XXX_Size() int

func (*CronWorkflowSpec) XXX_Unmarshal

func (m *CronWorkflowSpec) XXX_Unmarshal(b []byte) error

type CronWorkflowStatus

type CronWorkflowStatus struct {
	// Active is a list of active workflows stemming from this CronWorkflow
	Active []v1.ObjectReference `json:"active" protobuf:"bytes,1,rep,name=active"`
	// LastScheduleTime is the last time the CronWorkflow was scheduled
	LastScheduledTime *metav1.Time `json:"lastScheduledTime" protobuf:"bytes,2,opt,name=lastScheduledTime"`
	// Conditions is a list of conditions the CronWorkflow may have
	Conditions Conditions `json:"conditions" protobuf:"bytes,3,rep,name=conditions"`
}

CronWorkflowStatus is the status of a CronWorkflow

func (*CronWorkflowStatus) DeepCopy

func (in *CronWorkflowStatus) DeepCopy() *CronWorkflowStatus

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CronWorkflowStatus.

func (*CronWorkflowStatus) DeepCopyInto

func (in *CronWorkflowStatus) DeepCopyInto(out *CronWorkflowStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*CronWorkflowStatus) Descriptor

func (*CronWorkflowStatus) Descriptor() ([]byte, []int)

func (*CronWorkflowStatus) HasActiveUID

func (c *CronWorkflowStatus) HasActiveUID(uid types.UID) bool

func (*CronWorkflowStatus) Marshal

func (m *CronWorkflowStatus) Marshal() (dAtA []byte, err error)

func (*CronWorkflowStatus) MarshalTo

func (m *CronWorkflowStatus) MarshalTo(dAtA []byte) (int, error)

func (*CronWorkflowStatus) MarshalToSizedBuffer

func (m *CronWorkflowStatus) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*CronWorkflowStatus) ProtoMessage

func (*CronWorkflowStatus) ProtoMessage()

func (*CronWorkflowStatus) Reset

func (m *CronWorkflowStatus) Reset()

func (*CronWorkflowStatus) Size

func (m *CronWorkflowStatus) Size() (n int)

func (*CronWorkflowStatus) String

func (this *CronWorkflowStatus) String() string

func (*CronWorkflowStatus) Unmarshal

func (m *CronWorkflowStatus) Unmarshal(dAtA []byte) error

func (*CronWorkflowStatus) XXX_DiscardUnknown

func (m *CronWorkflowStatus) XXX_DiscardUnknown()

func (*CronWorkflowStatus) XXX_Marshal

func (m *CronWorkflowStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CronWorkflowStatus) XXX_Merge

func (m *CronWorkflowStatus) XXX_Merge(src proto.Message)

func (*CronWorkflowStatus) XXX_Size

func (m *CronWorkflowStatus) XXX_Size() int

func (*CronWorkflowStatus) XXX_Unmarshal

func (m *CronWorkflowStatus) XXX_Unmarshal(b []byte) error

type DAGTask

type DAGTask struct {
	// Name is the name of the target
	Name string `json:"name" protobuf:"bytes,1,opt,name=name"`

	// Name of template to execute
	Template string `json:"template,omitempty" protobuf:"bytes,2,opt,name=template"`

	// Inline is the template. Template must be empty if this is declared (and vice-versa).
	Inline *Template `json:"inline,omitempty" protobuf:"bytes,14,opt,name=inline"`

	// Arguments are the parameter and artifact arguments to the template
	Arguments Arguments `json:"arguments,omitempty" protobuf:"bytes,3,opt,name=arguments"`

	// TemplateRef is the reference to the template resource to execute.
	TemplateRef *TemplateRef `json:"templateRef,omitempty" protobuf:"bytes,4,opt,name=templateRef"`

	// Dependencies are name of other targets which this depends on
	Dependencies []string `json:"dependencies,omitempty" protobuf:"bytes,5,rep,name=dependencies"`

	// WithItems expands a task into multiple parallel tasks from the items in the list
	WithItems []Item `json:"withItems,omitempty" protobuf:"bytes,6,rep,name=withItems"`

	// WithParam expands a task into multiple parallel tasks from the value in the parameter,
	// which is expected to be a JSON list.
	WithParam string `json:"withParam,omitempty" protobuf:"bytes,7,opt,name=withParam"`

	// WithSequence expands a task into a numeric sequence
	WithSequence *Sequence `json:"withSequence,omitempty" protobuf:"bytes,8,opt,name=withSequence"`

	// When is an expression in which the task should conditionally execute
	When string `json:"when,omitempty" protobuf:"bytes,9,opt,name=when"`

	// ContinueOn makes argo to proceed with the following step even if this step fails.
	// Errors and Failed states can be specified
	ContinueOn *ContinueOn `json:"continueOn,omitempty" protobuf:"bytes,10,opt,name=continueOn"`

	// OnExit is a template reference which is invoked at the end of the
	// template, irrespective of the success, failure, or error of the
	// primary template.
	// DEPRECATED: Use Hooks[exit].Template instead.
	OnExit string `json:"onExit,omitempty" protobuf:"bytes,11,opt,name=onExit"`

	// Depends are name of other targets which this depends on
	Depends string `json:"depends,omitempty" protobuf:"bytes,12,opt,name=depends"`

	// Hooks hold the lifecycle hook which is invoked at lifecycle of
	// task, irrespective of the success, failure, or error status of the primary task
	Hooks LifecycleHooks `json:"hooks,omitempty" protobuf:"bytes,13,opt,name=hooks"`
}

DAGTask represents a node in the graph during DAG execution

func (*DAGTask) ContinuesOn

func (t *DAGTask) ContinuesOn(phase NodePhase) bool

ContinuesOn returns whether the DAG should be proceeded if the task fails or errors.

func (*DAGTask) DeepCopy

func (in *DAGTask) DeepCopy() *DAGTask

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DAGTask.

func (*DAGTask) DeepCopyInto

func (in *DAGTask) DeepCopyInto(out *DAGTask)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*DAGTask) Descriptor

func (*DAGTask) Descriptor() ([]byte, []int)

func (*DAGTask) GetExitHook added in v3.1.0

func (t *DAGTask) GetExitHook(args Arguments) *LifecycleHook

func (*DAGTask) GetName added in v3.4.0

func (t *DAGTask) GetName() string

func (*DAGTask) GetTemplate added in v3.2.0

func (t *DAGTask) GetTemplate() *Template

func (*DAGTask) GetTemplateName

func (t *DAGTask) GetTemplateName() string

func (*DAGTask) GetTemplateRef

func (t *DAGTask) GetTemplateRef() *TemplateRef

func (*DAGTask) HasExitHook added in v3.1.0

func (t *DAGTask) HasExitHook() bool

func (*DAGTask) IsDAGTask added in v3.4.0

func (t *DAGTask) IsDAGTask() bool

func (*DAGTask) IsWorkflowStep added in v3.4.0

func (t *DAGTask) IsWorkflowStep() bool

func (*DAGTask) Marshal

func (m *DAGTask) Marshal() (dAtA []byte, err error)

func (*DAGTask) MarshalTo

func (m *DAGTask) MarshalTo(dAtA []byte) (int, error)

func (*DAGTask) MarshalToSizedBuffer

func (m *DAGTask) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*DAGTask) ProtoMessage

func (*DAGTask) ProtoMessage()

func (*DAGTask) Reset

func (m *DAGTask) Reset()

func (*DAGTask) ShouldExpand

func (t *DAGTask) ShouldExpand() bool

func (*DAGTask) Size

func (m *DAGTask) Size() (n int)

func (*DAGTask) String

func (this *DAGTask) String() string

func (*DAGTask) Unmarshal

func (m *DAGTask) Unmarshal(dAtA []byte) error

func (*DAGTask) XXX_DiscardUnknown

func (m *DAGTask) XXX_DiscardUnknown()

func (*DAGTask) XXX_Marshal

func (m *DAGTask) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DAGTask) XXX_Merge

func (m *DAGTask) XXX_Merge(src proto.Message)

func (*DAGTask) XXX_Size

func (m *DAGTask) XXX_Size() int

func (*DAGTask) XXX_Unmarshal

func (m *DAGTask) XXX_Unmarshal(b []byte) error

type DAGTemplate

type DAGTemplate struct {
	// Target are one or more names of targets to execute in a DAG
	Target string `json:"target,omitempty" protobuf:"bytes,1,opt,name=target"`

	// Tasks are a list of DAG tasks
	// +patchStrategy=merge
	// +patchMergeKey=name
	Tasks []DAGTask `json:"tasks" patchStrategy:"merge" patchMergeKey:"name" protobuf:"bytes,2,rep,name=tasks"`

	// This flag is for DAG logic. The DAG logic has a built-in "fail fast" feature to stop scheduling new steps,
	// as soon as it detects that one of the DAG nodes is failed. Then it waits until all DAG nodes are completed
	// before failing the DAG itself.
	// The FailFast flag default is true,  if set to false, it will allow a DAG to run all branches of the DAG to
	// completion (either success or failure), regardless of the failed outcomes of branches in the DAG.
	// More info and example about this feature at https://github.com/argoproj/argo-workflows/issues/1442
	FailFast *bool `json:"failFast,omitempty" protobuf:"varint,3,opt,name=failFast"`
}

DAGTemplate is a template subtype for directed acyclic graph templates

func (*DAGTemplate) DeepCopy

func (in *DAGTemplate) DeepCopy() *DAGTemplate

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DAGTemplate.

func (*DAGTemplate) DeepCopyInto

func (in *DAGTemplate) DeepCopyInto(out *DAGTemplate)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*DAGTemplate) Descriptor

func (*DAGTemplate) Descriptor() ([]byte, []int)

func (*DAGTemplate) Marshal

func (m *DAGTemplate) Marshal() (dAtA []byte, err error)

func (*DAGTemplate) MarshalTo

func (m *DAGTemplate) MarshalTo(dAtA []byte) (int, error)

func (*DAGTemplate) MarshalToSizedBuffer

func (m *DAGTemplate) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*DAGTemplate) ProtoMessage

func (*DAGTemplate) ProtoMessage()

func (*DAGTemplate) Reset

func (m *DAGTemplate) Reset()

func (*DAGTemplate) Size

func (m *DAGTemplate) Size() (n int)

func (*DAGTemplate) String

func (this *DAGTemplate) String() string

func (*DAGTemplate) Unmarshal

func (m *DAGTemplate) Unmarshal(dAtA []byte) error

func (*DAGTemplate) XXX_DiscardUnknown

func (m *DAGTemplate) XXX_DiscardUnknown()

func (*DAGTemplate) XXX_Marshal

func (m *DAGTemplate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DAGTemplate) XXX_Merge

func (m *DAGTemplate) XXX_Merge(src proto.Message)

func (*DAGTemplate) XXX_Size

func (m *DAGTemplate) XXX_Size() int

func (*DAGTemplate) XXX_Unmarshal

func (m *DAGTemplate) XXX_Unmarshal(b []byte) error

type Data added in v3.1.0

type Data struct {
	// Source sources external data into a data template
	Source DataSource `json:"source" protobuf:"bytes,1,opt,name=source"`

	// Transformation applies a set of transformations
	Transformation Transformation `json:"transformation" protobuf:"bytes,2,rep,name=transformation"`
}

Data is a data template

func (*Data) DeepCopy added in v3.1.0

func (in *Data) DeepCopy() *Data

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Data.

func (*Data) DeepCopyInto added in v3.1.0

func (in *Data) DeepCopyInto(out *Data)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*Data) Descriptor added in v3.1.0

func (*Data) Descriptor() ([]byte, []int)

func (*Data) Marshal added in v3.1.0

func (m *Data) Marshal() (dAtA []byte, err error)

func (*Data) MarshalTo added in v3.1.0

func (m *Data) MarshalTo(dAtA []byte) (int, error)

func (*Data) MarshalToSizedBuffer added in v3.1.0

func (m *Data) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Data) ProtoMessage added in v3.1.0

func (*Data) ProtoMessage()

func (*Data) Reset added in v3.1.0

func (m *Data) Reset()

func (*Data) Size added in v3.1.0

func (m *Data) Size() (n int)

func (*Data) String added in v3.1.0

func (this *Data) String() string

func (*Data) Unmarshal added in v3.1.0

func (m *Data) Unmarshal(dAtA []byte) error

func (*Data) XXX_DiscardUnknown added in v3.1.0

func (m *Data) XXX_DiscardUnknown()

func (*Data) XXX_Marshal added in v3.1.0

func (m *Data) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Data) XXX_Merge added in v3.1.0

func (m *Data) XXX_Merge(src proto.Message)

func (*Data) XXX_Size added in v3.1.0

func (m *Data) XXX_Size() int

func (*Data) XXX_Unmarshal added in v3.1.0

func (m *Data) XXX_Unmarshal(b []byte) error

type DataSource added in v3.1.0

type DataSource struct {
	// ArtifactPaths is a data transformation that collects a list of artifact paths
	ArtifactPaths *ArtifactPaths `json:"artifactPaths,omitempty" protobuf:"bytes,1,opt,name=artifactPaths"`
}

DataSource sources external data into a data template

func (*DataSource) DeepCopy added in v3.1.0

func (in *DataSource) DeepCopy() *DataSource

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DataSource.

func (*DataSource) DeepCopyInto added in v3.1.0

func (in *DataSource) DeepCopyInto(out *DataSource)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*DataSource) Descriptor added in v3.1.0

func (*DataSource) Descriptor() ([]byte, []int)

func (*DataSource) GetArtifactIfNeeded added in v3.1.0

func (ds *DataSource) GetArtifactIfNeeded() (*Artifact, bool)

func (*DataSource) Marshal added in v3.1.0

func (m *DataSource) Marshal() (dAtA []byte, err error)

func (*DataSource) MarshalTo added in v3.1.0

func (m *DataSource) MarshalTo(dAtA []byte) (int, error)

func (*DataSource) MarshalToSizedBuffer added in v3.1.0

func (m *DataSource) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*DataSource) ProtoMessage added in v3.1.0

func (*DataSource) ProtoMessage()

func (*DataSource) Reset added in v3.1.0

func (m *DataSource) Reset()

func (*DataSource) Size added in v3.1.0

func (m *DataSource) Size() (n int)

func (*DataSource) String added in v3.1.0

func (this *DataSource) String() string

func (*DataSource) Unmarshal added in v3.1.0

func (m *DataSource) Unmarshal(dAtA []byte) error

func (*DataSource) XXX_DiscardUnknown added in v3.1.0

func (m *DataSource) XXX_DiscardUnknown()

func (*DataSource) XXX_Marshal added in v3.1.0

func (m *DataSource) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DataSource) XXX_Merge added in v3.1.0

func (m *DataSource) XXX_Merge(src proto.Message)

func (*DataSource) XXX_Size added in v3.1.0

func (m *DataSource) XXX_Size() int

func (*DataSource) XXX_Unmarshal added in v3.1.0

func (m *DataSource) XXX_Unmarshal(b []byte) error

type DataSourceProcessor added in v3.1.0

type DataSourceProcessor interface {
	ProcessArtifactPaths(*ArtifactPaths) (interface{}, error)
}

type EstimatedDuration

type EstimatedDuration int

EstimatedDuration is in seconds.

func NewEstimatedDuration

func NewEstimatedDuration(d time.Duration) EstimatedDuration

func (EstimatedDuration) ToDuration

func (d EstimatedDuration) ToDuration() time.Duration

type Event

type Event struct {
	// Selector (https://github.com/antonmedv/expr) that we must must match the event. E.g. `payload.message == "test"`
	Selector string `json:"selector" protobuf:"bytes,1,opt,name=selector"`
}

func (*Event) DeepCopy

func (in *Event) DeepCopy() *Event

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Event.

func (*Event) DeepCopyInto

func (in *Event) DeepCopyInto(out *Event)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*Event) Descriptor

func (*Event) Descriptor() ([]byte, []int)

func (*Event) Marshal

func (m *Event) Marshal() (dAtA []byte, err error)

func (*Event) MarshalTo

func (m *Event) MarshalTo(dAtA []byte) (int, error)

func (*Event) MarshalToSizedBuffer

func (m *Event) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Event) ProtoMessage

func (*Event) ProtoMessage()

func (*Event) Reset

func (m *Event) Reset()

func (*Event) Size

func (m *Event) Size() (n int)

func (*Event) String

func (this *Event) String() string

func (*Event) Unmarshal

func (m *Event) Unmarshal(dAtA []byte) error

func (*Event) XXX_DiscardUnknown

func (m *Event) XXX_DiscardUnknown()

func (*Event) XXX_Marshal

func (m *Event) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Event) XXX_Merge

func (m *Event) XXX_Merge(src proto.Message)

func (*Event) XXX_Size

func (m *Event) XXX_Size() int

func (*Event) XXX_Unmarshal

func (m *Event) XXX_Unmarshal(b []byte) error

type ExecutorConfig

type ExecutorConfig struct {
	// ServiceAccountName specifies the service account name of the executor container.
	ServiceAccountName string `json:"serviceAccountName,omitempty" protobuf:"bytes,1,opt,name=serviceAccountName"`
}

ExecutorConfig holds configurations of an executor container.

func (*ExecutorConfig) DeepCopy

func (in *ExecutorConfig) DeepCopy() *ExecutorConfig

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExecutorConfig.

func (*ExecutorConfig) DeepCopyInto

func (in *ExecutorConfig) DeepCopyInto(out *ExecutorConfig)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ExecutorConfig) Descriptor

func (*ExecutorConfig) Descriptor() ([]byte, []int)

func (*ExecutorConfig) Marshal

func (m *ExecutorConfig) Marshal() (dAtA []byte, err error)

func (*ExecutorConfig) MarshalTo

func (m *ExecutorConfig) MarshalTo(dAtA []byte) (int, error)

func (*ExecutorConfig) MarshalToSizedBuffer

func (m *ExecutorConfig) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ExecutorConfig) ProtoMessage

func (*ExecutorConfig) ProtoMessage()

func (*ExecutorConfig) Reset

func (m *ExecutorConfig) Reset()

func (*ExecutorConfig) Size

func (m *ExecutorConfig) Size() (n int)

func (*ExecutorConfig) String

func (this *ExecutorConfig) String() string

func (*ExecutorConfig) Unmarshal

func (m *ExecutorConfig) Unmarshal(dAtA []byte) error

func (*ExecutorConfig) XXX_DiscardUnknown

func (m *ExecutorConfig) XXX_DiscardUnknown()

func (*ExecutorConfig) XXX_Marshal

func (m *ExecutorConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ExecutorConfig) XXX_Merge

func (m *ExecutorConfig) XXX_Merge(src proto.Message)

func (*ExecutorConfig) XXX_Size

func (m *ExecutorConfig) XXX_Size() int

func (*ExecutorConfig) XXX_Unmarshal

func (m *ExecutorConfig) XXX_Unmarshal(b []byte) error

type GCSArtifact

type GCSArtifact struct {
	GCSBucket `json:",inline" protobuf:"bytes,1,opt,name=gCSBucket"`

	// Key is the path in the bucket where the artifact resides
	Key string `json:"key" protobuf:"bytes,2,opt,name=key"`
}

GCSArtifact is the location of a GCS artifact

func (*GCSArtifact) DeepCopy

func (in *GCSArtifact) DeepCopy() *GCSArtifact

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GCSArtifact.

func (*GCSArtifact) DeepCopyInto

func (in *GCSArtifact) DeepCopyInto(out *GCSArtifact)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*GCSArtifact) Descriptor

func (*GCSArtifact) Descriptor() ([]byte, []int)

func (*GCSArtifact) GetKey

func (g *GCSArtifact) GetKey() (string, error)

func (*GCSArtifact) HasLocation

func (g *GCSArtifact) HasLocation() bool

func (*GCSArtifact) Marshal

func (m *GCSArtifact) Marshal() (dAtA []byte, err error)

func (*GCSArtifact) MarshalTo

func (m *GCSArtifact) MarshalTo(dAtA []byte) (int, error)

func (*GCSArtifact) MarshalToSizedBuffer

func (m *GCSArtifact) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*GCSArtifact) ProtoMessage

func (*GCSArtifact) ProtoMessage()

func (*GCSArtifact) Reset

func (m *GCSArtifact) Reset()

func (*GCSArtifact) SetKey

func (g *GCSArtifact) SetKey(key string) error

func (*GCSArtifact) Size

func (m *GCSArtifact) Size() (n int)

func (*GCSArtifact) String

func (this *GCSArtifact) String() string

func (*GCSArtifact) Unmarshal

func (m *GCSArtifact) Unmarshal(dAtA []byte) error

func (*GCSArtifact) XXX_DiscardUnknown

func (m *GCSArtifact) XXX_DiscardUnknown()

func (*GCSArtifact) XXX_Marshal

func (m *GCSArtifact) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GCSArtifact) XXX_Merge

func (m *GCSArtifact) XXX_Merge(src proto.Message)

func (*GCSArtifact) XXX_Size

func (m *GCSArtifact) XXX_Size() int

func (*GCSArtifact) XXX_Unmarshal

func (m *GCSArtifact) XXX_Unmarshal(b []byte) error

type GCSArtifactRepository added in v3.1.2

type GCSArtifactRepository struct {
	GCSBucket `json:",inline" protobuf:"bytes,1,opt,name=gCSBucket"`

	// KeyFormat is defines the format of how to store keys. Can reference workflow variables
	KeyFormat string `json:"keyFormat,omitempty" protobuf:"bytes,2,opt,name=keyFormat"`
}

GCSArtifactRepository defines the controller configuration for a GCS artifact repository

func (*GCSArtifactRepository) DeepCopy added in v3.1.2

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GCSArtifactRepository.

func (*GCSArtifactRepository) DeepCopyInto added in v3.1.2

func (in *GCSArtifactRepository) DeepCopyInto(out *GCSArtifactRepository)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*GCSArtifactRepository) Descriptor added in v3.1.2

func (*GCSArtifactRepository) Descriptor() ([]byte, []int)

func (*GCSArtifactRepository) IntoArtifactLocation added in v3.1.2

func (r *GCSArtifactRepository) IntoArtifactLocation(l *ArtifactLocation)

func (*GCSArtifactRepository) Marshal added in v3.1.2

func (m *GCSArtifactRepository) Marshal() (dAtA []byte, err error)

func (*GCSArtifactRepository) MarshalTo added in v3.1.2

func (m *GCSArtifactRepository) MarshalTo(dAtA []byte) (int, error)

func (*GCSArtifactRepository) MarshalToSizedBuffer added in v3.1.2

func (m *GCSArtifactRepository) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*GCSArtifactRepository) ProtoMessage added in v3.1.2

func (*GCSArtifactRepository) ProtoMessage()

func (*GCSArtifactRepository) Reset added in v3.1.2

func (m *GCSArtifactRepository) Reset()

func (*GCSArtifactRepository) Size added in v3.1.2

func (m *GCSArtifactRepository) Size() (n int)

func (*GCSArtifactRepository) String added in v3.1.2

func (this *GCSArtifactRepository) String() string

func (*GCSArtifactRepository) Unmarshal added in v3.1.2

func (m *GCSArtifactRepository) Unmarshal(dAtA []byte) error

func (*GCSArtifactRepository) XXX_DiscardUnknown added in v3.1.2

func (m *GCSArtifactRepository) XXX_DiscardUnknown()

func (*GCSArtifactRepository) XXX_Marshal added in v3.1.2

func (m *GCSArtifactRepository) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GCSArtifactRepository) XXX_Merge added in v3.1.2

func (m *GCSArtifactRepository) XXX_Merge(src proto.Message)

func (*GCSArtifactRepository) XXX_Size added in v3.1.2

func (m *GCSArtifactRepository) XXX_Size() int

func (*GCSArtifactRepository) XXX_Unmarshal added in v3.1.2

func (m *GCSArtifactRepository) XXX_Unmarshal(b []byte) error

type GCSBucket

type GCSBucket struct {
	// Bucket is the name of the bucket
	Bucket string `json:"bucket,omitempty" protobuf:"bytes,1,opt,name=bucket"`

	// ServiceAccountKeySecret is the secret selector to the bucket's service account key
	ServiceAccountKeySecret *apiv1.SecretKeySelector `json:"serviceAccountKeySecret,omitempty" protobuf:"bytes,2,opt,name=serviceAccountKeySecret"`
}

GCSBucket contains the access information for interfacring with a GCS bucket

func (*GCSBucket) DeepCopy

func (in *GCSBucket) DeepCopy() *GCSBucket

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GCSBucket.

func (*GCSBucket) DeepCopyInto

func (in *GCSBucket) DeepCopyInto(out *GCSBucket)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*GCSBucket) Descriptor

func (*GCSBucket) Descriptor() ([]byte, []int)

func (*GCSBucket) Marshal

func (m *GCSBucket) Marshal() (dAtA []byte, err error)

func (*GCSBucket) MarshalTo

func (m *GCSBucket) MarshalTo(dAtA []byte) (int, error)

func (*GCSBucket) MarshalToSizedBuffer

func (m *GCSBucket) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*GCSBucket) ProtoMessage

func (*GCSBucket) ProtoMessage()

func (*GCSBucket) Reset

func (m *GCSBucket) Reset()

func (*GCSBucket) Size

func (m *GCSBucket) Size() (n int)

func (*GCSBucket) String

func (this *GCSBucket) String() string

func (*GCSBucket) Unmarshal

func (m *GCSBucket) Unmarshal(dAtA []byte) error

func (*GCSBucket) XXX_DiscardUnknown

func (m *GCSBucket) XXX_DiscardUnknown()

func (*GCSBucket) XXX_Marshal

func (m *GCSBucket) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GCSBucket) XXX_Merge

func (m *GCSBucket) XXX_Merge(src proto.Message)

func (*GCSBucket) XXX_Size

func (m *GCSBucket) XXX_Size() int

func (*GCSBucket) XXX_Unmarshal

func (m *GCSBucket) XXX_Unmarshal(b []byte) error

type Gauge

type Gauge struct {
	// Value is the value of the metric
	Value string `json:"value" protobuf:"bytes,1,opt,name=value"`
	// Realtime emits this metric in real time if applicable
	Realtime *bool `json:"realtime" protobuf:"varint,2,opt,name=realtime"`
}

Gauge is a Gauge prometheus metric

func (*Gauge) DeepCopy

func (in *Gauge) DeepCopy() *Gauge

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Gauge.

func (*Gauge) DeepCopyInto

func (in *Gauge) DeepCopyInto(out *Gauge)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*Gauge) Descriptor

func (*Gauge) Descriptor() ([]byte, []int)

func (*Gauge) Marshal

func (m *Gauge) Marshal() (dAtA []byte, err error)

func (*Gauge) MarshalTo

func (m *Gauge) MarshalTo(dAtA []byte) (int, error)

func (*Gauge) MarshalToSizedBuffer

func (m *Gauge) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Gauge) ProtoMessage

func (*Gauge) ProtoMessage()

func (*Gauge) Reset

func (m *Gauge) Reset()

func (*Gauge) Size

func (m *Gauge) Size() (n int)

func (*Gauge) String

func (this *Gauge) String() string

func (*Gauge) Unmarshal

func (m *Gauge) Unmarshal(dAtA []byte) error

func (*Gauge) XXX_DiscardUnknown

func (m *Gauge) XXX_DiscardUnknown()

func (*Gauge) XXX_Marshal

func (m *Gauge) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Gauge) XXX_Merge

func (m *Gauge) XXX_Merge(src proto.Message)

func (*Gauge) XXX_Size

func (m *Gauge) XXX_Size() int

func (*Gauge) XXX_Unmarshal

func (m *Gauge) XXX_Unmarshal(b []byte) error

type GitArtifact

type GitArtifact struct {
	// Repo is the git repository
	Repo string `json:"repo" protobuf:"bytes,1,opt,name=repo"`

	// Revision is the git commit, tag, branch to checkout
	Revision string `json:"revision,omitempty" protobuf:"bytes,2,opt,name=revision"`

	// Depth specifies clones/fetches should be shallow and include the given
	// number of commits from the branch tip
	Depth *uint64 `json:"depth,omitempty" protobuf:"bytes,3,opt,name=depth"`

	// Fetch specifies a number of refs that should be fetched before checkout
	Fetch []string `json:"fetch,omitempty" protobuf:"bytes,4,rep,name=fetch"`

	// UsernameSecret is the secret selector to the repository username
	UsernameSecret *apiv1.SecretKeySelector `json:"usernameSecret,omitempty" protobuf:"bytes,5,opt,name=usernameSecret"`

	// PasswordSecret is the secret selector to the repository password
	PasswordSecret *apiv1.SecretKeySelector `json:"passwordSecret,omitempty" protobuf:"bytes,6,opt,name=passwordSecret"`

	// SSHPrivateKeySecret is the secret selector to the repository ssh private key
	SSHPrivateKeySecret *apiv1.SecretKeySelector `json:"sshPrivateKeySecret,omitempty" protobuf:"bytes,7,opt,name=sshPrivateKeySecret"`

	// InsecureIgnoreHostKey disables SSH strict host key checking during git clone
	InsecureIgnoreHostKey bool `json:"insecureIgnoreHostKey,omitempty" protobuf:"varint,8,opt,name=insecureIgnoreHostKey"`

	// DisableSubmodules disables submodules during git clone
	DisableSubmodules bool `json:"disableSubmodules,omitempty" protobuf:"varint,9,opt,name=disableSubmodules"`

	// SingleBranch enables single branch clone, using the `branch` parameter
	SingleBranch bool `json:"singleBranch,omitempty" protobuf:"varint,10,opt,name=singleBranch"`

	// Branch is the branch to fetch when `SingleBranch` is enabled
	Branch string `json:"branch,omitempty" protobuf:"bytes,11,opt,name=branch"`
}

GitArtifact is the location of an git artifact

func (*GitArtifact) DeepCopy

func (in *GitArtifact) DeepCopy() *GitArtifact

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GitArtifact.

func (*GitArtifact) DeepCopyInto

func (in *GitArtifact) DeepCopyInto(out *GitArtifact)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*GitArtifact) Descriptor

func (*GitArtifact) Descriptor() ([]byte, []int)

func (*GitArtifact) GetDepth

func (g *GitArtifact) GetDepth() int

func (*GitArtifact) GetKey

func (g *GitArtifact) GetKey() (string, error)

func (*GitArtifact) HasLocation

func (g *GitArtifact) HasLocation() bool

func (*GitArtifact) Marshal

func (m *GitArtifact) Marshal() (dAtA []byte, err error)

func (*GitArtifact) MarshalTo

func (m *GitArtifact) MarshalTo(dAtA []byte) (int, error)

func (*GitArtifact) MarshalToSizedBuffer

func (m *GitArtifact) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*GitArtifact) ProtoMessage

func (*GitArtifact) ProtoMessage()

func (*GitArtifact) Reset

func (m *GitArtifact) Reset()

func (*GitArtifact) SetKey

func (g *GitArtifact) SetKey(string) error

func (*GitArtifact) Size

func (m *GitArtifact) Size() (n int)

func (*GitArtifact) String

func (this *GitArtifact) String() string

func (*GitArtifact) Unmarshal

func (m *GitArtifact) Unmarshal(dAtA []byte) error

func (*GitArtifact) XXX_DiscardUnknown

func (m *GitArtifact) XXX_DiscardUnknown()

func (*GitArtifact) XXX_Marshal

func (m *GitArtifact) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GitArtifact) XXX_Merge

func (m *GitArtifact) XXX_Merge(src proto.Message)

func (*GitArtifact) XXX_Size

func (m *GitArtifact) XXX_Size() int

func (*GitArtifact) XXX_Unmarshal

func (m *GitArtifact) XXX_Unmarshal(b []byte) error

type HDFSArtifact

type HDFSArtifact struct {
	HDFSConfig `json:",inline" protobuf:"bytes,1,opt,name=hDFSConfig"`

	// Path is a file path in HDFS
	Path string `json:"path" protobuf:"bytes,2,opt,name=path"`

	// Force copies a file forcibly even if it exists
	Force bool `json:"force,omitempty" protobuf:"varint,3,opt,name=force"`
}

HDFSArtifact is the location of an HDFS artifact

func (*HDFSArtifact) DeepCopy

func (in *HDFSArtifact) DeepCopy() *HDFSArtifact

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HDFSArtifact.

func (*HDFSArtifact) DeepCopyInto

func (in *HDFSArtifact) DeepCopyInto(out *HDFSArtifact)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*HDFSArtifact) Descriptor

func (*HDFSArtifact) Descriptor() ([]byte, []int)

func (*HDFSArtifact) GetKey

func (h *HDFSArtifact) GetKey() (string, error)

func (*HDFSArtifact) HasLocation

func (h *HDFSArtifact) HasLocation() bool

func (*HDFSArtifact) Marshal

func (m *HDFSArtifact) Marshal() (dAtA []byte, err error)

func (*HDFSArtifact) MarshalTo

func (m *HDFSArtifact) MarshalTo(dAtA []byte) (int, error)

func (*HDFSArtifact) MarshalToSizedBuffer

func (m *HDFSArtifact) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*HDFSArtifact) ProtoMessage

func (*HDFSArtifact) ProtoMessage()

func (*HDFSArtifact) Reset

func (m *HDFSArtifact) Reset()

func (*HDFSArtifact) SetKey

func (g *HDFSArtifact) SetKey(key string) error

func (*HDFSArtifact) Size

func (m *HDFSArtifact) Size() (n int)

func (*HDFSArtifact) String

func (this *HDFSArtifact) String() string

func (*HDFSArtifact) Unmarshal

func (m *HDFSArtifact) Unmarshal(dAtA []byte) error

func (*HDFSArtifact) XXX_DiscardUnknown

func (m *HDFSArtifact) XXX_DiscardUnknown()

func (*HDFSArtifact) XXX_Marshal

func (m *HDFSArtifact) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*HDFSArtifact) XXX_Merge

func (m *HDFSArtifact) XXX_Merge(src proto.Message)

func (*HDFSArtifact) XXX_Size

func (m *HDFSArtifact) XXX_Size() int

func (*HDFSArtifact) XXX_Unmarshal

func (m *HDFSArtifact) XXX_Unmarshal(b []byte) error

type HDFSArtifactRepository added in v3.1.2

type HDFSArtifactRepository struct {
	HDFSConfig `json:",inline" protobuf:"bytes,1,opt,name=hDFSConfig"`

	// PathFormat is defines the format of path to store a file. Can reference workflow variables
	PathFormat string `json:"pathFormat,omitempty" protobuf:"bytes,2,opt,name=pathFormat"`

	// Force copies a file forcibly even if it exists
	Force bool `json:"force,omitempty" protobuf:"varint,3,opt,name=force"`
}

HDFSArtifactRepository defines the controller configuration for an HDFS artifact repository

func (*HDFSArtifactRepository) DeepCopy added in v3.1.2

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HDFSArtifactRepository.

func (*HDFSArtifactRepository) DeepCopyInto added in v3.1.2

func (in *HDFSArtifactRepository) DeepCopyInto(out *HDFSArtifactRepository)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*HDFSArtifactRepository) Descriptor added in v3.1.2

func (*HDFSArtifactRepository) Descriptor() ([]byte, []int)

func (*HDFSArtifactRepository) IntoArtifactLocation added in v3.1.2

func (r *HDFSArtifactRepository) IntoArtifactLocation(l *ArtifactLocation)

func (*HDFSArtifactRepository) Marshal added in v3.1.2

func (m *HDFSArtifactRepository) Marshal() (dAtA []byte, err error)

func (*HDFSArtifactRepository) MarshalTo added in v3.1.2

func (m *HDFSArtifactRepository) MarshalTo(dAtA []byte) (int, error)

func (*HDFSArtifactRepository) MarshalToSizedBuffer added in v3.1.2

func (m *HDFSArtifactRepository) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*HDFSArtifactRepository) ProtoMessage added in v3.1.2

func (*HDFSArtifactRepository) ProtoMessage()

func (*HDFSArtifactRepository) Reset added in v3.1.2

func (m *HDFSArtifactRepository) Reset()

func (*HDFSArtifactRepository) Size added in v3.1.2

func (m *HDFSArtifactRepository) Size() (n int)

func (*HDFSArtifactRepository) String added in v3.1.2

func (this *HDFSArtifactRepository) String() string

func (*HDFSArtifactRepository) Unmarshal added in v3.1.2

func (m *HDFSArtifactRepository) Unmarshal(dAtA []byte) error

func (*HDFSArtifactRepository) XXX_DiscardUnknown added in v3.1.2

func (m *HDFSArtifactRepository) XXX_DiscardUnknown()

func (*HDFSArtifactRepository) XXX_Marshal added in v3.1.2

func (m *HDFSArtifactRepository) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*HDFSArtifactRepository) XXX_Merge added in v3.1.2

func (m *HDFSArtifactRepository) XXX_Merge(src proto.Message)

func (*HDFSArtifactRepository) XXX_Size added in v3.1.2

func (m *HDFSArtifactRepository) XXX_Size() int

func (*HDFSArtifactRepository) XXX_Unmarshal added in v3.1.2

func (m *HDFSArtifactRepository) XXX_Unmarshal(b []byte) error

type HDFSConfig

type HDFSConfig struct {
	HDFSKrbConfig `json:",inline" protobuf:"bytes,1,opt,name=hDFSKrbConfig"`

	// Addresses is accessible addresses of HDFS name nodes
	Addresses []string `json:"addresses,omitempty" protobuf:"bytes,2,rep,name=addresses"`

	// HDFSUser is the user to access HDFS file system.
	// It is ignored if either ccache or keytab is used.
	HDFSUser string `json:"hdfsUser,omitempty" protobuf:"bytes,3,opt,name=hdfsUser"`
}

HDFSConfig is configurations for HDFS

func (*HDFSConfig) DeepCopy

func (in *HDFSConfig) DeepCopy() *HDFSConfig

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HDFSConfig.

func (*HDFSConfig) DeepCopyInto

func (in *HDFSConfig) DeepCopyInto(out *HDFSConfig)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*HDFSConfig) Descriptor

func (*HDFSConfig) Descriptor() ([]byte, []int)

func (*HDFSConfig) Marshal

func (m *HDFSConfig) Marshal() (dAtA []byte, err error)

func (*HDFSConfig) MarshalTo

func (m *HDFSConfig) MarshalTo(dAtA []byte) (int, error)

func (*HDFSConfig) MarshalToSizedBuffer

func (m *HDFSConfig) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*HDFSConfig) ProtoMessage

func (*HDFSConfig) ProtoMessage()

func (*HDFSConfig) Reset

func (m *HDFSConfig) Reset()

func (*HDFSConfig) Size

func (m *HDFSConfig) Size() (n int)

func (*HDFSConfig) String

func (this *HDFSConfig) String() string

func (*HDFSConfig) Unmarshal

func (m *HDFSConfig) Unmarshal(dAtA []byte) error

func (*HDFSConfig) XXX_DiscardUnknown

func (m *HDFSConfig) XXX_DiscardUnknown()

func (*HDFSConfig) XXX_Marshal

func (m *HDFSConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*HDFSConfig) XXX_Merge

func (m *HDFSConfig) XXX_Merge(src proto.Message)

func (*HDFSConfig) XXX_Size

func (m *HDFSConfig) XXX_Size() int

func (*HDFSConfig) XXX_Unmarshal

func (m *HDFSConfig) XXX_Unmarshal(b []byte) error

type HDFSKrbConfig

type HDFSKrbConfig struct {
	// KrbCCacheSecret is the secret selector for Kerberos ccache
	// Either ccache or keytab can be set to use Kerberos.
	KrbCCacheSecret *apiv1.SecretKeySelector `json:"krbCCacheSecret,omitempty" protobuf:"bytes,1,opt,name=krbCCacheSecret"`

	// KrbKeytabSecret is the secret selector for Kerberos keytab
	// Either ccache or keytab can be set to use Kerberos.
	KrbKeytabSecret *apiv1.SecretKeySelector `json:"krbKeytabSecret,omitempty" protobuf:"bytes,2,opt,name=krbKeytabSecret"`

	// KrbUsername is the Kerberos username used with Kerberos keytab
	// It must be set if keytab is used.
	KrbUsername string `json:"krbUsername,omitempty" protobuf:"bytes,3,opt,name=krbUsername"`

	// KrbRealm is the Kerberos realm used with Kerberos keytab
	// It must be set if keytab is used.
	KrbRealm string `json:"krbRealm,omitempty" protobuf:"bytes,4,opt,name=krbRealm"`

	// KrbConfig is the configmap selector for Kerberos config as string
	// It must be set if either ccache or keytab is used.
	KrbConfigConfigMap *apiv1.ConfigMapKeySelector `json:"krbConfigConfigMap,omitempty" protobuf:"bytes,5,opt,name=krbConfigConfigMap"`

	// KrbServicePrincipalName is the principal name of Kerberos service
	// It must be set if either ccache or keytab is used.
	KrbServicePrincipalName string `json:"krbServicePrincipalName,omitempty" protobuf:"bytes,6,opt,name=krbServicePrincipalName"`
}

HDFSKrbConfig is auth configurations for Kerberos

func (*HDFSKrbConfig) DeepCopy

func (in *HDFSKrbConfig) DeepCopy() *HDFSKrbConfig

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HDFSKrbConfig.

func (*HDFSKrbConfig) DeepCopyInto

func (in *HDFSKrbConfig) DeepCopyInto(out *HDFSKrbConfig)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*HDFSKrbConfig) Descriptor

func (*HDFSKrbConfig) Descriptor() ([]byte, []int)

func (*HDFSKrbConfig) Marshal

func (m *HDFSKrbConfig) Marshal() (dAtA []byte, err error)

func (*HDFSKrbConfig) MarshalTo

func (m *HDFSKrbConfig) MarshalTo(dAtA []byte) (int, error)

func (*HDFSKrbConfig) MarshalToSizedBuffer

func (m *HDFSKrbConfig) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*HDFSKrbConfig) ProtoMessage

func (*HDFSKrbConfig) ProtoMessage()

func (*HDFSKrbConfig) Reset

func (m *HDFSKrbConfig) Reset()

func (*HDFSKrbConfig) Size

func (m *HDFSKrbConfig) Size() (n int)

func (*HDFSKrbConfig) String

func (this *HDFSKrbConfig) String() string

func (*HDFSKrbConfig) Unmarshal

func (m *HDFSKrbConfig) Unmarshal(dAtA []byte) error

func (*HDFSKrbConfig) XXX_DiscardUnknown

func (m *HDFSKrbConfig) XXX_DiscardUnknown()

func (*HDFSKrbConfig) XXX_Marshal

func (m *HDFSKrbConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*HDFSKrbConfig) XXX_Merge

func (m *HDFSKrbConfig) XXX_Merge(src proto.Message)

func (*HDFSKrbConfig) XXX_Size

func (m *HDFSKrbConfig) XXX_Size() int

func (*HDFSKrbConfig) XXX_Unmarshal

func (m *HDFSKrbConfig) XXX_Unmarshal(b []byte) error

type HTTP added in v3.2.0

type HTTP struct {
	// Method is HTTP methods for HTTP Request
	Method string `json:"method,omitempty" protobuf:"bytes,1,opt,name=method"`
	// URL of the HTTP Request
	URL string `json:"url" protobuf:"bytes,2,opt,name=url"`
	// Headers are an optional list of headers to send with HTTP requests
	Headers HTTPHeaders `json:"headers,omitempty" protobuf:"bytes,3,rep,name=headers"`
	// TimeoutSeconds is request timeout for HTTP Request. Default is 30 seconds
	TimeoutSeconds *int64 `json:"timeoutSeconds,omitempty" protobuf:"bytes,4,opt,name=timeoutSeconds"`
	// SuccessCondition is an expression if evaluated to true is considered successful
	SuccessCondition string `json:"successCondition,omitempty" protobuf:"bytes,6,opt,name=successCondition"`
	// Body is content of the HTTP Request
	Body string `json:"body,omitempty" protobuf:"bytes,5,opt,name=body"`
	// BodyFrom is  content of the HTTP Request as Bytes
	BodyFrom *HTTPBodySource `json:"bodyFrom,omitempty" protobuf:"bytes,8,opt,name=bodyFrom"`
	// InsecureSkipVerify is a bool when if set to true will skip TLS verification for the HTTP client
	InsecureSkipVerify bool `json:"insecureSkipVerify,omitempty" protobuf:"bytes,7,opt,name=insecureSkipVerify"`
}

func (*HTTP) DeepCopy added in v3.2.0

func (in *HTTP) DeepCopy() *HTTP

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HTTP.

func (*HTTP) DeepCopyInto added in v3.2.0

func (in *HTTP) DeepCopyInto(out *HTTP)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*HTTP) Descriptor added in v3.2.0

func (*HTTP) Descriptor() ([]byte, []int)

func (*HTTP) GetBodyBytes added in v3.4.0

func (h *HTTP) GetBodyBytes() []byte

func (*HTTP) Marshal added in v3.2.0

func (m *HTTP) Marshal() (dAtA []byte, err error)

func (*HTTP) MarshalTo added in v3.2.0

func (m *HTTP) MarshalTo(dAtA []byte) (int, error)

func (*HTTP) MarshalToSizedBuffer added in v3.2.0

func (m *HTTP) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*HTTP) ProtoMessage added in v3.2.0

func (*HTTP) ProtoMessage()

func (*HTTP) Reset added in v3.2.0

func (m *HTTP) Reset()

func (*HTTP) Size added in v3.2.0

func (m *HTTP) Size() (n int)

func (*HTTP) String added in v3.2.0

func (this *HTTP) String() string

func (*HTTP) Unmarshal added in v3.2.0

func (m *HTTP) Unmarshal(dAtA []byte) error

func (*HTTP) XXX_DiscardUnknown added in v3.2.0

func (m *HTTP) XXX_DiscardUnknown()

func (*HTTP) XXX_Marshal added in v3.2.0

func (m *HTTP) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*HTTP) XXX_Merge added in v3.2.0

func (m *HTTP) XXX_Merge(src proto.Message)

func (*HTTP) XXX_Size added in v3.2.0

func (m *HTTP) XXX_Size() int

func (*HTTP) XXX_Unmarshal added in v3.2.0

func (m *HTTP) XXX_Unmarshal(b []byte) error

type HTTPArtifact

type HTTPArtifact struct {
	// URL of the artifact
	URL string `json:"url" protobuf:"bytes,1,opt,name=url"`

	// Headers are an optional list of headers to send with HTTP requests for artifacts
	Headers []Header `json:"headers,omitempty" protobuf:"bytes,2,rep,name=headers"`

	// Auth contains information for client authentication
	Auth *HTTPAuth `json:"auth,omitempty" protobuf:"bytes,3,opt,name=auth"`
}

HTTPArtifact allows a file served on HTTP to be placed as an input artifact in a container

func (*HTTPArtifact) DeepCopy

func (in *HTTPArtifact) DeepCopy() *HTTPArtifact

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HTTPArtifact.

func (*HTTPArtifact) DeepCopyInto

func (in *HTTPArtifact) DeepCopyInto(out *HTTPArtifact)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*HTTPArtifact) Descriptor

func (*HTTPArtifact) Descriptor() ([]byte, []int)

func (*HTTPArtifact) GetKey

func (h *HTTPArtifact) GetKey() (string, error)

func (*HTTPArtifact) HasLocation

func (h *HTTPArtifact) HasLocation() bool

func (*HTTPArtifact) Marshal

func (m *HTTPArtifact) Marshal() (dAtA []byte, err error)

func (*HTTPArtifact) MarshalTo

func (m *HTTPArtifact) MarshalTo(dAtA []byte) (int, error)

func (*HTTPArtifact) MarshalToSizedBuffer

func (m *HTTPArtifact) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*HTTPArtifact) ProtoMessage

func (*HTTPArtifact) ProtoMessage()

func (*HTTPArtifact) Reset

func (m *HTTPArtifact) Reset()

func (*HTTPArtifact) SetKey

func (g *HTTPArtifact) SetKey(key string) error

func (*HTTPArtifact) Size

func (m *HTTPArtifact) Size() (n int)

func (*HTTPArtifact) String

func (this *HTTPArtifact) String() string

func (*HTTPArtifact) Unmarshal

func (m *HTTPArtifact) Unmarshal(dAtA []byte) error

func (*HTTPArtifact) XXX_DiscardUnknown

func (m *HTTPArtifact) XXX_DiscardUnknown()

func (*HTTPArtifact) XXX_Marshal

func (m *HTTPArtifact) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*HTTPArtifact) XXX_Merge

func (m *HTTPArtifact) XXX_Merge(src proto.Message)

func (*HTTPArtifact) XXX_Size

func (m *HTTPArtifact) XXX_Size() int

func (*HTTPArtifact) XXX_Unmarshal

func (m *HTTPArtifact) XXX_Unmarshal(b []byte) error

type HTTPAuth added in v3.4.0

type HTTPAuth struct {
	ClientCert ClientCertAuth `json:"clientCert,omitempty" protobuf:"bytes,1,opt,name=clientCert"`
	OAuth2     OAuth2Auth     `json:"oauth2,omitempty" protobuf:"bytes,2,opt,name=oauth2"`
	BasicAuth  BasicAuth      `json:"basicAuth,omitempty" protobuf:"bytes,3,opt,name=basicAuth"`
}

func (*HTTPAuth) DeepCopy added in v3.4.0

func (in *HTTPAuth) DeepCopy() *HTTPAuth

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HTTPAuth.

func (*HTTPAuth) DeepCopyInto added in v3.4.0

func (in *HTTPAuth) DeepCopyInto(out *HTTPAuth)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*HTTPAuth) Descriptor added in v3.4.0

func (*HTTPAuth) Descriptor() ([]byte, []int)

func (*HTTPAuth) Marshal added in v3.4.0

func (m *HTTPAuth) Marshal() (dAtA []byte, err error)

func (*HTTPAuth) MarshalTo added in v3.4.0

func (m *HTTPAuth) MarshalTo(dAtA []byte) (int, error)

func (*HTTPAuth) MarshalToSizedBuffer added in v3.4.0

func (m *HTTPAuth) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*HTTPAuth) ProtoMessage added in v3.4.0

func (*HTTPAuth) ProtoMessage()

func (*HTTPAuth) Reset added in v3.4.0

func (m *HTTPAuth) Reset()

func (*HTTPAuth) Size added in v3.4.0

func (m *HTTPAuth) Size() (n int)

func (*HTTPAuth) String added in v3.4.0

func (this *HTTPAuth) String() string

func (*HTTPAuth) Unmarshal added in v3.4.0

func (m *HTTPAuth) Unmarshal(dAtA []byte) error

func (*HTTPAuth) XXX_DiscardUnknown added in v3.4.0

func (m *HTTPAuth) XXX_DiscardUnknown()

func (*HTTPAuth) XXX_Marshal added in v3.4.0

func (m *HTTPAuth) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*HTTPAuth) XXX_Merge added in v3.4.0

func (m *HTTPAuth) XXX_Merge(src proto.Message)

func (*HTTPAuth) XXX_Size added in v3.4.0

func (m *HTTPAuth) XXX_Size() int

func (*HTTPAuth) XXX_Unmarshal added in v3.4.0

func (m *HTTPAuth) XXX_Unmarshal(b []byte) error

type HTTPBodySource added in v3.4.0

type HTTPBodySource struct {
	Bytes []byte `json:"bytes,omitempty" protobuf:"bytes,1,opt,name=bytes"`
}

HTTPBodySource contains the source of the HTTP body.

func (*HTTPBodySource) DeepCopy added in v3.4.0

func (in *HTTPBodySource) DeepCopy() *HTTPBodySource

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HTTPBodySource.

func (*HTTPBodySource) DeepCopyInto added in v3.4.0

func (in *HTTPBodySource) DeepCopyInto(out *HTTPBodySource)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*HTTPBodySource) Descriptor added in v3.4.0

func (*HTTPBodySource) Descriptor() ([]byte, []int)

func (*HTTPBodySource) Marshal added in v3.4.0

func (m *HTTPBodySource) Marshal() (dAtA []byte, err error)

func (*HTTPBodySource) MarshalTo added in v3.4.0

func (m *HTTPBodySource) MarshalTo(dAtA []byte) (int, error)

func (*HTTPBodySource) MarshalToSizedBuffer added in v3.4.0

func (m *HTTPBodySource) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*HTTPBodySource) ProtoMessage added in v3.4.0

func (*HTTPBodySource) ProtoMessage()

func (*HTTPBodySource) Reset added in v3.4.0

func (m *HTTPBodySource) Reset()

func (*HTTPBodySource) Size added in v3.4.0

func (m *HTTPBodySource) Size() (n int)

func (*HTTPBodySource) String added in v3.4.0

func (this *HTTPBodySource) String() string

func (*HTTPBodySource) Unmarshal added in v3.4.0

func (m *HTTPBodySource) Unmarshal(dAtA []byte) error

func (*HTTPBodySource) XXX_DiscardUnknown added in v3.4.0

func (m *HTTPBodySource) XXX_DiscardUnknown()

func (*HTTPBodySource) XXX_Marshal added in v3.4.0

func (m *HTTPBodySource) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*HTTPBodySource) XXX_Merge added in v3.4.0

func (m *HTTPBodySource) XXX_Merge(src proto.Message)

func (*HTTPBodySource) XXX_Size added in v3.4.0

func (m *HTTPBodySource) XXX_Size() int

func (*HTTPBodySource) XXX_Unmarshal added in v3.4.0

func (m *HTTPBodySource) XXX_Unmarshal(b []byte) error

type HTTPHeader added in v3.2.0

type HTTPHeader struct {
	Name      string            `json:"name" protobuf:"bytes,1,opt,name=name"`
	Value     string            `json:"value,omitempty" protobuf:"bytes,2,opt,name=value"`
	ValueFrom *HTTPHeaderSource `json:"valueFrom,omitempty" protobuf:"bytes,3,opt,name=valueFrom"`
}

func (*HTTPHeader) DeepCopy added in v3.2.0

func (in *HTTPHeader) DeepCopy() *HTTPHeader

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HTTPHeader.

func (*HTTPHeader) DeepCopyInto added in v3.2.0

func (in *HTTPHeader) DeepCopyInto(out *HTTPHeader)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*HTTPHeader) Descriptor added in v3.2.0

func (*HTTPHeader) Descriptor() ([]byte, []int)

func (*HTTPHeader) Marshal added in v3.2.0

func (m *HTTPHeader) Marshal() (dAtA []byte, err error)

func (*HTTPHeader) MarshalTo added in v3.2.0

func (m *HTTPHeader) MarshalTo(dAtA []byte) (int, error)

func (*HTTPHeader) MarshalToSizedBuffer added in v3.2.0

func (m *HTTPHeader) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*HTTPHeader) ProtoMessage added in v3.2.0

func (*HTTPHeader) ProtoMessage()

func (*HTTPHeader) Reset added in v3.2.0

func (m *HTTPHeader) Reset()

func (*HTTPHeader) Size added in v3.2.0

func (m *HTTPHeader) Size() (n int)

func (*HTTPHeader) String added in v3.2.0

func (this *HTTPHeader) String() string

func (*HTTPHeader) Unmarshal added in v3.2.0

func (m *HTTPHeader) Unmarshal(dAtA []byte) error

func (*HTTPHeader) XXX_DiscardUnknown added in v3.2.0

func (m *HTTPHeader) XXX_DiscardUnknown()

func (*HTTPHeader) XXX_Marshal added in v3.2.0

func (m *HTTPHeader) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*HTTPHeader) XXX_Merge added in v3.2.0

func (m *HTTPHeader) XXX_Merge(src proto.Message)

func (*HTTPHeader) XXX_Size added in v3.2.0

func (m *HTTPHeader) XXX_Size() int

func (*HTTPHeader) XXX_Unmarshal added in v3.2.0

func (m *HTTPHeader) XXX_Unmarshal(b []byte) error

type HTTPHeaderSource added in v3.2.0

type HTTPHeaderSource struct {
	SecretKeyRef *v1.SecretKeySelector `json:"secretKeyRef,omitempty" protobuf:"bytes,1,opt,name=secretKeyRef"`
}

func (*HTTPHeaderSource) DeepCopy added in v3.2.0

func (in *HTTPHeaderSource) DeepCopy() *HTTPHeaderSource

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HTTPHeaderSource.

func (*HTTPHeaderSource) DeepCopyInto added in v3.2.0

func (in *HTTPHeaderSource) DeepCopyInto(out *HTTPHeaderSource)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*HTTPHeaderSource) Descriptor added in v3.2.0

func (*HTTPHeaderSource) Descriptor() ([]byte, []int)

func (*HTTPHeaderSource) Marshal added in v3.2.0

func (m *HTTPHeaderSource) Marshal() (dAtA []byte, err error)

func (*HTTPHeaderSource) MarshalTo added in v3.2.0

func (m *HTTPHeaderSource) MarshalTo(dAtA []byte) (int, error)

func (*HTTPHeaderSource) MarshalToSizedBuffer added in v3.2.0

func (m *HTTPHeaderSource) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*HTTPHeaderSource) ProtoMessage added in v3.2.0

func (*HTTPHeaderSource) ProtoMessage()

func (*HTTPHeaderSource) Reset added in v3.2.0

func (m *HTTPHeaderSource) Reset()

func (*HTTPHeaderSource) Size added in v3.2.0

func (m *HTTPHeaderSource) Size() (n int)

func (*HTTPHeaderSource) String added in v3.2.0

func (this *HTTPHeaderSource) String() string

func (*HTTPHeaderSource) Unmarshal added in v3.2.0

func (m *HTTPHeaderSource) Unmarshal(dAtA []byte) error

func (*HTTPHeaderSource) XXX_DiscardUnknown added in v3.2.0

func (m *HTTPHeaderSource) XXX_DiscardUnknown()

func (*HTTPHeaderSource) XXX_Marshal added in v3.2.0

func (m *HTTPHeaderSource) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*HTTPHeaderSource) XXX_Merge added in v3.2.0

func (m *HTTPHeaderSource) XXX_Merge(src proto.Message)

func (*HTTPHeaderSource) XXX_Size added in v3.2.0

func (m *HTTPHeaderSource) XXX_Size() int

func (*HTTPHeaderSource) XXX_Unmarshal added in v3.2.0

func (m *HTTPHeaderSource) XXX_Unmarshal(b []byte) error

type HTTPHeaders added in v3.3.0

type HTTPHeaders []HTTPHeader

func (HTTPHeaders) DeepCopy added in v3.3.0

func (in HTTPHeaders) DeepCopy() HTTPHeaders

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HTTPHeaders.

func (HTTPHeaders) DeepCopyInto added in v3.3.0

func (in HTTPHeaders) DeepCopyInto(out *HTTPHeaders)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (HTTPHeaders) ToHeader added in v3.3.0

func (h HTTPHeaders) ToHeader() http.Header
type Header struct {
	// Name is the header name
	Name string `json:"name" protobuf:"bytes,1,opt,name=name"`

	// Value is the literal value to use for the header
	Value string `json:"value" protobuf:"bytes,2,opt,name=value"`
}

Header indicate a key-value request header to be used when fetching artifacts over HTTP

func (*Header) DeepCopy

func (in *Header) DeepCopy() *Header

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Header.

func (*Header) DeepCopyInto

func (in *Header) DeepCopyInto(out *Header)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*Header) Descriptor

func (*Header) Descriptor() ([]byte, []int)

func (*Header) Marshal

func (m *Header) Marshal() (dAtA []byte, err error)

func (*Header) MarshalTo

func (m *Header) MarshalTo(dAtA []byte) (int, error)

func (*Header) MarshalToSizedBuffer

func (m *Header) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Header) ProtoMessage

func (*Header) ProtoMessage()

func (*Header) Reset

func (m *Header) Reset()

func (*Header) Size

func (m *Header) Size() (n int)

func (*Header) String

func (this *Header) String() string

func (*Header) Unmarshal

func (m *Header) Unmarshal(dAtA []byte) error

func (*Header) XXX_DiscardUnknown

func (m *Header) XXX_DiscardUnknown()

func (*Header) XXX_Marshal

func (m *Header) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Header) XXX_Merge

func (m *Header) XXX_Merge(src proto.Message)

func (*Header) XXX_Size

func (m *Header) XXX_Size() int

func (*Header) XXX_Unmarshal

func (m *Header) XXX_Unmarshal(b []byte) error

type Histogram

type Histogram struct {
	// Value is the value of the metric
	Value string `json:"value" protobuf:"bytes,3,opt,name=value"`
	// Buckets is a list of bucket divisors for the histogram
	Buckets []Amount `json:"buckets" protobuf:"bytes,4,rep,name=buckets"`
}

Histogram is a Histogram prometheus metric

func (*Histogram) DeepCopy

func (in *Histogram) DeepCopy() *Histogram

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Histogram.

func (*Histogram) DeepCopyInto

func (in *Histogram) DeepCopyInto(out *Histogram)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*Histogram) Descriptor

func (*Histogram) Descriptor() ([]byte, []int)

func (*Histogram) GetBuckets

func (in *Histogram) GetBuckets() []float64

func (*Histogram) Marshal

func (m *Histogram) Marshal() (dAtA []byte, err error)

func (*Histogram) MarshalTo

func (m *Histogram) MarshalTo(dAtA []byte) (int, error)

func (*Histogram) MarshalToSizedBuffer

func (m *Histogram) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Histogram) ProtoMessage

func (*Histogram) ProtoMessage()

func (*Histogram) Reset

func (m *Histogram) Reset()

func (*Histogram) Size

func (m *Histogram) Size() (n int)

func (*Histogram) String

func (this *Histogram) String() string

func (*Histogram) Unmarshal

func (m *Histogram) Unmarshal(dAtA []byte) error

func (*Histogram) XXX_DiscardUnknown

func (m *Histogram) XXX_DiscardUnknown()

func (*Histogram) XXX_Marshal

func (m *Histogram) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Histogram) XXX_Merge

func (m *Histogram) XXX_Merge(src proto.Message)

func (*Histogram) XXX_Size

func (m *Histogram) XXX_Size() int

func (*Histogram) XXX_Unmarshal

func (m *Histogram) XXX_Unmarshal(b []byte) error

type Inputs

type Inputs struct {
	// Parameters are a list of parameters passed as inputs
	// +patchStrategy=merge
	// +patchMergeKey=name
	Parameters []Parameter `json:"parameters,omitempty" patchStrategy:"merge" patchMergeKey:"name" protobuf:"bytes,1,opt,name=parameters"`

	// Artifact are a list of artifacts passed as inputs
	// +patchStrategy=merge
	// +patchMergeKey=name
	Artifacts Artifacts `json:"artifacts,omitempty" patchStrategy:"merge" patchMergeKey:"name" protobuf:"bytes,2,opt,name=artifacts"`
}

Inputs are the mechanism for passing parameters, artifacts, volumes from one template to another

func (*Inputs) DeepCopy

func (in *Inputs) DeepCopy() *Inputs

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Inputs.

func (*Inputs) DeepCopyInto

func (in *Inputs) DeepCopyInto(out *Inputs)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*Inputs) Descriptor

func (*Inputs) Descriptor() ([]byte, []int)

func (*Inputs) GetArtifactByName

func (in *Inputs) GetArtifactByName(name string) *Artifact

GetArtifactByName returns an input artifact by its name

func (*Inputs) GetParameterByName

func (in *Inputs) GetParameterByName(name string) *Parameter

GetParameterByName returns an input parameter by its name

func (*Inputs) HasInputs

func (in *Inputs) HasInputs() bool

HasInputs returns whether or not there are any inputs

func (Inputs) IsEmpty

func (in Inputs) IsEmpty() bool

func (*Inputs) Marshal

func (m *Inputs) Marshal() (dAtA []byte, err error)

func (*Inputs) MarshalTo

func (m *Inputs) MarshalTo(dAtA []byte) (int, error)

func (*Inputs) MarshalToSizedBuffer

func (m *Inputs) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Inputs) ProtoMessage

func (*Inputs) ProtoMessage()

func (*Inputs) Reset

func (m *Inputs) Reset()

func (*Inputs) Size

func (m *Inputs) Size() (n int)

func (*Inputs) String

func (this *Inputs) String() string

func (*Inputs) Unmarshal

func (m *Inputs) Unmarshal(dAtA []byte) error

func (*Inputs) XXX_DiscardUnknown

func (m *Inputs) XXX_DiscardUnknown()

func (*Inputs) XXX_Marshal

func (m *Inputs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Inputs) XXX_Merge

func (m *Inputs) XXX_Merge(src proto.Message)

func (*Inputs) XXX_Size

func (m *Inputs) XXX_Size() int

func (*Inputs) XXX_Unmarshal

func (m *Inputs) XXX_Unmarshal(b []byte) error

type Item

type Item struct {
	Value json.RawMessage `json:"-" protobuf:"bytes,1,opt,name=value,casttype=encoding/json.RawMessage"`
}

Item expands a single workflow step into multiple parallel steps The value of Item can be a map, string, bool, or number

+protobuf.options.(gogoproto.goproto_stringer)=false +kubebuilder:validation:Type=object

func ParseItem

func ParseItem(s string) (Item, error)

func (*Item) DeepCopy

func (in *Item) DeepCopy() *Item

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Item.

func (*Item) DeepCopyInto

func (i *Item) DeepCopyInto(out *Item)

func (*Item) Descriptor

func (*Item) Descriptor() ([]byte, []int)

func (Item) Format

func (i Item) Format(s fmt.State, _ rune)

func (*Item) GetListVal

func (i *Item) GetListVal() []Item

you MUST assert `GetType() == List` before invocation as this does not return errors

func (*Item) GetMapVal

func (i *Item) GetMapVal() map[string]Item

you MUST assert `GetType() == Map` before invocation as this does not return errors

func (*Item) GetStrVal

func (i *Item) GetStrVal() string

you MUST assert `GetType() == String` before invocation as this does not return errors

func (*Item) GetType

func (i *Item) GetType() Type

func (*Item) Marshal

func (m *Item) Marshal() (dAtA []byte, err error)

func (Item) MarshalJSON

func (i Item) MarshalJSON() ([]byte, error)

func (*Item) MarshalTo

func (m *Item) MarshalTo(dAtA []byte) (int, error)

func (*Item) MarshalToSizedBuffer

func (m *Item) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (Item) OpenAPISchemaFormat

func (i Item) OpenAPISchemaFormat() string

func (*Item) ProtoMessage

func (*Item) ProtoMessage()

func (*Item) Reset

func (m *Item) Reset()

func (*Item) Size

func (m *Item) Size() (n int)

func (*Item) String

func (i *Item) String() string

func (*Item) Unmarshal

func (m *Item) Unmarshal(dAtA []byte) error

func (*Item) UnmarshalJSON

func (i *Item) UnmarshalJSON(value []byte) error

func (*Item) XXX_DiscardUnknown

func (m *Item) XXX_DiscardUnknown()

func (*Item) XXX_Marshal

func (m *Item) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Item) XXX_Merge

func (m *Item) XXX_Merge(src proto.Message)

func (*Item) XXX_Size

func (m *Item) XXX_Size() int

func (*Item) XXX_Unmarshal

func (m *Item) XXX_Unmarshal(b []byte) error

type LabelKeys added in v3.3.0

type LabelKeys struct {
	Items []string `json:"items,omitempty" protobuf:"bytes,1,opt,name=items"`
}

LabelKeys is list of keys

func (*LabelKeys) DeepCopy added in v3.3.0

func (in *LabelKeys) DeepCopy() *LabelKeys

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LabelKeys.

func (*LabelKeys) DeepCopyInto added in v3.3.0

func (in *LabelKeys) DeepCopyInto(out *LabelKeys)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*LabelKeys) Descriptor added in v3.3.0

func (*LabelKeys) Descriptor() ([]byte, []int)

func (*LabelKeys) Marshal added in v3.3.0

func (m *LabelKeys) Marshal() (dAtA []byte, err error)

func (*LabelKeys) MarshalTo added in v3.3.0

func (m *LabelKeys) MarshalTo(dAtA []byte) (int, error)

func (*LabelKeys) MarshalToSizedBuffer added in v3.3.0

func (m *LabelKeys) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*LabelKeys) ProtoMessage added in v3.3.0

func (*LabelKeys) ProtoMessage()

func (*LabelKeys) Reset added in v3.3.0

func (m *LabelKeys) Reset()

func (*LabelKeys) Size added in v3.3.0

func (m *LabelKeys) Size() (n int)

func (*LabelKeys) String added in v3.3.0

func (this *LabelKeys) String() string

func (*LabelKeys) Unmarshal added in v3.3.0

func (m *LabelKeys) Unmarshal(dAtA []byte) error

func (*LabelKeys) XXX_DiscardUnknown added in v3.3.0

func (m *LabelKeys) XXX_DiscardUnknown()

func (*LabelKeys) XXX_Marshal added in v3.3.0

func (m *LabelKeys) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*LabelKeys) XXX_Merge added in v3.3.0

func (m *LabelKeys) XXX_Merge(src proto.Message)

func (*LabelKeys) XXX_Size added in v3.3.0

func (m *LabelKeys) XXX_Size() int

func (*LabelKeys) XXX_Unmarshal added in v3.3.0

func (m *LabelKeys) XXX_Unmarshal(b []byte) error

type LabelValueFrom added in v3.3.0

type LabelValueFrom struct {
	Expression string `json:"expression" protobuf:"bytes,1,opt,name=expression"`
}

func (*LabelValueFrom) DeepCopy added in v3.3.0

func (in *LabelValueFrom) DeepCopy() *LabelValueFrom

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LabelValueFrom.

func (*LabelValueFrom) DeepCopyInto added in v3.3.0

func (in *LabelValueFrom) DeepCopyInto(out *LabelValueFrom)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*LabelValueFrom) Descriptor added in v3.3.0

func (*LabelValueFrom) Descriptor() ([]byte, []int)

func (*LabelValueFrom) Marshal added in v3.3.0

func (m *LabelValueFrom) Marshal() (dAtA []byte, err error)

func (*LabelValueFrom) MarshalTo added in v3.3.0

func (m *LabelValueFrom) MarshalTo(dAtA []byte) (int, error)

func (*LabelValueFrom) MarshalToSizedBuffer added in v3.3.0

func (m *LabelValueFrom) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*LabelValueFrom) ProtoMessage added in v3.3.0

func (*LabelValueFrom) ProtoMessage()

func (*LabelValueFrom) Reset added in v3.3.0

func (m *LabelValueFrom) Reset()

func (*LabelValueFrom) Size added in v3.3.0

func (m *LabelValueFrom) Size() (n int)

func (*LabelValueFrom) String added in v3.3.0

func (this *LabelValueFrom) String() string

func (*LabelValueFrom) Unmarshal added in v3.3.0

func (m *LabelValueFrom) Unmarshal(dAtA []byte) error

func (*LabelValueFrom) XXX_DiscardUnknown added in v3.3.0

func (m *LabelValueFrom) XXX_DiscardUnknown()

func (*LabelValueFrom) XXX_Marshal added in v3.3.0

func (m *LabelValueFrom) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*LabelValueFrom) XXX_Merge added in v3.3.0

func (m *LabelValueFrom) XXX_Merge(src proto.Message)

func (*LabelValueFrom) XXX_Size added in v3.3.0

func (m *LabelValueFrom) XXX_Size() int

func (*LabelValueFrom) XXX_Unmarshal added in v3.3.0

func (m *LabelValueFrom) XXX_Unmarshal(b []byte) error

type LabelValues added in v3.3.0

type LabelValues struct {
	Items []string `json:"items,omitempty" protobuf:"bytes,1,opt,name=items"`
}

Labels is list of workflow labels

func (*LabelValues) DeepCopy added in v3.3.0

func (in *LabelValues) DeepCopy() *LabelValues

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LabelValues.

func (*LabelValues) DeepCopyInto added in v3.3.0

func (in *LabelValues) DeepCopyInto(out *LabelValues)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*LabelValues) Descriptor added in v3.3.0

func (*LabelValues) Descriptor() ([]byte, []int)

func (*LabelValues) Marshal added in v3.3.0

func (m *LabelValues) Marshal() (dAtA []byte, err error)

func (*LabelValues) MarshalTo added in v3.3.0

func (m *LabelValues) MarshalTo(dAtA []byte) (int, error)

func (*LabelValues) MarshalToSizedBuffer added in v3.3.0

func (m *LabelValues) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*LabelValues) ProtoMessage added in v3.3.0

func (*LabelValues) ProtoMessage()

func (*LabelValues) Reset added in v3.3.0

func (m *LabelValues) Reset()

func (*LabelValues) Size added in v3.3.0

func (m *LabelValues) Size() (n int)

func (*LabelValues) String added in v3.3.0

func (this *LabelValues) String() string

func (*LabelValues) Unmarshal added in v3.3.0

func (m *LabelValues) Unmarshal(dAtA []byte) error

func (*LabelValues) XXX_DiscardUnknown added in v3.3.0

func (m *LabelValues) XXX_DiscardUnknown()

func (*LabelValues) XXX_Marshal added in v3.3.0

func (m *LabelValues) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*LabelValues) XXX_Merge added in v3.3.0

func (m *LabelValues) XXX_Merge(src proto.Message)

func (*LabelValues) XXX_Size added in v3.3.0

func (m *LabelValues) XXX_Size() int

func (*LabelValues) XXX_Unmarshal added in v3.3.0

func (m *LabelValues) XXX_Unmarshal(b []byte) error

type LifecycleEvent added in v3.1.0

type LifecycleEvent string

type LifecycleHook added in v3.1.0

type LifecycleHook struct {
	// Template is the name of the template to execute by the hook
	Template string `json:"template,omitempty" protobuf:"bytes,1,opt,name=template"`
	// Arguments hold arguments to the template
	Arguments Arguments `json:"arguments,omitempty" protobuf:"bytes,2,opt,name=arguments"`
	// TemplateRef is the reference to the template resource to execute by the hook
	TemplateRef *TemplateRef `json:"templateRef,omitempty" protobuf:"bytes,3,opt,name=templateRef"`
	// Expression is a condition expression for when a node will be retried. If it evaluates to false, the node will not
	// be retried and the retry strategy will be ignored
	Expression string `json:"expression,omitempty" protobuf:"bytes,4,opt,name=expression"`
}

func (*LifecycleHook) DeepCopy added in v3.1.0

func (in *LifecycleHook) DeepCopy() *LifecycleHook

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LifecycleHook.

func (*LifecycleHook) DeepCopyInto added in v3.1.0

func (in *LifecycleHook) DeepCopyInto(out *LifecycleHook)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*LifecycleHook) Descriptor added in v3.1.0

func (*LifecycleHook) Descriptor() ([]byte, []int)

func (*LifecycleHook) Marshal added in v3.1.0

func (m *LifecycleHook) Marshal() (dAtA []byte, err error)

func (*LifecycleHook) MarshalTo added in v3.1.0

func (m *LifecycleHook) MarshalTo(dAtA []byte) (int, error)

func (*LifecycleHook) MarshalToSizedBuffer added in v3.1.0

func (m *LifecycleHook) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*LifecycleHook) ProtoMessage added in v3.1.0

func (*LifecycleHook) ProtoMessage()

func (*LifecycleHook) Reset added in v3.1.0

func (m *LifecycleHook) Reset()

func (*LifecycleHook) Size added in v3.1.0

func (m *LifecycleHook) Size() (n int)

func (*LifecycleHook) String added in v3.1.0

func (this *LifecycleHook) String() string

func (*LifecycleHook) Unmarshal added in v3.1.0

func (m *LifecycleHook) Unmarshal(dAtA []byte) error

func (*LifecycleHook) WithArgs added in v3.1.0

func (lch *LifecycleHook) WithArgs(args Arguments) *LifecycleHook

func (*LifecycleHook) XXX_DiscardUnknown added in v3.1.0

func (m *LifecycleHook) XXX_DiscardUnknown()

func (*LifecycleHook) XXX_Marshal added in v3.1.0

func (m *LifecycleHook) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*LifecycleHook) XXX_Merge added in v3.1.0

func (m *LifecycleHook) XXX_Merge(src proto.Message)

func (*LifecycleHook) XXX_Size added in v3.1.0

func (m *LifecycleHook) XXX_Size() int

func (*LifecycleHook) XXX_Unmarshal added in v3.1.0

func (m *LifecycleHook) XXX_Unmarshal(b []byte) error

type LifecycleHooks added in v3.1.0

type LifecycleHooks map[LifecycleEvent]LifecycleHook

func (LifecycleHooks) DeepCopy added in v3.1.0

func (in LifecycleHooks) DeepCopy() LifecycleHooks

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LifecycleHooks.

func (LifecycleHooks) DeepCopyInto added in v3.1.0

func (in LifecycleHooks) DeepCopyInto(out *LifecycleHooks)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (LifecycleHooks) GetExitHook added in v3.1.0

func (lchs LifecycleHooks) GetExitHook() *LifecycleHook

func (LifecycleHooks) HasExitHook added in v3.3.0

func (lchs LifecycleHooks) HasExitHook() bool
type Link struct {
	// The name of the link, E.g. "Workflow Logs" or "Pod Logs"
	Name string `json:"name" protobuf:"bytes,1,opt,name=name"`
	// "workflow", "pod", "pod-logs", "event-source-logs", "sensor-logs" or "chat"
	Scope string `json:"scope" protobuf:"bytes,2,opt,name=scope"`
	// The URL. Can contain "${metadata.namespace}", "${metadata.name}", "${status.startedAt}", "${status.finishedAt}" or any other element in workflow yaml, e.g. "${workflow.metadata.annotations.userDefinedKey}"
	URL string `json:"url" protobuf:"bytes,3,opt,name=url"`
}

A link to another app. +patchStrategy=merge +patchMergeKey=name

func (*Link) DeepCopy

func (in *Link) DeepCopy() *Link

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Link.

func (*Link) DeepCopyInto

func (in *Link) DeepCopyInto(out *Link)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*Link) Descriptor

func (*Link) Descriptor() ([]byte, []int)

func (*Link) Marshal

func (m *Link) Marshal() (dAtA []byte, err error)

func (*Link) MarshalTo

func (m *Link) MarshalTo(dAtA []byte) (int, error)

func (*Link) MarshalToSizedBuffer

func (m *Link) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Link) ProtoMessage

func (*Link) ProtoMessage()

func (*Link) Reset

func (m *Link) Reset()

func (*Link) Size

func (m *Link) Size() (n int)

func (*Link) String

func (this *Link) String() string

func (*Link) Unmarshal

func (m *Link) Unmarshal(dAtA []byte) error

func (*Link) XXX_DiscardUnknown

func (m *Link) XXX_DiscardUnknown()

func (*Link) XXX_Marshal

func (m *Link) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Link) XXX_Merge

func (m *Link) XXX_Merge(src proto.Message)

func (*Link) XXX_Size

func (m *Link) XXX_Size() int

func (*Link) XXX_Unmarshal

func (m *Link) XXX_Unmarshal(b []byte) error

type ManifestFrom added in v3.4.0

type ManifestFrom struct {
	// Artifact contains the artifact to use
	Artifact *Artifact `json:"artifact" protobuf:"bytes,1,opt,name=artifact"`
}

func (*ManifestFrom) DeepCopy added in v3.4.0

func (in *ManifestFrom) DeepCopy() *ManifestFrom

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManifestFrom.

func (*ManifestFrom) DeepCopyInto added in v3.4.0

func (in *ManifestFrom) DeepCopyInto(out *ManifestFrom)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ManifestFrom) Descriptor added in v3.4.0

func (*ManifestFrom) Descriptor() ([]byte, []int)

func (*ManifestFrom) Marshal added in v3.4.0

func (m *ManifestFrom) Marshal() (dAtA []byte, err error)

func (*ManifestFrom) MarshalTo added in v3.4.0

func (m *ManifestFrom) MarshalTo(dAtA []byte) (int, error)

func (*ManifestFrom) MarshalToSizedBuffer added in v3.4.0

func (m *ManifestFrom) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ManifestFrom) ProtoMessage added in v3.4.0

func (*ManifestFrom) ProtoMessage()

func (*ManifestFrom) Reset added in v3.4.0

func (m *ManifestFrom) Reset()

func (*ManifestFrom) Size added in v3.4.0

func (m *ManifestFrom) Size() (n int)

func (*ManifestFrom) String added in v3.4.0

func (this *ManifestFrom) String() string

func (*ManifestFrom) Unmarshal added in v3.4.0

func (m *ManifestFrom) Unmarshal(dAtA []byte) error

func (*ManifestFrom) XXX_DiscardUnknown added in v3.4.0

func (m *ManifestFrom) XXX_DiscardUnknown()

func (*ManifestFrom) XXX_Marshal added in v3.4.0

func (m *ManifestFrom) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ManifestFrom) XXX_Merge added in v3.4.0

func (m *ManifestFrom) XXX_Merge(src proto.Message)

func (*ManifestFrom) XXX_Size added in v3.4.0

func (m *ManifestFrom) XXX_Size() int

func (*ManifestFrom) XXX_Unmarshal added in v3.4.0

func (m *ManifestFrom) XXX_Unmarshal(b []byte) error

type MemoizationStatus

type MemoizationStatus struct {
	// Hit indicates whether this node was created from a cache entry
	Hit bool `json:"hit" protobuf:"bytes,1,opt,name=hit"`
	// Key is the name of the key used for this node's cache
	Key string `json:"key" protobuf:"bytes,2,opt,name=key"`
	// Cache is the name of the cache that was used
	CacheName string `json:"cacheName" protobuf:"bytes,3,opt,name=cacheName"`
}

MemoizationStatus is the status of this memoized node

func (*MemoizationStatus) DeepCopy

func (in *MemoizationStatus) DeepCopy() *MemoizationStatus

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MemoizationStatus.

func (*MemoizationStatus) DeepCopyInto

func (in *MemoizationStatus) DeepCopyInto(out *MemoizationStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*MemoizationStatus) Descriptor

func (*MemoizationStatus) Descriptor() ([]byte, []int)

func (*MemoizationStatus) Marshal

func (m *MemoizationStatus) Marshal() (dAtA []byte, err error)

func (*MemoizationStatus) MarshalTo

func (m *MemoizationStatus) MarshalTo(dAtA []byte) (int, error)

func (*MemoizationStatus) MarshalToSizedBuffer

func (m *MemoizationStatus) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MemoizationStatus) ProtoMessage

func (*MemoizationStatus) ProtoMessage()

func (*MemoizationStatus) Reset

func (m *MemoizationStatus) Reset()

func (*MemoizationStatus) Size

func (m *MemoizationStatus) Size() (n int)

func (*MemoizationStatus) String

func (this *MemoizationStatus) String() string

func (*MemoizationStatus) Unmarshal

func (m *MemoizationStatus) Unmarshal(dAtA []byte) error

func (*MemoizationStatus) XXX_DiscardUnknown

func (m *MemoizationStatus) XXX_DiscardUnknown()

func (*MemoizationStatus) XXX_Marshal

func (m *MemoizationStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MemoizationStatus) XXX_Merge

func (m *MemoizationStatus) XXX_Merge(src proto.Message)

func (*MemoizationStatus) XXX_Size

func (m *MemoizationStatus) XXX_Size() int

func (*MemoizationStatus) XXX_Unmarshal

func (m *MemoizationStatus) XXX_Unmarshal(b []byte) error

type Memoize

type Memoize struct {
	// Key is the key to use as the caching key
	Key string `json:"key" protobuf:"bytes,1,opt,name=key"`
	// Cache sets and configures the kind of cache
	Cache *Cache `json:"cache" protobuf:"bytes,2,opt,name=cache"`
	// MaxAge is the maximum age (e.g. "180s", "24h") of an entry that is still considered valid. If an entry is older
	// than the MaxAge, it will be ignored.
	MaxAge string `json:"maxAge" protobuf:"bytes,3,opt,name=maxAge"`
}

Memoization enables caching for the Outputs of the template

func (*Memoize) DeepCopy

func (in *Memoize) DeepCopy() *Memoize

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Memoize.

func (*Memoize) DeepCopyInto

func (in *Memoize) DeepCopyInto(out *Memoize)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*Memoize) Descriptor

func (*Memoize) Descriptor() ([]byte, []int)

func (*Memoize) Marshal

func (m *Memoize) Marshal() (dAtA []byte, err error)

func (*Memoize) MarshalTo

func (m *Memoize) MarshalTo(dAtA []byte) (int, error)

func (*Memoize) MarshalToSizedBuffer

func (m *Memoize) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Memoize) ProtoMessage

func (*Memoize) ProtoMessage()

func (*Memoize) Reset

func (m *Memoize) Reset()

func (*Memoize) Size

func (m *Memoize) Size() (n int)

func (*Memoize) String

func (this *Memoize) String() string

func (*Memoize) Unmarshal

func (m *Memoize) Unmarshal(dAtA []byte) error

func (*Memoize) XXX_DiscardUnknown

func (m *Memoize) XXX_DiscardUnknown()

func (*Memoize) XXX_Marshal

func (m *Memoize) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Memoize) XXX_Merge

func (m *Memoize) XXX_Merge(src proto.Message)

func (*Memoize) XXX_Size

func (m *Memoize) XXX_Size() int

func (*Memoize) XXX_Unmarshal

func (m *Memoize) XXX_Unmarshal(b []byte) error

type Metadata

type Metadata struct {
	Annotations map[string]string `json:"annotations,omitempty" protobuf:"bytes,1,opt,name=annotations"`
	Labels      map[string]string `json:"labels,omitempty" protobuf:"bytes,2,opt,name=labels"`
}

Pod metdata

func (*Metadata) DeepCopy

func (in *Metadata) DeepCopy() *Metadata

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Metadata.

func (*Metadata) DeepCopyInto

func (in *Metadata) DeepCopyInto(out *Metadata)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*Metadata) Descriptor

func (*Metadata) Descriptor() ([]byte, []int)

func (*Metadata) Marshal

func (m *Metadata) Marshal() (dAtA []byte, err error)

func (*Metadata) MarshalTo

func (m *Metadata) MarshalTo(dAtA []byte) (int, error)

func (*Metadata) MarshalToSizedBuffer

func (m *Metadata) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Metadata) ProtoMessage

func (*Metadata) ProtoMessage()

func (*Metadata) Reset

func (m *Metadata) Reset()

func (*Metadata) Size

func (m *Metadata) Size() (n int)

func (*Metadata) String

func (this *Metadata) String() string

func (*Metadata) Unmarshal

func (m *Metadata) Unmarshal(dAtA []byte) error

func (*Metadata) XXX_DiscardUnknown

func (m *Metadata) XXX_DiscardUnknown()

func (*Metadata) XXX_Marshal

func (m *Metadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Metadata) XXX_Merge

func (m *Metadata) XXX_Merge(src proto.Message)

func (*Metadata) XXX_Size

func (m *Metadata) XXX_Size() int

func (*Metadata) XXX_Unmarshal

func (m *Metadata) XXX_Unmarshal(b []byte) error

type MetricLabel

type MetricLabel struct {
	Key   string `json:"key" protobuf:"bytes,1,opt,name=key"`
	Value string `json:"value" protobuf:"bytes,2,opt,name=value"`
}

MetricLabel is a single label for a prometheus metric

func (*MetricLabel) DeepCopy

func (in *MetricLabel) DeepCopy() *MetricLabel

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MetricLabel.

func (*MetricLabel) DeepCopyInto

func (in *MetricLabel) DeepCopyInto(out *MetricLabel)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*MetricLabel) Descriptor

func (*MetricLabel) Descriptor() ([]byte, []int)

func (*MetricLabel) Marshal

func (m *MetricLabel) Marshal() (dAtA []byte, err error)

func (*MetricLabel) MarshalTo

func (m *MetricLabel) MarshalTo(dAtA []byte) (int, error)

func (*MetricLabel) MarshalToSizedBuffer

func (m *MetricLabel) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MetricLabel) ProtoMessage

func (*MetricLabel) ProtoMessage()

func (*MetricLabel) Reset

func (m *MetricLabel) Reset()

func (*MetricLabel) Size

func (m *MetricLabel) Size() (n int)

func (*MetricLabel) String

func (this *MetricLabel) String() string

func (*MetricLabel) Unmarshal

func (m *MetricLabel) Unmarshal(dAtA []byte) error

func (*MetricLabel) XXX_DiscardUnknown

func (m *MetricLabel) XXX_DiscardUnknown()

func (*MetricLabel) XXX_Marshal

func (m *MetricLabel) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MetricLabel) XXX_Merge

func (m *MetricLabel) XXX_Merge(src proto.Message)

func (*MetricLabel) XXX_Size

func (m *MetricLabel) XXX_Size() int

func (*MetricLabel) XXX_Unmarshal

func (m *MetricLabel) XXX_Unmarshal(b []byte) error

type MetricType

type MetricType string
const (
	MetricTypeGauge     MetricType = "Gauge"
	MetricTypeHistogram MetricType = "Histogram"
	MetricTypeCounter   MetricType = "Counter"
	MetricTypeUnknown   MetricType = "Unknown"
)

type Metrics

type Metrics struct {
	// Prometheus is a list of prometheus metrics to be emitted
	Prometheus []*Prometheus `json:"prometheus" protobuf:"bytes,1,rep,name=prometheus"`
}

Metrics are a list of metrics emitted from a Workflow/Template

func (*Metrics) DeepCopy

func (in *Metrics) DeepCopy() *Metrics

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Metrics.

func (*Metrics) DeepCopyInto

func (in *Metrics) DeepCopyInto(out *Metrics)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*Metrics) Descriptor

func (*Metrics) Descriptor() ([]byte, []int)

func (*Metrics) Marshal

func (m *Metrics) Marshal() (dAtA []byte, err error)

func (*Metrics) MarshalTo

func (m *Metrics) MarshalTo(dAtA []byte) (int, error)

func (*Metrics) MarshalToSizedBuffer

func (m *Metrics) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Metrics) ProtoMessage

func (*Metrics) ProtoMessage()

func (*Metrics) Reset

func (m *Metrics) Reset()

func (*Metrics) Size

func (m *Metrics) Size() (n int)

func (*Metrics) String

func (this *Metrics) String() string

func (*Metrics) Unmarshal

func (m *Metrics) Unmarshal(dAtA []byte) error

func (*Metrics) XXX_DiscardUnknown

func (m *Metrics) XXX_DiscardUnknown()

func (*Metrics) XXX_Marshal

func (m *Metrics) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Metrics) XXX_Merge

func (m *Metrics) XXX_Merge(src proto.Message)

func (*Metrics) XXX_Size

func (m *Metrics) XXX_Size() int

func (*Metrics) XXX_Unmarshal

func (m *Metrics) XXX_Unmarshal(b []byte) error

type Mutex

type Mutex struct {
	// name of the mutex
	Name string `json:"name,omitempty" protobuf:"bytes,1,opt,name=name"`
}

Mutex holds Mutex configuration

func (*Mutex) DeepCopy

func (in *Mutex) DeepCopy() *Mutex

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Mutex.

func (*Mutex) DeepCopyInto

func (in *Mutex) DeepCopyInto(out *Mutex)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*Mutex) Descriptor

func (*Mutex) Descriptor() ([]byte, []int)

func (*Mutex) Marshal

func (m *Mutex) Marshal() (dAtA []byte, err error)

func (*Mutex) MarshalTo

func (m *Mutex) MarshalTo(dAtA []byte) (int, error)

func (*Mutex) MarshalToSizedBuffer

func (m *Mutex) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Mutex) ProtoMessage

func (*Mutex) ProtoMessage()

func (*Mutex) Reset

func (m *Mutex) Reset()

func (*Mutex) Size

func (m *Mutex) Size() (n int)

func (*Mutex) String

func (this *Mutex) String() string

func (*Mutex) Unmarshal

func (m *Mutex) Unmarshal(dAtA []byte) error

func (*Mutex) XXX_DiscardUnknown

func (m *Mutex) XXX_DiscardUnknown()

func (*Mutex) XXX_Marshal

func (m *Mutex) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Mutex) XXX_Merge

func (m *Mutex) XXX_Merge(src proto.Message)

func (*Mutex) XXX_Size

func (m *Mutex) XXX_Size() int

func (*Mutex) XXX_Unmarshal

func (m *Mutex) XXX_Unmarshal(b []byte) error

type MutexHolding

type MutexHolding struct {
	// Reference for the mutex
	// e.g: ${namespace}/mutex/${mutexName}
	Mutex string `json:"mutex,omitempty" protobuf:"bytes,1,opt,name=mutex"`
	// Holder is a reference to the object which holds the Mutex.
	// Holding Scenario:
	//   1. Current workflow's NodeID which is holding the lock.
	//      e.g: ${NodeID}
	// Waiting Scenario:
	//   1. Current workflow or other workflow NodeID which is holding the lock.
	//      e.g: ${WorkflowName}/${NodeID}
	Holder string `json:"holder,omitempty" protobuf:"bytes,2,opt,name=holder"`
}

MutexHolding describes the mutex and the object which is holding it.

func (*MutexHolding) DeepCopy

func (in *MutexHolding) DeepCopy() *MutexHolding

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MutexHolding.

func (*MutexHolding) DeepCopyInto

func (in *MutexHolding) DeepCopyInto(out *MutexHolding)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*MutexHolding) Descriptor

func (*MutexHolding) Descriptor() ([]byte, []int)

func (*MutexHolding) Marshal

func (m *MutexHolding) Marshal() (dAtA []byte, err error)

func (*MutexHolding) MarshalTo

func (m *MutexHolding) MarshalTo(dAtA []byte) (int, error)

func (*MutexHolding) MarshalToSizedBuffer

func (m *MutexHolding) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MutexHolding) ProtoMessage

func (*MutexHolding) ProtoMessage()

func (*MutexHolding) Reset

func (m *MutexHolding) Reset()

func (*MutexHolding) Size

func (m *MutexHolding) Size() (n int)

func (*MutexHolding) String

func (this *MutexHolding) String() string

func (*MutexHolding) Unmarshal

func (m *MutexHolding) Unmarshal(dAtA []byte) error

func (*MutexHolding) XXX_DiscardUnknown

func (m *MutexHolding) XXX_DiscardUnknown()

func (*MutexHolding) XXX_Marshal

func (m *MutexHolding) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MutexHolding) XXX_Merge

func (m *MutexHolding) XXX_Merge(src proto.Message)

func (*MutexHolding) XXX_Size

func (m *MutexHolding) XXX_Size() int

func (*MutexHolding) XXX_Unmarshal

func (m *MutexHolding) XXX_Unmarshal(b []byte) error

type MutexStatus

type MutexStatus struct {
	// Holding is a list of mutexes and their respective objects that are held by mutex lock for this workflow.
	// +listType=atomic
	Holding []MutexHolding `json:"holding,omitempty" protobuf:"bytes,1,opt,name=holding"`
	// Waiting is a list of mutexes and their respective objects this workflow is waiting for.
	// +listType=atomic
	Waiting []MutexHolding `json:"waiting,omitempty" protobuf:"bytes,2,opt,name=waiting"`
}

MutexStatus contains which objects hold mutex locks, and which objects this workflow is waiting on to release locks.

func (*MutexStatus) DeepCopy

func (in *MutexStatus) DeepCopy() *MutexStatus

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MutexStatus.

func (*MutexStatus) DeepCopyInto

func (in *MutexStatus) DeepCopyInto(out *MutexStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*MutexStatus) Descriptor

func (*MutexStatus) Descriptor() ([]byte, []int)

func (*MutexStatus) GetHolding

func (ms *MutexStatus) GetHolding(mutexName string) (int, MutexHolding)

func (*MutexStatus) GetWaiting

func (ms *MutexStatus) GetWaiting(mutexName string) (int, MutexHolding)

func (*MutexStatus) LockAcquired

func (ms *MutexStatus) LockAcquired(holderKey, lockKey string, currentHolders []string) bool

func (*MutexStatus) LockReleased

func (ms *MutexStatus) LockReleased(holderKey, lockKey string) bool

func (*MutexStatus) LockWaiting

func (ms *MutexStatus) LockWaiting(holderKey, lockKey string, currentHolders []string) bool

func (*MutexStatus) Marshal

func (m *MutexStatus) Marshal() (dAtA []byte, err error)

func (*MutexStatus) MarshalTo

func (m *MutexStatus) MarshalTo(dAtA []byte) (int, error)

func (*MutexStatus) MarshalToSizedBuffer

func (m *MutexStatus) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MutexStatus) ProtoMessage

func (*MutexStatus) ProtoMessage()

func (*MutexStatus) Reset

func (m *MutexStatus) Reset()

func (*MutexStatus) Size

func (m *MutexStatus) Size() (n int)

func (*MutexStatus) String

func (this *MutexStatus) String() string

func (*MutexStatus) Unmarshal

func (m *MutexStatus) Unmarshal(dAtA []byte) error

func (*MutexStatus) XXX_DiscardUnknown

func (m *MutexStatus) XXX_DiscardUnknown()

func (*MutexStatus) XXX_Marshal

func (m *MutexStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MutexStatus) XXX_Merge

func (m *MutexStatus) XXX_Merge(src proto.Message)

func (*MutexStatus) XXX_Size

func (m *MutexStatus) XXX_Size() int

func (*MutexStatus) XXX_Unmarshal

func (m *MutexStatus) XXX_Unmarshal(b []byte) error

type NodePhase

type NodePhase string

NodePhase is a label for the condition of a node at the current time.

const (
	// Node is waiting to run
	NodePending NodePhase = "Pending"
	// Node is running
	NodeRunning NodePhase = "Running"
	// Node finished with no errors
	NodeSucceeded NodePhase = "Succeeded"
	// Node was skipped
	NodeSkipped NodePhase = "Skipped"
	// Node or child of node exited with non-0 code
	NodeFailed NodePhase = "Failed"
	// Node had an error other than a non 0 exit code
	NodeError NodePhase = "Error"
	// Node was omitted because its `depends` condition was not met (only relevant in DAGs)
	NodeOmitted NodePhase = "Omitted"
)

Workflow and node statuses

func (NodePhase) Completed

func (phase NodePhase) Completed() bool

Completed returns whether or not a phase completed. Notably, a skipped phase is not considered as having completed

func (NodePhase) FailedOrError

func (phase NodePhase) FailedOrError() bool

func (NodePhase) Fulfilled

func (phase NodePhase) Fulfilled() bool

Fulfilled returns whether a phase is fulfilled, i.e. it completed execution or was skipped or omitted

type NodeResult added in v3.2.0

type NodeResult struct {
	Phase    NodePhase `json:"phase,omitempty" protobuf:"bytes,1,opt,name=phase,casttype=NodePhase"`
	Message  string    `json:"message,omitempty" protobuf:"bytes,2,opt,name=message"`
	Outputs  *Outputs  `json:"outputs,omitempty" protobuf:"bytes,3,opt,name=outputs"`
	Progress Progress  `json:"progress,omitempty" protobuf:"bytes,4,opt,name=progress,casttype=Progress"`
}

func (*NodeResult) DeepCopy added in v3.2.0

func (in *NodeResult) DeepCopy() *NodeResult

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodeResult.

func (*NodeResult) DeepCopyInto added in v3.2.0

func (in *NodeResult) DeepCopyInto(out *NodeResult)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*NodeResult) Descriptor added in v3.2.0

func (*NodeResult) Descriptor() ([]byte, []int)

func (NodeResult) Fulfilled added in v3.2.0

func (in NodeResult) Fulfilled() bool

func (*NodeResult) Marshal added in v3.2.0

func (m *NodeResult) Marshal() (dAtA []byte, err error)

func (*NodeResult) MarshalTo added in v3.2.0

func (m *NodeResult) MarshalTo(dAtA []byte) (int, error)

func (*NodeResult) MarshalToSizedBuffer added in v3.2.0

func (m *NodeResult) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*NodeResult) ProtoMessage added in v3.2.0

func (*NodeResult) ProtoMessage()

func (*NodeResult) Reset added in v3.2.0

func (m *NodeResult) Reset()

func (*NodeResult) Size added in v3.2.0

func (m *NodeResult) Size() (n int)

func (*NodeResult) String added in v3.2.0

func (this *NodeResult) String() string

func (*NodeResult) Unmarshal added in v3.2.0

func (m *NodeResult) Unmarshal(dAtA []byte) error

func (*NodeResult) XXX_DiscardUnknown added in v3.2.0

func (m *NodeResult) XXX_DiscardUnknown()

func (*NodeResult) XXX_Marshal added in v3.2.0

func (m *NodeResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*NodeResult) XXX_Merge added in v3.2.0

func (m *NodeResult) XXX_Merge(src proto.Message)

func (*NodeResult) XXX_Size added in v3.2.0

func (m *NodeResult) XXX_Size() int

func (*NodeResult) XXX_Unmarshal added in v3.2.0

func (m *NodeResult) XXX_Unmarshal(b []byte) error

type NodeStatus

type NodeStatus struct {
	// ID is a unique identifier of a node within the worklow
	// It is implemented as a hash of the node name, which makes the ID deterministic
	ID string `json:"id" protobuf:"bytes,1,opt,name=id"`

	// Name is unique name in the node tree used to generate the node ID
	Name string `json:"name" protobuf:"bytes,2,opt,name=name"`

	// DisplayName is a human readable representation of the node. Unique within a template boundary
	DisplayName string `json:"displayName,omitempty" protobuf:"bytes,3,opt,name=displayName"`

	// Type indicates type of node
	Type NodeType `json:"type" protobuf:"bytes,4,opt,name=type,casttype=NodeType"`

	// TemplateName is the template name which this node corresponds to.
	// Not applicable to virtual nodes (e.g. Retry, StepGroup)
	TemplateName string `json:"templateName,omitempty" protobuf:"bytes,5,opt,name=templateName"`

	// TemplateRef is the reference to the template resource which this node corresponds to.
	// Not applicable to virtual nodes (e.g. Retry, StepGroup)
	TemplateRef *TemplateRef `json:"templateRef,omitempty" protobuf:"bytes,6,opt,name=templateRef"`

	// TemplateScope is the template scope in which the template of this node was retrieved.
	TemplateScope string `json:"templateScope,omitempty" protobuf:"bytes,20,opt,name=templateScope"`

	// Phase a simple, high-level summary of where the node is in its lifecycle.
	// Can be used as a state machine.
	Phase NodePhase `json:"phase,omitempty" protobuf:"bytes,7,opt,name=phase,casttype=NodePhase"`

	// BoundaryID indicates the node ID of the associated template root node in which this node belongs to
	BoundaryID string `json:"boundaryID,omitempty" protobuf:"bytes,8,opt,name=boundaryID"`

	// A human readable message indicating details about why the node is in this condition.
	Message string `json:"message,omitempty" protobuf:"bytes,9,opt,name=message"`

	// Time at which this node started
	StartedAt metav1.Time `json:"startedAt,omitempty" protobuf:"bytes,10,opt,name=startedAt"`

	// Time at which this node completed
	FinishedAt metav1.Time `json:"finishedAt,omitempty" protobuf:"bytes,11,opt,name=finishedAt"`

	// EstimatedDuration in seconds.
	EstimatedDuration EstimatedDuration `json:"estimatedDuration,omitempty" protobuf:"varint,24,opt,name=estimatedDuration,casttype=EstimatedDuration"`

	// Progress to completion
	Progress Progress `json:"progress,omitempty" protobuf:"bytes,26,opt,name=progress,casttype=Progress"`

	// ResourcesDuration is indicative, but not accurate, resource duration. This is populated when the nodes completes.
	ResourcesDuration ResourcesDuration `json:"resourcesDuration,omitempty" protobuf:"bytes,21,opt,name=resourcesDuration"`

	// PodIP captures the IP of the pod for daemoned steps
	PodIP string `json:"podIP,omitempty" protobuf:"bytes,12,opt,name=podIP"`

	// Daemoned tracks whether or not this node was daemoned and need to be terminated
	Daemoned *bool `json:"daemoned,omitempty" protobuf:"varint,13,opt,name=daemoned"`

	// Inputs captures input parameter values and artifact locations supplied to this template invocation
	Inputs *Inputs `json:"inputs,omitempty" protobuf:"bytes,14,opt,name=inputs"`

	// Outputs captures output parameter values and artifact locations produced by this template invocation
	Outputs *Outputs `json:"outputs,omitempty" protobuf:"bytes,15,opt,name=outputs"`

	// Children is a list of child node IDs
	Children []string `json:"children,omitempty" protobuf:"bytes,16,rep,name=children"`

	// OutboundNodes tracks the node IDs which are considered "outbound" nodes to a template invocation.
	// For every invocation of a template, there are nodes which we considered as "outbound". Essentially,
	// these are last nodes in the execution sequence to run, before the template is considered completed.
	// These nodes are then connected as parents to a following step.
	//
	// In the case of single pod steps (i.e. container, script, resource templates), this list will be nil
	// since the pod itself is already considered the "outbound" node.
	// In the case of DAGs, outbound nodes are the "target" tasks (tasks with no children).
	// In the case of steps, outbound nodes are all the containers involved in the last step group.
	// NOTE: since templates are composable, the list of outbound nodes are carried upwards when
	// a DAG/steps template invokes another DAG/steps template. In other words, the outbound nodes of
	// a template, will be a superset of the outbound nodes of its last children.
	OutboundNodes []string `json:"outboundNodes,omitempty" protobuf:"bytes,17,rep,name=outboundNodes"`

	// HostNodeName name of the Kubernetes node on which the Pod is running, if applicable
	HostNodeName string `json:"hostNodeName,omitempty" protobuf:"bytes,22,rep,name=hostNodeName"`

	// MemoizationStatus holds information about cached nodes
	MemoizationStatus *MemoizationStatus `json:"memoizationStatus,omitempty" protobuf:"varint,23,opt,name=memoizationStatus"`

	// SynchronizationStatus is the synchronization status of the node
	SynchronizationStatus *NodeSynchronizationStatus `json:"synchronizationStatus,omitempty" protobuf:"bytes,25,opt,name=synchronizationStatus"`
}

NodeStatus contains status information about an individual node in the workflow

func (NodeStatus) CanRetry

func (n NodeStatus) CanRetry() bool

CanRetry returns whether the node should be retried or not.

func (NodeStatus) Completed

func (n NodeStatus) Completed() bool

Completed returns whether a node completed. Notably, a skipped node is not considered as having completed

func (*NodeStatus) DeepCopy

func (in *NodeStatus) DeepCopy() *NodeStatus

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodeStatus.

func (*NodeStatus) DeepCopyInto

func (in *NodeStatus) DeepCopyInto(out *NodeStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*NodeStatus) Descriptor

func (*NodeStatus) Descriptor() ([]byte, []int)

func (NodeStatus) FailedOrError

func (n NodeStatus) FailedOrError() bool

func (NodeStatus) FinishTime

func (n NodeStatus) FinishTime() *metav1.Time

func (NodeStatus) Fulfilled

func (n NodeStatus) Fulfilled() bool

Fulfilled returns whether a node is fulfilled, i.e. it finished execution, was skipped, or was dameoned successfully

func (NodeStatus) GetDuration

func (n NodeStatus) GetDuration() time.Duration

func (*NodeStatus) GetName added in v3.4.0

func (n *NodeStatus) GetName() string

func (*NodeStatus) GetOutputs added in v3.4.0

func (n *NodeStatus) GetOutputs() *Outputs

func (*NodeStatus) GetTemplate added in v3.2.0

func (n *NodeStatus) GetTemplate() *Template

func (*NodeStatus) GetTemplateName

func (n *NodeStatus) GetTemplateName() string

func (*NodeStatus) GetTemplateRef

func (n *NodeStatus) GetTemplateRef() *TemplateRef

func (NodeStatus) GetTemplateScope

func (n NodeStatus) GetTemplateScope() (ResourceScope, string)

func (NodeStatus) HasChild

func (n NodeStatus) HasChild(childID string) bool

func (*NodeStatus) IsActiveSuspendNode

func (n *NodeStatus) IsActiveSuspendNode() bool

IsActiveSuspendNode returns whether this node is an active suspend node

func (*NodeStatus) IsDAGTask added in v3.4.0

func (n *NodeStatus) IsDAGTask() bool

func (NodeStatus) IsDaemoned

func (n NodeStatus) IsDaemoned() bool

IsDaemoned returns whether or not the node is deamoned

func (NodeStatus) IsExitNode added in v3.3.1

func (ws NodeStatus) IsExitNode() bool

IsExitNode returns whether or not node run as exit handler.

func (*NodeStatus) IsWorkflowStep added in v3.4.0

func (n *NodeStatus) IsWorkflowStep() bool

func (*NodeStatus) Marshal

func (m *NodeStatus) Marshal() (dAtA []byte, err error)

func (*NodeStatus) MarshalTo

func (m *NodeStatus) MarshalTo(dAtA []byte) (int, error)

func (*NodeStatus) MarshalToSizedBuffer

func (m *NodeStatus) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (NodeStatus) Omitted

func (n NodeStatus) Omitted() bool

func (NodeStatus) Pending

func (n NodeStatus) Pending() bool

Pending returns whether or not the node is in pending state

func (*NodeStatus) ProtoMessage

func (*NodeStatus) ProtoMessage()

func (*NodeStatus) Reset

func (m *NodeStatus) Reset()

func (*NodeStatus) Size

func (m *NodeStatus) Size() (n int)

func (NodeStatus) StartTime

func (n NodeStatus) StartTime() *metav1.Time

func (*NodeStatus) String

func (this *NodeStatus) String() string

func (NodeStatus) Succeeded

func (n NodeStatus) Succeeded() bool

func (*NodeStatus) Unmarshal

func (m *NodeStatus) Unmarshal(dAtA []byte) error

func (*NodeStatus) XXX_DiscardUnknown

func (m *NodeStatus) XXX_DiscardUnknown()

func (*NodeStatus) XXX_Marshal

func (m *NodeStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*NodeStatus) XXX_Merge

func (m *NodeStatus) XXX_Merge(src proto.Message)

func (*NodeStatus) XXX_Size

func (m *NodeStatus) XXX_Size() int

func (*NodeStatus) XXX_Unmarshal

func (m *NodeStatus) XXX_Unmarshal(b []byte) error

type NodeSynchronizationStatus

type NodeSynchronizationStatus struct {
	// Waiting is the name of the lock that this node is waiting for
	Waiting string `json:"waiting,omitempty" protobuf:"bytes,1,opt,name=waiting"`
}

NodeSynchronizationStatus stores the status of a node

func (*NodeSynchronizationStatus) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodeSynchronizationStatus.

func (*NodeSynchronizationStatus) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*NodeSynchronizationStatus) Descriptor

func (*NodeSynchronizationStatus) Descriptor() ([]byte, []int)

func (*NodeSynchronizationStatus) Marshal

func (m *NodeSynchronizationStatus) Marshal() (dAtA []byte, err error)

func (*NodeSynchronizationStatus) MarshalTo

func (m *NodeSynchronizationStatus) MarshalTo(dAtA []byte) (int, error)

func (*NodeSynchronizationStatus) MarshalToSizedBuffer

func (m *NodeSynchronizationStatus) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*NodeSynchronizationStatus) ProtoMessage

func (*NodeSynchronizationStatus) ProtoMessage()

func (*NodeSynchronizationStatus) Reset

func (m *NodeSynchronizationStatus) Reset()

func (*NodeSynchronizationStatus) Size

func (m *NodeSynchronizationStatus) Size() (n int)

func (*NodeSynchronizationStatus) String

func (this *NodeSynchronizationStatus) String() string

func (*NodeSynchronizationStatus) Unmarshal

func (m *NodeSynchronizationStatus) Unmarshal(dAtA []byte) error

func (*NodeSynchronizationStatus) XXX_DiscardUnknown

func (m *NodeSynchronizationStatus) XXX_DiscardUnknown()

func (*NodeSynchronizationStatus) XXX_Marshal

func (m *NodeSynchronizationStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*NodeSynchronizationStatus) XXX_Merge

func (m *NodeSynchronizationStatus) XXX_Merge(src proto.Message)

func (*NodeSynchronizationStatus) XXX_Size

func (m *NodeSynchronizationStatus) XXX_Size() int

func (*NodeSynchronizationStatus) XXX_Unmarshal

func (m *NodeSynchronizationStatus) XXX_Unmarshal(b []byte) error

type NodeType

type NodeType string

NodeType is the type of a node

const (
	NodeTypePod       NodeType = "Pod"
	NodeTypeContainer NodeType = "Container"
	NodeTypeSteps     NodeType = "Steps"
	NodeTypeStepGroup NodeType = "StepGroup"
	NodeTypeDAG       NodeType = "DAG"
	NodeTypeTaskGroup NodeType = "TaskGroup"
	NodeTypeRetry     NodeType = "Retry"
	NodeTypeSkipped   NodeType = "Skipped"
	NodeTypeSuspend   NodeType = "Suspend"
	NodeTypeHTTP      NodeType = "HTTP"
	NodeTypePlugin    NodeType = "Plugin"
)

Node types

type Nodes

type Nodes map[string]NodeStatus

func (Nodes) Any

func (in Nodes) Any(f func(NodeStatus) bool) bool

func (Nodes) Children

func (s Nodes) Children(parentNodeId string) Nodes

Children returns the children of the parent.

func (Nodes) DeepCopy

func (in Nodes) DeepCopy() Nodes

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Nodes.

func (Nodes) DeepCopyInto

func (in Nodes) DeepCopyInto(out *Nodes)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (Nodes) Filter

func (s Nodes) Filter(predicate func(NodeStatus) bool) Nodes

Filter returns the subset of the nodes that match the predicate, e.g. only failed nodes

func (Nodes) Find

func (n Nodes) Find(f func(NodeStatus) bool) *NodeStatus

func (Nodes) FindByDisplayName

func (n Nodes) FindByDisplayName(name string) *NodeStatus

func (Nodes) FindByName added in v3.4.0

func (n Nodes) FindByName(name string) *NodeStatus

func (Nodes) Map

func (s Nodes) Map(f func(x NodeStatus) interface{}) map[string]interface{}

Map maps the nodes to new values, e.g. `x.Hostname`

type NoneStrategy

type NoneStrategy struct{}

NoneStrategy indicates to skip tar process and upload the files or directory tree as independent files. Note that if the artifact is a directory, the artifact driver must support the ability to save/load the directory appropriately.

func (*NoneStrategy) DeepCopy

func (in *NoneStrategy) DeepCopy() *NoneStrategy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NoneStrategy.

func (*NoneStrategy) DeepCopyInto

func (in *NoneStrategy) DeepCopyInto(out *NoneStrategy)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*NoneStrategy) Descriptor

func (*NoneStrategy) Descriptor() ([]byte, []int)

func (*NoneStrategy) Marshal

func (m *NoneStrategy) Marshal() (dAtA []byte, err error)

func (*NoneStrategy) MarshalTo

func (m *NoneStrategy) MarshalTo(dAtA []byte) (int, error)

func (*NoneStrategy) MarshalToSizedBuffer

func (m *NoneStrategy) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*NoneStrategy) ProtoMessage

func (*NoneStrategy) ProtoMessage()

func (*NoneStrategy) Reset

func (m *NoneStrategy) Reset()

func (*NoneStrategy) Size

func (m *NoneStrategy) Size() (n int)

func (*NoneStrategy) String

func (this *NoneStrategy) String() string

func (*NoneStrategy) Unmarshal

func (m *NoneStrategy) Unmarshal(dAtA []byte) error

func (*NoneStrategy) XXX_DiscardUnknown

func (m *NoneStrategy) XXX_DiscardUnknown()

func (*NoneStrategy) XXX_Marshal

func (m *NoneStrategy) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*NoneStrategy) XXX_Merge

func (m *NoneStrategy) XXX_Merge(src proto.Message)

func (*NoneStrategy) XXX_Size

func (m *NoneStrategy) XXX_Size() int

func (*NoneStrategy) XXX_Unmarshal

func (m *NoneStrategy) XXX_Unmarshal(b []byte) error

type OAuth2Auth added in v3.4.0

type OAuth2Auth struct {
	ClientIDSecret     *apiv1.SecretKeySelector `json:"clientIDSecret,omitempty" protobuf:"bytes,1,opt,name=clientIDSecret"`
	ClientSecretSecret *apiv1.SecretKeySelector `json:"clientSecretSecret,omitempty" protobuf:"bytes,2,opt,name=clientSecretSecret"`
	TokenURLSecret     *apiv1.SecretKeySelector `json:"tokenURLSecret,omitempty" protobuf:"bytes,3,opt,name=tokenURLSecret"`
	Scopes             []string                 `json:"scopes,omitempty" protobuf:"bytes,5,rep,name=scopes"`
	EndpointParams     []OAuth2EndpointParam    `json:"endpointParams,omitempty" protobuf:"bytes,6,rep,name=endpointParams"`
}

OAuth2Auth holds all information for client authentication via OAuth2 tokens

func (*OAuth2Auth) DeepCopy added in v3.4.0

func (in *OAuth2Auth) DeepCopy() *OAuth2Auth

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OAuth2Auth.

func (*OAuth2Auth) DeepCopyInto added in v3.4.0

func (in *OAuth2Auth) DeepCopyInto(out *OAuth2Auth)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*OAuth2Auth) Descriptor added in v3.4.0

func (*OAuth2Auth) Descriptor() ([]byte, []int)

func (*OAuth2Auth) Marshal added in v3.4.0

func (m *OAuth2Auth) Marshal() (dAtA []byte, err error)

func (*OAuth2Auth) MarshalTo added in v3.4.0

func (m *OAuth2Auth) MarshalTo(dAtA []byte) (int, error)

func (*OAuth2Auth) MarshalToSizedBuffer added in v3.4.0

func (m *OAuth2Auth) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*OAuth2Auth) ProtoMessage added in v3.4.0

func (*OAuth2Auth) ProtoMessage()

func (*OAuth2Auth) Reset added in v3.4.0

func (m *OAuth2Auth) Reset()

func (*OAuth2Auth) Size added in v3.4.0

func (m *OAuth2Auth) Size() (n int)

func (*OAuth2Auth) String added in v3.4.0

func (this *OAuth2Auth) String() string

func (*OAuth2Auth) Unmarshal added in v3.4.0

func (m *OAuth2Auth) Unmarshal(dAtA []byte) error

func (*OAuth2Auth) XXX_DiscardUnknown added in v3.4.0

func (m *OAuth2Auth) XXX_DiscardUnknown()

func (*OAuth2Auth) XXX_Marshal added in v3.4.0

func (m *OAuth2Auth) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*OAuth2Auth) XXX_Merge added in v3.4.0

func (m *OAuth2Auth) XXX_Merge(src proto.Message)

func (*OAuth2Auth) XXX_Size added in v3.4.0

func (m *OAuth2Auth) XXX_Size() int

func (*OAuth2Auth) XXX_Unmarshal added in v3.4.0

func (m *OAuth2Auth) XXX_Unmarshal(b []byte) error

type OAuth2EndpointParam added in v3.4.0

type OAuth2EndpointParam struct {
	// Name is the header name
	Key string `json:"key" protobuf:"bytes,1,opt,name=key"`

	// Value is the literal value to use for the header
	Value string `json:"value,omitempty" protobuf:"bytes,2,opt,name=value"`
}

EndpointParam is for requesting optional fields that should be sent in the oauth request

func (*OAuth2EndpointParam) DeepCopy added in v3.4.0

func (in *OAuth2EndpointParam) DeepCopy() *OAuth2EndpointParam

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OAuth2EndpointParam.

func (*OAuth2EndpointParam) DeepCopyInto added in v3.4.0

func (in *OAuth2EndpointParam) DeepCopyInto(out *OAuth2EndpointParam)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*OAuth2EndpointParam) Descriptor added in v3.4.0

func (*OAuth2EndpointParam) Descriptor() ([]byte, []int)

func (*OAuth2EndpointParam) Marshal added in v3.4.0

func (m *OAuth2EndpointParam) Marshal() (dAtA []byte, err error)

func (*OAuth2EndpointParam) MarshalTo added in v3.4.0

func (m *OAuth2EndpointParam) MarshalTo(dAtA []byte) (int, error)

func (*OAuth2EndpointParam) MarshalToSizedBuffer added in v3.4.0

func (m *OAuth2EndpointParam) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*OAuth2EndpointParam) ProtoMessage added in v3.4.0

func (*OAuth2EndpointParam) ProtoMessage()

func (*OAuth2EndpointParam) Reset added in v3.4.0

func (m *OAuth2EndpointParam) Reset()

func (*OAuth2EndpointParam) Size added in v3.4.0

func (m *OAuth2EndpointParam) Size() (n int)

func (*OAuth2EndpointParam) String added in v3.4.0

func (this *OAuth2EndpointParam) String() string

func (*OAuth2EndpointParam) Unmarshal added in v3.4.0

func (m *OAuth2EndpointParam) Unmarshal(dAtA []byte) error

func (*OAuth2EndpointParam) XXX_DiscardUnknown added in v3.4.0

func (m *OAuth2EndpointParam) XXX_DiscardUnknown()

func (*OAuth2EndpointParam) XXX_Marshal added in v3.4.0

func (m *OAuth2EndpointParam) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*OAuth2EndpointParam) XXX_Merge added in v3.4.0

func (m *OAuth2EndpointParam) XXX_Merge(src proto.Message)

func (*OAuth2EndpointParam) XXX_Size added in v3.4.0

func (m *OAuth2EndpointParam) XXX_Size() int

func (*OAuth2EndpointParam) XXX_Unmarshal added in v3.4.0

func (m *OAuth2EndpointParam) XXX_Unmarshal(b []byte) error

type OSSArtifact

type OSSArtifact struct {
	OSSBucket `json:",inline" protobuf:"bytes,1,opt,name=oSSBucket"`

	// Key is the path in the bucket where the artifact resides
	Key string `json:"key" protobuf:"bytes,2,opt,name=key"`
}

OSSArtifact is the location of an Alibaba Cloud OSS artifact

func (*OSSArtifact) DeepCopy

func (in *OSSArtifact) DeepCopy() *OSSArtifact

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OSSArtifact.

func (*OSSArtifact) DeepCopyInto

func (in *OSSArtifact) DeepCopyInto(out *OSSArtifact)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*OSSArtifact) Descriptor

func (*OSSArtifact) Descriptor() ([]byte, []int)

func (*OSSArtifact) GetKey

func (o *OSSArtifact) GetKey() (string, error)

func (*OSSArtifact) HasLocation

func (o *OSSArtifact) HasLocation() bool

func (*OSSArtifact) Marshal

func (m *OSSArtifact) Marshal() (dAtA []byte, err error)

func (*OSSArtifact) MarshalTo

func (m *OSSArtifact) MarshalTo(dAtA []byte) (int, error)

func (*OSSArtifact) MarshalToSizedBuffer

func (m *OSSArtifact) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*OSSArtifact) ProtoMessage

func (*OSSArtifact) ProtoMessage()

func (*OSSArtifact) Reset

func (m *OSSArtifact) Reset()

func (*OSSArtifact) SetKey

func (o *OSSArtifact) SetKey(key string) error

func (*OSSArtifact) Size

func (m *OSSArtifact) Size() (n int)

func (*OSSArtifact) String

func (this *OSSArtifact) String() string

func (*OSSArtifact) Unmarshal

func (m *OSSArtifact) Unmarshal(dAtA []byte) error

func (*OSSArtifact) XXX_DiscardUnknown

func (m *OSSArtifact) XXX_DiscardUnknown()

func (*OSSArtifact) XXX_Marshal

func (m *OSSArtifact) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*OSSArtifact) XXX_Merge

func (m *OSSArtifact) XXX_Merge(src proto.Message)

func (*OSSArtifact) XXX_Size

func (m *OSSArtifact) XXX_Size() int

func (*OSSArtifact) XXX_Unmarshal

func (m *OSSArtifact) XXX_Unmarshal(b []byte) error

type OSSArtifactRepository added in v3.1.2

type OSSArtifactRepository struct {
	OSSBucket `json:",inline" protobuf:"bytes,1,opt,name=oSSBucket"`

	// KeyFormat is defines the format of how to store keys. Can reference workflow variables
	KeyFormat string `json:"keyFormat,omitempty" protobuf:"bytes,2,opt,name=keyFormat"`
}

OSSArtifactRepository defines the controller configuration for an OSS artifact repository

func (*OSSArtifactRepository) DeepCopy added in v3.1.2

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OSSArtifactRepository.

func (*OSSArtifactRepository) DeepCopyInto added in v3.1.2

func (in *OSSArtifactRepository) DeepCopyInto(out *OSSArtifactRepository)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*OSSArtifactRepository) Descriptor added in v3.1.2

func (*OSSArtifactRepository) Descriptor() ([]byte, []int)

func (*OSSArtifactRepository) IntoArtifactLocation added in v3.1.2

func (r *OSSArtifactRepository) IntoArtifactLocation(l *ArtifactLocation)

func (*OSSArtifactRepository) Marshal added in v3.1.2

func (m *OSSArtifactRepository) Marshal() (dAtA []byte, err error)

func (*OSSArtifactRepository) MarshalTo added in v3.1.2

func (m *OSSArtifactRepository) MarshalTo(dAtA []byte) (int, error)

func (*OSSArtifactRepository) MarshalToSizedBuffer added in v3.1.2

func (m *OSSArtifactRepository) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*OSSArtifactRepository) ProtoMessage added in v3.1.2

func (*OSSArtifactRepository) ProtoMessage()

func (*OSSArtifactRepository) Reset added in v3.1.2

func (m *OSSArtifactRepository) Reset()

func (*OSSArtifactRepository) Size added in v3.1.2

func (m *OSSArtifactRepository) Size() (n int)

func (*OSSArtifactRepository) String added in v3.1.2

func (this *OSSArtifactRepository) String() string

func (*OSSArtifactRepository) Unmarshal added in v3.1.2

func (m *OSSArtifactRepository) Unmarshal(dAtA []byte) error

func (*OSSArtifactRepository) XXX_DiscardUnknown added in v3.1.2

func (m *OSSArtifactRepository) XXX_DiscardUnknown()

func (*OSSArtifactRepository) XXX_Marshal added in v3.1.2

func (m *OSSArtifactRepository) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*OSSArtifactRepository) XXX_Merge added in v3.1.2

func (m *OSSArtifactRepository) XXX_Merge(src proto.Message)

func (*OSSArtifactRepository) XXX_Size added in v3.1.2

func (m *OSSArtifactRepository) XXX_Size() int

func (*OSSArtifactRepository) XXX_Unmarshal added in v3.1.2

func (m *OSSArtifactRepository) XXX_Unmarshal(b []byte) error

type OSSBucket

type OSSBucket struct {
	// Endpoint is the hostname of the bucket endpoint
	Endpoint string `json:"endpoint,omitempty" protobuf:"bytes,1,opt,name=endpoint"`

	// Bucket is the name of the bucket
	Bucket string `json:"bucket,omitempty" protobuf:"bytes,2,opt,name=bucket"`

	// AccessKeySecret is the secret selector to the bucket's access key
	AccessKeySecret *apiv1.SecretKeySelector `json:"accessKeySecret,omitempty" protobuf:"bytes,3,opt,name=accessKeySecret"`

	// SecretKeySecret is the secret selector to the bucket's secret key
	SecretKeySecret *apiv1.SecretKeySelector `json:"secretKeySecret,omitempty" protobuf:"bytes,4,opt,name=secretKeySecret"`

	// CreateBucketIfNotPresent tells the driver to attempt to create the OSS bucket for output artifacts, if it doesn't exist
	CreateBucketIfNotPresent bool `json:"createBucketIfNotPresent,omitempty" protobuf:"varint,5,opt,name=createBucketIfNotPresent"`

	// SecurityToken is the user's temporary security token. For more details, check out: https://www.alibabacloud.com/help/doc-detail/100624.htm
	SecurityToken string `json:"securityToken,omitempty" protobuf:"bytes,6,opt,name=securityToken"`

	// LifecycleRule specifies how to manage bucket's lifecycle
	LifecycleRule *OSSLifecycleRule `json:"lifecycleRule,omitempty" protobuf:"bytes,7,opt,name=lifecycleRule"`
}

OSSBucket contains the access information required for interfacing with an Alibaba Cloud OSS bucket

func (*OSSBucket) DeepCopy

func (in *OSSBucket) DeepCopy() *OSSBucket

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OSSBucket.

func (*OSSBucket) DeepCopyInto

func (in *OSSBucket) DeepCopyInto(out *OSSBucket)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*OSSBucket) Descriptor

func (*OSSBucket) Descriptor() ([]byte, []int)

func (*OSSBucket) Marshal

func (m *OSSBucket) Marshal() (dAtA []byte, err error)

func (*OSSBucket) MarshalTo

func (m *OSSBucket) MarshalTo(dAtA []byte) (int, error)

func (*OSSBucket) MarshalToSizedBuffer

func (m *OSSBucket) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*OSSBucket) ProtoMessage

func (*OSSBucket) ProtoMessage()

func (*OSSBucket) Reset

func (m *OSSBucket) Reset()

func (*OSSBucket) Size

func (m *OSSBucket) Size() (n int)

func (*OSSBucket) String

func (this *OSSBucket) String() string

func (*OSSBucket) Unmarshal

func (m *OSSBucket) Unmarshal(dAtA []byte) error

func (*OSSBucket) XXX_DiscardUnknown

func (m *OSSBucket) XXX_DiscardUnknown()

func (*OSSBucket) XXX_Marshal

func (m *OSSBucket) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*OSSBucket) XXX_Merge

func (m *OSSBucket) XXX_Merge(src proto.Message)

func (*OSSBucket) XXX_Size

func (m *OSSBucket) XXX_Size() int

func (*OSSBucket) XXX_Unmarshal

func (m *OSSBucket) XXX_Unmarshal(b []byte) error

type OSSLifecycleRule added in v3.1.0

type OSSLifecycleRule struct {
	// MarkInfrequentAccessAfterDays is the number of days before we convert the objects in the bucket to Infrequent Access (IA) storage type
	MarkInfrequentAccessAfterDays int32 `json:"markInfrequentAccessAfterDays,omitempty" protobuf:"varint,1,opt,name=markInfrequentAccessAfterDays"`

	// MarkDeletionAfterDays is the number of days before we delete objects in the bucket
	MarkDeletionAfterDays int32 `json:"markDeletionAfterDays,omitempty" protobuf:"varint,2,opt,name=markDeletionAfterDays"`
}

OSSLifecycleRule specifies how to manage bucket's lifecycle

func (*OSSLifecycleRule) DeepCopy added in v3.1.0

func (in *OSSLifecycleRule) DeepCopy() *OSSLifecycleRule

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OSSLifecycleRule.

func (*OSSLifecycleRule) DeepCopyInto added in v3.1.0

func (in *OSSLifecycleRule) DeepCopyInto(out *OSSLifecycleRule)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*OSSLifecycleRule) Descriptor added in v3.1.0

func (*OSSLifecycleRule) Descriptor() ([]byte, []int)

func (*OSSLifecycleRule) Marshal added in v3.1.0

func (m *OSSLifecycleRule) Marshal() (dAtA []byte, err error)

func (*OSSLifecycleRule) MarshalTo added in v3.1.0

func (m *OSSLifecycleRule) MarshalTo(dAtA []byte) (int, error)

func (*OSSLifecycleRule) MarshalToSizedBuffer added in v3.1.0

func (m *OSSLifecycleRule) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*OSSLifecycleRule) ProtoMessage added in v3.1.0

func (*OSSLifecycleRule) ProtoMessage()

func (*OSSLifecycleRule) Reset added in v3.1.0

func (m *OSSLifecycleRule) Reset()

func (*OSSLifecycleRule) Size added in v3.1.0

func (m *OSSLifecycleRule) Size() (n int)

func (*OSSLifecycleRule) String added in v3.1.0

func (this *OSSLifecycleRule) String() string

func (*OSSLifecycleRule) Unmarshal added in v3.1.0

func (m *OSSLifecycleRule) Unmarshal(dAtA []byte) error

func (*OSSLifecycleRule) XXX_DiscardUnknown added in v3.1.0

func (m *OSSLifecycleRule) XXX_DiscardUnknown()

func (*OSSLifecycleRule) XXX_Marshal added in v3.1.0

func (m *OSSLifecycleRule) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*OSSLifecycleRule) XXX_Merge added in v3.1.0

func (m *OSSLifecycleRule) XXX_Merge(src proto.Message)

func (*OSSLifecycleRule) XXX_Size added in v3.1.0

func (m *OSSLifecycleRule) XXX_Size() int

func (*OSSLifecycleRule) XXX_Unmarshal added in v3.1.0

func (m *OSSLifecycleRule) XXX_Unmarshal(b []byte) error

type Object added in v3.3.0

type Object struct {
	Value json.RawMessage `json:"-"`
}

+kubebuilder:validation:Type=object

func (*Object) DeepCopy added in v3.3.0

func (in *Object) DeepCopy() *Object

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Object.

func (*Object) DeepCopyInto added in v3.3.0

func (in *Object) DeepCopyInto(out *Object)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*Object) Descriptor added in v3.3.0

func (*Object) Descriptor() ([]byte, []int)

func (*Object) Marshal added in v3.3.0

func (m *Object) Marshal() (dAtA []byte, err error)

func (Object) MarshalJSON added in v3.3.0

func (i Object) MarshalJSON() ([]byte, error)

func (*Object) MarshalTo added in v3.3.0

func (m *Object) MarshalTo(dAtA []byte) (int, error)

func (*Object) MarshalToSizedBuffer added in v3.3.0

func (m *Object) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (Object) OpenAPISchemaFormat added in v3.3.0

func (i Object) OpenAPISchemaFormat() string

func (Object) OpenAPISchemaType added in v3.3.0

func (i Object) OpenAPISchemaType() []string

func (*Object) ProtoMessage added in v3.3.0

func (*Object) ProtoMessage()

func (*Object) Reset added in v3.3.0

func (m *Object) Reset()

func (*Object) Size added in v3.3.0

func (m *Object) Size() (n int)

func (*Object) String added in v3.3.0

func (this *Object) String() string

func (*Object) Unmarshal added in v3.3.0

func (m *Object) Unmarshal(dAtA []byte) error

func (*Object) UnmarshalJSON added in v3.3.0

func (i *Object) UnmarshalJSON(value []byte) error

func (*Object) XXX_DiscardUnknown added in v3.3.0

func (m *Object) XXX_DiscardUnknown()

func (*Object) XXX_Marshal added in v3.3.0

func (m *Object) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Object) XXX_Merge added in v3.3.0

func (m *Object) XXX_Merge(src proto.Message)

func (*Object) XXX_Size added in v3.3.0

func (m *Object) XXX_Size() int

func (*Object) XXX_Unmarshal added in v3.3.0

func (m *Object) XXX_Unmarshal(b []byte) error

type Outputs

type Outputs struct {
	// Parameters holds the list of output parameters produced by a step
	// +patchStrategy=merge
	// +patchMergeKey=name
	Parameters []Parameter `json:"parameters,omitempty" patchStrategy:"merge" patchMergeKey:"name" protobuf:"bytes,1,rep,name=parameters"`

	// Artifacts holds the list of output artifacts produced by a step
	// +patchStrategy=merge
	// +patchMergeKey=name
	Artifacts Artifacts `json:"artifacts,omitempty" patchStrategy:"merge" patchMergeKey:"name" protobuf:"bytes,2,rep,name=artifacts"`

	// Result holds the result (stdout) of a script template
	Result *string `json:"result,omitempty" protobuf:"bytes,3,opt,name=result"`

	// ExitCode holds the exit code of a script template
	ExitCode *string `json:"exitCode,omitempty" protobuf:"bytes,4,opt,name=exitCode"`
}

Outputs hold parameters, artifacts, and results from a step

func (*Outputs) DeepCopy

func (in *Outputs) DeepCopy() *Outputs

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Outputs.

func (*Outputs) DeepCopyInto

func (in *Outputs) DeepCopyInto(out *Outputs)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*Outputs) Descriptor

func (*Outputs) Descriptor() ([]byte, []int)

func (*Outputs) GetArtifactByName

func (out *Outputs) GetArtifactByName(name string) *Artifact

func (*Outputs) GetArtifacts added in v3.4.0

func (o *Outputs) GetArtifacts() Artifacts

func (*Outputs) HasArtifacts added in v3.3.0

func (out *Outputs) HasArtifacts() bool

func (*Outputs) HasLogs added in v3.3.0

func (out *Outputs) HasLogs() bool

func (*Outputs) HasOutputs

func (out *Outputs) HasOutputs() bool

HasOutputs returns whether or not there are any outputs

func (*Outputs) HasParameters added in v3.3.0

func (out *Outputs) HasParameters() bool

func (*Outputs) HasResult added in v3.3.0

func (out *Outputs) HasResult() bool

func (*Outputs) Marshal

func (m *Outputs) Marshal() (dAtA []byte, err error)

func (*Outputs) MarshalTo

func (m *Outputs) MarshalTo(dAtA []byte) (int, error)

func (*Outputs) MarshalToSizedBuffer

func (m *Outputs) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Outputs) ProtoMessage

func (*Outputs) ProtoMessage()

func (*Outputs) Reset

func (m *Outputs) Reset()

func (*Outputs) Size

func (m *Outputs) Size() (n int)

func (*Outputs) String

func (this *Outputs) String() string

func (*Outputs) Unmarshal

func (m *Outputs) Unmarshal(dAtA []byte) error

func (*Outputs) XXX_DiscardUnknown

func (m *Outputs) XXX_DiscardUnknown()

func (*Outputs) XXX_Marshal

func (m *Outputs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Outputs) XXX_Merge

func (m *Outputs) XXX_Merge(src proto.Message)

func (*Outputs) XXX_Size

func (m *Outputs) XXX_Size() int

func (*Outputs) XXX_Unmarshal

func (m *Outputs) XXX_Unmarshal(b []byte) error

type ParallelSteps

type ParallelSteps struct {
	Steps []WorkflowStep `json:"-" protobuf:"bytes,1,rep,name=steps"`
}

+kubebuilder:validation:Type=array

func (*ParallelSteps) DeepCopy

func (in *ParallelSteps) DeepCopy() *ParallelSteps

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ParallelSteps.

func (*ParallelSteps) DeepCopyInto

func (in *ParallelSteps) DeepCopyInto(out *ParallelSteps)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ParallelSteps) Descriptor

func (*ParallelSteps) Descriptor() ([]byte, []int)

func (*ParallelSteps) Marshal

func (m *ParallelSteps) Marshal() (dAtA []byte, err error)

func (ParallelSteps) MarshalJSON

func (p ParallelSteps) MarshalJSON() ([]byte, error)

func (*ParallelSteps) MarshalTo

func (m *ParallelSteps) MarshalTo(dAtA []byte) (int, error)

func (*ParallelSteps) MarshalToSizedBuffer

func (m *ParallelSteps) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (ParallelSteps) OpenAPISchemaFormat

func (b ParallelSteps) OpenAPISchemaFormat() string

func (ParallelSteps) OpenAPISchemaType

func (b ParallelSteps) OpenAPISchemaType() []string

func (*ParallelSteps) ProtoMessage

func (*ParallelSteps) ProtoMessage()

func (*ParallelSteps) Reset

func (m *ParallelSteps) Reset()

func (*ParallelSteps) Size

func (m *ParallelSteps) Size() (n int)

func (*ParallelSteps) String

func (this *ParallelSteps) String() string

func (*ParallelSteps) Unmarshal

func (m *ParallelSteps) Unmarshal(dAtA []byte) error

func (*ParallelSteps) UnmarshalJSON

func (p *ParallelSteps) UnmarshalJSON(value []byte) error

WorkflowStep is an anonymous list inside of ParallelSteps (i.e. it does not have a key), so it needs its own custom Unmarshaller

func (*ParallelSteps) XXX_DiscardUnknown

func (m *ParallelSteps) XXX_DiscardUnknown()

func (*ParallelSteps) XXX_Marshal

func (m *ParallelSteps) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ParallelSteps) XXX_Merge

func (m *ParallelSteps) XXX_Merge(src proto.Message)

func (*ParallelSteps) XXX_Size

func (m *ParallelSteps) XXX_Size() int

func (*ParallelSteps) XXX_Unmarshal

func (m *ParallelSteps) XXX_Unmarshal(b []byte) error

type Parameter

type Parameter struct {
	// Name is the parameter name
	Name string `json:"name" protobuf:"bytes,1,opt,name=name"`

	// Default is the default value to use for an input parameter if a value was not supplied
	Default *AnyString `json:"default,omitempty" protobuf:"bytes,2,opt,name=default"`

	// Value is the literal value to use for the parameter.
	// If specified in the context of an input parameter, the value takes precedence over any passed values
	Value *AnyString `json:"value,omitempty" protobuf:"bytes,3,opt,name=value"`

	// ValueFrom is the source for the output parameter's value
	ValueFrom *ValueFrom `json:"valueFrom,omitempty" protobuf:"bytes,4,opt,name=valueFrom"`

	// GlobalName exports an output parameter to the global scope, making it available as
	// '{{workflow.outputs.parameters.XXXX}} and in workflow.status.outputs.parameters
	GlobalName string `json:"globalName,omitempty" protobuf:"bytes,5,opt,name=globalName"`

	// Enum holds a list of string values to choose from, for the actual value of the parameter
	Enum []AnyString `json:"enum,omitempty" protobuf:"bytes,6,rep,name=enum"`

	// Description is the parameter description
	Description *AnyString `json:"description,omitempty" protobuf:"bytes,7,opt,name=description"`
}

Parameter indicate a passed string parameter to a service template with an optional default value

func (*Parameter) DeepCopy

func (in *Parameter) DeepCopy() *Parameter

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Parameter.

func (*Parameter) DeepCopyInto

func (in *Parameter) DeepCopyInto(out *Parameter)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*Parameter) Descriptor

func (*Parameter) Descriptor() ([]byte, []int)

func (*Parameter) GetValue added in v3.0.5

func (p *Parameter) GetValue() string

func (*Parameter) HasValue added in v3.0.5

func (p *Parameter) HasValue() bool

func (*Parameter) Marshal

func (m *Parameter) Marshal() (dAtA []byte, err error)

func (*Parameter) MarshalTo

func (m *Parameter) MarshalTo(dAtA []byte) (int, error)

func (*Parameter) MarshalToSizedBuffer

func (m *Parameter) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Parameter) ProtoMessage

func (*Parameter) ProtoMessage()

func (*Parameter) Reset

func (m *Parameter) Reset()

func (*Parameter) Size

func (m *Parameter) Size() (n int)

func (*Parameter) String

func (this *Parameter) String() string

func (*Parameter) Unmarshal

func (m *Parameter) Unmarshal(dAtA []byte) error

func (*Parameter) XXX_DiscardUnknown

func (m *Parameter) XXX_DiscardUnknown()

func (*Parameter) XXX_Marshal

func (m *Parameter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Parameter) XXX_Merge

func (m *Parameter) XXX_Merge(src proto.Message)

func (*Parameter) XXX_Size

func (m *Parameter) XXX_Size() int

func (*Parameter) XXX_Unmarshal

func (m *Parameter) XXX_Unmarshal(b []byte) error

type Plugin added in v3.3.0

type Plugin struct {
	Object `json:",inline" protobuf:"bytes,1,opt,name=object"`
}

Plugin is an Object with exactly one key

func (*Plugin) DeepCopy added in v3.3.0

func (in *Plugin) DeepCopy() *Plugin

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Plugin.

func (*Plugin) DeepCopyInto added in v3.3.0

func (in *Plugin) DeepCopyInto(out *Plugin)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*Plugin) Descriptor added in v3.3.0

func (*Plugin) Descriptor() ([]byte, []int)

func (*Plugin) Marshal added in v3.3.0

func (m *Plugin) Marshal() (dAtA []byte, err error)

func (*Plugin) MarshalTo added in v3.3.0

func (m *Plugin) MarshalTo(dAtA []byte) (int, error)

func (*Plugin) MarshalToSizedBuffer added in v3.3.0

func (m *Plugin) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Plugin) ProtoMessage added in v3.3.0

func (*Plugin) ProtoMessage()

func (*Plugin) Reset added in v3.3.0

func (m *Plugin) Reset()

func (*Plugin) Size added in v3.3.0

func (m *Plugin) Size() (n int)

func (*Plugin) String added in v3.3.0

func (this *Plugin) String() string

func (*Plugin) Unmarshal added in v3.3.0

func (m *Plugin) Unmarshal(dAtA []byte) error

func (*Plugin) UnmarshalJSON added in v3.3.0

func (p *Plugin) UnmarshalJSON(value []byte) error

UnmarshalJSON unmarshalls the Plugin from JSON, and also validates that it is a map exactly one key

func (*Plugin) XXX_DiscardUnknown added in v3.3.0

func (m *Plugin) XXX_DiscardUnknown()

func (*Plugin) XXX_Marshal added in v3.3.0

func (m *Plugin) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Plugin) XXX_Merge added in v3.3.0

func (m *Plugin) XXX_Merge(src proto.Message)

func (*Plugin) XXX_Size added in v3.3.0

func (m *Plugin) XXX_Size() int

func (*Plugin) XXX_Unmarshal added in v3.3.0

func (m *Plugin) XXX_Unmarshal(b []byte) error

type PodGC

type PodGC struct {
	// Strategy is the strategy to use. One of "OnPodCompletion", "OnPodSuccess", "OnWorkflowCompletion", "OnWorkflowSuccess"
	Strategy PodGCStrategy `json:"strategy,omitempty" protobuf:"bytes,1,opt,name=strategy,casttype=PodGCStrategy"`
	// LabelSelector is the label selector to check if the pods match the labels before being added to the pod GC queue.
	LabelSelector *metav1.LabelSelector `json:"labelSelector,omitempty" protobuf:"bytes,2,opt,name=labelSelector"`
}

PodGC describes how to delete completed pods as they complete

func (*PodGC) DeepCopy

func (in *PodGC) DeepCopy() *PodGC

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodGC.

func (*PodGC) DeepCopyInto

func (in *PodGC) DeepCopyInto(out *PodGC)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*PodGC) Descriptor

func (*PodGC) Descriptor() ([]byte, []int)

func (*PodGC) GetLabelSelector

func (podGC *PodGC) GetLabelSelector() (labels.Selector, error)

GetLabelSelector gets the label selector from podGC.

func (*PodGC) GetStrategy added in v3.2.5

func (podGC *PodGC) GetStrategy() PodGCStrategy

func (*PodGC) Marshal

func (m *PodGC) Marshal() (dAtA []byte, err error)

func (*PodGC) MarshalTo

func (m *PodGC) MarshalTo(dAtA []byte) (int, error)

func (*PodGC) MarshalToSizedBuffer

func (m *PodGC) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*PodGC) ProtoMessage

func (*PodGC) ProtoMessage()

func (*PodGC) Reset

func (m *PodGC) Reset()

func (*PodGC) Size

func (m *PodGC) Size() (n int)

func (*PodGC) String

func (this *PodGC) String() string

func (*PodGC) Unmarshal

func (m *PodGC) Unmarshal(dAtA []byte) error

func (*PodGC) XXX_DiscardUnknown

func (m *PodGC) XXX_DiscardUnknown()

func (*PodGC) XXX_Marshal

func (m *PodGC) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PodGC) XXX_Merge

func (m *PodGC) XXX_Merge(src proto.Message)

func (*PodGC) XXX_Size

func (m *PodGC) XXX_Size() int

func (*PodGC) XXX_Unmarshal

func (m *PodGC) XXX_Unmarshal(b []byte) error

type PodGCStrategy

type PodGCStrategy string

PodGCStrategy is the strategy when to delete completed pods for GC.

const (
	PodGCOnPodNone            PodGCStrategy = ""
	PodGCOnPodCompletion      PodGCStrategy = "OnPodCompletion"
	PodGCOnPodSuccess         PodGCStrategy = "OnPodSuccess"
	PodGCOnWorkflowCompletion PodGCStrategy = "OnWorkflowCompletion"
	PodGCOnWorkflowSuccess    PodGCStrategy = "OnWorkflowSuccess"
)

PodGCStrategy

func (PodGCStrategy) IsValid added in v3.2.5

func (s PodGCStrategy) IsValid() bool

type Progress

type Progress string

Progress in N/M format. N is number of task complete. M is number of tasks.

func NewProgress

func NewProgress(n, m int64) (Progress, bool)

func ParseProgress

func ParseProgress(s string) (Progress, bool)

func (Progress) Add

func (in Progress) Add(x Progress) Progress

func (Progress) Complete added in v3.3.0

func (in Progress) Complete() Progress

func (Progress) IsValid

func (in Progress) IsValid() bool

func (Progress) M

func (in Progress) M() int64

func (Progress) N

func (in Progress) N() int64

type Prometheus

type Prometheus struct {
	// Name is the name of the metric
	Name string `json:"name" protobuf:"bytes,1,opt,name=name"`
	// Labels is a list of metric labels
	Labels []*MetricLabel `json:"labels,omitempty" protobuf:"bytes,2,rep,name=labels"`
	// Help is a string that describes the metric
	Help string `json:"help" protobuf:"bytes,3,opt,name=help"`
	// When is a conditional statement that decides when to emit the metric
	When string `json:"when,omitempty" protobuf:"bytes,4,opt,name=when"`
	// Gauge is a gauge metric
	Gauge *Gauge `json:"gauge,omitempty" protobuf:"bytes,5,opt,name=gauge"`
	// Histogram is a histogram metric
	Histogram *Histogram `json:"histogram,omitempty" protobuf:"bytes,6,opt,name=histogram"`
	// Counter is a counter metric
	Counter *Counter `json:"counter,omitempty" protobuf:"bytes,7,opt,name=counter"`
}

Prometheus is a prometheus metric to be emitted

func (*Prometheus) DeepCopy

func (in *Prometheus) DeepCopy() *Prometheus

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Prometheus.

func (*Prometheus) DeepCopyInto

func (in *Prometheus) DeepCopyInto(out *Prometheus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*Prometheus) Descriptor

func (*Prometheus) Descriptor() ([]byte, []int)

func (*Prometheus) GetDesc

func (p *Prometheus) GetDesc() string

func (*Prometheus) GetMetricLabels

func (p *Prometheus) GetMetricLabels() map[string]string

func (*Prometheus) GetMetricType

func (p *Prometheus) GetMetricType() MetricType

func (*Prometheus) GetValueString

func (p *Prometheus) GetValueString() string

func (*Prometheus) IsRealtime

func (p *Prometheus) IsRealtime() bool

func (*Prometheus) Marshal

func (m *Prometheus) Marshal() (dAtA []byte, err error)

func (*Prometheus) MarshalTo

func (m *Prometheus) MarshalTo(dAtA []byte) (int, error)

func (*Prometheus) MarshalToSizedBuffer

func (m *Prometheus) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Prometheus) ProtoMessage

func (*Prometheus) ProtoMessage()

func (*Prometheus) Reset

func (m *Prometheus) Reset()

func (*Prometheus) SetValueString

func (p *Prometheus) SetValueString(val string)

func (*Prometheus) Size

func (m *Prometheus) Size() (n int)

func (*Prometheus) String

func (this *Prometheus) String() string

func (*Prometheus) Unmarshal

func (m *Prometheus) Unmarshal(dAtA []byte) error

func (*Prometheus) XXX_DiscardUnknown

func (m *Prometheus) XXX_DiscardUnknown()

func (*Prometheus) XXX_Marshal

func (m *Prometheus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Prometheus) XXX_Merge

func (m *Prometheus) XXX_Merge(src proto.Message)

func (*Prometheus) XXX_Size

func (m *Prometheus) XXX_Size() int

func (*Prometheus) XXX_Unmarshal

func (m *Prometheus) XXX_Unmarshal(b []byte) error

type RawArtifact

type RawArtifact struct {
	// Data is the string contents of the artifact
	Data string `json:"data" protobuf:"bytes,1,opt,name=data"`
}

RawArtifact allows raw string content to be placed as an artifact in a container

func (*RawArtifact) DeepCopy

func (in *RawArtifact) DeepCopy() *RawArtifact

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RawArtifact.

func (*RawArtifact) DeepCopyInto

func (in *RawArtifact) DeepCopyInto(out *RawArtifact)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*RawArtifact) Descriptor

func (*RawArtifact) Descriptor() ([]byte, []int)

func (*RawArtifact) GetKey

func (r *RawArtifact) GetKey() (string, error)

func (*RawArtifact) HasLocation

func (r *RawArtifact) HasLocation() bool

func (*RawArtifact) Marshal

func (m *RawArtifact) Marshal() (dAtA []byte, err error)

func (*RawArtifact) MarshalTo

func (m *RawArtifact) MarshalTo(dAtA []byte) (int, error)

func (*RawArtifact) MarshalToSizedBuffer

func (m *RawArtifact) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*RawArtifact) ProtoMessage

func (*RawArtifact) ProtoMessage()

func (*RawArtifact) Reset

func (m *RawArtifact) Reset()

func (*RawArtifact) SetKey

func (r *RawArtifact) SetKey(string) error

func (*RawArtifact) Size

func (m *RawArtifact) Size() (n int)

func (*RawArtifact) String

func (this *RawArtifact) String() string

func (*RawArtifact) Unmarshal

func (m *RawArtifact) Unmarshal(dAtA []byte) error

func (*RawArtifact) XXX_DiscardUnknown

func (m *RawArtifact) XXX_DiscardUnknown()

func (*RawArtifact) XXX_Marshal

func (m *RawArtifact) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RawArtifact) XXX_Merge

func (m *RawArtifact) XXX_Merge(src proto.Message)

func (*RawArtifact) XXX_Size

func (m *RawArtifact) XXX_Size() int

func (*RawArtifact) XXX_Unmarshal

func (m *RawArtifact) XXX_Unmarshal(b []byte) error

type ResourceDuration

type ResourceDuration int64

The amount of requested resource * the duration that request was used. This is represented as duration in seconds, so can be converted to and from duration (with loss of precision).

func NewResourceDuration

func NewResourceDuration(d time.Duration) ResourceDuration

func (ResourceDuration) Duration

func (in ResourceDuration) Duration() time.Duration

func (ResourceDuration) String

func (in ResourceDuration) String() string

type ResourceScope

type ResourceScope string
const (
	ResourceScopeLocal      ResourceScope = "local"
	ResourceScopeNamespaced ResourceScope = "namespaced"
	ResourceScopeCluster    ResourceScope = "cluster"
)

type ResourceTemplate

type ResourceTemplate struct {
	// Action is the action to perform to the resource.
	// Must be one of: get, create, apply, delete, replace, patch
	Action string `json:"action" protobuf:"bytes,1,opt,name=action"`

	// MergeStrategy is the strategy used to merge a patch. It defaults to "strategic"
	// Must be one of: strategic, merge, json
	MergeStrategy string `json:"mergeStrategy,omitempty" protobuf:"bytes,2,opt,name=mergeStrategy"`

	// Manifest contains the kubernetes manifest
	Manifest string `json:"manifest,omitempty" protobuf:"bytes,3,opt,name=manifest"`

	// ManifestFrom is the source for a single kubernetes manifest
	ManifestFrom *ManifestFrom `json:"manifestFrom,omitempty" protobuf:"bytes,8,opt,name=manifestFrom"`

	// SetOwnerReference sets the reference to the workflow on the OwnerReference of generated resource.
	SetOwnerReference bool `json:"setOwnerReference,omitempty" protobuf:"varint,4,opt,name=setOwnerReference"`

	// 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
	SuccessCondition string `json:"successCondition,omitempty" protobuf:"bytes,5,opt,name=successCondition"`

	// FailureCondition is a label selector expression which describes the conditions
	// of the k8s resource in which the step was considered failed
	FailureCondition string `json:"failureCondition,omitempty" protobuf:"bytes,6,opt,name=failureCondition"`

	// Flags is a set of additional options passed to kubectl before submitting a resource
	// I.e. to disable resource validation:
	// flags: [
	// 	"--validate=false"  # disable resource validation
	// ]
	Flags []string `json:"flags,omitempty" protobuf:"varint,7,opt,name=flags"`
}

ResourceTemplate is a template subtype to manipulate kubernetes resources

func (*ResourceTemplate) DeepCopy

func (in *ResourceTemplate) DeepCopy() *ResourceTemplate

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceTemplate.

func (*ResourceTemplate) DeepCopyInto

func (in *ResourceTemplate) DeepCopyInto(out *ResourceTemplate)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ResourceTemplate) Descriptor

func (*ResourceTemplate) Descriptor() ([]byte, []int)

func (*ResourceTemplate) Marshal

func (m *ResourceTemplate) Marshal() (dAtA []byte, err error)

func (*ResourceTemplate) MarshalTo

func (m *ResourceTemplate) MarshalTo(dAtA []byte) (int, error)

func (*ResourceTemplate) MarshalToSizedBuffer

func (m *ResourceTemplate) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ResourceTemplate) ProtoMessage

func (*ResourceTemplate) ProtoMessage()

func (*ResourceTemplate) Reset

func (m *ResourceTemplate) Reset()

func (*ResourceTemplate) Size

func (m *ResourceTemplate) Size() (n int)

func (*ResourceTemplate) String

func (this *ResourceTemplate) String() string

func (*ResourceTemplate) Unmarshal

func (m *ResourceTemplate) Unmarshal(dAtA []byte) error

func (*ResourceTemplate) XXX_DiscardUnknown

func (m *ResourceTemplate) XXX_DiscardUnknown()

func (*ResourceTemplate) XXX_Marshal

func (m *ResourceTemplate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ResourceTemplate) XXX_Merge

func (m *ResourceTemplate) XXX_Merge(src proto.Message)

func (*ResourceTemplate) XXX_Size

func (m *ResourceTemplate) XXX_Size() int

func (*ResourceTemplate) XXX_Unmarshal

func (m *ResourceTemplate) XXX_Unmarshal(b []byte) error

type ResourcesDuration

type ResourcesDuration map[apiv1.ResourceName]ResourceDuration

This contains each duration by request requested. e.g. 100m CPU * 1h, 1Gi memory * 1h

func (ResourcesDuration) Add

func (ResourcesDuration) DeepCopy

func (in ResourcesDuration) DeepCopy() ResourcesDuration

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourcesDuration.

func (ResourcesDuration) DeepCopyInto

func (in ResourcesDuration) DeepCopyInto(out *ResourcesDuration)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (ResourcesDuration) IsZero

func (in ResourcesDuration) IsZero() bool

func (ResourcesDuration) String

func (in ResourcesDuration) String() string

type RetryAffinity

type RetryAffinity struct {
	NodeAntiAffinity *RetryNodeAntiAffinity `json:"nodeAntiAffinity,omitempty" protobuf:"bytes,1,opt,name=nodeAntiAffinity"`
}

RetryAffinity prevents running steps on the same host.

func (*RetryAffinity) DeepCopy

func (in *RetryAffinity) DeepCopy() *RetryAffinity

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RetryAffinity.

func (*RetryAffinity) DeepCopyInto

func (in *RetryAffinity) DeepCopyInto(out *RetryAffinity)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*RetryAffinity) Descriptor

func (*RetryAffinity) Descriptor() ([]byte, []int)

func (*RetryAffinity) Marshal

func (m *RetryAffinity) Marshal() (dAtA []byte, err error)

func (*RetryAffinity) MarshalTo

func (m *RetryAffinity) MarshalTo(dAtA []byte) (int, error)

func (*RetryAffinity) MarshalToSizedBuffer

func (m *RetryAffinity) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*RetryAffinity) ProtoMessage

func (*RetryAffinity) ProtoMessage()

func (*RetryAffinity) Reset

func (m *RetryAffinity) Reset()

func (*RetryAffinity) Size

func (m *RetryAffinity) Size() (n int)

func (*RetryAffinity) String

func (this *RetryAffinity) String() string

func (*RetryAffinity) Unmarshal

func (m *RetryAffinity) Unmarshal(dAtA []byte) error

func (*RetryAffinity) XXX_DiscardUnknown

func (m *RetryAffinity) XXX_DiscardUnknown()

func (*RetryAffinity) XXX_Marshal

func (m *RetryAffinity) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RetryAffinity) XXX_Merge

func (m *RetryAffinity) XXX_Merge(src proto.Message)

func (*RetryAffinity) XXX_Size

func (m *RetryAffinity) XXX_Size() int

func (*RetryAffinity) XXX_Unmarshal

func (m *RetryAffinity) XXX_Unmarshal(b []byte) error

type RetryNodeAntiAffinity

type RetryNodeAntiAffinity struct{}

RetryNodeAntiAffinity is a placeholder for future expansion, only empty nodeAntiAffinity is allowed. In order to prevent running steps on the same host, it uses "kubernetes.io/hostname".

func (*RetryNodeAntiAffinity) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RetryNodeAntiAffinity.

func (*RetryNodeAntiAffinity) DeepCopyInto

func (in *RetryNodeAntiAffinity) DeepCopyInto(out *RetryNodeAntiAffinity)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*RetryNodeAntiAffinity) Descriptor

func (*RetryNodeAntiAffinity) Descriptor() ([]byte, []int)

func (*RetryNodeAntiAffinity) Marshal

func (m *RetryNodeAntiAffinity) Marshal() (dAtA []byte, err error)

func (*RetryNodeAntiAffinity) MarshalTo

func (m *RetryNodeAntiAffinity) MarshalTo(dAtA []byte) (int, error)

func (*RetryNodeAntiAffinity) MarshalToSizedBuffer

func (m *RetryNodeAntiAffinity) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*RetryNodeAntiAffinity) ProtoMessage

func (*RetryNodeAntiAffinity) ProtoMessage()

func (*RetryNodeAntiAffinity) Reset

func (m *RetryNodeAntiAffinity) Reset()

func (*RetryNodeAntiAffinity) Size

func (m *RetryNodeAntiAffinity) Size() (n int)

func (*RetryNodeAntiAffinity) String

func (this *RetryNodeAntiAffinity) String() string

func (*RetryNodeAntiAffinity) Unmarshal

func (m *RetryNodeAntiAffinity) Unmarshal(dAtA []byte) error

func (*RetryNodeAntiAffinity) XXX_DiscardUnknown

func (m *RetryNodeAntiAffinity) XXX_DiscardUnknown()

func (*RetryNodeAntiAffinity) XXX_Marshal

func (m *RetryNodeAntiAffinity) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RetryNodeAntiAffinity) XXX_Merge

func (m *RetryNodeAntiAffinity) XXX_Merge(src proto.Message)

func (*RetryNodeAntiAffinity) XXX_Size

func (m *RetryNodeAntiAffinity) XXX_Size() int

func (*RetryNodeAntiAffinity) XXX_Unmarshal

func (m *RetryNodeAntiAffinity) XXX_Unmarshal(b []byte) error

type RetryPolicy

type RetryPolicy string
const (
	RetryPolicyAlways           RetryPolicy = "Always"
	RetryPolicyOnFailure        RetryPolicy = "OnFailure"
	RetryPolicyOnError          RetryPolicy = "OnError"
	RetryPolicyOnTransientError RetryPolicy = "OnTransientError"
)

type RetryStrategy

type RetryStrategy struct {
	// Limit is the maximum number of retry attempts when retrying a container. It does not include the original
	// container; the maximum number of total attempts will be `limit + 1`.
	Limit *intstr.IntOrString `json:"limit,omitempty" protobuf:"varint,1,opt,name=limit"`

	// RetryPolicy is a policy of NodePhase statuses that will be retried
	RetryPolicy RetryPolicy `json:"retryPolicy,omitempty" protobuf:"bytes,2,opt,name=retryPolicy,casttype=RetryPolicy"`

	// Backoff is a backoff strategy
	Backoff *Backoff `json:"backoff,omitempty" protobuf:"bytes,3,opt,name=backoff,casttype=Backoff"`

	// Affinity prevents running workflow's step on the same host
	Affinity *RetryAffinity `json:"affinity,omitempty" protobuf:"bytes,4,opt,name=affinity"`

	// Expression is a condition expression for when a node will be retried. If it evaluates to false, the node will not
	// be retried and the retry strategy will be ignored
	Expression string `json:"expression,omitempty" protobuf:"bytes,5,opt,name=expression"`
}

RetryStrategy provides controls on how to retry a workflow step

func (*RetryStrategy) DeepCopy

func (in *RetryStrategy) DeepCopy() *RetryStrategy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RetryStrategy.

func (*RetryStrategy) DeepCopyInto

func (in *RetryStrategy) DeepCopyInto(out *RetryStrategy)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*RetryStrategy) Descriptor

func (*RetryStrategy) Descriptor() ([]byte, []int)

func (*RetryStrategy) Marshal

func (m *RetryStrategy) Marshal() (dAtA []byte, err error)

func (*RetryStrategy) MarshalTo

func (m *RetryStrategy) MarshalTo(dAtA []byte) (int, error)

func (*RetryStrategy) MarshalToSizedBuffer

func (m *RetryStrategy) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*RetryStrategy) ProtoMessage

func (*RetryStrategy) ProtoMessage()

func (*RetryStrategy) Reset

func (m *RetryStrategy) Reset()

func (*RetryStrategy) Size

func (m *RetryStrategy) Size() (n int)

func (*RetryStrategy) String

func (this *RetryStrategy) String() string

func (*RetryStrategy) Unmarshal

func (m *RetryStrategy) Unmarshal(dAtA []byte) error

func (*RetryStrategy) XXX_DiscardUnknown

func (m *RetryStrategy) XXX_DiscardUnknown()

func (*RetryStrategy) XXX_Marshal

func (m *RetryStrategy) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RetryStrategy) XXX_Merge

func (m *RetryStrategy) XXX_Merge(src proto.Message)

func (*RetryStrategy) XXX_Size

func (m *RetryStrategy) XXX_Size() int

func (*RetryStrategy) XXX_Unmarshal

func (m *RetryStrategy) XXX_Unmarshal(b []byte) error

type S3Artifact

type S3Artifact struct {
	S3Bucket `json:",inline" protobuf:"bytes,1,opt,name=s3Bucket"`

	// Key is the key in the bucket where the artifact resides
	Key string `json:"key,omitempty" protobuf:"bytes,2,opt,name=key"`
}

S3Artifact is the location of an S3 artifact

func (*S3Artifact) DeepCopy

func (in *S3Artifact) DeepCopy() *S3Artifact

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new S3Artifact.

func (*S3Artifact) DeepCopyInto

func (in *S3Artifact) DeepCopyInto(out *S3Artifact)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*S3Artifact) Descriptor

func (*S3Artifact) Descriptor() ([]byte, []int)

func (*S3Artifact) GetKey

func (s *S3Artifact) GetKey() (string, error)

func (*S3Artifact) HasLocation

func (s *S3Artifact) HasLocation() bool

func (*S3Artifact) Marshal

func (m *S3Artifact) Marshal() (dAtA []byte, err error)

func (*S3Artifact) MarshalTo

func (m *S3Artifact) MarshalTo(dAtA []byte) (int, error)

func (*S3Artifact) MarshalToSizedBuffer

func (m *S3Artifact) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*S3Artifact) ProtoMessage

func (*S3Artifact) ProtoMessage()

func (*S3Artifact) Reset

func (m *S3Artifact) Reset()

func (*S3Artifact) SetKey

func (s *S3Artifact) SetKey(key string) error

func (*S3Artifact) Size

func (m *S3Artifact) Size() (n int)

func (*S3Artifact) String

func (this *S3Artifact) String() string

func (*S3Artifact) Unmarshal

func (m *S3Artifact) Unmarshal(dAtA []byte) error

func (*S3Artifact) XXX_DiscardUnknown

func (m *S3Artifact) XXX_DiscardUnknown()

func (*S3Artifact) XXX_Marshal

func (m *S3Artifact) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*S3Artifact) XXX_Merge

func (m *S3Artifact) XXX_Merge(src proto.Message)

func (*S3Artifact) XXX_Size

func (m *S3Artifact) XXX_Size() int

func (*S3Artifact) XXX_Unmarshal

func (m *S3Artifact) XXX_Unmarshal(b []byte) error

type S3ArtifactRepository added in v3.1.2

type S3ArtifactRepository struct {
	S3Bucket `json:",inline" protobuf:"bytes,1,opt,name=s3Bucket"`

	// KeyFormat is defines the format of how to store keys. Can reference workflow variables
	KeyFormat string `json:"keyFormat,omitempty" protobuf:"bytes,2,opt,name=keyFormat"`

	// KeyPrefix is prefix used as part of the bucket key in which the controller will store artifacts.
	// DEPRECATED. Use KeyFormat instead
	KeyPrefix string `json:"keyPrefix,omitempty" protobuf:"bytes,3,opt,name=keyPrefix"`
}

S3ArtifactRepository defines the controller configuration for an S3 artifact repository

func (*S3ArtifactRepository) DeepCopy added in v3.1.2

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new S3ArtifactRepository.

func (*S3ArtifactRepository) DeepCopyInto added in v3.1.2

func (in *S3ArtifactRepository) DeepCopyInto(out *S3ArtifactRepository)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*S3ArtifactRepository) Descriptor added in v3.1.2

func (*S3ArtifactRepository) Descriptor() ([]byte, []int)

func (*S3ArtifactRepository) IntoArtifactLocation added in v3.1.2

func (r *S3ArtifactRepository) IntoArtifactLocation(l *ArtifactLocation)

func (*S3ArtifactRepository) Marshal added in v3.1.2

func (m *S3ArtifactRepository) Marshal() (dAtA []byte, err error)

func (*S3ArtifactRepository) MarshalTo added in v3.1.2

func (m *S3ArtifactRepository) MarshalTo(dAtA []byte) (int, error)

func (*S3ArtifactRepository) MarshalToSizedBuffer added in v3.1.2

func (m *S3ArtifactRepository) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*S3ArtifactRepository) ProtoMessage added in v3.1.2

func (*S3ArtifactRepository) ProtoMessage()

func (*S3ArtifactRepository) Reset added in v3.1.2

func (m *S3ArtifactRepository) Reset()

func (*S3ArtifactRepository) Size added in v3.1.2

func (m *S3ArtifactRepository) Size() (n int)

func (*S3ArtifactRepository) String added in v3.1.2

func (this *S3ArtifactRepository) String() string

func (*S3ArtifactRepository) Unmarshal added in v3.1.2

func (m *S3ArtifactRepository) Unmarshal(dAtA []byte) error

func (*S3ArtifactRepository) XXX_DiscardUnknown added in v3.1.2

func (m *S3ArtifactRepository) XXX_DiscardUnknown()

func (*S3ArtifactRepository) XXX_Marshal added in v3.1.2

func (m *S3ArtifactRepository) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*S3ArtifactRepository) XXX_Merge added in v3.1.2

func (m *S3ArtifactRepository) XXX_Merge(src proto.Message)

func (*S3ArtifactRepository) XXX_Size added in v3.1.2

func (m *S3ArtifactRepository) XXX_Size() int

func (*S3ArtifactRepository) XXX_Unmarshal added in v3.1.2

func (m *S3ArtifactRepository) XXX_Unmarshal(b []byte) error

type S3Bucket

type S3Bucket struct {
	// Endpoint is the hostname of the bucket endpoint
	Endpoint string `json:"endpoint,omitempty" protobuf:"bytes,1,opt,name=endpoint"`

	// Bucket is the name of the bucket
	Bucket string `json:"bucket,omitempty" protobuf:"bytes,2,opt,name=bucket"`

	// Region contains the optional bucket region
	Region string `json:"region,omitempty" protobuf:"bytes,3,opt,name=region"`

	// Insecure will connect to the service with TLS
	Insecure *bool `json:"insecure,omitempty" protobuf:"varint,4,opt,name=insecure"`

	// AccessKeySecret is the secret selector to the bucket's access key
	AccessKeySecret *apiv1.SecretKeySelector `json:"accessKeySecret,omitempty" protobuf:"bytes,5,opt,name=accessKeySecret"`

	// SecretKeySecret is the secret selector to the bucket's secret key
	SecretKeySecret *apiv1.SecretKeySelector `json:"secretKeySecret,omitempty" protobuf:"bytes,6,opt,name=secretKeySecret"`

	// RoleARN is the Amazon Resource Name (ARN) of the role to assume.
	RoleARN string `json:"roleARN,omitempty" protobuf:"bytes,7,opt,name=roleARN"`

	// UseSDKCreds tells the driver to figure out credentials based on sdk defaults.
	UseSDKCreds bool `json:"useSDKCreds,omitempty" protobuf:"varint,8,opt,name=useSDKCreds"`

	// CreateBucketIfNotPresent tells the driver to attempt to create the S3 bucket for output artifacts, if it doesn't exist. Setting Enabled Encryption will apply either SSE-S3 to the bucket if KmsKeyId is not set or SSE-KMS if it is.
	CreateBucketIfNotPresent *CreateS3BucketOptions `json:"createBucketIfNotPresent,omitempty" protobuf:"bytes,9,opt,name=createBucketIfNotPresent"`

	EncryptionOptions *S3EncryptionOptions `json:"encryptionOptions,omitempty" protobuf:"bytes,10,opt,name=encryptionOptions"`
}

S3Bucket contains the access information required for interfacing with an S3 bucket

func (*S3Bucket) DeepCopy

func (in *S3Bucket) DeepCopy() *S3Bucket

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new S3Bucket.

func (*S3Bucket) DeepCopyInto

func (in *S3Bucket) DeepCopyInto(out *S3Bucket)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*S3Bucket) Descriptor

func (*S3Bucket) Descriptor() ([]byte, []int)

func (*S3Bucket) Marshal

func (m *S3Bucket) Marshal() (dAtA []byte, err error)

func (*S3Bucket) MarshalTo

func (m *S3Bucket) MarshalTo(dAtA []byte) (int, error)

func (*S3Bucket) MarshalToSizedBuffer

func (m *S3Bucket) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*S3Bucket) ProtoMessage

func (*S3Bucket) ProtoMessage()

func (*S3Bucket) Reset

func (m *S3Bucket) Reset()

func (*S3Bucket) Size

func (m *S3Bucket) Size() (n int)

func (*S3Bucket) String

func (this *S3Bucket) String() string

func (*S3Bucket) Unmarshal

func (m *S3Bucket) Unmarshal(dAtA []byte) error

func (*S3Bucket) XXX_DiscardUnknown

func (m *S3Bucket) XXX_DiscardUnknown()

func (*S3Bucket) XXX_Marshal

func (m *S3Bucket) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*S3Bucket) XXX_Merge

func (m *S3Bucket) XXX_Merge(src proto.Message)

func (*S3Bucket) XXX_Size

func (m *S3Bucket) XXX_Size() int

func (*S3Bucket) XXX_Unmarshal

func (m *S3Bucket) XXX_Unmarshal(b []byte) error

type S3EncryptionOptions added in v3.2.0

type S3EncryptionOptions struct {
	// KMSKeyId tells the driver to encrypt the object using the specified KMS Key.
	KmsKeyId string `json:"kmsKeyId,omitempty" protobuf:"bytes,1,opt,name=kmsKeyId"`

	// KmsEncryptionContext is a json blob that contains an encryption context. See https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#encrypt_context for more information
	KmsEncryptionContext string `json:"kmsEncryptionContext,omitempty" protobuf:"bytes,2,opt,name=kmsEncryptionContext"`

	// EnableEncryption tells the driver to encrypt objects if set to true. If kmsKeyId and serverSideCustomerKeySecret are not set, SSE-S3 will be used
	EnableEncryption bool `json:"enableEncryption,omitempty" protobuf:"varint,3,opt,name=enableEncryption"`

	// ServerSideCustomerKeySecret tells the driver to encrypt the output artifacts using SSE-C with the specified secret.
	ServerSideCustomerKeySecret *apiv1.SecretKeySelector `json:"serverSideCustomerKeySecret,omitempty" protobuf:"bytes,4,opt,name=serverSideCustomerKeySecret"`
}

S3EncryptionOptions used to determine encryption options during s3 operations

func (*S3EncryptionOptions) DeepCopy added in v3.2.0

func (in *S3EncryptionOptions) DeepCopy() *S3EncryptionOptions

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new S3EncryptionOptions.

func (*S3EncryptionOptions) DeepCopyInto added in v3.2.0

func (in *S3EncryptionOptions) DeepCopyInto(out *S3EncryptionOptions)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*S3EncryptionOptions) Descriptor added in v3.2.0

func (*S3EncryptionOptions) Descriptor() ([]byte, []int)

func (*S3EncryptionOptions) Marshal added in v3.2.0

func (m *S3EncryptionOptions) Marshal() (dAtA []byte, err error)

func (*S3EncryptionOptions) MarshalTo added in v3.2.0

func (m *S3EncryptionOptions) MarshalTo(dAtA []byte) (int, error)

func (*S3EncryptionOptions) MarshalToSizedBuffer added in v3.2.0

func (m *S3EncryptionOptions) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*S3EncryptionOptions) ProtoMessage added in v3.2.0

func (*S3EncryptionOptions) ProtoMessage()

func (*S3EncryptionOptions) Reset added in v3.2.0

func (m *S3EncryptionOptions) Reset()

func (*S3EncryptionOptions) Size added in v3.2.0

func (m *S3EncryptionOptions) Size() (n int)

func (*S3EncryptionOptions) String added in v3.2.0

func (this *S3EncryptionOptions) String() string

func (*S3EncryptionOptions) Unmarshal added in v3.2.0

func (m *S3EncryptionOptions) Unmarshal(dAtA []byte) error

func (*S3EncryptionOptions) XXX_DiscardUnknown added in v3.2.0

func (m *S3EncryptionOptions) XXX_DiscardUnknown()

func (*S3EncryptionOptions) XXX_Marshal added in v3.2.0

func (m *S3EncryptionOptions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*S3EncryptionOptions) XXX_Merge added in v3.2.0

func (m *S3EncryptionOptions) XXX_Merge(src proto.Message)

func (*S3EncryptionOptions) XXX_Size added in v3.2.0

func (m *S3EncryptionOptions) XXX_Size() int

func (*S3EncryptionOptions) XXX_Unmarshal added in v3.2.0

func (m *S3EncryptionOptions) XXX_Unmarshal(b []byte) error

type ScriptTemplate

type ScriptTemplate struct {
	apiv1.Container `json:",inline" protobuf:"bytes,1,opt,name=container"`

	// Source contains the source code of the script to execute
	Source string `json:"source" protobuf:"bytes,2,opt,name=source"`
}

ScriptTemplate is a template subtype to enable scripting through code steps

func (*ScriptTemplate) DeepCopy

func (in *ScriptTemplate) DeepCopy() *ScriptTemplate

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ScriptTemplate.

func (*ScriptTemplate) DeepCopyInto

func (in *ScriptTemplate) DeepCopyInto(out *ScriptTemplate)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ScriptTemplate) Descriptor

func (*ScriptTemplate) Descriptor() ([]byte, []int)

func (*ScriptTemplate) Marshal

func (m *ScriptTemplate) Marshal() (dAtA []byte, err error)

func (*ScriptTemplate) MarshalTo

func (m *ScriptTemplate) MarshalTo(dAtA []byte) (int, error)

func (*ScriptTemplate) MarshalToSizedBuffer

func (m *ScriptTemplate) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ScriptTemplate) ProtoMessage

func (*ScriptTemplate) ProtoMessage()

func (*ScriptTemplate) Reset

func (m *ScriptTemplate) Reset()

func (*ScriptTemplate) Size

func (m *ScriptTemplate) Size() (n int)

func (*ScriptTemplate) String

func (this *ScriptTemplate) String() string

func (*ScriptTemplate) Unmarshal

func (m *ScriptTemplate) Unmarshal(dAtA []byte) error

func (*ScriptTemplate) XXX_DiscardUnknown

func (m *ScriptTemplate) XXX_DiscardUnknown()

func (*ScriptTemplate) XXX_Marshal

func (m *ScriptTemplate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ScriptTemplate) XXX_Merge

func (m *ScriptTemplate) XXX_Merge(src proto.Message)

func (*ScriptTemplate) XXX_Size

func (m *ScriptTemplate) XXX_Size() int

func (*ScriptTemplate) XXX_Unmarshal

func (m *ScriptTemplate) XXX_Unmarshal(b []byte) error

type SemaphoreHolding

type SemaphoreHolding struct {
	// Semaphore stores the semaphore name.
	Semaphore string `json:"semaphore,omitempty" protobuf:"bytes,1,opt,name=semaphore"`
	// Holders stores the list of current holder names in the workflow.
	// +listType=atomic
	Holders []string `json:"holders,omitempty" protobuf:"bytes,2,opt,name=holders"`
}

func (*SemaphoreHolding) DeepCopy

func (in *SemaphoreHolding) DeepCopy() *SemaphoreHolding

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SemaphoreHolding.

func (*SemaphoreHolding) DeepCopyInto

func (in *SemaphoreHolding) DeepCopyInto(out *SemaphoreHolding)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*SemaphoreHolding) Descriptor

func (*SemaphoreHolding) Descriptor() ([]byte, []int)

func (*SemaphoreHolding) Marshal

func (m *SemaphoreHolding) Marshal() (dAtA []byte, err error)

func (*SemaphoreHolding) MarshalTo

func (m *SemaphoreHolding) MarshalTo(dAtA []byte) (int, error)

func (*SemaphoreHolding) MarshalToSizedBuffer

func (m *SemaphoreHolding) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SemaphoreHolding) ProtoMessage

func (*SemaphoreHolding) ProtoMessage()

func (*SemaphoreHolding) Reset

func (m *SemaphoreHolding) Reset()

func (*SemaphoreHolding) Size

func (m *SemaphoreHolding) Size() (n int)

func (*SemaphoreHolding) String

func (this *SemaphoreHolding) String() string

func (*SemaphoreHolding) Unmarshal

func (m *SemaphoreHolding) Unmarshal(dAtA []byte) error

func (*SemaphoreHolding) XXX_DiscardUnknown

func (m *SemaphoreHolding) XXX_DiscardUnknown()

func (*SemaphoreHolding) XXX_Marshal

func (m *SemaphoreHolding) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SemaphoreHolding) XXX_Merge

func (m *SemaphoreHolding) XXX_Merge(src proto.Message)

func (*SemaphoreHolding) XXX_Size

func (m *SemaphoreHolding) XXX_Size() int

func (*SemaphoreHolding) XXX_Unmarshal

func (m *SemaphoreHolding) XXX_Unmarshal(b []byte) error

type SemaphoreRef

type SemaphoreRef struct {
	// ConfigMapKeyRef is configmap selector for Semaphore configuration
	ConfigMapKeyRef *apiv1.ConfigMapKeySelector `json:"configMapKeyRef,omitempty" protobuf:"bytes,1,opt,name=configMapKeyRef"`
}

SemaphoreRef is a reference of Semaphore

func (*SemaphoreRef) DeepCopy

func (in *SemaphoreRef) DeepCopy() *SemaphoreRef

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SemaphoreRef.

func (*SemaphoreRef) DeepCopyInto

func (in *SemaphoreRef) DeepCopyInto(out *SemaphoreRef)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*SemaphoreRef) Descriptor

func (*SemaphoreRef) Descriptor() ([]byte, []int)

func (*SemaphoreRef) Marshal

func (m *SemaphoreRef) Marshal() (dAtA []byte, err error)

func (*SemaphoreRef) MarshalTo

func (m *SemaphoreRef) MarshalTo(dAtA []byte) (int, error)

func (*SemaphoreRef) MarshalToSizedBuffer

func (m *SemaphoreRef) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SemaphoreRef) ProtoMessage

func (*SemaphoreRef) ProtoMessage()

func (*SemaphoreRef) Reset

func (m *SemaphoreRef) Reset()

func (*SemaphoreRef) Size

func (m *SemaphoreRef) Size() (n int)

func (*SemaphoreRef) String

func (this *SemaphoreRef) String() string

func (*SemaphoreRef) Unmarshal

func (m *SemaphoreRef) Unmarshal(dAtA []byte) error

func (*SemaphoreRef) XXX_DiscardUnknown

func (m *SemaphoreRef) XXX_DiscardUnknown()

func (*SemaphoreRef) XXX_Marshal

func (m *SemaphoreRef) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SemaphoreRef) XXX_Merge

func (m *SemaphoreRef) XXX_Merge(src proto.Message)

func (*SemaphoreRef) XXX_Size

func (m *SemaphoreRef) XXX_Size() int

func (*SemaphoreRef) XXX_Unmarshal

func (m *SemaphoreRef) XXX_Unmarshal(b []byte) error

type SemaphoreStatus

type SemaphoreStatus struct {
	// Holding stores the list of resource acquired synchronization lock for workflows.
	Holding []SemaphoreHolding `json:"holding,omitempty" protobuf:"bytes,1,opt,name=holding"`
	// Waiting indicates the list of current synchronization lock holders.
	Waiting []SemaphoreHolding `json:"waiting,omitempty" protobuf:"bytes,2,opt,name=waiting"`
}

func (*SemaphoreStatus) DeepCopy

func (in *SemaphoreStatus) DeepCopy() *SemaphoreStatus

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SemaphoreStatus.

func (*SemaphoreStatus) DeepCopyInto

func (in *SemaphoreStatus) DeepCopyInto(out *SemaphoreStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*SemaphoreStatus) Descriptor

func (*SemaphoreStatus) Descriptor() ([]byte, []int)

func (*SemaphoreStatus) GetHolding

func (ss *SemaphoreStatus) GetHolding(semaphoreName string) (int, SemaphoreHolding)

func (*SemaphoreStatus) GetWaiting

func (ss *SemaphoreStatus) GetWaiting(semaphoreName string) (int, SemaphoreHolding)

func (*SemaphoreStatus) LockAcquired

func (ss *SemaphoreStatus) LockAcquired(holderKey, lockKey string, currentHolders []string) bool

func (*SemaphoreStatus) LockReleased

func (ss *SemaphoreStatus) LockReleased(holderKey, lockKey string) bool

func (*SemaphoreStatus) LockWaiting

func (ss *SemaphoreStatus) LockWaiting(holderKey, lockKey string, currentHolders []string) bool

func (*SemaphoreStatus) Marshal

func (m *SemaphoreStatus) Marshal() (dAtA []byte, err error)

func (*SemaphoreStatus) MarshalTo

func (m *SemaphoreStatus) MarshalTo(dAtA []byte) (int, error)

func (*SemaphoreStatus) MarshalToSizedBuffer

func (m *SemaphoreStatus) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SemaphoreStatus) ProtoMessage

func (*SemaphoreStatus) ProtoMessage()

func (*SemaphoreStatus) Reset

func (m *SemaphoreStatus) Reset()

func (*SemaphoreStatus) Size

func (m *SemaphoreStatus) Size() (n int)

func (*SemaphoreStatus) String

func (this *SemaphoreStatus) String() string

func (*SemaphoreStatus) Unmarshal

func (m *SemaphoreStatus) Unmarshal(dAtA []byte) error

func (*SemaphoreStatus) XXX_DiscardUnknown

func (m *SemaphoreStatus) XXX_DiscardUnknown()

func (*SemaphoreStatus) XXX_Marshal

func (m *SemaphoreStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SemaphoreStatus) XXX_Merge

func (m *SemaphoreStatus) XXX_Merge(src proto.Message)

func (*SemaphoreStatus) XXX_Size

func (m *SemaphoreStatus) XXX_Size() int

func (*SemaphoreStatus) XXX_Unmarshal

func (m *SemaphoreStatus) XXX_Unmarshal(b []byte) error

type Sequence

type Sequence struct {
	// Count is number of elements in the sequence (default: 0). Not to be used with end
	Count *intstr.IntOrString `json:"count,omitempty" protobuf:"bytes,1,opt,name=count"`

	// Number at which to start the sequence (default: 0)
	Start *intstr.IntOrString `json:"start,omitempty" protobuf:"bytes,2,opt,name=start"`

	// Number at which to end the sequence (default: 0). Not to be used with Count
	End *intstr.IntOrString `json:"end,omitempty" protobuf:"bytes,3,opt,name=end"`

	// Format is a printf format string to format the value in the sequence
	Format string `json:"format,omitempty" protobuf:"bytes,4,opt,name=format"`
}

Sequence expands a workflow step into numeric range

func (*Sequence) DeepCopy

func (in *Sequence) DeepCopy() *Sequence

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Sequence.

func (*Sequence) DeepCopyInto

func (in *Sequence) DeepCopyInto(out *Sequence)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*Sequence) Descriptor

func (*Sequence) Descriptor() ([]byte, []int)

func (*Sequence) Marshal

func (m *Sequence) Marshal() (dAtA []byte, err error)

func (*Sequence) MarshalTo

func (m *Sequence) MarshalTo(dAtA []byte) (int, error)

func (*Sequence) MarshalToSizedBuffer

func (m *Sequence) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Sequence) ProtoMessage

func (*Sequence) ProtoMessage()

func (*Sequence) Reset

func (m *Sequence) Reset()

func (*Sequence) Size

func (m *Sequence) Size() (n int)

func (*Sequence) String

func (this *Sequence) String() string

func (*Sequence) Unmarshal

func (m *Sequence) Unmarshal(dAtA []byte) error

func (*Sequence) XXX_DiscardUnknown

func (m *Sequence) XXX_DiscardUnknown()

func (*Sequence) XXX_Marshal

func (m *Sequence) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Sequence) XXX_Merge

func (m *Sequence) XXX_Merge(src proto.Message)

func (*Sequence) XXX_Size

func (m *Sequence) XXX_Size() int

func (*Sequence) XXX_Unmarshal

func (m *Sequence) XXX_Unmarshal(b []byte) error

type ShutdownStrategy

type ShutdownStrategy string
const (
	ShutdownStrategyTerminate ShutdownStrategy = "Terminate"
	ShutdownStrategyStop      ShutdownStrategy = "Stop"
	ShutdownStrategyNone      ShutdownStrategy = ""
)

func (ShutdownStrategy) Enabled

func (s ShutdownStrategy) Enabled() bool

func (ShutdownStrategy) ShouldExecute

func (s ShutdownStrategy) ShouldExecute(isOnExitPod bool) bool

type Submit

type Submit struct {
	// WorkflowTemplateRef the workflow template to submit
	WorkflowTemplateRef WorkflowTemplateRef `json:"workflowTemplateRef" protobuf:"bytes,1,opt,name=workflowTemplateRef"`

	// Metadata optional means to customize select fields of the workflow metadata
	metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,3,opt,name=metadata"`

	// Arguments extracted from the event and then set as arguments to the workflow created.
	Arguments *Arguments `json:"arguments,omitempty" protobuf:"bytes,2,opt,name=arguments"`
}

func (*Submit) DeepCopy

func (in *Submit) DeepCopy() *Submit

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Submit.

func (*Submit) DeepCopyInto

func (in *Submit) DeepCopyInto(out *Submit)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*Submit) Descriptor

func (*Submit) Descriptor() ([]byte, []int)

func (*Submit) Marshal

func (m *Submit) Marshal() (dAtA []byte, err error)

func (*Submit) MarshalTo

func (m *Submit) MarshalTo(dAtA []byte) (int, error)

func (*Submit) MarshalToSizedBuffer

func (m *Submit) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Submit) ProtoMessage

func (*Submit) ProtoMessage()

func (*Submit) Reset

func (m *Submit) Reset()

func (*Submit) Size

func (m *Submit) Size() (n int)

func (*Submit) String

func (this *Submit) String() string

func (*Submit) Unmarshal

func (m *Submit) Unmarshal(dAtA []byte) error

func (*Submit) XXX_DiscardUnknown

func (m *Submit) XXX_DiscardUnknown()

func (*Submit) XXX_Marshal

func (m *Submit) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Submit) XXX_Merge

func (m *Submit) XXX_Merge(src proto.Message)

func (*Submit) XXX_Size

func (m *Submit) XXX_Size() int

func (*Submit) XXX_Unmarshal

func (m *Submit) XXX_Unmarshal(b []byte) error

type SubmitOpts

type SubmitOpts struct {
	// Name overrides metadata.name
	Name string `json:"name,omitempty" protobuf:"bytes,1,opt,name=name"`
	// GenerateName overrides metadata.generateName
	GenerateName string `json:"generateName,omitempty" protobuf:"bytes,2,opt,name=generateName"`
	// Entrypoint overrides spec.entrypoint
	Entrypoint string `json:"entryPoint,omitempty" protobuf:"bytes,4,opt,name=entrypoint"`
	// Parameters passes input parameters to workflow
	Parameters []string `json:"parameters,omitempty" protobuf:"bytes,5,rep,name=parameters"`
	// ServiceAccount runs all pods in the workflow using specified ServiceAccount.
	ServiceAccount string `json:"serviceAccount,omitempty" protobuf:"bytes,7,opt,name=serviceAccount"`
	// DryRun validates the workflow on the client-side without creating it. This option is not supported in API
	DryRun bool `json:"dryRun,omitempty" protobuf:"varint,8,opt,name=dryRun"`
	// ServerDryRun validates the workflow on the server-side without creating it
	ServerDryRun bool `json:"serverDryRun,omitempty" protobuf:"varint,9,opt,name=serverDryRun"`
	// Labels adds to metadata.labels
	Labels string `json:"labels,omitempty" protobuf:"bytes,10,opt,name=labels"`
	// OwnerReference creates a metadata.ownerReference
	OwnerReference *metav1.OwnerReference `json:"ownerReference,omitempty" protobuf:"bytes,11,opt,name=ownerReference"`
	// Annotations adds to metadata.labels
	Annotations string `json:"annotations,omitempty" protobuf:"bytes,12,opt,name=annotations"`
	// Set the podPriorityClassName of the workflow
	PodPriorityClassName string `json:"podPriorityClassName,omitempty" protobuf:"bytes,13,opt,name=podPriorityClassName"`
	// Priority is used if controller is configured to process limited number of workflows in parallel, higher priority workflows
	// are processed first.
	Priority *int32 `json:"priority,omitempty" protobuf:"bytes,14,opt,name=priority"`
}

SubmitOpts are workflow submission options

func (*SubmitOpts) DeepCopy

func (in *SubmitOpts) DeepCopy() *SubmitOpts

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubmitOpts.

func (*SubmitOpts) DeepCopyInto

func (in *SubmitOpts) DeepCopyInto(out *SubmitOpts)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*SubmitOpts) Descriptor

func (*SubmitOpts) Descriptor() ([]byte, []int)

func (*SubmitOpts) Marshal

func (m *SubmitOpts) Marshal() (dAtA []byte, err error)

func (*SubmitOpts) MarshalTo

func (m *SubmitOpts) MarshalTo(dAtA []byte) (int, error)

func (*SubmitOpts) MarshalToSizedBuffer

func (m *SubmitOpts) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SubmitOpts) ProtoMessage

func (*SubmitOpts) ProtoMessage()

func (*SubmitOpts) Reset

func (m *SubmitOpts) Reset()

func (*SubmitOpts) Size

func (m *SubmitOpts) Size() (n int)

func (*SubmitOpts) String

func (this *SubmitOpts) String() string

func (*SubmitOpts) Unmarshal

func (m *SubmitOpts) Unmarshal(dAtA []byte) error

func (*SubmitOpts) XXX_DiscardUnknown

func (m *SubmitOpts) XXX_DiscardUnknown()

func (*SubmitOpts) XXX_Marshal

func (m *SubmitOpts) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SubmitOpts) XXX_Merge

func (m *SubmitOpts) XXX_Merge(src proto.Message)

func (*SubmitOpts) XXX_Size

func (m *SubmitOpts) XXX_Size() int

func (*SubmitOpts) XXX_Unmarshal

func (m *SubmitOpts) XXX_Unmarshal(b []byte) error

type SuppliedValueFrom

type SuppliedValueFrom struct{}

SuppliedValueFrom is a placeholder for a value to be filled in directly, either through the CLI, API, etc.

func (*SuppliedValueFrom) DeepCopy

func (in *SuppliedValueFrom) DeepCopy() *SuppliedValueFrom

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SuppliedValueFrom.

func (*SuppliedValueFrom) DeepCopyInto

func (in *SuppliedValueFrom) DeepCopyInto(out *SuppliedValueFrom)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*SuppliedValueFrom) Descriptor

func (*SuppliedValueFrom) Descriptor() ([]byte, []int)

func (*SuppliedValueFrom) Marshal

func (m *SuppliedValueFrom) Marshal() (dAtA []byte, err error)

func (*SuppliedValueFrom) MarshalTo

func (m *SuppliedValueFrom) MarshalTo(dAtA []byte) (int, error)

func (*SuppliedValueFrom) MarshalToSizedBuffer

func (m *SuppliedValueFrom) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SuppliedValueFrom) ProtoMessage

func (*SuppliedValueFrom) ProtoMessage()

func (*SuppliedValueFrom) Reset

func (m *SuppliedValueFrom) Reset()

func (*SuppliedValueFrom) Size

func (m *SuppliedValueFrom) Size() (n int)

func (*SuppliedValueFrom) String

func (this *SuppliedValueFrom) String() string

func (*SuppliedValueFrom) Unmarshal

func (m *SuppliedValueFrom) Unmarshal(dAtA []byte) error

func (*SuppliedValueFrom) XXX_DiscardUnknown

func (m *SuppliedValueFrom) XXX_DiscardUnknown()

func (*SuppliedValueFrom) XXX_Marshal

func (m *SuppliedValueFrom) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SuppliedValueFrom) XXX_Merge

func (m *SuppliedValueFrom) XXX_Merge(src proto.Message)

func (*SuppliedValueFrom) XXX_Size

func (m *SuppliedValueFrom) XXX_Size() int

func (*SuppliedValueFrom) XXX_Unmarshal

func (m *SuppliedValueFrom) XXX_Unmarshal(b []byte) error

type SuspendTemplate

type SuspendTemplate struct {
	// Duration is the seconds to wait before automatically resuming a template
	Duration string `json:"duration,omitempty" protobuf:"bytes,1,opt,name=duration"`
}

SuspendTemplate is a template subtype to suspend a workflow at a predetermined point in time

func (*SuspendTemplate) DeepCopy

func (in *SuspendTemplate) DeepCopy() *SuspendTemplate

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SuspendTemplate.

func (*SuspendTemplate) DeepCopyInto

func (in *SuspendTemplate) DeepCopyInto(out *SuspendTemplate)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*SuspendTemplate) Descriptor

func (*SuspendTemplate) Descriptor() ([]byte, []int)

func (*SuspendTemplate) Marshal

func (m *SuspendTemplate) Marshal() (dAtA []byte, err error)

func (*SuspendTemplate) MarshalTo

func (m *SuspendTemplate) MarshalTo(dAtA []byte) (int, error)

func (*SuspendTemplate) MarshalToSizedBuffer

func (m *SuspendTemplate) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SuspendTemplate) ProtoMessage

func (*SuspendTemplate) ProtoMessage()

func (*SuspendTemplate) Reset

func (m *SuspendTemplate) Reset()

func (*SuspendTemplate) Size

func (m *SuspendTemplate) Size() (n int)

func (*SuspendTemplate) String

func (this *SuspendTemplate) String() string

func (*SuspendTemplate) Unmarshal

func (m *SuspendTemplate) Unmarshal(dAtA []byte) error

func (*SuspendTemplate) XXX_DiscardUnknown

func (m *SuspendTemplate) XXX_DiscardUnknown()

func (*SuspendTemplate) XXX_Marshal

func (m *SuspendTemplate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SuspendTemplate) XXX_Merge

func (m *SuspendTemplate) XXX_Merge(src proto.Message)

func (*SuspendTemplate) XXX_Size

func (m *SuspendTemplate) XXX_Size() int

func (*SuspendTemplate) XXX_Unmarshal

func (m *SuspendTemplate) XXX_Unmarshal(b []byte) error

type Synchronization

type Synchronization struct {
	// Semaphore holds the Semaphore configuration
	Semaphore *SemaphoreRef `json:"semaphore,omitempty" protobuf:"bytes,1,opt,name=semaphore"`
	// Mutex holds the Mutex lock details
	Mutex *Mutex `json:"mutex,omitempty" protobuf:"bytes,2,opt,name=mutex"`
}

Synchronization holds synchronization lock configuration

func (*Synchronization) DeepCopy

func (in *Synchronization) DeepCopy() *Synchronization

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Synchronization.

func (*Synchronization) DeepCopyInto

func (in *Synchronization) DeepCopyInto(out *Synchronization)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*Synchronization) Descriptor

func (*Synchronization) Descriptor() ([]byte, []int)

func (*Synchronization) GetType

func (s *Synchronization) GetType() SynchronizationType

func (*Synchronization) Marshal

func (m *Synchronization) Marshal() (dAtA []byte, err error)

func (*Synchronization) MarshalTo

func (m *Synchronization) MarshalTo(dAtA []byte) (int, error)

func (*Synchronization) MarshalToSizedBuffer

func (m *Synchronization) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Synchronization) ProtoMessage

func (*Synchronization) ProtoMessage()

func (*Synchronization) Reset

func (m *Synchronization) Reset()

func (*Synchronization) Size

func (m *Synchronization) Size() (n int)

func (*Synchronization) String

func (this *Synchronization) String() string

func (*Synchronization) Unmarshal

func (m *Synchronization) Unmarshal(dAtA []byte) error

func (*Synchronization) XXX_DiscardUnknown

func (m *Synchronization) XXX_DiscardUnknown()

func (*Synchronization) XXX_Marshal

func (m *Synchronization) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Synchronization) XXX_Merge

func (m *Synchronization) XXX_Merge(src proto.Message)

func (*Synchronization) XXX_Size

func (m *Synchronization) XXX_Size() int

func (*Synchronization) XXX_Unmarshal

func (m *Synchronization) XXX_Unmarshal(b []byte) error

type SynchronizationAction

type SynchronizationAction interface {
	LockWaiting(holderKey, lockKey string, currentHolders []string) bool
	LockAcquired(holderKey, lockKey string, currentHolders []string) bool
	LockReleased(holderKey, lockKey string) bool
}

type SynchronizationStatus

type SynchronizationStatus struct {
	// Semaphore stores this workflow's Semaphore holder details
	Semaphore *SemaphoreStatus `json:"semaphore,omitempty" protobuf:"bytes,1,opt,name=semaphore"`
	// Mutex stores this workflow's mutex holder details
	Mutex *MutexStatus `json:"mutex,omitempty" protobuf:"bytes,2,opt,name=mutex"`
}

SynchronizationStatus stores the status of semaphore and mutex.

func (*SynchronizationStatus) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SynchronizationStatus.

func (*SynchronizationStatus) DeepCopyInto

func (in *SynchronizationStatus) DeepCopyInto(out *SynchronizationStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*SynchronizationStatus) Descriptor

func (*SynchronizationStatus) Descriptor() ([]byte, []int)

func (*SynchronizationStatus) GetStatus

func (*SynchronizationStatus) Marshal

func (m *SynchronizationStatus) Marshal() (dAtA []byte, err error)

func (*SynchronizationStatus) MarshalTo

func (m *SynchronizationStatus) MarshalTo(dAtA []byte) (int, error)

func (*SynchronizationStatus) MarshalToSizedBuffer

func (m *SynchronizationStatus) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SynchronizationStatus) ProtoMessage

func (*SynchronizationStatus) ProtoMessage()

func (*SynchronizationStatus) Reset

func (m *SynchronizationStatus) Reset()

func (*SynchronizationStatus) Size

func (m *SynchronizationStatus) Size() (n int)

func (*SynchronizationStatus) String

func (this *SynchronizationStatus) String() string

func (*SynchronizationStatus) Unmarshal

func (m *SynchronizationStatus) Unmarshal(dAtA []byte) error

func (*SynchronizationStatus) XXX_DiscardUnknown

func (m *SynchronizationStatus) XXX_DiscardUnknown()

func (*SynchronizationStatus) XXX_Marshal

func (m *SynchronizationStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SynchronizationStatus) XXX_Merge

func (m *SynchronizationStatus) XXX_Merge(src proto.Message)

func (*SynchronizationStatus) XXX_Size

func (m *SynchronizationStatus) XXX_Size() int

func (*SynchronizationStatus) XXX_Unmarshal

func (m *SynchronizationStatus) XXX_Unmarshal(b []byte) error

type SynchronizationType

type SynchronizationType string
const (
	SynchronizationTypeSemaphore SynchronizationType = "Semaphore"
	SynchronizationTypeMutex     SynchronizationType = "Mutex"
	SynchronizationTypeUnknown   SynchronizationType = "Unknown"
)

type TTLStrategy

type TTLStrategy struct {
	// SecondsAfterCompletion is the number of seconds to live after completion
	SecondsAfterCompletion *int32 `json:"secondsAfterCompletion,omitempty" protobuf:"bytes,1,opt,name=secondsAfterCompletion"`
	// SecondsAfterSuccess is the number of seconds to live after success
	SecondsAfterSuccess *int32 `json:"secondsAfterSuccess,omitempty" protobuf:"bytes,2,opt,name=secondsAfterSuccess"`
	// SecondsAfterFailure is the number of seconds to live after failure
	SecondsAfterFailure *int32 `json:"secondsAfterFailure,omitempty" protobuf:"bytes,3,opt,name=secondsAfterFailure"`
}

TTLStrategy is the strategy for the time to live depending on if the workflow succeeded or failed

func (*TTLStrategy) DeepCopy

func (in *TTLStrategy) DeepCopy() *TTLStrategy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TTLStrategy.

func (*TTLStrategy) DeepCopyInto

func (in *TTLStrategy) DeepCopyInto(out *TTLStrategy)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*TTLStrategy) Descriptor

func (*TTLStrategy) Descriptor() ([]byte, []int)

func (*TTLStrategy) Marshal

func (m *TTLStrategy) Marshal() (dAtA []byte, err error)

func (*TTLStrategy) MarshalTo

func (m *TTLStrategy) MarshalTo(dAtA []byte) (int, error)

func (*TTLStrategy) MarshalToSizedBuffer

func (m *TTLStrategy) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*TTLStrategy) ProtoMessage

func (*TTLStrategy) ProtoMessage()

func (*TTLStrategy) Reset

func (m *TTLStrategy) Reset()

func (*TTLStrategy) Size

func (m *TTLStrategy) Size() (n int)

func (*TTLStrategy) String

func (this *TTLStrategy) String() string

func (*TTLStrategy) Unmarshal

func (m *TTLStrategy) Unmarshal(dAtA []byte) error

func (*TTLStrategy) XXX_DiscardUnknown

func (m *TTLStrategy) XXX_DiscardUnknown()

func (*TTLStrategy) XXX_Marshal

func (m *TTLStrategy) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*TTLStrategy) XXX_Merge

func (m *TTLStrategy) XXX_Merge(src proto.Message)

func (*TTLStrategy) XXX_Size

func (m *TTLStrategy) XXX_Size() int

func (*TTLStrategy) XXX_Unmarshal

func (m *TTLStrategy) XXX_Unmarshal(b []byte) error

type TarStrategy

type TarStrategy struct {
	// CompressionLevel specifies the gzip compression level to use for the artifact.
	// Defaults to gzip.DefaultCompression.
	CompressionLevel *int32 `json:"compressionLevel,omitempty" protobuf:"varint,1,opt,name=compressionLevel"`
}

TarStrategy will tar and gzip the file or directory when saving

func (*TarStrategy) DeepCopy

func (in *TarStrategy) DeepCopy() *TarStrategy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TarStrategy.

func (*TarStrategy) DeepCopyInto

func (in *TarStrategy) DeepCopyInto(out *TarStrategy)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*TarStrategy) Descriptor

func (*TarStrategy) Descriptor() ([]byte, []int)

func (*TarStrategy) Marshal

func (m *TarStrategy) Marshal() (dAtA []byte, err error)

func (*TarStrategy) MarshalTo

func (m *TarStrategy) MarshalTo(dAtA []byte) (int, error)

func (*TarStrategy) MarshalToSizedBuffer

func (m *TarStrategy) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*TarStrategy) ProtoMessage

func (*TarStrategy) ProtoMessage()

func (*TarStrategy) Reset

func (m *TarStrategy) Reset()

func (*TarStrategy) Size

func (m *TarStrategy) Size() (n int)

func (*TarStrategy) String

func (this *TarStrategy) String() string

func (*TarStrategy) Unmarshal

func (m *TarStrategy) Unmarshal(dAtA []byte) error

func (*TarStrategy) XXX_DiscardUnknown

func (m *TarStrategy) XXX_DiscardUnknown()

func (*TarStrategy) XXX_Marshal

func (m *TarStrategy) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*TarStrategy) XXX_Merge

func (m *TarStrategy) XXX_Merge(src proto.Message)

func (*TarStrategy) XXX_Size

func (m *TarStrategy) XXX_Size() int

func (*TarStrategy) XXX_Unmarshal

func (m *TarStrategy) XXX_Unmarshal(b []byte) error

type Template

type Template struct {
	// Name is the name of the template
	Name string `json:"name,omitempty" protobuf:"bytes,1,opt,name=name"`

	// Inputs describe what inputs parameters and artifacts are supplied to this template
	Inputs Inputs `json:"inputs,omitempty" protobuf:"bytes,5,opt,name=inputs"`

	// Outputs describe the parameters and artifacts that this template produces
	Outputs Outputs `json:"outputs,omitempty" protobuf:"bytes,6,opt,name=outputs"`

	// 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.
	NodeSelector map[string]string `json:"nodeSelector,omitempty" protobuf:"bytes,7,opt,name=nodeSelector"`

	// Affinity sets the pod's scheduling constraints
	// Overrides the affinity set at the workflow level (if any)
	Affinity *apiv1.Affinity `json:"affinity,omitempty" protobuf:"bytes,8,opt,name=affinity"`

	// Metdata sets the pods's metadata, i.e. annotations and labels
	Metadata Metadata `json:"metadata,omitempty" protobuf:"bytes,9,opt,name=metadata"`

	// Deamon will allow a workflow to proceed to the next step so long as the container reaches readiness
	Daemon *bool `json:"daemon,omitempty" protobuf:"bytes,10,opt,name=daemon"`

	// Steps define a series of sequential/parallel workflow steps
	Steps []ParallelSteps `json:"steps,omitempty" protobuf:"bytes,11,opt,name=steps"`

	// Container is the main container image to run in the pod
	Container *apiv1.Container `json:"container,omitempty" protobuf:"bytes,12,opt,name=container"`

	// ContainerSet groups multiple containers within a single pod.
	ContainerSet *ContainerSetTemplate `json:"containerSet,omitempty" protobuf:"bytes,40,opt,name=containerSet"`

	// Script runs a portion of code against an interpreter
	Script *ScriptTemplate `json:"script,omitempty" protobuf:"bytes,13,opt,name=script"`

	// Resource template subtype which can run k8s resources
	Resource *ResourceTemplate `json:"resource,omitempty" protobuf:"bytes,14,opt,name=resource"`

	// DAG template subtype which runs a DAG
	DAG *DAGTemplate `json:"dag,omitempty" protobuf:"bytes,15,opt,name=dag"`

	// Suspend template subtype which can suspend a workflow when reaching the step
	Suspend *SuspendTemplate `json:"suspend,omitempty" protobuf:"bytes,16,opt,name=suspend"`

	// Data is a data template
	Data *Data `json:"data,omitempty" protobuf:"bytes,39,opt,name=data"`

	// HTTP makes a HTTP request
	HTTP *HTTP `json:"http,omitempty" protobuf:"bytes,42,opt,name=http"`

	// Plugin is a plugin template
	Plugin *Plugin `json:"plugin,omitempty" protobuf:"bytes,43,opt,name=plugin"`

	// Volumes is a list of volumes that can be mounted by containers in a template.
	// +patchStrategy=merge
	// +patchMergeKey=name
	Volumes []apiv1.Volume `json:"volumes,omitempty" patchStrategy:"merge" patchMergeKey:"name" protobuf:"bytes,17,opt,name=volumes"`

	// InitContainers is a list of containers which run before the main container.
	// +patchStrategy=merge
	// +patchMergeKey=name
	InitContainers []UserContainer `json:"initContainers,omitempty" patchStrategy:"merge" patchMergeKey:"name" protobuf:"bytes,18,opt,name=initContainers"`

	// Sidecars is a list of containers which run alongside the main container
	// Sidecars are automatically killed when the main container completes
	// +patchStrategy=merge
	// +patchMergeKey=name
	Sidecars []UserContainer `json:"sidecars,omitempty" patchStrategy:"merge" patchMergeKey:"name" protobuf:"bytes,19,opt,name=sidecars"`

	// Location in which all files related to the step will be stored (logs, artifacts, etc...).
	// Can be overridden by individual items in Outputs. If omitted, will use the default
	// artifact repository location configured in the controller, appended with the
	// <workflowname>/<nodename> in the key.
	ArchiveLocation *ArtifactLocation `json:"archiveLocation,omitempty" protobuf:"bytes,20,opt,name=archiveLocation"`

	// 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.
	ActiveDeadlineSeconds *intstr.IntOrString `json:"activeDeadlineSeconds,omitempty" protobuf:"bytes,21,opt,name=activeDeadlineSeconds"`

	// RetryStrategy describes how to retry a template when it fails
	RetryStrategy *RetryStrategy `json:"retryStrategy,omitempty" protobuf:"bytes,22,opt,name=retryStrategy"`

	// 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.
	Parallelism *int64 `json:"parallelism,omitempty" protobuf:"bytes,23,opt,name=parallelism"`

	// FailFast, if specified, will fail this template if any of its child pods has failed. This is useful for when this
	// template is expanded with `withItems`, etc.
	FailFast *bool `json:"failFast,omitempty" protobuf:"varint,41,opt,name=failFast"`

	// Tolerations to apply to workflow pods.
	// +patchStrategy=merge
	// +patchMergeKey=key
	Tolerations []apiv1.Toleration `json:"tolerations,omitempty" patchStrategy:"merge" patchMergeKey:"key" protobuf:"bytes,24,opt,name=tolerations"`

	// If specified, the pod will be dispatched by specified scheduler.
	// Or it will be dispatched by workflow scope scheduler if specified.
	// If neither specified, the pod will be dispatched by default scheduler.
	// +optional
	SchedulerName string `json:"schedulerName,omitempty" protobuf:"bytes,25,opt,name=schedulerName"`

	// PriorityClassName to apply to workflow pods.
	PriorityClassName string `json:"priorityClassName,omitempty" protobuf:"bytes,26,opt,name=priorityClassName"`

	// Priority to apply to workflow pods.
	Priority *int32 `json:"priority,omitempty" protobuf:"bytes,27,opt,name=priority"`

	// ServiceAccountName to apply to workflow pods
	ServiceAccountName string `json:"serviceAccountName,omitempty" protobuf:"bytes,28,opt,name=serviceAccountName"`

	// AutomountServiceAccountToken indicates whether a service account token should be automatically mounted in pods.
	// ServiceAccountName of ExecutorConfig must be specified if this value is false.
	AutomountServiceAccountToken *bool `json:"automountServiceAccountToken,omitempty" protobuf:"varint,32,opt,name=automountServiceAccountToken"`

	// Executor holds configurations of the executor container.
	Executor *ExecutorConfig `json:"executor,omitempty" protobuf:"bytes,33,opt,name=executor"`

	// HostAliases is an optional list of hosts and IPs that will be injected into the pod spec
	// +patchStrategy=merge
	// +patchMergeKey=ip
	HostAliases []apiv1.HostAlias `json:"hostAliases,omitempty" patchStrategy:"merge" patchMergeKey:"ip" protobuf:"bytes,29,opt,name=hostAliases"`

	// SecurityContext holds pod-level security attributes and common container settings.
	// Optional: Defaults to empty.  See type description for default values of each field.
	// +optional
	SecurityContext *apiv1.PodSecurityContext `json:"securityContext,omitempty" protobuf:"bytes,30,opt,name=securityContext"`

	// PodSpecPatch holds strategic merge patch to apply against the pod spec. Allows parameterization of
	// container fields which are not strings (e.g. resource limits).
	PodSpecPatch string `json:"podSpecPatch,omitempty" protobuf:"bytes,31,opt,name=podSpecPatch"`

	// Metrics are a list of metrics emitted from this template
	Metrics *Metrics `json:"metrics,omitempty" protobuf:"bytes,35,opt,name=metrics"`

	// Synchronization holds synchronization lock configuration for this template
	Synchronization *Synchronization `json:"synchronization,omitempty" protobuf:"bytes,36,opt,name=synchronization,casttype=Synchronization"`

	// Memoize allows templates to use outputs generated from already executed templates
	Memoize *Memoize `json:"memoize,omitempty" protobuf:"bytes,37,opt,name=memoize"`

	// Timeout allows to set the total node execution timeout duration counting from the node's start time.
	// This duration also includes time in which the node spends in Pending state. This duration may not be applied to Step or DAG templates.
	Timeout string `json:"timeout,omitempty" protobuf:"bytes,38,opt,name=timeout"`
}

Template is a reusable and composable unit of execution in a workflow

func MustUnmarshalTemplate added in v3.1.0

func MustUnmarshalTemplate(text interface{}) *Template

func (*Template) DeepCopy

func (in *Template) DeepCopy() *Template

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Template.

func (*Template) DeepCopyInto

func (in *Template) DeepCopyInto(out *Template)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*Template) Descriptor

func (*Template) Descriptor() ([]byte, []int)

func (*Template) GetBaseTemplate

func (tmpl *Template) GetBaseTemplate() *Template

GetBaseTemplate returns a base template content.

func (*Template) GetMainContainerNames

func (tmpl *Template) GetMainContainerNames() []string

func (*Template) GetNodeType added in v3.3.0

func (tmpl *Template) GetNodeType() NodeType

func (*Template) GetOutputs added in v3.4.0

func (tmpl *Template) GetOutputs() *Outputs

func (*Template) GetRetryStrategy added in v3.3.0

func (t *Template) GetRetryStrategy() (wait.Backoff, error)

func (*Template) GetSidecarNames added in v3.1.0

func (tmpl *Template) GetSidecarNames() []string

func (*Template) GetType

func (tmpl *Template) GetType() TemplateType

GetType returns the type of this template

func (*Template) GetVolumeMounts added in v3.1.0

func (tmpl *Template) GetVolumeMounts() []apiv1.VolumeMount

func (*Template) HasOutput added in v3.1.0

func (tmpl *Template) HasOutput() bool

whether or not the template can and will have outputs (i.e. exit code and result)

func (*Template) HasOutputs added in v3.3.0

func (t *Template) HasOutputs() bool

func (*Template) HasParallelism added in v3.1.0

func (tmpl *Template) HasParallelism() bool

func (*Template) HasPodSpecPatch

func (tmpl *Template) HasPodSpecPatch() bool

func (*Template) HasSequencedContainers added in v3.1.0

func (tmpl *Template) HasSequencedContainers() bool

func (*Template) IsDaemon added in v3.3.0

func (t *Template) IsDaemon() bool

func (*Template) IsFailFast added in v3.1.0

func (tmpl *Template) IsFailFast() bool

func (*Template) IsLeaf

func (tmpl *Template) IsLeaf() bool

IsLeaf returns whether or not the template is a leaf

func (*Template) IsMainContainerName

func (tmpl *Template) IsMainContainerName(containerName string) bool

func (*Template) IsPodType

func (tmpl *Template) IsPodType() bool

IsPodType returns whether or not the template is a pod type

func (*Template) Marshal

func (m *Template) Marshal() (dAtA []byte, err error)

func (*Template) MarshalTo

func (m *Template) MarshalTo(dAtA []byte) (int, error)

func (*Template) MarshalToSizedBuffer

func (m *Template) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Template) ProtoMessage

func (*Template) ProtoMessage()

func (*Template) Reset

func (m *Template) Reset()

func (*Template) SaveLogsAsArtifact added in v3.1.0

func (tmpl *Template) SaveLogsAsArtifact() bool

if logs should be saved as an artifact

func (*Template) SetType added in v3.1.0

func (tmpl *Template) SetType(tmplType TemplateType)

SetType will set the template object based on template type.

func (*Template) Size

func (m *Template) Size() (n int)

func (*Template) String

func (this *Template) String() string

func (*Template) Unmarshal

func (m *Template) Unmarshal(dAtA []byte) error

func (*Template) XXX_DiscardUnknown

func (m *Template) XXX_DiscardUnknown()

func (*Template) XXX_Marshal

func (m *Template) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Template) XXX_Merge

func (m *Template) XXX_Merge(src proto.Message)

func (*Template) XXX_Size

func (m *Template) XXX_Size() int

func (*Template) XXX_Unmarshal

func (m *Template) XXX_Unmarshal(b []byte) error

type TemplateHolder

type TemplateHolder interface {
	GetNamespace() string
	GetName() string
	GroupVersionKind() schema.GroupVersionKind
	GetTemplateByName(name string) *Template
	GetResourceScope() ResourceScope
}

TemplateHolder is an object that holds templates; e.g. Workflow, WorkflowTemplate, and ClusterWorkflowTemplate

type TemplateRef

type TemplateRef struct {
	// Name is the resource name of the template.
	Name string `json:"name,omitempty" protobuf:"bytes,1,opt,name=name"`
	// Template is the name of referred template in the resource.
	Template string `json:"template,omitempty" protobuf:"bytes,2,opt,name=template"`
	// ClusterScope indicates the referred template is cluster scoped (i.e. a ClusterWorkflowTemplate).
	ClusterScope bool `json:"clusterScope,omitempty" protobuf:"varint,4,opt,name=clusterScope"`
}

TemplateRef is a reference of template resource.

func (*TemplateRef) DeepCopy

func (in *TemplateRef) DeepCopy() *TemplateRef

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TemplateRef.

func (*TemplateRef) DeepCopyInto

func (in *TemplateRef) DeepCopyInto(out *TemplateRef)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*TemplateRef) Descriptor

func (*TemplateRef) Descriptor() ([]byte, []int)

func (*TemplateRef) Marshal

func (m *TemplateRef) Marshal() (dAtA []byte, err error)

func (*TemplateRef) MarshalTo

func (m *TemplateRef) MarshalTo(dAtA []byte) (int, error)

func (*TemplateRef) MarshalToSizedBuffer

func (m *TemplateRef) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*TemplateRef) ProtoMessage

func (*TemplateRef) ProtoMessage()

func (*TemplateRef) Reset

func (m *TemplateRef) Reset()

func (*TemplateRef) Size

func (m *TemplateRef) Size() (n int)

func (*TemplateRef) String

func (this *TemplateRef) String() string

func (*TemplateRef) Unmarshal

func (m *TemplateRef) Unmarshal(dAtA []byte) error

func (*TemplateRef) XXX_DiscardUnknown

func (m *TemplateRef) XXX_DiscardUnknown()

func (*TemplateRef) XXX_Marshal

func (m *TemplateRef) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*TemplateRef) XXX_Merge

func (m *TemplateRef) XXX_Merge(src proto.Message)

func (*TemplateRef) XXX_Size

func (m *TemplateRef) XXX_Size() int

func (*TemplateRef) XXX_Unmarshal

func (m *TemplateRef) XXX_Unmarshal(b []byte) error

type TemplateReferenceHolder

type TemplateReferenceHolder interface {
	// GetTemplate returns the template. This maybe nil. This is first precedence.
	GetTemplate() *Template
	// GetTemplateRef returns the template ref. This maybe nil. This is second precedence.
	GetTemplateRef() *TemplateRef
	// GetTemplateName returns the template name. This maybe empty. This is last precedence.
	GetTemplateName() string
	// GetName returns the name of the template reference holder.
	GetName() string
	// IsDAGTask returns true if the template reference is a DAGTask.
	IsDAGTask() bool
	// IsWorkflowStep returns true if the template reference is a WorkflowStep.
	IsWorkflowStep() bool
}

TemplateReferenceHolder is an object that holds a reference to other templates; e.g. WorkflowStep, DAGTask, and NodeStatus

type TemplateType

type TemplateType string

TemplateType is the type of a template

const (
	TemplateTypeContainer    TemplateType = "Container"
	TemplateTypeContainerSet TemplateType = "ContainerSet"
	TemplateTypeSteps        TemplateType = "Steps"
	TemplateTypeScript       TemplateType = "Script"
	TemplateTypeResource     TemplateType = "Resource"
	TemplateTypeDAG          TemplateType = "DAG"
	TemplateTypeSuspend      TemplateType = "Suspend"
	TemplateTypeData         TemplateType = "Data"
	TemplateTypeHTTP         TemplateType = "HTTP"
	TemplateTypePlugin       TemplateType = "Plugin"
	TemplateTypeUnknown      TemplateType = "Unknown"
)

Possible template types

type Transformation added in v3.1.0

type Transformation []TransformationStep

func (Transformation) DeepCopy added in v3.1.0

func (in Transformation) DeepCopy() Transformation

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Transformation.

func (Transformation) DeepCopyInto added in v3.1.0

func (in Transformation) DeepCopyInto(out *Transformation)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type TransformationStep added in v3.1.0

type TransformationStep struct {
	// Expression defines an expr expression to apply
	Expression string `json:"expression" protobuf:"bytes,1,opt,name=expression"`
}

func (*TransformationStep) DeepCopy added in v3.1.0

func (in *TransformationStep) DeepCopy() *TransformationStep

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TransformationStep.

func (*TransformationStep) DeepCopyInto added in v3.1.0

func (in *TransformationStep) DeepCopyInto(out *TransformationStep)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*TransformationStep) Descriptor added in v3.1.0

func (*TransformationStep) Descriptor() ([]byte, []int)

func (*TransformationStep) Marshal added in v3.1.0

func (m *TransformationStep) Marshal() (dAtA []byte, err error)

func (*TransformationStep) MarshalTo added in v3.1.0

func (m *TransformationStep) MarshalTo(dAtA []byte) (int, error)

func (*TransformationStep) MarshalToSizedBuffer added in v3.1.0

func (m *TransformationStep) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*TransformationStep) ProtoMessage added in v3.1.0

func (*TransformationStep) ProtoMessage()

func (*TransformationStep) Reset added in v3.1.0

func (m *TransformationStep) Reset()

func (*TransformationStep) Size added in v3.1.0

func (m *TransformationStep) Size() (n int)

func (*TransformationStep) String added in v3.1.0

func (this *TransformationStep) String() string

func (*TransformationStep) Unmarshal added in v3.1.0

func (m *TransformationStep) Unmarshal(dAtA []byte) error

func (*TransformationStep) XXX_DiscardUnknown added in v3.1.0

func (m *TransformationStep) XXX_DiscardUnknown()

func (*TransformationStep) XXX_Marshal added in v3.1.0

func (m *TransformationStep) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*TransformationStep) XXX_Merge added in v3.1.0

func (m *TransformationStep) XXX_Merge(src proto.Message)

func (*TransformationStep) XXX_Size added in v3.1.0

func (m *TransformationStep) XXX_Size() int

func (*TransformationStep) XXX_Unmarshal added in v3.1.0

func (m *TransformationStep) XXX_Unmarshal(b []byte) error

type Type

type Type int

Type represents the stored type of Item.

const (
	Number Type = iota
	String
	Bool
	Map
	List
)

type UserContainer

type UserContainer struct {
	apiv1.Container `json:",inline" protobuf:"bytes,1,opt,name=container"`

	// MirrorVolumeMounts will mount the same volumes specified in the main container
	// to the container (including artifacts), at the same mountPaths. This enables
	// dind daemon to partially see the same filesystem as the main container in
	// order to use features such as docker volume binding
	MirrorVolumeMounts *bool `json:"mirrorVolumeMounts,omitempty" protobuf:"varint,2,opt,name=mirrorVolumeMounts"`
}

UserContainer is a container specified by a user.

func (*UserContainer) DeepCopy

func (in *UserContainer) DeepCopy() *UserContainer

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UserContainer.

func (*UserContainer) DeepCopyInto

func (in *UserContainer) DeepCopyInto(out *UserContainer)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*UserContainer) Descriptor

func (*UserContainer) Descriptor() ([]byte, []int)

func (*UserContainer) Marshal

func (m *UserContainer) Marshal() (dAtA []byte, err error)

func (*UserContainer) MarshalTo

func (m *UserContainer) MarshalTo(dAtA []byte) (int, error)

func (*UserContainer) MarshalToSizedBuffer

func (m *UserContainer) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*UserContainer) ProtoMessage

func (*UserContainer) ProtoMessage()

func (*UserContainer) Reset

func (m *UserContainer) Reset()

func (*UserContainer) Size

func (m *UserContainer) Size() (n int)

func (*UserContainer) String

func (this *UserContainer) String() string

func (*UserContainer) Unmarshal

func (m *UserContainer) Unmarshal(dAtA []byte) error

func (*UserContainer) XXX_DiscardUnknown

func (m *UserContainer) XXX_DiscardUnknown()

func (*UserContainer) XXX_Marshal

func (m *UserContainer) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*UserContainer) XXX_Merge

func (m *UserContainer) XXX_Merge(src proto.Message)

func (*UserContainer) XXX_Size

func (m *UserContainer) XXX_Size() int

func (*UserContainer) XXX_Unmarshal

func (m *UserContainer) XXX_Unmarshal(b []byte) error

type ValueFrom

type ValueFrom struct {
	// Path in the container to retrieve an output parameter value from in container templates
	Path string `json:"path,omitempty" protobuf:"bytes,1,opt,name=path"`

	// JSONPath of a resource to retrieve an output parameter value from in resource templates
	JSONPath string `json:"jsonPath,omitempty" protobuf:"bytes,2,opt,name=jsonPath"`

	// JQFilter expression against the resource object in resource templates
	JQFilter string `json:"jqFilter,omitempty" protobuf:"bytes,3,opt,name=jqFilter"`

	// Selector (https://github.com/antonmedv/expr) that is evaluated against the event to get the value of the parameter. E.g. `payload.message`
	Event string `json:"event,omitempty" protobuf:"bytes,7,opt,name=event"`

	// Parameter reference to a step or dag task in which to retrieve an output parameter value from
	// (e.g. '{{steps.mystep.outputs.myparam}}')
	Parameter string `json:"parameter,omitempty" protobuf:"bytes,4,opt,name=parameter"`

	// Supplied value to be filled in directly, either through the CLI, API, etc.
	Supplied *SuppliedValueFrom `json:"supplied,omitempty" protobuf:"bytes,6,opt,name=supplied"`

	// ConfigMapKeyRef is configmap selector for input parameter configuration
	ConfigMapKeyRef *apiv1.ConfigMapKeySelector `json:"configMapKeyRef,omitempty" protobuf:"bytes,9,opt,name=configMapKeyRef"`

	// Default specifies a value to be used if retrieving the value from the specified source fails
	Default *AnyString `json:"default,omitempty" protobuf:"bytes,5,opt,name=default"`

	// Expression, if defined, is evaluated to specify the value for the parameter
	Expression string `json:"expression,omitempty" protobuf:"bytes,8,rep,name=expression"`
}

ValueFrom describes a location in which to obtain the value to a parameter

func (*ValueFrom) DeepCopy

func (in *ValueFrom) DeepCopy() *ValueFrom

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ValueFrom.

func (*ValueFrom) DeepCopyInto

func (in *ValueFrom) DeepCopyInto(out *ValueFrom)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ValueFrom) Descriptor

func (*ValueFrom) Descriptor() ([]byte, []int)

func (*ValueFrom) Marshal

func (m *ValueFrom) Marshal() (dAtA []byte, err error)

func (*ValueFrom) MarshalTo

func (m *ValueFrom) MarshalTo(dAtA []byte) (int, error)

func (*ValueFrom) MarshalToSizedBuffer

func (m *ValueFrom) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ValueFrom) ProtoMessage

func (*ValueFrom) ProtoMessage()

func (*ValueFrom) Reset

func (m *ValueFrom) Reset()

func (*ValueFrom) Size

func (m *ValueFrom) Size() (n int)

func (*ValueFrom) String

func (this *ValueFrom) String() string

func (*ValueFrom) Unmarshal

func (m *ValueFrom) Unmarshal(dAtA []byte) error

func (*ValueFrom) XXX_DiscardUnknown

func (m *ValueFrom) XXX_DiscardUnknown()

func (*ValueFrom) XXX_Marshal

func (m *ValueFrom) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ValueFrom) XXX_Merge

func (m *ValueFrom) XXX_Merge(src proto.Message)

func (*ValueFrom) XXX_Size

func (m *ValueFrom) XXX_Size() int

func (*ValueFrom) XXX_Unmarshal

func (m *ValueFrom) XXX_Unmarshal(b []byte) error

type Version

type Version struct {
	Version      string `json:"version" protobuf:"bytes,1,opt,name=version"`
	BuildDate    string `json:"buildDate" protobuf:"bytes,2,opt,name=buildDate"`
	GitCommit    string `json:"gitCommit" protobuf:"bytes,3,opt,name=gitCommit"`
	GitTag       string `json:"gitTag" protobuf:"bytes,4,opt,name=gitTag"`
	GitTreeState string `json:"gitTreeState" protobuf:"bytes,5,opt,name=gitTreeState"`
	GoVersion    string `json:"goVersion" protobuf:"bytes,6,opt,name=goVersion"`
	Compiler     string `json:"compiler" protobuf:"bytes,7,opt,name=compiler"`
	Platform     string `json:"platform" protobuf:"bytes,8,opt,name=platform"`
}

func (*Version) DeepCopy

func (in *Version) DeepCopy() *Version

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Version.

func (*Version) DeepCopyInto

func (in *Version) DeepCopyInto(out *Version)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*Version) Descriptor

func (*Version) Descriptor() ([]byte, []int)

func (*Version) Marshal

func (m *Version) Marshal() (dAtA []byte, err error)

func (*Version) MarshalTo

func (m *Version) MarshalTo(dAtA []byte) (int, error)

func (*Version) MarshalToSizedBuffer

func (m *Version) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Version) ProtoMessage

func (*Version) ProtoMessage()

func (*Version) Reset

func (m *Version) Reset()

func (*Version) Size

func (m *Version) Size() (n int)

func (*Version) String

func (this *Version) String() string

func (*Version) Unmarshal

func (m *Version) Unmarshal(dAtA []byte) error

func (*Version) XXX_DiscardUnknown

func (m *Version) XXX_DiscardUnknown()

func (*Version) XXX_Marshal

func (m *Version) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Version) XXX_Merge

func (m *Version) XXX_Merge(src proto.Message)

func (*Version) XXX_Size

func (m *Version) XXX_Size() int

func (*Version) XXX_Unmarshal

func (m *Version) XXX_Unmarshal(b []byte) error

type VolumeClaimGC

type VolumeClaimGC struct {
	// Strategy is the strategy to use. One of "OnWorkflowCompletion", "OnWorkflowSuccess"
	Strategy VolumeClaimGCStrategy `json:"strategy,omitempty" protobuf:"bytes,1,opt,name=strategy,casttype=VolumeClaimGCStrategy"`
}

VolumeClaimGC describes how to delete volumes from completed Workflows

func (*VolumeClaimGC) DeepCopy

func (in *VolumeClaimGC) DeepCopy() *VolumeClaimGC

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VolumeClaimGC.

func (*VolumeClaimGC) DeepCopyInto

func (in *VolumeClaimGC) DeepCopyInto(out *VolumeClaimGC)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*VolumeClaimGC) Descriptor

func (*VolumeClaimGC) Descriptor() ([]byte, []int)

func (VolumeClaimGC) GetStrategy

func (vgc VolumeClaimGC) GetStrategy() VolumeClaimGCStrategy

GetStrategy returns the VolumeClaimGCStrategy to use for the workflow

func (*VolumeClaimGC) Marshal

func (m *VolumeClaimGC) Marshal() (dAtA []byte, err error)

func (*VolumeClaimGC) MarshalTo

func (m *VolumeClaimGC) MarshalTo(dAtA []byte) (int, error)

func (*VolumeClaimGC) MarshalToSizedBuffer

func (m *VolumeClaimGC) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*VolumeClaimGC) ProtoMessage

func (*VolumeClaimGC) ProtoMessage()

func (*VolumeClaimGC) Reset

func (m *VolumeClaimGC) Reset()

func (*VolumeClaimGC) Size

func (m *VolumeClaimGC) Size() (n int)

func (*VolumeClaimGC) String

func (this *VolumeClaimGC) String() string

func (*VolumeClaimGC) Unmarshal

func (m *VolumeClaimGC) Unmarshal(dAtA []byte) error

func (*VolumeClaimGC) XXX_DiscardUnknown

func (m *VolumeClaimGC) XXX_DiscardUnknown()

func (*VolumeClaimGC) XXX_Marshal

func (m *VolumeClaimGC) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*VolumeClaimGC) XXX_Merge

func (m *VolumeClaimGC) XXX_Merge(src proto.Message)

func (*VolumeClaimGC) XXX_Size

func (m *VolumeClaimGC) XXX_Size() int

func (*VolumeClaimGC) XXX_Unmarshal

func (m *VolumeClaimGC) XXX_Unmarshal(b []byte) error

type VolumeClaimGCStrategy

type VolumeClaimGCStrategy string

VolumeClaimGCStrategy is the strategy to use when deleting volumes from completed workflows

const (
	VolumeClaimGCOnCompletion VolumeClaimGCStrategy = "OnWorkflowCompletion"
	VolumeClaimGCOnSuccess    VolumeClaimGCStrategy = "OnWorkflowSuccess"
)

type Workflow

type Workflow struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata" protobuf:"bytes,1,opt,name=metadata"`
	Spec              WorkflowSpec   `json:"spec" protobuf:"bytes,2,opt,name=spec "`
	Status            WorkflowStatus `json:"status,omitempty" protobuf:"bytes,3,opt,name=status"`
}

Workflow is the definition of a workflow resource +genclient +genclient:noStatus +kubebuilder:resource:shortName=wf +kubebuilder:printcolumn:name="Status",type="string",JSONPath=".status.phase",description="Status of the workflow" +kubebuilder:printcolumn:name="Age",type="date",format="date-time",JSONPath=".status.startedAt",description="When the workflow was started" +kubebuilder:printcolumn:name="Message",type="string",JSONPath=".status.message",description="Human readable message indicating details about why the workflow is in this condition." +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object

func MustUnmarshalWorkflow added in v3.1.0

func MustUnmarshalWorkflow(text interface{}) *Workflow

func (*Workflow) DeepCopy

func (in *Workflow) DeepCopy() *Workflow

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Workflow.

func (*Workflow) DeepCopyInto

func (in *Workflow) DeepCopyInto(out *Workflow)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*Workflow) DeepCopyObject

func (in *Workflow) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*Workflow) Descriptor

func (*Workflow) Descriptor() ([]byte, []int)

func (*Workflow) GetArtifactGCStrategy added in v3.4.0

func (w *Workflow) GetArtifactGCStrategy(a *Artifact) ArtifactGCStrategy

return the ultimate ArtifactGCStrategy for the Artifact (defined on the Workflow level but can be overridden on the Artifact level)

func (*Workflow) GetExecSpec added in v3.3.0

func (w *Workflow) GetExecSpec() *WorkflowSpec

func (*Workflow) GetNodeByName

func (wf *Workflow) GetNodeByName(nodeName string) *NodeStatus

func (*Workflow) GetOffloadNodeStatusVersion

func (wf *Workflow) GetOffloadNodeStatusVersion() string

func (*Workflow) GetResourceScope

func (wf *Workflow) GetResourceScope() ResourceScope

GetResourceScope returns the template scope of workflow.

func (*Workflow) GetSemaphoreKeys

func (wf *Workflow) GetSemaphoreKeys() []string

GetSemaphoreKeys will return list of semaphore configmap keys which are configured in the workflow Example key format namespace/configmapname (argo/my-config) Return []string

func (*Workflow) GetStoredTemplate

func (wf *Workflow) GetStoredTemplate(scope ResourceScope, resourceName string, caller TemplateReferenceHolder) *Template

GetStoredTemplate retrieves a template from stored templates of the workflow.

func (*Workflow) GetTTLStrategy

func (w *Workflow) GetTTLStrategy() *TTLStrategy

GetTTLStrategy return TTLStrategy based on Order of precedence: 1. Workflow, 2. WorkflowTemplate, 3. Workflowdefault

func (*Workflow) GetTemplateByName

func (wf *Workflow) GetTemplateByName(name string) *Template

GetTemplateByName retrieves a defined template by its name

func (*Workflow) GetTemplates added in v3.4.0

func (w *Workflow) GetTemplates() []Template

func (*Workflow) GetWorkflowSpec

func (wf *Workflow) GetWorkflowSpec() WorkflowSpec

GetWorkflowSpec returns the Spec of a workflow.

func (*Workflow) HasArtifactGC added in v3.4.0

func (w *Workflow) HasArtifactGC() bool

func (*Workflow) Marshal

func (m *Workflow) Marshal() (dAtA []byte, err error)

func (*Workflow) MarshalTo

func (m *Workflow) MarshalTo(dAtA []byte) (int, error)

func (*Workflow) MarshalToSizedBuffer

func (m *Workflow) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Workflow) NodeID

func (wf *Workflow) NodeID(name string) string

NodeID creates a deterministic node ID based on a node name

func (*Workflow) ProtoMessage

func (*Workflow) ProtoMessage()

func (*Workflow) Reset

func (m *Workflow) Reset()

func (*Workflow) SearchArtifacts added in v3.4.0

func (w *Workflow) SearchArtifacts(q *ArtifactSearchQuery) ArtifactSearchResults

func (*Workflow) SetStoredTemplate

func (wf *Workflow) SetStoredTemplate(scope ResourceScope, resourceName string, caller TemplateReferenceHolder, tmpl *Template) (bool, error)

SetStoredTemplate stores a new template in stored templates of the workflow.

func (*Workflow) Size

func (m *Workflow) Size() (n int)

func (*Workflow) String

func (this *Workflow) String() string

func (*Workflow) Unmarshal

func (m *Workflow) Unmarshal(dAtA []byte) error

func (*Workflow) XXX_DiscardUnknown

func (m *Workflow) XXX_DiscardUnknown()

func (*Workflow) XXX_Marshal

func (m *Workflow) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Workflow) XXX_Merge

func (m *Workflow) XXX_Merge(src proto.Message)

func (*Workflow) XXX_Size

func (m *Workflow) XXX_Size() int

func (*Workflow) XXX_Unmarshal

func (m *Workflow) XXX_Unmarshal(b []byte) error

type WorkflowArtifactGCTask added in v3.4.0

type WorkflowArtifactGCTask struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata" protobuf:"bytes,1,opt,name=metadata"`
	Spec              ArtifactGCSpec   `json:"spec" protobuf:"bytes,2,opt,name=spec"`
	Status            ArtifactGCStatus `json:"status,omitempty" protobuf:"bytes,3,opt,name=status"`
}

WorkflowArtifactGCTask specifies the Artifacts that need to be deleted as well as the status of deletion +genclient +kubebuilder:resource:shortName=wfat +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object +kubebuilder:subresource:status

func MustUnmarshalWorkflowArtifactGCTask added in v3.4.0

func MustUnmarshalWorkflowArtifactGCTask(text interface{}) *WorkflowArtifactGCTask

func (*WorkflowArtifactGCTask) DeepCopy added in v3.4.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkflowArtifactGCTask.

func (*WorkflowArtifactGCTask) DeepCopyInto added in v3.4.0

func (in *WorkflowArtifactGCTask) DeepCopyInto(out *WorkflowArtifactGCTask)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*WorkflowArtifactGCTask) DeepCopyObject added in v3.4.0

func (in *WorkflowArtifactGCTask) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*WorkflowArtifactGCTask) Descriptor added in v3.4.0

func (*WorkflowArtifactGCTask) Descriptor() ([]byte, []int)

func (*WorkflowArtifactGCTask) Marshal added in v3.4.0

func (m *WorkflowArtifactGCTask) Marshal() (dAtA []byte, err error)

func (*WorkflowArtifactGCTask) MarshalTo added in v3.4.0

func (m *WorkflowArtifactGCTask) MarshalTo(dAtA []byte) (int, error)

func (*WorkflowArtifactGCTask) MarshalToSizedBuffer added in v3.4.0

func (m *WorkflowArtifactGCTask) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*WorkflowArtifactGCTask) ProtoMessage added in v3.4.0

func (*WorkflowArtifactGCTask) ProtoMessage()

func (*WorkflowArtifactGCTask) Reset added in v3.4.0

func (m *WorkflowArtifactGCTask) Reset()

func (*WorkflowArtifactGCTask) Size added in v3.4.0

func (m *WorkflowArtifactGCTask) Size() (n int)

func (*WorkflowArtifactGCTask) String added in v3.4.0

func (this *WorkflowArtifactGCTask) String() string

func (*WorkflowArtifactGCTask) Unmarshal added in v3.4.0

func (m *WorkflowArtifactGCTask) Unmarshal(dAtA []byte) error

func (*WorkflowArtifactGCTask) XXX_DiscardUnknown added in v3.4.0

func (m *WorkflowArtifactGCTask) XXX_DiscardUnknown()

func (*WorkflowArtifactGCTask) XXX_Marshal added in v3.4.0

func (m *WorkflowArtifactGCTask) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*WorkflowArtifactGCTask) XXX_Merge added in v3.4.0

func (m *WorkflowArtifactGCTask) XXX_Merge(src proto.Message)

func (*WorkflowArtifactGCTask) XXX_Size added in v3.4.0

func (m *WorkflowArtifactGCTask) XXX_Size() int

func (*WorkflowArtifactGCTask) XXX_Unmarshal added in v3.4.0

func (m *WorkflowArtifactGCTask) XXX_Unmarshal(b []byte) error

type WorkflowArtifactGCTaskList added in v3.4.0

type WorkflowArtifactGCTaskList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata" protobuf:"bytes,1,opt,name=metadata"`
	Items           []WorkflowArtifactGCTask `json:"items" protobuf:"bytes,2,opt,name=items"`
}

WorkflowArtifactGCTaskList is list of WorkflowArtifactGCTask resources +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object

func (*WorkflowArtifactGCTaskList) DeepCopy added in v3.4.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkflowArtifactGCTaskList.

func (*WorkflowArtifactGCTaskList) DeepCopyInto added in v3.4.0

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*WorkflowArtifactGCTaskList) DeepCopyObject added in v3.4.0

func (in *WorkflowArtifactGCTaskList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*WorkflowArtifactGCTaskList) Descriptor added in v3.4.0

func (*WorkflowArtifactGCTaskList) Descriptor() ([]byte, []int)

func (*WorkflowArtifactGCTaskList) Marshal added in v3.4.0

func (m *WorkflowArtifactGCTaskList) Marshal() (dAtA []byte, err error)

func (*WorkflowArtifactGCTaskList) MarshalTo added in v3.4.0

func (m *WorkflowArtifactGCTaskList) MarshalTo(dAtA []byte) (int, error)

func (*WorkflowArtifactGCTaskList) MarshalToSizedBuffer added in v3.4.0

func (m *WorkflowArtifactGCTaskList) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*WorkflowArtifactGCTaskList) ProtoMessage added in v3.4.0

func (*WorkflowArtifactGCTaskList) ProtoMessage()

func (*WorkflowArtifactGCTaskList) Reset added in v3.4.0

func (m *WorkflowArtifactGCTaskList) Reset()

func (*WorkflowArtifactGCTaskList) Size added in v3.4.0

func (m *WorkflowArtifactGCTaskList) Size() (n int)

func (*WorkflowArtifactGCTaskList) String added in v3.4.0

func (this *WorkflowArtifactGCTaskList) String() string

func (*WorkflowArtifactGCTaskList) Unmarshal added in v3.4.0

func (m *WorkflowArtifactGCTaskList) Unmarshal(dAtA []byte) error

func (*WorkflowArtifactGCTaskList) XXX_DiscardUnknown added in v3.4.0

func (m *WorkflowArtifactGCTaskList) XXX_DiscardUnknown()

func (*WorkflowArtifactGCTaskList) XXX_Marshal added in v3.4.0

func (m *WorkflowArtifactGCTaskList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*WorkflowArtifactGCTaskList) XXX_Merge added in v3.4.0

func (m *WorkflowArtifactGCTaskList) XXX_Merge(src proto.Message)

func (*WorkflowArtifactGCTaskList) XXX_Size added in v3.4.0

func (m *WorkflowArtifactGCTaskList) XXX_Size() int

func (*WorkflowArtifactGCTaskList) XXX_Unmarshal added in v3.4.0

func (m *WorkflowArtifactGCTaskList) XXX_Unmarshal(b []byte) error

type WorkflowEventBinding

type WorkflowEventBinding struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata" protobuf:"bytes,1,opt,name=metadata"`
	Spec              WorkflowEventBindingSpec `json:"spec" protobuf:"bytes,2,opt,name=spec"`
}

WorkflowEventBinding is the definition of an event resource +genclient +genclient:noStatus +kubebuilder:resource:shortName=wfeb +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object

func (*WorkflowEventBinding) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkflowEventBinding.

func (*WorkflowEventBinding) DeepCopyInto

func (in *WorkflowEventBinding) DeepCopyInto(out *WorkflowEventBinding)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*WorkflowEventBinding) DeepCopyObject

func (in *WorkflowEventBinding) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*WorkflowEventBinding) Descriptor

func (*WorkflowEventBinding) Descriptor() ([]byte, []int)

func (*WorkflowEventBinding) Marshal

func (m *WorkflowEventBinding) Marshal() (dAtA []byte, err error)

func (*WorkflowEventBinding) MarshalTo

func (m *WorkflowEventBinding) MarshalTo(dAtA []byte) (int, error)

func (*WorkflowEventBinding) MarshalToSizedBuffer

func (m *WorkflowEventBinding) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*WorkflowEventBinding) ProtoMessage

func (*WorkflowEventBinding) ProtoMessage()

func (*WorkflowEventBinding) Reset

func (m *WorkflowEventBinding) Reset()

func (*WorkflowEventBinding) Size

func (m *WorkflowEventBinding) Size() (n int)

func (*WorkflowEventBinding) String

func (this *WorkflowEventBinding) String() string

func (*WorkflowEventBinding) Unmarshal

func (m *WorkflowEventBinding) Unmarshal(dAtA []byte) error

func (*WorkflowEventBinding) XXX_DiscardUnknown

func (m *WorkflowEventBinding) XXX_DiscardUnknown()

func (*WorkflowEventBinding) XXX_Marshal

func (m *WorkflowEventBinding) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*WorkflowEventBinding) XXX_Merge

func (m *WorkflowEventBinding) XXX_Merge(src proto.Message)

func (*WorkflowEventBinding) XXX_Size

func (m *WorkflowEventBinding) XXX_Size() int

func (*WorkflowEventBinding) XXX_Unmarshal

func (m *WorkflowEventBinding) XXX_Unmarshal(b []byte) error

type WorkflowEventBindingList

type WorkflowEventBindingList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata" protobuf:"bytes,1,opt,name=metadata"`
	Items           []WorkflowEventBinding `json:"items" protobuf:"bytes,2,rep,name=items"`
}

WorkflowEventBindingList is list of event resources +kubebuilder:resource:shortName=wfebs +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object

func (*WorkflowEventBindingList) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkflowEventBindingList.

func (*WorkflowEventBindingList) DeepCopyInto

func (in *WorkflowEventBindingList) DeepCopyInto(out *WorkflowEventBindingList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*WorkflowEventBindingList) DeepCopyObject

func (in *WorkflowEventBindingList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*WorkflowEventBindingList) Descriptor

func (*WorkflowEventBindingList) Descriptor() ([]byte, []int)

func (*WorkflowEventBindingList) Marshal

func (m *WorkflowEventBindingList) Marshal() (dAtA []byte, err error)

func (*WorkflowEventBindingList) MarshalTo

func (m *WorkflowEventBindingList) MarshalTo(dAtA []byte) (int, error)

func (*WorkflowEventBindingList) MarshalToSizedBuffer

func (m *WorkflowEventBindingList) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*WorkflowEventBindingList) ProtoMessage

func (*WorkflowEventBindingList) ProtoMessage()

func (*WorkflowEventBindingList) Reset

func (m *WorkflowEventBindingList) Reset()

func (*WorkflowEventBindingList) Size

func (m *WorkflowEventBindingList) Size() (n int)

func (*WorkflowEventBindingList) String

func (this *WorkflowEventBindingList) String() string

func (*WorkflowEventBindingList) Unmarshal

func (m *WorkflowEventBindingList) Unmarshal(dAtA []byte) error

func (*WorkflowEventBindingList) XXX_DiscardUnknown

func (m *WorkflowEventBindingList) XXX_DiscardUnknown()

func (*WorkflowEventBindingList) XXX_Marshal

func (m *WorkflowEventBindingList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*WorkflowEventBindingList) XXX_Merge

func (m *WorkflowEventBindingList) XXX_Merge(src proto.Message)

func (*WorkflowEventBindingList) XXX_Size

func (m *WorkflowEventBindingList) XXX_Size() int

func (*WorkflowEventBindingList) XXX_Unmarshal

func (m *WorkflowEventBindingList) XXX_Unmarshal(b []byte) error

type WorkflowEventBindingSpec

type WorkflowEventBindingSpec struct {
	// Event is the event to bind to
	Event Event `json:"event" protobuf:"bytes,1,opt,name=event"`
	// Submit is the workflow template to submit
	Submit *Submit `json:"submit,omitempty" protobuf:"bytes,2,opt,name=submit"`
}

func (*WorkflowEventBindingSpec) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkflowEventBindingSpec.

func (*WorkflowEventBindingSpec) DeepCopyInto

func (in *WorkflowEventBindingSpec) DeepCopyInto(out *WorkflowEventBindingSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*WorkflowEventBindingSpec) Descriptor

func (*WorkflowEventBindingSpec) Descriptor() ([]byte, []int)

func (*WorkflowEventBindingSpec) Marshal

func (m *WorkflowEventBindingSpec) Marshal() (dAtA []byte, err error)

func (*WorkflowEventBindingSpec) MarshalTo

func (m *WorkflowEventBindingSpec) MarshalTo(dAtA []byte) (int, error)

func (*WorkflowEventBindingSpec) MarshalToSizedBuffer

func (m *WorkflowEventBindingSpec) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*WorkflowEventBindingSpec) ProtoMessage

func (*WorkflowEventBindingSpec) ProtoMessage()

func (*WorkflowEventBindingSpec) Reset

func (m *WorkflowEventBindingSpec) Reset()

func (*WorkflowEventBindingSpec) Size

func (m *WorkflowEventBindingSpec) Size() (n int)

func (*WorkflowEventBindingSpec) String

func (this *WorkflowEventBindingSpec) String() string

func (*WorkflowEventBindingSpec) Unmarshal

func (m *WorkflowEventBindingSpec) Unmarshal(dAtA []byte) error

func (*WorkflowEventBindingSpec) XXX_DiscardUnknown

func (m *WorkflowEventBindingSpec) XXX_DiscardUnknown()

func (*WorkflowEventBindingSpec) XXX_Marshal

func (m *WorkflowEventBindingSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*WorkflowEventBindingSpec) XXX_Merge

func (m *WorkflowEventBindingSpec) XXX_Merge(src proto.Message)

func (*WorkflowEventBindingSpec) XXX_Size

func (m *WorkflowEventBindingSpec) XXX_Size() int

func (*WorkflowEventBindingSpec) XXX_Unmarshal

func (m *WorkflowEventBindingSpec) XXX_Unmarshal(b []byte) error

type WorkflowList

type WorkflowList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata" protobuf:"bytes,1,opt,name=metadata"`
	Items           Workflows `json:"items" protobuf:"bytes,2,opt,name=items"`
}

WorkflowList is list of Workflow resources +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object

func (*WorkflowList) DeepCopy

func (in *WorkflowList) DeepCopy() *WorkflowList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkflowList.

func (*WorkflowList) DeepCopyInto

func (in *WorkflowList) DeepCopyInto(out *WorkflowList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*WorkflowList) DeepCopyObject

func (in *WorkflowList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*WorkflowList) Descriptor

func (*WorkflowList) Descriptor() ([]byte, []int)

func (*WorkflowList) Marshal

func (m *WorkflowList) Marshal() (dAtA []byte, err error)

func (*WorkflowList) MarshalTo

func (m *WorkflowList) MarshalTo(dAtA []byte) (int, error)

func (*WorkflowList) MarshalToSizedBuffer

func (m *WorkflowList) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*WorkflowList) ProtoMessage

func (*WorkflowList) ProtoMessage()

func (*WorkflowList) Reset

func (m *WorkflowList) Reset()

func (*WorkflowList) Size

func (m *WorkflowList) Size() (n int)

func (*WorkflowList) String

func (this *WorkflowList) String() string

func (*WorkflowList) Unmarshal

func (m *WorkflowList) Unmarshal(dAtA []byte) error

func (*WorkflowList) XXX_DiscardUnknown

func (m *WorkflowList) XXX_DiscardUnknown()

func (*WorkflowList) XXX_Marshal

func (m *WorkflowList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*WorkflowList) XXX_Merge

func (m *WorkflowList) XXX_Merge(src proto.Message)

func (*WorkflowList) XXX_Size

func (m *WorkflowList) XXX_Size() int

func (*WorkflowList) XXX_Unmarshal

func (m *WorkflowList) XXX_Unmarshal(b []byte) error

type WorkflowMetadata added in v3.3.0

type WorkflowMetadata struct {
	Labels      map[string]string         `json:"labels,omitempty" protobuf:"bytes,1,rep,name=labels"`
	Annotations map[string]string         `json:"annotations,omitempty" protobuf:"bytes,2,rep,name=annotations"`
	LabelsFrom  map[string]LabelValueFrom `json:"labelsFrom,omitempty" protobuf:"bytes,3,rep,name=labelsFrom"`
}

func (*WorkflowMetadata) AsObjectMeta added in v3.3.0

func (in *WorkflowMetadata) AsObjectMeta() *metav1.ObjectMeta

func (*WorkflowMetadata) DeepCopy added in v3.3.0

func (in *WorkflowMetadata) DeepCopy() *WorkflowMetadata

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkflowMetadata.

func (*WorkflowMetadata) DeepCopyInto added in v3.3.0

func (in *WorkflowMetadata) DeepCopyInto(out *WorkflowMetadata)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*WorkflowMetadata) Descriptor added in v3.3.0

func (*WorkflowMetadata) Descriptor() ([]byte, []int)

func (*WorkflowMetadata) Marshal added in v3.3.0

func (m *WorkflowMetadata) Marshal() (dAtA []byte, err error)

func (*WorkflowMetadata) MarshalTo added in v3.3.0

func (m *WorkflowMetadata) MarshalTo(dAtA []byte) (int, error)

func (*WorkflowMetadata) MarshalToSizedBuffer added in v3.3.0

func (m *WorkflowMetadata) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*WorkflowMetadata) ProtoMessage added in v3.3.0

func (*WorkflowMetadata) ProtoMessage()

func (*WorkflowMetadata) Reset added in v3.3.0

func (m *WorkflowMetadata) Reset()

func (*WorkflowMetadata) Size added in v3.3.0

func (m *WorkflowMetadata) Size() (n int)

func (*WorkflowMetadata) String added in v3.3.0

func (this *WorkflowMetadata) String() string

func (*WorkflowMetadata) Unmarshal added in v3.3.0

func (m *WorkflowMetadata) Unmarshal(dAtA []byte) error

func (*WorkflowMetadata) XXX_DiscardUnknown added in v3.3.0

func (m *WorkflowMetadata) XXX_DiscardUnknown()

func (*WorkflowMetadata) XXX_Marshal added in v3.3.0

func (m *WorkflowMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*WorkflowMetadata) XXX_Merge added in v3.3.0

func (m *WorkflowMetadata) XXX_Merge(src proto.Message)

func (*WorkflowMetadata) XXX_Size added in v3.3.0

func (m *WorkflowMetadata) XXX_Size() int

func (*WorkflowMetadata) XXX_Unmarshal added in v3.3.0

func (m *WorkflowMetadata) XXX_Unmarshal(b []byte) error

type WorkflowPhase

type WorkflowPhase string

the workflow's phase

const (
	WorkflowUnknown   WorkflowPhase = ""
	WorkflowPending   WorkflowPhase = "Pending" // pending some set-up - rarely used
	WorkflowRunning   WorkflowPhase = "Running" // any node has started; pods might not be running yet, the workflow maybe suspended too
	WorkflowSucceeded WorkflowPhase = "Succeeded"
	WorkflowFailed    WorkflowPhase = "Failed" // it maybe that the workflow was terminated
	WorkflowError     WorkflowPhase = "Error"
)

func (WorkflowPhase) Completed

func (p WorkflowPhase) Completed() bool

type WorkflowPredicate

type WorkflowPredicate = func(wf Workflow) bool

type WorkflowSpec

type WorkflowSpec struct {
	// Templates is a list of workflow templates used in a workflow
	// +patchStrategy=merge
	// +patchMergeKey=name
	Templates []Template `json:"templates,omitempty" patchStrategy:"merge" patchMergeKey:"name" protobuf:"bytes,1,opt,name=templates"`

	// Entrypoint is a template reference to the starting point of the workflow.
	Entrypoint string `json:"entrypoint,omitempty" protobuf:"bytes,2,opt,name=entrypoint"`

	// Arguments contain the parameters and artifacts sent to the workflow entrypoint
	// Parameters are referencable globally using the 'workflow' variable prefix.
	// e.g. {{workflow.parameters.myparam}}
	Arguments Arguments `json:"arguments,omitempty" protobuf:"bytes,3,opt,name=arguments"`

	// ServiceAccountName is the name of the ServiceAccount to run all pods of the workflow as.
	ServiceAccountName string `json:"serviceAccountName,omitempty" protobuf:"bytes,4,opt,name=serviceAccountName"`

	// AutomountServiceAccountToken indicates whether a service account token should be automatically mounted in pods.
	// ServiceAccountName of ExecutorConfig must be specified if this value is false.
	AutomountServiceAccountToken *bool `json:"automountServiceAccountToken,omitempty" protobuf:"varint,28,opt,name=automountServiceAccountToken"`

	// Executor holds configurations of executor containers of the workflow.
	Executor *ExecutorConfig `json:"executor,omitempty" protobuf:"bytes,29,opt,name=executor"`

	// Volumes is a list of volumes that can be mounted by containers in a workflow.
	// +patchStrategy=merge
	// +patchMergeKey=name
	Volumes []apiv1.Volume `json:"volumes,omitempty" patchStrategy:"merge" patchMergeKey:"name" protobuf:"bytes,5,opt,name=volumes"`

	// VolumeClaimTemplates is a list of claims that containers are allowed to reference.
	// The Workflow controller will create the claims at the beginning of the workflow
	// and delete the claims upon completion of the workflow
	// +patchStrategy=merge
	// +patchMergeKey=name
	VolumeClaimTemplates []apiv1.PersistentVolumeClaim `` /* 129-byte string literal not displayed */

	// Parallelism limits the max total parallel pods that can execute at the same time in a workflow
	Parallelism *int64 `json:"parallelism,omitempty" protobuf:"bytes,7,opt,name=parallelism"`

	// ArtifactRepositoryRef specifies the configMap name and key containing the artifact repository config.
	ArtifactRepositoryRef *ArtifactRepositoryRef `json:"artifactRepositoryRef,omitempty" protobuf:"bytes,8,opt,name=artifactRepositoryRef"`

	// Suspend will suspend the workflow and prevent execution of any future steps in the workflow
	Suspend *bool `json:"suspend,omitempty" protobuf:"bytes,9,opt,name=suspend"`

	// 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.
	NodeSelector map[string]string `json:"nodeSelector,omitempty" protobuf:"bytes,10,opt,name=nodeSelector"`

	// Affinity sets the scheduling constraints for all pods in the workflow.
	// Can be overridden by an affinity specified in the template
	Affinity *apiv1.Affinity `json:"affinity,omitempty" protobuf:"bytes,11,opt,name=affinity"`

	// Tolerations to apply to workflow pods.
	// +patchStrategy=merge
	// +patchMergeKey=key
	Tolerations []apiv1.Toleration `json:"tolerations,omitempty" patchStrategy:"merge" patchMergeKey:"key" protobuf:"bytes,12,opt,name=tolerations"`

	// ImagePullSecrets is a list of references to secrets in the same namespace to use for pulling any images
	// in pods that reference this ServiceAccount. ImagePullSecrets are distinct from Secrets because Secrets
	// can be mounted in the pod, but ImagePullSecrets are only accessed by the kubelet.
	// More info: https://kubernetes.io/docs/concepts/containers/images/#specifying-imagepullsecrets-on-a-pod
	// +patchStrategy=merge
	// +patchMergeKey=name
	ImagePullSecrets []apiv1.LocalObjectReference `json:"imagePullSecrets,omitempty" patchStrategy:"merge" patchMergeKey:"name" protobuf:"bytes,13,opt,name=imagePullSecrets"`

	// Host networking requested for this workflow pod. Default to false.
	HostNetwork *bool `json:"hostNetwork,omitempty" protobuf:"bytes,14,opt,name=hostNetwork"`

	// 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'.
	DNSPolicy *apiv1.DNSPolicy `json:"dnsPolicy,omitempty" protobuf:"bytes,15,opt,name=dnsPolicy"`

	// PodDNSConfig defines the DNS parameters of a pod in addition to
	// those generated from DNSPolicy.
	DNSConfig *apiv1.PodDNSConfig `json:"dnsConfig,omitempty" protobuf:"bytes,16,opt,name=dnsConfig"`

	// OnExit is a template reference which is invoked at the end of the
	// workflow, irrespective of the success, failure, or error of the
	// primary workflow.
	OnExit string `json:"onExit,omitempty" protobuf:"bytes,17,opt,name=onExit"`

	// TTLStrategy limits the lifetime of a Workflow that has finished execution depending on if it
	// Succeeded or Failed. If this struct is set, once the Workflow finishes, it will be
	// deleted after the time to live expires. If this field is unset,
	// the controller config map will hold the default values.
	TTLStrategy *TTLStrategy `json:"ttlStrategy,omitempty" protobuf:"bytes,30,opt,name=ttlStrategy"`

	// Optional duration in seconds relative to the workflow start time which the workflow is
	// allowed to run before the controller terminates the workflow. A value of zero is used to
	// terminate a Running workflow
	ActiveDeadlineSeconds *int64 `json:"activeDeadlineSeconds,omitempty" protobuf:"bytes,19,opt,name=activeDeadlineSeconds"`

	// Priority is used if controller is configured to process limited number of workflows in parallel. Workflows with higher priority are processed first.
	Priority *int32 `json:"priority,omitempty" protobuf:"bytes,20,opt,name=priority"`

	// Set scheduler name for all pods.
	// Will be overridden if container/script template's scheduler name is set.
	// Default scheduler will be used if neither specified.
	// +optional
	SchedulerName string `json:"schedulerName,omitempty" protobuf:"bytes,21,opt,name=schedulerName"`

	// PodGC describes the strategy to use when deleting completed pods
	PodGC *PodGC `json:"podGC,omitempty" protobuf:"bytes,22,opt,name=podGC"`

	// PriorityClassName to apply to workflow pods.
	PodPriorityClassName string `json:"podPriorityClassName,omitempty" protobuf:"bytes,23,opt,name=podPriorityClassName"`

	// Priority to apply to workflow pods.
	// DEPRECATED: Use PodPriorityClassName instead.
	PodPriority *int32 `json:"podPriority,omitempty" protobuf:"bytes,24,opt,name=podPriority"`

	// +patchStrategy=merge
	// +patchMergeKey=ip
	HostAliases []apiv1.HostAlias `json:"hostAliases,omitempty" patchStrategy:"merge" patchMergeKey:"ip" protobuf:"bytes,25,opt,name=hostAliases"`

	// SecurityContext holds pod-level security attributes and common container settings.
	// Optional: Defaults to empty.  See type description for default values of each field.
	// +optional
	SecurityContext *apiv1.PodSecurityContext `json:"securityContext,omitempty" protobuf:"bytes,26,opt,name=securityContext"`

	// PodSpecPatch holds strategic merge patch to apply against the pod spec. Allows parameterization of
	// container fields which are not strings (e.g. resource limits).
	PodSpecPatch string `json:"podSpecPatch,omitempty" protobuf:"bytes,27,opt,name=podSpecPatch"`

	// PodDisruptionBudget holds the number of concurrent disruptions that you allow for Workflow's Pods.
	// Controller will automatically add the selector with workflow name, if selector is empty.
	// Optional: Defaults to empty.
	// +optional
	PodDisruptionBudget *policyv1beta.PodDisruptionBudgetSpec `json:"podDisruptionBudget,omitempty" protobuf:"bytes,31,opt,name=podDisruptionBudget"`

	// Metrics are a list of metrics emitted from this Workflow
	Metrics *Metrics `json:"metrics,omitempty" protobuf:"bytes,32,opt,name=metrics"`

	// Shutdown will shutdown the workflow according to its ShutdownStrategy
	Shutdown ShutdownStrategy `json:"shutdown,omitempty" protobuf:"bytes,33,opt,name=shutdown,casttype=ShutdownStrategy"`

	// WorkflowTemplateRef holds a reference to a WorkflowTemplate for execution
	WorkflowTemplateRef *WorkflowTemplateRef `json:"workflowTemplateRef,omitempty" protobuf:"bytes,34,opt,name=workflowTemplateRef"`

	// Synchronization holds synchronization lock configuration for this Workflow
	Synchronization *Synchronization `json:"synchronization,omitempty" protobuf:"bytes,35,opt,name=synchronization,casttype=Synchronization"`

	// VolumeClaimGC describes the strategy to use when deleting volumes from completed workflows
	VolumeClaimGC *VolumeClaimGC `json:"volumeClaimGC,omitempty" protobuf:"bytes,36,opt,name=volumeClaimGC,casttype=VolumeClaimGC"`

	// RetryStrategy for all templates in the workflow.
	RetryStrategy *RetryStrategy `json:"retryStrategy,omitempty" protobuf:"bytes,37,opt,name=retryStrategy"`

	// PodMetadata defines additional metadata that should be applied to workflow pods
	PodMetadata *Metadata `json:"podMetadata,omitempty" protobuf:"bytes,38,opt,name=podMetadata"`

	// TemplateDefaults holds default template values that will apply to all templates in the Workflow, unless overridden on the template-level
	TemplateDefaults *Template `json:"templateDefaults,omitempty" protobuf:"bytes,39,opt,name=templateDefaults"`

	// ArchiveLogs indicates if the container logs should be archived
	ArchiveLogs *bool `json:"archiveLogs,omitempty" protobuf:"varint,40,opt,name=archiveLogs"`

	// Hooks holds the lifecycle hook which is invoked at lifecycle of
	// step, irrespective of the success, failure, or error status of the primary step
	Hooks LifecycleHooks `json:"hooks,omitempty" protobuf:"bytes,41,opt,name=hooks"`

	// WorkflowMetadata contains some metadata of the workflow to refer to
	WorkflowMetadata *WorkflowMetadata `json:"workflowMetadata,omitempty" protobuf:"bytes,42,opt,name=workflowMetadata"`

	// ArtifactGC describes the strategy to use when deleting artifacts from completed or deleted workflows (applies to all output Artifacts
	// unless Artifact.ArtifactGC is specified, which overrides this)
	ArtifactGC *ArtifactGC `json:"artifactGC,omitempty" protobuf:"bytes,43,opt,name=artifactGC"`
}

WorkflowSpec is the specification of a Workflow.

func (*WorkflowSpec) DeepCopy

func (in *WorkflowSpec) DeepCopy() *WorkflowSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkflowSpec.

func (*WorkflowSpec) DeepCopyInto

func (in *WorkflowSpec) DeepCopyInto(out *WorkflowSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*WorkflowSpec) Descriptor

func (*WorkflowSpec) Descriptor() ([]byte, []int)

func (WorkflowSpec) GetArtifactGC added in v3.4.0

func (wfs WorkflowSpec) GetArtifactGC() *ArtifactGC

ArtifactGC returns the ArtifactGC that was defined in the workflow spec. If none was provided, a default value is returned.

func (*WorkflowSpec) GetExitHook added in v3.3.0

func (wfs *WorkflowSpec) GetExitHook(args Arguments) *LifecycleHook

func (WorkflowSpec) GetTTLStrategy

func (wfs WorkflowSpec) GetTTLStrategy() *TTLStrategy

func (WorkflowSpec) GetVolumeClaimGC

func (wfs WorkflowSpec) GetVolumeClaimGC() *VolumeClaimGC

GetVolumeClaimGC returns the VolumeClaimGC that was defined in the workflow spec. If none was provided, a default value is returned.

func (*WorkflowSpec) HasExitHook added in v3.3.0

func (wfs *WorkflowSpec) HasExitHook() bool

func (*WorkflowSpec) HasPodSpecPatch

func (wfs *WorkflowSpec) HasPodSpecPatch() bool

func (*WorkflowSpec) Marshal

func (m *WorkflowSpec) Marshal() (dAtA []byte, err error)

func (*WorkflowSpec) MarshalTo

func (m *WorkflowSpec) MarshalTo(dAtA []byte) (int, error)

func (*WorkflowSpec) MarshalToSizedBuffer

func (m *WorkflowSpec) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*WorkflowSpec) ProtoMessage

func (*WorkflowSpec) ProtoMessage()

func (*WorkflowSpec) Reset

func (m *WorkflowSpec) Reset()

func (*WorkflowSpec) Size

func (m *WorkflowSpec) Size() (n int)

func (*WorkflowSpec) String

func (this *WorkflowSpec) String() string

func (*WorkflowSpec) Unmarshal

func (m *WorkflowSpec) Unmarshal(dAtA []byte) error

func (*WorkflowSpec) XXX_DiscardUnknown

func (m *WorkflowSpec) XXX_DiscardUnknown()

func (*WorkflowSpec) XXX_Marshal

func (m *WorkflowSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*WorkflowSpec) XXX_Merge

func (m *WorkflowSpec) XXX_Merge(src proto.Message)

func (*WorkflowSpec) XXX_Size

func (m *WorkflowSpec) XXX_Size() int

func (*WorkflowSpec) XXX_Unmarshal

func (m *WorkflowSpec) XXX_Unmarshal(b []byte) error

type WorkflowSpecHolder

type WorkflowSpecHolder interface {
	metav1.Object
	GetWorkflowSpec() *WorkflowSpec
}

WorkflowSpecHolder is an object that holds a WorkflowSpec; e.g., WorkflowTemplate, and ClusterWorkflowTemplate

type WorkflowStatus

type WorkflowStatus struct {
	// Phase a simple, high-level summary of where the workflow is in its lifecycle.
	Phase WorkflowPhase `json:"phase,omitempty" protobuf:"bytes,1,opt,name=phase,casttype=WorkflowPhase"`

	// Time at which this workflow started
	StartedAt metav1.Time `json:"startedAt,omitempty" protobuf:"bytes,2,opt,name=startedAt"`

	// Time at which this workflow completed
	FinishedAt metav1.Time `json:"finishedAt,omitempty" protobuf:"bytes,3,opt,name=finishedAt"`

	// EstimatedDuration in seconds.
	EstimatedDuration EstimatedDuration `json:"estimatedDuration,omitempty" protobuf:"varint,16,opt,name=estimatedDuration,casttype=EstimatedDuration"`

	// Progress to completion
	Progress Progress `json:"progress,omitempty" protobuf:"bytes,17,opt,name=progress,casttype=Progress"`

	// A human readable message indicating details about why the workflow is in this condition.
	Message string `json:"message,omitempty" protobuf:"bytes,4,opt,name=message"`

	// Compressed and base64 decoded Nodes map
	CompressedNodes string `json:"compressedNodes,omitempty" protobuf:"bytes,5,opt,name=compressedNodes"`

	// Nodes is a mapping between a node ID and the node's status.
	Nodes Nodes `json:"nodes,omitempty" protobuf:"bytes,6,rep,name=nodes"`

	// Whether on not node status has been offloaded to a database. If exists, then Nodes and CompressedNodes will be empty.
	// This will actually be populated with a hash of the offloaded data.
	OffloadNodeStatusVersion string `json:"offloadNodeStatusVersion,omitempty" protobuf:"bytes,10,rep,name=offloadNodeStatusVersion"`

	// StoredTemplates is a mapping between a template ref and the node's status.
	StoredTemplates map[string]Template `json:"storedTemplates,omitempty" protobuf:"bytes,9,rep,name=storedTemplates"`

	// PersistentVolumeClaims tracks all PVCs that were created as part of the workflow.
	// The contents of this list are drained at the end of the workflow.
	PersistentVolumeClaims []apiv1.Volume `json:"persistentVolumeClaims,omitempty" protobuf:"bytes,7,rep,name=persistentVolumeClaims"`

	// Outputs captures output values and artifact locations produced by the workflow via global outputs
	Outputs *Outputs `json:"outputs,omitempty" protobuf:"bytes,8,opt,name=outputs"`

	// Conditions is a list of conditions the Workflow may have
	Conditions Conditions `json:"conditions,omitempty" protobuf:"bytes,13,rep,name=conditions"`

	// ResourcesDuration is the total for the workflow
	ResourcesDuration ResourcesDuration `json:"resourcesDuration,omitempty" protobuf:"bytes,12,opt,name=resourcesDuration"`

	// StoredWorkflowSpec stores the WorkflowTemplate spec for future execution.
	StoredWorkflowSpec *WorkflowSpec `json:"storedWorkflowTemplateSpec,omitempty" protobuf:"bytes,14,opt,name=storedWorkflowTemplateSpec"`

	// Synchronization stores the status of synchronization locks
	Synchronization *SynchronizationStatus `json:"synchronization,omitempty" protobuf:"bytes,15,opt,name=synchronization"`

	// ArtifactRepositoryRef is used to cache the repository to use so we do not need to determine it everytime we reconcile.
	ArtifactRepositoryRef *ArtifactRepositoryRefStatus `json:"artifactRepositoryRef,omitempty" protobuf:"bytes,18,opt,name=artifactRepositoryRef"`

	// ArtifactGCStatus maintains the status of Artifact Garbage Collection
	ArtifactGCStatus *ArtGCStatus `json:"artifactGCStatus,omitempty" protobuf:"bytes,19,opt,name=artifactGCStatus"`
}

WorkflowStatus contains overall status information about a workflow

func (*WorkflowStatus) AnyActiveSuspendNode

func (in *WorkflowStatus) AnyActiveSuspendNode() bool

func (*WorkflowStatus) DeepCopy

func (in *WorkflowStatus) DeepCopy() *WorkflowStatus

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkflowStatus.

func (*WorkflowStatus) DeepCopyInto

func (in *WorkflowStatus) DeepCopyInto(out *WorkflowStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*WorkflowStatus) Descriptor

func (*WorkflowStatus) Descriptor() ([]byte, []int)

func (WorkflowStatus) Failed

func (ws WorkflowStatus) Failed() bool

Failed return whether or not the workflow has failed

func (WorkflowStatus) FinishTime

func (ws WorkflowStatus) FinishTime() *metav1.Time

func (WorkflowStatus) Fulfilled

func (ws WorkflowStatus) Fulfilled() bool

Fulfilled returns whether or not the workflow has fulfilled its execution

func (*WorkflowStatus) GetDuration

func (ws *WorkflowStatus) GetDuration() time.Duration

func (*WorkflowStatus) GetOffloadNodeStatusVersion

func (ws *WorkflowStatus) GetOffloadNodeStatusVersion() string

func (*WorkflowStatus) GetStoredTemplates added in v3.4.0

func (ws *WorkflowStatus) GetStoredTemplates() []Template

func (*WorkflowStatus) IsOffloadNodeStatus

func (ws *WorkflowStatus) IsOffloadNodeStatus() bool

func (*WorkflowStatus) Marshal

func (m *WorkflowStatus) Marshal() (dAtA []byte, err error)

func (*WorkflowStatus) MarshalTo

func (m *WorkflowStatus) MarshalTo(dAtA []byte) (int, error)

func (*WorkflowStatus) MarshalToSizedBuffer

func (m *WorkflowStatus) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*WorkflowStatus) ProtoMessage

func (*WorkflowStatus) ProtoMessage()

func (*WorkflowStatus) Reset

func (m *WorkflowStatus) Reset()

func (*WorkflowStatus) Size

func (m *WorkflowStatus) Size() (n int)

func (WorkflowStatus) StartTime

func (ws WorkflowStatus) StartTime() *metav1.Time

func (*WorkflowStatus) String

func (this *WorkflowStatus) String() string

func (WorkflowStatus) Successful

func (ws WorkflowStatus) Successful() bool

Successful return whether or not the workflow has succeeded

func (*WorkflowStatus) Unmarshal

func (m *WorkflowStatus) Unmarshal(dAtA []byte) error

func (*WorkflowStatus) XXX_DiscardUnknown

func (m *WorkflowStatus) XXX_DiscardUnknown()

func (*WorkflowStatus) XXX_Marshal

func (m *WorkflowStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*WorkflowStatus) XXX_Merge

func (m *WorkflowStatus) XXX_Merge(src proto.Message)

func (*WorkflowStatus) XXX_Size

func (m *WorkflowStatus) XXX_Size() int

func (*WorkflowStatus) XXX_Unmarshal

func (m *WorkflowStatus) XXX_Unmarshal(b []byte) error

type WorkflowStep

type WorkflowStep struct {
	// Name of the step
	Name string `json:"name,omitempty" protobuf:"bytes,1,opt,name=name"`

	// Template is the name of the template to execute as the step
	Template string `json:"template,omitempty" protobuf:"bytes,2,opt,name=template"`

	// Inline is the template. Template must be empty if this is declared (and vice-versa).
	Inline *Template `json:"inline,omitempty" protobuf:"bytes,13,opt,name=inline"`

	// Arguments hold arguments to the template
	Arguments Arguments `json:"arguments,omitempty" protobuf:"bytes,3,opt,name=arguments"`

	// TemplateRef is the reference to the template resource to execute as the step.
	TemplateRef *TemplateRef `json:"templateRef,omitempty" protobuf:"bytes,4,opt,name=templateRef"`

	// WithItems expands a step into multiple parallel steps from the items in the list
	WithItems []Item `json:"withItems,omitempty" protobuf:"bytes,5,rep,name=withItems"`

	// WithParam expands a step into multiple parallel steps from the value in the parameter,
	// which is expected to be a JSON list.
	WithParam string `json:"withParam,omitempty" protobuf:"bytes,6,opt,name=withParam"`

	// WithSequence expands a step into a numeric sequence
	WithSequence *Sequence `json:"withSequence,omitempty" protobuf:"bytes,7,opt,name=withSequence"`

	// When is an expression in which the step should conditionally execute
	When string `json:"when,omitempty" protobuf:"bytes,8,opt,name=when"`

	// ContinueOn makes argo to proceed with the following step even if this step fails.
	// Errors and Failed states can be specified
	ContinueOn *ContinueOn `json:"continueOn,omitempty" protobuf:"bytes,9,opt,name=continueOn"`

	// OnExit is a template reference which is invoked at the end of the
	// template, irrespective of the success, failure, or error of the
	// primary template.
	// DEPRECATED: Use Hooks[exit].Template instead.
	OnExit string `json:"onExit,omitempty" protobuf:"bytes,11,opt,name=onExit"`

	// Hooks holds the lifecycle hook which is invoked at lifecycle of
	// step, irrespective of the success, failure, or error status of the primary step
	Hooks LifecycleHooks `json:"hooks,omitempty" protobuf:"bytes,12,opt,name=hooks"`
}

WorkflowStep is a reference to a template to execute in a series of step

func (*WorkflowStep) ContinuesOn

func (s *WorkflowStep) ContinuesOn(phase NodePhase) bool

ContinuesOn returns whether the StepGroup should be proceeded if the task fails or errors.

func (*WorkflowStep) DeepCopy

func (in *WorkflowStep) DeepCopy() *WorkflowStep

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkflowStep.

func (*WorkflowStep) DeepCopyInto

func (in *WorkflowStep) DeepCopyInto(out *WorkflowStep)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*WorkflowStep) Descriptor

func (*WorkflowStep) Descriptor() ([]byte, []int)

func (*WorkflowStep) GetExitHook added in v3.1.0

func (step *WorkflowStep) GetExitHook(args Arguments) *LifecycleHook

func (*WorkflowStep) GetName added in v3.4.0

func (step *WorkflowStep) GetName() string

func (*WorkflowStep) GetTemplate added in v3.2.0

func (step *WorkflowStep) GetTemplate() *Template

func (*WorkflowStep) GetTemplateName

func (step *WorkflowStep) GetTemplateName() string

func (*WorkflowStep) GetTemplateRef

func (step *WorkflowStep) GetTemplateRef() *TemplateRef

func (*WorkflowStep) HasExitHook added in v3.1.0

func (step *WorkflowStep) HasExitHook() bool

func (*WorkflowStep) IsDAGTask added in v3.4.0

func (step *WorkflowStep) IsDAGTask() bool

func (*WorkflowStep) IsWorkflowStep added in v3.4.0

func (step *WorkflowStep) IsWorkflowStep() bool

func (*WorkflowStep) Marshal

func (m *WorkflowStep) Marshal() (dAtA []byte, err error)

func (*WorkflowStep) MarshalTo

func (m *WorkflowStep) MarshalTo(dAtA []byte) (int, error)

func (*WorkflowStep) MarshalToSizedBuffer

func (m *WorkflowStep) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*WorkflowStep) ProtoMessage

func (*WorkflowStep) ProtoMessage()

func (*WorkflowStep) Reset

func (m *WorkflowStep) Reset()

func (*WorkflowStep) ShouldExpand

func (step *WorkflowStep) ShouldExpand() bool

func (*WorkflowStep) Size

func (m *WorkflowStep) Size() (n int)

func (*WorkflowStep) String

func (this *WorkflowStep) String() string

func (*WorkflowStep) Unmarshal

func (m *WorkflowStep) Unmarshal(dAtA []byte) error

func (*WorkflowStep) XXX_DiscardUnknown

func (m *WorkflowStep) XXX_DiscardUnknown()

func (*WorkflowStep) XXX_Marshal

func (m *WorkflowStep) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*WorkflowStep) XXX_Merge

func (m *WorkflowStep) XXX_Merge(src proto.Message)

func (*WorkflowStep) XXX_Size

func (m *WorkflowStep) XXX_Size() int

func (*WorkflowStep) XXX_Unmarshal

func (m *WorkflowStep) XXX_Unmarshal(b []byte) error

type WorkflowTaskResult added in v3.3.0

type WorkflowTaskResult struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata" protobuf:"bytes,1,opt,name=metadata"`
	NodeResult        `json:",inline" protobuf:"bytes,2,opt,name=nodeResult"`
}

WorkflowTaskResult is a used to communicate a result back to the controller. Unlike WorkflowTaskSet, it has more capacity. This is an internal type. Users should never create this resource directly, much like you would never create a ReplicaSet directly. +genclient +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object

func (*WorkflowTaskResult) DeepCopy added in v3.3.0

func (in *WorkflowTaskResult) DeepCopy() *WorkflowTaskResult

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkflowTaskResult.

func (*WorkflowTaskResult) DeepCopyInto added in v3.3.0

func (in *WorkflowTaskResult) DeepCopyInto(out *WorkflowTaskResult)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*WorkflowTaskResult) DeepCopyObject added in v3.3.0

func (in *WorkflowTaskResult) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*WorkflowTaskResult) Descriptor added in v3.3.0

func (*WorkflowTaskResult) Descriptor() ([]byte, []int)

func (*WorkflowTaskResult) Marshal added in v3.3.0

func (m *WorkflowTaskResult) Marshal() (dAtA []byte, err error)

func (*WorkflowTaskResult) MarshalTo added in v3.3.0

func (m *WorkflowTaskResult) MarshalTo(dAtA []byte) (int, error)

func (*WorkflowTaskResult) MarshalToSizedBuffer added in v3.3.0

func (m *WorkflowTaskResult) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*WorkflowTaskResult) ProtoMessage added in v3.3.0

func (*WorkflowTaskResult) ProtoMessage()

func (*WorkflowTaskResult) Reset added in v3.3.0

func (m *WorkflowTaskResult) Reset()

func (*WorkflowTaskResult) Size added in v3.3.0

func (m *WorkflowTaskResult) Size() (n int)

func (*WorkflowTaskResult) String added in v3.3.0

func (this *WorkflowTaskResult) String() string

func (*WorkflowTaskResult) Unmarshal added in v3.3.0

func (m *WorkflowTaskResult) Unmarshal(dAtA []byte) error

func (*WorkflowTaskResult) XXX_DiscardUnknown added in v3.3.0

func (m *WorkflowTaskResult) XXX_DiscardUnknown()

func (*WorkflowTaskResult) XXX_Marshal added in v3.3.0

func (m *WorkflowTaskResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*WorkflowTaskResult) XXX_Merge added in v3.3.0

func (m *WorkflowTaskResult) XXX_Merge(src proto.Message)

func (*WorkflowTaskResult) XXX_Size added in v3.3.0

func (m *WorkflowTaskResult) XXX_Size() int

func (*WorkflowTaskResult) XXX_Unmarshal added in v3.3.0

func (m *WorkflowTaskResult) XXX_Unmarshal(b []byte) error

type WorkflowTaskResultList added in v3.3.0

type WorkflowTaskResultList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata" protobuf:"bytes,1,opt,name=metadata"`
	Items           []WorkflowTaskResult `json:"items" protobuf:"bytes,2,rep,name=items"`
}

+k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object

func (*WorkflowTaskResultList) DeepCopy added in v3.3.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkflowTaskResultList.

func (*WorkflowTaskResultList) DeepCopyInto added in v3.3.0

func (in *WorkflowTaskResultList) DeepCopyInto(out *WorkflowTaskResultList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*WorkflowTaskResultList) DeepCopyObject added in v3.3.0

func (in *WorkflowTaskResultList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*WorkflowTaskResultList) Descriptor added in v3.3.0

func (*WorkflowTaskResultList) Descriptor() ([]byte, []int)

func (*WorkflowTaskResultList) Marshal added in v3.3.0

func (m *WorkflowTaskResultList) Marshal() (dAtA []byte, err error)

func (*WorkflowTaskResultList) MarshalTo added in v3.3.0

func (m *WorkflowTaskResultList) MarshalTo(dAtA []byte) (int, error)

func (*WorkflowTaskResultList) MarshalToSizedBuffer added in v3.3.0

func (m *WorkflowTaskResultList) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*WorkflowTaskResultList) ProtoMessage added in v3.3.0

func (*WorkflowTaskResultList) ProtoMessage()

func (*WorkflowTaskResultList) Reset added in v3.3.0

func (m *WorkflowTaskResultList) Reset()

func (*WorkflowTaskResultList) Size added in v3.3.0

func (m *WorkflowTaskResultList) Size() (n int)

func (*WorkflowTaskResultList) String added in v3.3.0

func (this *WorkflowTaskResultList) String() string

func (*WorkflowTaskResultList) Unmarshal added in v3.3.0

func (m *WorkflowTaskResultList) Unmarshal(dAtA []byte) error

func (*WorkflowTaskResultList) XXX_DiscardUnknown added in v3.3.0

func (m *WorkflowTaskResultList) XXX_DiscardUnknown()

func (*WorkflowTaskResultList) XXX_Marshal added in v3.3.0

func (m *WorkflowTaskResultList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*WorkflowTaskResultList) XXX_Merge added in v3.3.0

func (m *WorkflowTaskResultList) XXX_Merge(src proto.Message)

func (*WorkflowTaskResultList) XXX_Size added in v3.3.0

func (m *WorkflowTaskResultList) XXX_Size() int

func (*WorkflowTaskResultList) XXX_Unmarshal added in v3.3.0

func (m *WorkflowTaskResultList) XXX_Unmarshal(b []byte) error

type WorkflowTaskSet added in v3.2.0

type WorkflowTaskSet struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata" protobuf:"bytes,1,opt,name=metadata"`
	Spec              WorkflowTaskSetSpec   `json:"spec" protobuf:"bytes,2,opt,name=spec"`
	Status            WorkflowTaskSetStatus `json:"status,omitempty" protobuf:"bytes,3,opt,name=status"`
}

+genclient +kubebuilder:resource:shortName=wfts +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object +kubebuilder:subresource:status

func (*WorkflowTaskSet) DeepCopy added in v3.2.0

func (in *WorkflowTaskSet) DeepCopy() *WorkflowTaskSet

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkflowTaskSet.

func (*WorkflowTaskSet) DeepCopyInto added in v3.2.0

func (in *WorkflowTaskSet) DeepCopyInto(out *WorkflowTaskSet)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*WorkflowTaskSet) DeepCopyObject added in v3.2.0

func (in *WorkflowTaskSet) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*WorkflowTaskSet) Descriptor added in v3.2.0

func (*WorkflowTaskSet) Descriptor() ([]byte, []int)

func (*WorkflowTaskSet) Marshal added in v3.2.0

func (m *WorkflowTaskSet) Marshal() (dAtA []byte, err error)

func (*WorkflowTaskSet) MarshalTo added in v3.2.0

func (m *WorkflowTaskSet) MarshalTo(dAtA []byte) (int, error)

func (*WorkflowTaskSet) MarshalToSizedBuffer added in v3.2.0

func (m *WorkflowTaskSet) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*WorkflowTaskSet) ProtoMessage added in v3.2.0

func (*WorkflowTaskSet) ProtoMessage()

func (*WorkflowTaskSet) Reset added in v3.2.0

func (m *WorkflowTaskSet) Reset()

func (*WorkflowTaskSet) Size added in v3.2.0

func (m *WorkflowTaskSet) Size() (n int)

func (*WorkflowTaskSet) String added in v3.2.0

func (this *WorkflowTaskSet) String() string

func (*WorkflowTaskSet) Unmarshal added in v3.2.0

func (m *WorkflowTaskSet) Unmarshal(dAtA []byte) error

func (*WorkflowTaskSet) XXX_DiscardUnknown added in v3.2.0

func (m *WorkflowTaskSet) XXX_DiscardUnknown()

func (*WorkflowTaskSet) XXX_Marshal added in v3.2.0

func (m *WorkflowTaskSet) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*WorkflowTaskSet) XXX_Merge added in v3.2.0

func (m *WorkflowTaskSet) XXX_Merge(src proto.Message)

func (*WorkflowTaskSet) XXX_Size added in v3.2.0

func (m *WorkflowTaskSet) XXX_Size() int

func (*WorkflowTaskSet) XXX_Unmarshal added in v3.2.0

func (m *WorkflowTaskSet) XXX_Unmarshal(b []byte) error

type WorkflowTaskSetList added in v3.2.0

type WorkflowTaskSetList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata" protobuf:"bytes,1,opt,name=metadata"`
	Items           []WorkflowTaskSet `json:"items" protobuf:"bytes,2,opt,name=items"`
}

+k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object

func (*WorkflowTaskSetList) DeepCopy added in v3.2.0

func (in *WorkflowTaskSetList) DeepCopy() *WorkflowTaskSetList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkflowTaskSetList.

func (*WorkflowTaskSetList) DeepCopyInto added in v3.2.0

func (in *WorkflowTaskSetList) DeepCopyInto(out *WorkflowTaskSetList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*WorkflowTaskSetList) DeepCopyObject added in v3.2.0

func (in *WorkflowTaskSetList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*WorkflowTaskSetList) Descriptor added in v3.2.0

func (*WorkflowTaskSetList) Descriptor() ([]byte, []int)

func (*WorkflowTaskSetList) Marshal added in v3.2.0

func (m *WorkflowTaskSetList) Marshal() (dAtA []byte, err error)

func (*WorkflowTaskSetList) MarshalTo added in v3.2.0

func (m *WorkflowTaskSetList) MarshalTo(dAtA []byte) (int, error)

func (*WorkflowTaskSetList) MarshalToSizedBuffer added in v3.2.0

func (m *WorkflowTaskSetList) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*WorkflowTaskSetList) ProtoMessage added in v3.2.0

func (*WorkflowTaskSetList) ProtoMessage()

func (*WorkflowTaskSetList) Reset added in v3.2.0

func (m *WorkflowTaskSetList) Reset()

func (*WorkflowTaskSetList) Size added in v3.2.0

func (m *WorkflowTaskSetList) Size() (n int)

func (*WorkflowTaskSetList) String added in v3.2.0

func (this *WorkflowTaskSetList) String() string

func (*WorkflowTaskSetList) Unmarshal added in v3.2.0

func (m *WorkflowTaskSetList) Unmarshal(dAtA []byte) error

func (*WorkflowTaskSetList) XXX_DiscardUnknown added in v3.2.0

func (m *WorkflowTaskSetList) XXX_DiscardUnknown()

func (*WorkflowTaskSetList) XXX_Marshal added in v3.2.0

func (m *WorkflowTaskSetList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*WorkflowTaskSetList) XXX_Merge added in v3.2.0

func (m *WorkflowTaskSetList) XXX_Merge(src proto.Message)

func (*WorkflowTaskSetList) XXX_Size added in v3.2.0

func (m *WorkflowTaskSetList) XXX_Size() int

func (*WorkflowTaskSetList) XXX_Unmarshal added in v3.2.0

func (m *WorkflowTaskSetList) XXX_Unmarshal(b []byte) error

type WorkflowTaskSetSpec added in v3.2.0

type WorkflowTaskSetSpec struct {
	Tasks map[string]Template `json:"tasks,omitempty" protobuf:"bytes,1,rep,name=tasks"`
}

func (*WorkflowTaskSetSpec) DeepCopy added in v3.2.0

func (in *WorkflowTaskSetSpec) DeepCopy() *WorkflowTaskSetSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkflowTaskSetSpec.

func (*WorkflowTaskSetSpec) DeepCopyInto added in v3.2.0

func (in *WorkflowTaskSetSpec) DeepCopyInto(out *WorkflowTaskSetSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*WorkflowTaskSetSpec) Descriptor added in v3.2.0

func (*WorkflowTaskSetSpec) Descriptor() ([]byte, []int)

func (*WorkflowTaskSetSpec) Marshal added in v3.2.0

func (m *WorkflowTaskSetSpec) Marshal() (dAtA []byte, err error)

func (*WorkflowTaskSetSpec) MarshalTo added in v3.2.0

func (m *WorkflowTaskSetSpec) MarshalTo(dAtA []byte) (int, error)

func (*WorkflowTaskSetSpec) MarshalToSizedBuffer added in v3.2.0

func (m *WorkflowTaskSetSpec) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*WorkflowTaskSetSpec) ProtoMessage added in v3.2.0

func (*WorkflowTaskSetSpec) ProtoMessage()

func (*WorkflowTaskSetSpec) Reset added in v3.2.0

func (m *WorkflowTaskSetSpec) Reset()

func (*WorkflowTaskSetSpec) Size added in v3.2.0

func (m *WorkflowTaskSetSpec) Size() (n int)

func (*WorkflowTaskSetSpec) String added in v3.2.0

func (this *WorkflowTaskSetSpec) String() string

func (*WorkflowTaskSetSpec) Unmarshal added in v3.2.0

func (m *WorkflowTaskSetSpec) Unmarshal(dAtA []byte) error

func (*WorkflowTaskSetSpec) XXX_DiscardUnknown added in v3.2.0

func (m *WorkflowTaskSetSpec) XXX_DiscardUnknown()

func (*WorkflowTaskSetSpec) XXX_Marshal added in v3.2.0

func (m *WorkflowTaskSetSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*WorkflowTaskSetSpec) XXX_Merge added in v3.2.0

func (m *WorkflowTaskSetSpec) XXX_Merge(src proto.Message)

func (*WorkflowTaskSetSpec) XXX_Size added in v3.2.0

func (m *WorkflowTaskSetSpec) XXX_Size() int

func (*WorkflowTaskSetSpec) XXX_Unmarshal added in v3.2.0

func (m *WorkflowTaskSetSpec) XXX_Unmarshal(b []byte) error

type WorkflowTaskSetStatus added in v3.2.0

type WorkflowTaskSetStatus struct {
	Nodes map[string]NodeResult `json:"nodes,omitempty" protobuf:"bytes,1,rep,name=nodes"`
}

func (*WorkflowTaskSetStatus) DeepCopy added in v3.2.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkflowTaskSetStatus.

func (*WorkflowTaskSetStatus) DeepCopyInto added in v3.2.0

func (in *WorkflowTaskSetStatus) DeepCopyInto(out *WorkflowTaskSetStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*WorkflowTaskSetStatus) Descriptor added in v3.2.0

func (*WorkflowTaskSetStatus) Descriptor() ([]byte, []int)

func (*WorkflowTaskSetStatus) Marshal added in v3.2.0

func (m *WorkflowTaskSetStatus) Marshal() (dAtA []byte, err error)

func (*WorkflowTaskSetStatus) MarshalTo added in v3.2.0

func (m *WorkflowTaskSetStatus) MarshalTo(dAtA []byte) (int, error)

func (*WorkflowTaskSetStatus) MarshalToSizedBuffer added in v3.2.0

func (m *WorkflowTaskSetStatus) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*WorkflowTaskSetStatus) ProtoMessage added in v3.2.0

func (*WorkflowTaskSetStatus) ProtoMessage()

func (*WorkflowTaskSetStatus) Reset added in v3.2.0

func (m *WorkflowTaskSetStatus) Reset()

func (*WorkflowTaskSetStatus) Size added in v3.2.0

func (m *WorkflowTaskSetStatus) Size() (n int)

func (*WorkflowTaskSetStatus) String added in v3.2.0

func (this *WorkflowTaskSetStatus) String() string

func (*WorkflowTaskSetStatus) Unmarshal added in v3.2.0

func (m *WorkflowTaskSetStatus) Unmarshal(dAtA []byte) error

func (*WorkflowTaskSetStatus) XXX_DiscardUnknown added in v3.2.0

func (m *WorkflowTaskSetStatus) XXX_DiscardUnknown()

func (*WorkflowTaskSetStatus) XXX_Marshal added in v3.2.0

func (m *WorkflowTaskSetStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*WorkflowTaskSetStatus) XXX_Merge added in v3.2.0

func (m *WorkflowTaskSetStatus) XXX_Merge(src proto.Message)

func (*WorkflowTaskSetStatus) XXX_Size added in v3.2.0

func (m *WorkflowTaskSetStatus) XXX_Size() int

func (*WorkflowTaskSetStatus) XXX_Unmarshal added in v3.2.0

func (m *WorkflowTaskSetStatus) XXX_Unmarshal(b []byte) error

type WorkflowTemplate

type WorkflowTemplate struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata" protobuf:"bytes,1,opt,name=metadata"`
	Spec              WorkflowSpec `json:"spec" protobuf:"bytes,2,opt,name=spec"`
}

WorkflowTemplate is the definition of a workflow template resource +genclient +genclient:noStatus +kubebuilder:resource:shortName=wftmpl +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object

func MustUnmarshalWorkflowTemplate added in v3.1.0

func MustUnmarshalWorkflowTemplate(text interface{}) *WorkflowTemplate

func (*WorkflowTemplate) DeepCopy

func (in *WorkflowTemplate) DeepCopy() *WorkflowTemplate

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkflowTemplate.

func (*WorkflowTemplate) DeepCopyInto

func (in *WorkflowTemplate) DeepCopyInto(out *WorkflowTemplate)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*WorkflowTemplate) DeepCopyObject

func (in *WorkflowTemplate) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*WorkflowTemplate) Descriptor

func (*WorkflowTemplate) Descriptor() ([]byte, []int)

func (*WorkflowTemplate) GetResourceScope

func (wftmpl *WorkflowTemplate) GetResourceScope() ResourceScope

GetResourceScope returns the template scope of workflow template.

func (*WorkflowTemplate) GetTemplateByName

func (wftmpl *WorkflowTemplate) GetTemplateByName(name string) *Template

GetTemplateByName retrieves a defined template by its name

func (*WorkflowTemplate) GetWorkflowSpec

func (wftmpl *WorkflowTemplate) GetWorkflowSpec() *WorkflowSpec

GetWorkflowSpec returns the WorkflowSpec of workflow template.

func (*WorkflowTemplate) Marshal

func (m *WorkflowTemplate) Marshal() (dAtA []byte, err error)

func (*WorkflowTemplate) MarshalTo

func (m *WorkflowTemplate) MarshalTo(dAtA []byte) (int, error)

func (*WorkflowTemplate) MarshalToSizedBuffer

func (m *WorkflowTemplate) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*WorkflowTemplate) ProtoMessage

func (*WorkflowTemplate) ProtoMessage()

func (*WorkflowTemplate) Reset

func (m *WorkflowTemplate) Reset()

func (*WorkflowTemplate) Size

func (m *WorkflowTemplate) Size() (n int)

func (*WorkflowTemplate) String

func (this *WorkflowTemplate) String() string

func (*WorkflowTemplate) Unmarshal

func (m *WorkflowTemplate) Unmarshal(dAtA []byte) error

func (*WorkflowTemplate) XXX_DiscardUnknown

func (m *WorkflowTemplate) XXX_DiscardUnknown()

func (*WorkflowTemplate) XXX_Marshal

func (m *WorkflowTemplate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*WorkflowTemplate) XXX_Merge

func (m *WorkflowTemplate) XXX_Merge(src proto.Message)

func (*WorkflowTemplate) XXX_Size

func (m *WorkflowTemplate) XXX_Size() int

func (*WorkflowTemplate) XXX_Unmarshal

func (m *WorkflowTemplate) XXX_Unmarshal(b []byte) error

type WorkflowTemplateList

type WorkflowTemplateList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata" protobuf:"bytes,1,opt,name=metadata"`
	Items           WorkflowTemplates `json:"items" protobuf:"bytes,2,rep,name=items"`
}

WorkflowTemplateList is list of WorkflowTemplate resources +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object

func (*WorkflowTemplateList) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkflowTemplateList.

func (*WorkflowTemplateList) DeepCopyInto

func (in *WorkflowTemplateList) DeepCopyInto(out *WorkflowTemplateList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*WorkflowTemplateList) DeepCopyObject

func (in *WorkflowTemplateList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*WorkflowTemplateList) Descriptor

func (*WorkflowTemplateList) Descriptor() ([]byte, []int)

func (*WorkflowTemplateList) Marshal

func (m *WorkflowTemplateList) Marshal() (dAtA []byte, err error)

func (*WorkflowTemplateList) MarshalTo

func (m *WorkflowTemplateList) MarshalTo(dAtA []byte) (int, error)

func (*WorkflowTemplateList) MarshalToSizedBuffer

func (m *WorkflowTemplateList) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*WorkflowTemplateList) ProtoMessage

func (*WorkflowTemplateList) ProtoMessage()

func (*WorkflowTemplateList) Reset

func (m *WorkflowTemplateList) Reset()

func (*WorkflowTemplateList) Size

func (m *WorkflowTemplateList) Size() (n int)

func (*WorkflowTemplateList) String

func (this *WorkflowTemplateList) String() string

func (*WorkflowTemplateList) Unmarshal

func (m *WorkflowTemplateList) Unmarshal(dAtA []byte) error

func (*WorkflowTemplateList) XXX_DiscardUnknown

func (m *WorkflowTemplateList) XXX_DiscardUnknown()

func (*WorkflowTemplateList) XXX_Marshal

func (m *WorkflowTemplateList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*WorkflowTemplateList) XXX_Merge

func (m *WorkflowTemplateList) XXX_Merge(src proto.Message)

func (*WorkflowTemplateList) XXX_Size

func (m *WorkflowTemplateList) XXX_Size() int

func (*WorkflowTemplateList) XXX_Unmarshal

func (m *WorkflowTemplateList) XXX_Unmarshal(b []byte) error

type WorkflowTemplateRef

type WorkflowTemplateRef struct {
	// Name is the resource name of the workflow template.
	Name string `json:"name,omitempty" protobuf:"bytes,1,opt,name=name"`
	// ClusterScope indicates the referred template is cluster scoped (i.e. a ClusterWorkflowTemplate).
	ClusterScope bool `json:"clusterScope,omitempty" protobuf:"varint,2,opt,name=clusterScope"`
}

WorkflowTemplateRef is a reference to a WorkflowTemplate resource.

func (*WorkflowTemplateRef) DeepCopy

func (in *WorkflowTemplateRef) DeepCopy() *WorkflowTemplateRef

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkflowTemplateRef.

func (*WorkflowTemplateRef) DeepCopyInto

func (in *WorkflowTemplateRef) DeepCopyInto(out *WorkflowTemplateRef)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*WorkflowTemplateRef) Descriptor

func (*WorkflowTemplateRef) Descriptor() ([]byte, []int)

func (*WorkflowTemplateRef) Marshal

func (m *WorkflowTemplateRef) Marshal() (dAtA []byte, err error)

func (*WorkflowTemplateRef) MarshalTo

func (m *WorkflowTemplateRef) MarshalTo(dAtA []byte) (int, error)

func (*WorkflowTemplateRef) MarshalToSizedBuffer

func (m *WorkflowTemplateRef) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*WorkflowTemplateRef) ProtoMessage

func (*WorkflowTemplateRef) ProtoMessage()

func (*WorkflowTemplateRef) Reset

func (m *WorkflowTemplateRef) Reset()

func (*WorkflowTemplateRef) Size

func (m *WorkflowTemplateRef) Size() (n int)

func (*WorkflowTemplateRef) String

func (this *WorkflowTemplateRef) String() string

func (*WorkflowTemplateRef) ToTemplateRef

func (ref *WorkflowTemplateRef) ToTemplateRef(entrypoint string) *TemplateRef

func (*WorkflowTemplateRef) Unmarshal

func (m *WorkflowTemplateRef) Unmarshal(dAtA []byte) error

func (*WorkflowTemplateRef) XXX_DiscardUnknown

func (m *WorkflowTemplateRef) XXX_DiscardUnknown()

func (*WorkflowTemplateRef) XXX_Marshal

func (m *WorkflowTemplateRef) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*WorkflowTemplateRef) XXX_Merge

func (m *WorkflowTemplateRef) XXX_Merge(src proto.Message)

func (*WorkflowTemplateRef) XXX_Size

func (m *WorkflowTemplateRef) XXX_Size() int

func (*WorkflowTemplateRef) XXX_Unmarshal

func (m *WorkflowTemplateRef) XXX_Unmarshal(b []byte) error

type WorkflowTemplates

type WorkflowTemplates []WorkflowTemplate

func (WorkflowTemplates) DeepCopy

func (in WorkflowTemplates) DeepCopy() WorkflowTemplates

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkflowTemplates.

func (WorkflowTemplates) DeepCopyInto

func (in WorkflowTemplates) DeepCopyInto(out *WorkflowTemplates)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (WorkflowTemplates) Len

func (w WorkflowTemplates) Len() int

func (WorkflowTemplates) Less

func (w WorkflowTemplates) Less(i, j int) bool

func (WorkflowTemplates) Swap

func (w WorkflowTemplates) Swap(i, j int)

type Workflows

type Workflows []Workflow

Workflows is a sort interface which sorts running jobs earlier before considering FinishedAt

func (Workflows) DeepCopy

func (in Workflows) DeepCopy() Workflows

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Workflows.

func (Workflows) DeepCopyInto

func (in Workflows) DeepCopyInto(out *Workflows)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (Workflows) Filter

func (w Workflows) Filter(predicate WorkflowPredicate) Workflows

func (Workflows) Len

func (w Workflows) Len() int

func (Workflows) Less

func (w Workflows) Less(i, j int) bool

func (Workflows) Swap

func (w Workflows) Swap(i, j int)

type ZipStrategy

type ZipStrategy struct{}

ZipStrategy will unzip zipped input artifacts

func (*ZipStrategy) DeepCopy

func (in *ZipStrategy) DeepCopy() *ZipStrategy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ZipStrategy.

func (*ZipStrategy) DeepCopyInto

func (in *ZipStrategy) DeepCopyInto(out *ZipStrategy)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ZipStrategy) Descriptor

func (*ZipStrategy) Descriptor() ([]byte, []int)

func (*ZipStrategy) Marshal

func (m *ZipStrategy) Marshal() (dAtA []byte, err error)

func (*ZipStrategy) MarshalTo

func (m *ZipStrategy) MarshalTo(dAtA []byte) (int, error)

func (*ZipStrategy) MarshalToSizedBuffer

func (m *ZipStrategy) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ZipStrategy) ProtoMessage

func (*ZipStrategy) ProtoMessage()

func (*ZipStrategy) Reset

func (m *ZipStrategy) Reset()

func (*ZipStrategy) Size

func (m *ZipStrategy) Size() (n int)

func (*ZipStrategy) String

func (this *ZipStrategy) String() string

func (*ZipStrategy) Unmarshal

func (m *ZipStrategy) Unmarshal(dAtA []byte) error

func (*ZipStrategy) XXX_DiscardUnknown

func (m *ZipStrategy) XXX_DiscardUnknown()

func (*ZipStrategy) XXX_Marshal

func (m *ZipStrategy) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ZipStrategy) XXX_Merge

func (m *ZipStrategy) XXX_Merge(src proto.Message)

func (*ZipStrategy) XXX_Size

func (m *ZipStrategy) XXX_Size() int

func (*ZipStrategy) XXX_Unmarshal

func (m *ZipStrategy) XXX_Unmarshal(b []byte) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL