kubernetesplatform

package
v0.0.0-...-7908ed6 Latest Latest
Warning

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

Go to latest
Published: May 7, 2024 License: Apache-2.0 Imports: 5 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_kubernetes_executor_config_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type ConfigMapAsEnv

type ConfigMapAsEnv struct {

	// Name of the ConfigMap.
	ConfigMapName string                                 `protobuf:"bytes,1,opt,name=config_map_name,json=configMapName,proto3" json:"config_map_name,omitempty"`
	KeyToEnv      []*ConfigMapAsEnv_ConfigMapKeyToEnvMap `protobuf:"bytes,2,rep,name=key_to_env,json=keyToEnv,proto3" json:"key_to_env,omitempty"`
	// contains filtered or unexported fields
}

func (*ConfigMapAsEnv) Descriptor deprecated

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

Deprecated: Use ConfigMapAsEnv.ProtoReflect.Descriptor instead.

func (*ConfigMapAsEnv) GetConfigMapName

func (x *ConfigMapAsEnv) GetConfigMapName() string

func (*ConfigMapAsEnv) GetKeyToEnv

func (*ConfigMapAsEnv) ProtoMessage

func (*ConfigMapAsEnv) ProtoMessage()

func (*ConfigMapAsEnv) ProtoReflect

func (x *ConfigMapAsEnv) ProtoReflect() protoreflect.Message

func (*ConfigMapAsEnv) Reset

func (x *ConfigMapAsEnv) Reset()

func (*ConfigMapAsEnv) String

func (x *ConfigMapAsEnv) String() string

type ConfigMapAsEnv_ConfigMapKeyToEnvMap

type ConfigMapAsEnv_ConfigMapKeyToEnvMap struct {

	// Corresponds to a key of the ConfigMap.
	ConfigMapKey string `protobuf:"bytes,1,opt,name=config_map_key,json=configMapKey,proto3" json:"config_map_key,omitempty"`
	// Env var to which configmap_key's data should be set.
	EnvVar string `protobuf:"bytes,2,opt,name=env_var,json=envVar,proto3" json:"env_var,omitempty"`
	// contains filtered or unexported fields
}

func (*ConfigMapAsEnv_ConfigMapKeyToEnvMap) Descriptor deprecated

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

Deprecated: Use ConfigMapAsEnv_ConfigMapKeyToEnvMap.ProtoReflect.Descriptor instead.

func (*ConfigMapAsEnv_ConfigMapKeyToEnvMap) GetConfigMapKey

func (x *ConfigMapAsEnv_ConfigMapKeyToEnvMap) GetConfigMapKey() string

func (*ConfigMapAsEnv_ConfigMapKeyToEnvMap) GetEnvVar

func (*ConfigMapAsEnv_ConfigMapKeyToEnvMap) ProtoMessage

func (*ConfigMapAsEnv_ConfigMapKeyToEnvMap) ProtoMessage()

func (*ConfigMapAsEnv_ConfigMapKeyToEnvMap) ProtoReflect

func (*ConfigMapAsEnv_ConfigMapKeyToEnvMap) Reset

func (*ConfigMapAsEnv_ConfigMapKeyToEnvMap) String

type ConfigMapAsVolume

type ConfigMapAsVolume struct {

	// Name of the ConfigMap.
	ConfigMapName string `protobuf:"bytes,1,opt,name=config_map_name,json=configMapName,proto3" json:"config_map_name,omitempty"`
	// Container path to mount the ConfigMap data.
	MountPath string `protobuf:"bytes,2,opt,name=mount_path,json=mountPath,proto3" json:"mount_path,omitempty"`
	// An optional boolean value indicating whether the ConfigMap must be defined.
	Optional *bool `protobuf:"varint,3,opt,name=optional,proto3,oneof" json:"optional,omitempty"`
	// contains filtered or unexported fields
}

func (*ConfigMapAsVolume) Descriptor deprecated

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

Deprecated: Use ConfigMapAsVolume.ProtoReflect.Descriptor instead.

func (*ConfigMapAsVolume) GetConfigMapName

func (x *ConfigMapAsVolume) GetConfigMapName() string

func (*ConfigMapAsVolume) GetMountPath

func (x *ConfigMapAsVolume) GetMountPath() string

func (*ConfigMapAsVolume) GetOptional

func (x *ConfigMapAsVolume) GetOptional() bool

func (*ConfigMapAsVolume) ProtoMessage

func (*ConfigMapAsVolume) ProtoMessage()

func (*ConfigMapAsVolume) ProtoReflect

func (x *ConfigMapAsVolume) ProtoReflect() protoreflect.Message

func (*ConfigMapAsVolume) Reset

func (x *ConfigMapAsVolume) Reset()

func (*ConfigMapAsVolume) String

func (x *ConfigMapAsVolume) String() string

type CreatePvc

type CreatePvc struct {

	// Types that are assignable to Name:
	//
	//	*CreatePvc_PvcName
	//	*CreatePvc_PvcNameSuffix
	Name isCreatePvc_Name `protobuf_oneof:"name"`
	// Corresponds to PersistentVolumeClaim.spec.accessMode field.
	AccessModes []string `protobuf:"bytes,3,rep,name=access_modes,json=accessModes,proto3" json:"access_modes,omitempty"`
	// Corresponds to PersistentVolumeClaim.spec.resources.requests.storage field.
	Size string `protobuf:"bytes,4,opt,name=size,proto3" json:"size,omitempty"`
	// If true, corresponds to omitted PersistentVolumeClaim.spec.storageClassName.
	DefaultStorageClass bool `protobuf:"varint,5,opt,name=default_storage_class,json=defaultStorageClass,proto3" json:"default_storage_class,omitempty"`
	// Corresponds to PersistentVolumeClaim.spec.storageClassName string field.
	// Should only be used if default_storage_class is false.
	StorageClassName string `protobuf:"bytes,6,opt,name=storage_class_name,json=storageClassName,proto3" json:"storage_class_name,omitempty"`
	// Corresponds to PersistentVolumeClaim.spec.volumeName field.
	VolumeName string `protobuf:"bytes,7,opt,name=volume_name,json=volumeName,proto3" json:"volume_name,omitempty"`
	// Corresponds to PersistentVolumeClaim.metadata.annotations field.
	Annotations *structpb.Struct `protobuf:"bytes,8,opt,name=annotations,proto3" json:"annotations,omitempty"`
	// contains filtered or unexported fields
}

func (*CreatePvc) Descriptor deprecated

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

Deprecated: Use CreatePvc.ProtoReflect.Descriptor instead.

func (*CreatePvc) GetAccessModes

func (x *CreatePvc) GetAccessModes() []string

func (*CreatePvc) GetAnnotations

func (x *CreatePvc) GetAnnotations() *structpb.Struct

func (*CreatePvc) GetDefaultStorageClass

func (x *CreatePvc) GetDefaultStorageClass() bool

func (*CreatePvc) GetName

func (m *CreatePvc) GetName() isCreatePvc_Name

func (*CreatePvc) GetPvcName

func (x *CreatePvc) GetPvcName() string

func (*CreatePvc) GetPvcNameSuffix

func (x *CreatePvc) GetPvcNameSuffix() string

func (*CreatePvc) GetSize

func (x *CreatePvc) GetSize() string

func (*CreatePvc) GetStorageClassName

func (x *CreatePvc) GetStorageClassName() string

func (*CreatePvc) GetVolumeName

func (x *CreatePvc) GetVolumeName() string

func (*CreatePvc) ProtoMessage

func (*CreatePvc) ProtoMessage()

func (*CreatePvc) ProtoReflect

func (x *CreatePvc) ProtoReflect() protoreflect.Message

func (*CreatePvc) Reset

func (x *CreatePvc) Reset()

func (*CreatePvc) String

func (x *CreatePvc) String() string

type CreatePvc_PvcName

type CreatePvc_PvcName struct {
	// Name of the PVC, if not dynamically generated.
	PvcName string `protobuf:"bytes,1,opt,name=pvc_name,json=pvcName,proto3,oneof"`
}

type CreatePvc_PvcNameSuffix

type CreatePvc_PvcNameSuffix struct {
	// Suffix for a dynamically generated PVC name of the form
	// {{workflow.name}}-<pvc_name_suffix>.
	PvcNameSuffix string `protobuf:"bytes,2,opt,name=pvc_name_suffix,json=pvcNameSuffix,proto3,oneof"`
}

type DeletePvc

type DeletePvc struct {

	// Identifier for the PVC.
	// Used like TaskInputsSpec.InputParameterSpec.kind.
	//
	// Types that are assignable to PvcReference:
	//
	//	*DeletePvc_TaskOutputParameter
	//	*DeletePvc_Constant
	//	*DeletePvc_ComponentInputParameter
	PvcReference isDeletePvc_PvcReference `protobuf_oneof:"pvc_reference"`
	// contains filtered or unexported fields
}

func (*DeletePvc) Descriptor deprecated

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

Deprecated: Use DeletePvc.ProtoReflect.Descriptor instead.

func (*DeletePvc) GetComponentInputParameter

func (x *DeletePvc) GetComponentInputParameter() string

func (*DeletePvc) GetConstant

func (x *DeletePvc) GetConstant() string

func (*DeletePvc) GetPvcReference

func (m *DeletePvc) GetPvcReference() isDeletePvc_PvcReference

func (*DeletePvc) GetTaskOutputParameter

func (x *DeletePvc) GetTaskOutputParameter() *TaskOutputParameterSpec

func (*DeletePvc) ProtoMessage

func (*DeletePvc) ProtoMessage()

func (*DeletePvc) ProtoReflect

func (x *DeletePvc) ProtoReflect() protoreflect.Message

func (*DeletePvc) Reset

func (x *DeletePvc) Reset()

func (*DeletePvc) String

func (x *DeletePvc) String() string

type DeletePvc_ComponentInputParameter

type DeletePvc_ComponentInputParameter struct {
	// Pass the input parameter from parent component input parameter.
	ComponentInputParameter string `protobuf:"bytes,3,opt,name=component_input_parameter,json=componentInputParameter,proto3,oneof"`
}

type DeletePvc_Constant

type DeletePvc_Constant struct {
	// A constant value.
	Constant string `protobuf:"bytes,2,opt,name=constant,proto3,oneof"`
}

type DeletePvc_TaskOutputParameter

type DeletePvc_TaskOutputParameter struct {
	// Output parameter from an upstream task.
	TaskOutputParameter *TaskOutputParameterSpec `protobuf:"bytes,1,opt,name=task_output_parameter,json=taskOutputParameter,proto3,oneof"`
}

type FieldPathAsEnv

type FieldPathAsEnv struct {

	// Name of the environment variable
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Value of the field path string
	FieldPath string `protobuf:"bytes,2,opt,name=field_path,json=fieldPath,proto3" json:"field_path,omitempty"`
	// contains filtered or unexported fields
}

func (*FieldPathAsEnv) Descriptor deprecated

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

Deprecated: Use FieldPathAsEnv.ProtoReflect.Descriptor instead.

func (*FieldPathAsEnv) GetFieldPath

func (x *FieldPathAsEnv) GetFieldPath() string

func (*FieldPathAsEnv) GetName

func (x *FieldPathAsEnv) GetName() string

func (*FieldPathAsEnv) ProtoMessage

func (*FieldPathAsEnv) ProtoMessage()

func (*FieldPathAsEnv) ProtoReflect

func (x *FieldPathAsEnv) ProtoReflect() protoreflect.Message

func (*FieldPathAsEnv) Reset

func (x *FieldPathAsEnv) Reset()

func (*FieldPathAsEnv) String

func (x *FieldPathAsEnv) String() string

type GenericEphemeralVolume

type GenericEphemeralVolume struct {

	// more details in https://kubernetes.io/docs/concepts/storage/ephemeral-volumes/#generic-ephemeral-volumes
	// Name of the ephemeral volume.
	VolumeName string `protobuf:"bytes,1,opt,name=volume_name,json=volumeName,proto3" json:"volume_name,omitempty"`
	// Container path to mount the volume
	MountPath string `protobuf:"bytes,2,opt,name=mount_path,json=mountPath,proto3" json:"mount_path,omitempty"`
	// Corresponds to ephemeral.volumeClaimTemplate.spec.accessModes field.
	AccessModes []string `protobuf:"bytes,3,rep,name=access_modes,json=accessModes,proto3" json:"access_modes,omitempty"`
	// Corresponds to ephemeral.volumeClaimTemplate.spec.resources.requests.storage field.
	Size string `protobuf:"bytes,4,opt,name=size,proto3" json:"size,omitempty"`
	// If true, corresponds to omitted ephemeral.volumeClaimTemplate.spec.storageClassName.
	DefaultStorageClass bool `protobuf:"varint,5,opt,name=default_storage_class,json=defaultStorageClass,proto3" json:"default_storage_class,omitempty"`
	// Corresponds to ephemeral.volumeClaimTemplate.spec.storageClassName string field.
	// Should only be used if default_storage_class is false.
	StorageClassName string `protobuf:"bytes,6,opt,name=storage_class_name,json=storageClassName,proto3" json:"storage_class_name,omitempty"`
	// Corresponds to ephemeral.volumeClaimTemplate.metadata.
	// This is not exactly a pod metadata but the fields are the same
	Metadata *PodMetadata `protobuf:"bytes,7,opt,name=metadata,proto3" json:"metadata,omitempty"`
	// contains filtered or unexported fields
}

func (*GenericEphemeralVolume) Descriptor deprecated

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

Deprecated: Use GenericEphemeralVolume.ProtoReflect.Descriptor instead.

func (*GenericEphemeralVolume) GetAccessModes

func (x *GenericEphemeralVolume) GetAccessModes() []string

func (*GenericEphemeralVolume) GetDefaultStorageClass

func (x *GenericEphemeralVolume) GetDefaultStorageClass() bool

func (*GenericEphemeralVolume) GetMetadata

func (x *GenericEphemeralVolume) GetMetadata() *PodMetadata

func (*GenericEphemeralVolume) GetMountPath

func (x *GenericEphemeralVolume) GetMountPath() string

func (*GenericEphemeralVolume) GetSize

func (x *GenericEphemeralVolume) GetSize() string

func (*GenericEphemeralVolume) GetStorageClassName

func (x *GenericEphemeralVolume) GetStorageClassName() string

func (*GenericEphemeralVolume) GetVolumeName

func (x *GenericEphemeralVolume) GetVolumeName() string

func (*GenericEphemeralVolume) ProtoMessage

func (*GenericEphemeralVolume) ProtoMessage()

func (*GenericEphemeralVolume) ProtoReflect

func (x *GenericEphemeralVolume) ProtoReflect() protoreflect.Message

func (*GenericEphemeralVolume) Reset

func (x *GenericEphemeralVolume) Reset()

func (*GenericEphemeralVolume) String

func (x *GenericEphemeralVolume) String() string

type ImagePullSecret

type ImagePullSecret struct {

	// Name of the image pull secret.
	SecretName string `protobuf:"bytes,1,opt,name=secret_name,json=secretName,proto3" json:"secret_name,omitempty"`
	// contains filtered or unexported fields
}

func (*ImagePullSecret) Descriptor deprecated

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

Deprecated: Use ImagePullSecret.ProtoReflect.Descriptor instead.

func (*ImagePullSecret) GetSecretName

func (x *ImagePullSecret) GetSecretName() string

func (*ImagePullSecret) ProtoMessage

func (*ImagePullSecret) ProtoMessage()

func (*ImagePullSecret) ProtoReflect

func (x *ImagePullSecret) ProtoReflect() protoreflect.Message

func (*ImagePullSecret) Reset

func (x *ImagePullSecret) Reset()

func (*ImagePullSecret) String

func (x *ImagePullSecret) String() string

type KubernetesExecutorConfig

type KubernetesExecutorConfig struct {
	SecretAsVolume  []*SecretAsVolume  `protobuf:"bytes,1,rep,name=secret_as_volume,json=secretAsVolume,proto3" json:"secret_as_volume,omitempty"`
	SecretAsEnv     []*SecretAsEnv     `protobuf:"bytes,2,rep,name=secret_as_env,json=secretAsEnv,proto3" json:"secret_as_env,omitempty"`
	PvcMount        []*PvcMount        `protobuf:"bytes,3,rep,name=pvc_mount,json=pvcMount,proto3" json:"pvc_mount,omitempty"`
	NodeSelector    *NodeSelector      `protobuf:"bytes,4,opt,name=node_selector,json=nodeSelector,proto3" json:"node_selector,omitempty"`
	PodMetadata     *PodMetadata       `protobuf:"bytes,5,opt,name=pod_metadata,json=podMetadata,proto3" json:"pod_metadata,omitempty"`
	ImagePullSecret []*ImagePullSecret `protobuf:"bytes,6,rep,name=image_pull_secret,json=imagePullSecret,proto3" json:"image_pull_secret,omitempty"`
	// One of Always, Never, IfNotPresent.
	ImagePullPolicy        string                    `protobuf:"bytes,7,opt,name=image_pull_policy,json=imagePullPolicy,proto3" json:"image_pull_policy,omitempty"`
	ConfigMapAsVolume      []*ConfigMapAsVolume      `protobuf:"bytes,8,rep,name=config_map_as_volume,json=configMapAsVolume,proto3" json:"config_map_as_volume,omitempty"`
	ConfigMapAsEnv         []*ConfigMapAsEnv         `protobuf:"bytes,9,rep,name=config_map_as_env,json=configMapAsEnv,proto3" json:"config_map_as_env,omitempty"`
	ActiveDeadlineSeconds  int64                     `` /* 128-byte string literal not displayed */
	FieldPathAsEnv         []*FieldPathAsEnv         `protobuf:"bytes,11,rep,name=field_path_as_env,json=fieldPathAsEnv,proto3" json:"field_path_as_env,omitempty"`
	Tolerations            []*Toleration             `protobuf:"bytes,12,rep,name=tolerations,proto3" json:"tolerations,omitempty"`
	GenericEphemeralVolume []*GenericEphemeralVolume `` /* 130-byte string literal not displayed */
	NodeAffinity           []*NodeAffinityTerm       `protobuf:"bytes,14,rep,name=node_affinity,json=nodeAffinity,proto3" json:"node_affinity,omitempty"`
	PodAffinity            []*PodAffinityTerm        `protobuf:"bytes,15,rep,name=pod_affinity,json=podAffinity,proto3" json:"pod_affinity,omitempty"`
	// contains filtered or unexported fields
}

func (*KubernetesExecutorConfig) Descriptor deprecated

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

Deprecated: Use KubernetesExecutorConfig.ProtoReflect.Descriptor instead.

func (*KubernetesExecutorConfig) GetActiveDeadlineSeconds

func (x *KubernetesExecutorConfig) GetActiveDeadlineSeconds() int64

func (*KubernetesExecutorConfig) GetConfigMapAsEnv

func (x *KubernetesExecutorConfig) GetConfigMapAsEnv() []*ConfigMapAsEnv

func (*KubernetesExecutorConfig) GetConfigMapAsVolume

func (x *KubernetesExecutorConfig) GetConfigMapAsVolume() []*ConfigMapAsVolume

func (*KubernetesExecutorConfig) GetFieldPathAsEnv

func (x *KubernetesExecutorConfig) GetFieldPathAsEnv() []*FieldPathAsEnv

func (*KubernetesExecutorConfig) GetGenericEphemeralVolume

func (x *KubernetesExecutorConfig) GetGenericEphemeralVolume() []*GenericEphemeralVolume

func (*KubernetesExecutorConfig) GetImagePullPolicy

func (x *KubernetesExecutorConfig) GetImagePullPolicy() string

func (*KubernetesExecutorConfig) GetImagePullSecret

func (x *KubernetesExecutorConfig) GetImagePullSecret() []*ImagePullSecret

func (*KubernetesExecutorConfig) GetNodeAffinity

func (x *KubernetesExecutorConfig) GetNodeAffinity() []*NodeAffinityTerm

func (*KubernetesExecutorConfig) GetNodeSelector

func (x *KubernetesExecutorConfig) GetNodeSelector() *NodeSelector

func (*KubernetesExecutorConfig) GetPodAffinity

func (x *KubernetesExecutorConfig) GetPodAffinity() []*PodAffinityTerm

func (*KubernetesExecutorConfig) GetPodMetadata

func (x *KubernetesExecutorConfig) GetPodMetadata() *PodMetadata

func (*KubernetesExecutorConfig) GetPvcMount

func (x *KubernetesExecutorConfig) GetPvcMount() []*PvcMount

func (*KubernetesExecutorConfig) GetSecretAsEnv

func (x *KubernetesExecutorConfig) GetSecretAsEnv() []*SecretAsEnv

func (*KubernetesExecutorConfig) GetSecretAsVolume

func (x *KubernetesExecutorConfig) GetSecretAsVolume() []*SecretAsVolume

func (*KubernetesExecutorConfig) GetTolerations

func (x *KubernetesExecutorConfig) GetTolerations() []*Toleration

func (*KubernetesExecutorConfig) ProtoMessage

func (*KubernetesExecutorConfig) ProtoMessage()

func (*KubernetesExecutorConfig) ProtoReflect

func (x *KubernetesExecutorConfig) ProtoReflect() protoreflect.Message

func (*KubernetesExecutorConfig) Reset

func (x *KubernetesExecutorConfig) Reset()

func (*KubernetesExecutorConfig) String

func (x *KubernetesExecutorConfig) String() string

type NodeAffinityTerm

type NodeAffinityTerm struct {
	MatchExpressions []*SelectorRequirement `protobuf:"bytes,1,rep,name=match_expressions,json=matchExpressions,proto3" json:"match_expressions,omitempty"`
	MatchFields      []*SelectorRequirement `protobuf:"bytes,2,rep,name=match_fields,json=matchFields,proto3" json:"match_fields,omitempty"`
	//Setting the weight makes it use PreferredDuringSchedulingIgnoredDuringExecution rules instead of RequiredDuringSchedulingIgnoredDuringExecution rules
	Weight *int32 `protobuf:"varint,3,opt,name=weight,proto3,oneof" json:"weight,omitempty"`
	// contains filtered or unexported fields
}

func (*NodeAffinityTerm) Descriptor deprecated

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

Deprecated: Use NodeAffinityTerm.ProtoReflect.Descriptor instead.

func (*NodeAffinityTerm) GetMatchExpressions

func (x *NodeAffinityTerm) GetMatchExpressions() []*SelectorRequirement

func (*NodeAffinityTerm) GetMatchFields

func (x *NodeAffinityTerm) GetMatchFields() []*SelectorRequirement

func (*NodeAffinityTerm) GetWeight

func (x *NodeAffinityTerm) GetWeight() int32

func (*NodeAffinityTerm) ProtoMessage

func (*NodeAffinityTerm) ProtoMessage()

func (*NodeAffinityTerm) ProtoReflect

func (x *NodeAffinityTerm) ProtoReflect() protoreflect.Message

func (*NodeAffinityTerm) Reset

func (x *NodeAffinityTerm) Reset()

func (*NodeAffinityTerm) String

func (x *NodeAffinityTerm) String() string

type NodeSelector

type NodeSelector struct {

	// map of label key to label value
	// corresponds to Pod.spec.nodeSelector field https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/pod-v1/#scheduling
	Labels map[string]string `` /* 153-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*NodeSelector) Descriptor deprecated

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

Deprecated: Use NodeSelector.ProtoReflect.Descriptor instead.

func (*NodeSelector) GetLabels

func (x *NodeSelector) GetLabels() map[string]string

func (*NodeSelector) ProtoMessage

func (*NodeSelector) ProtoMessage()

func (*NodeSelector) ProtoReflect

func (x *NodeSelector) ProtoReflect() protoreflect.Message

func (*NodeSelector) Reset

func (x *NodeSelector) Reset()

func (*NodeSelector) String

func (x *NodeSelector) String() string

type PodAffinityTerm

type PodAffinityTerm struct {
	MatchPodExpressions       []*SelectorRequirement `protobuf:"bytes,1,rep,name=match_pod_expressions,json=matchPodExpressions,proto3" json:"match_pod_expressions,omitempty"`
	MatchPodLabels            map[string]string      `` /* 193-byte string literal not displayed */
	TopologyKey               string                 `protobuf:"bytes,3,opt,name=topology_key,json=topologyKey,proto3" json:"topology_key,omitempty"`
	Namespaces                []string               `protobuf:"bytes,4,rep,name=namespaces,proto3" json:"namespaces,omitempty"`
	MatchNamespaceExpressions []*SelectorRequirement `` /* 138-byte string literal not displayed */
	MatchNamespaceLabels      map[string]string      `` /* 211-byte string literal not displayed */
	//Setting a weight makes it use PreferredDuringSchedulingIgnoredDuringExecution rules instead of RequiredDuringSchedulingIgnoredDuringExecution rules
	Weight *int32 `protobuf:"varint,7,opt,name=weight,proto3,oneof" json:"weight,omitempty"`
	//Flag indicating if it is a podaffinity or podantiaffinity
	Anti *bool `protobuf:"varint,8,opt,name=anti,proto3,oneof" json:"anti,omitempty"`
	// contains filtered or unexported fields
}

func (*PodAffinityTerm) Descriptor deprecated

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

Deprecated: Use PodAffinityTerm.ProtoReflect.Descriptor instead.

func (*PodAffinityTerm) GetAnti

func (x *PodAffinityTerm) GetAnti() bool

func (*PodAffinityTerm) GetMatchNamespaceExpressions

func (x *PodAffinityTerm) GetMatchNamespaceExpressions() []*SelectorRequirement

func (*PodAffinityTerm) GetMatchNamespaceLabels

func (x *PodAffinityTerm) GetMatchNamespaceLabels() map[string]string

func (*PodAffinityTerm) GetMatchPodExpressions

func (x *PodAffinityTerm) GetMatchPodExpressions() []*SelectorRequirement

func (*PodAffinityTerm) GetMatchPodLabels

func (x *PodAffinityTerm) GetMatchPodLabels() map[string]string

func (*PodAffinityTerm) GetNamespaces

func (x *PodAffinityTerm) GetNamespaces() []string

func (*PodAffinityTerm) GetTopologyKey

func (x *PodAffinityTerm) GetTopologyKey() string

func (*PodAffinityTerm) GetWeight

func (x *PodAffinityTerm) GetWeight() int32

func (*PodAffinityTerm) ProtoMessage

func (*PodAffinityTerm) ProtoMessage()

func (*PodAffinityTerm) ProtoReflect

func (x *PodAffinityTerm) ProtoReflect() protoreflect.Message

func (*PodAffinityTerm) Reset

func (x *PodAffinityTerm) Reset()

func (*PodAffinityTerm) String

func (x *PodAffinityTerm) String() string

type PodMetadata

type PodMetadata struct {

	// values of metadata spec such as labels and annotations for the pod object
	// corresponds to Pod.metadata field https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/pod-v1/#Pod
	Labels      map[string]string `` /* 153-byte string literal not displayed */
	Annotations map[string]string `` /* 163-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*PodMetadata) Descriptor deprecated

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

Deprecated: Use PodMetadata.ProtoReflect.Descriptor instead.

func (*PodMetadata) GetAnnotations

func (x *PodMetadata) GetAnnotations() map[string]string

func (*PodMetadata) GetLabels

func (x *PodMetadata) GetLabels() map[string]string

func (*PodMetadata) ProtoMessage

func (*PodMetadata) ProtoMessage()

func (*PodMetadata) ProtoReflect

func (x *PodMetadata) ProtoReflect() protoreflect.Message

func (*PodMetadata) Reset

func (x *PodMetadata) Reset()

func (*PodMetadata) String

func (x *PodMetadata) String() string

type PvcMount

type PvcMount struct {

	// Identifier for the PVC.
	// Used like TaskInputsSpec.InputParameterSpec.kind.
	//
	// Types that are assignable to PvcReference:
	//
	//	*PvcMount_TaskOutputParameter
	//	*PvcMount_Constant
	//	*PvcMount_ComponentInputParameter
	PvcReference isPvcMount_PvcReference `protobuf_oneof:"pvc_reference"`
	// Container path to which the PVC should be mounted.
	MountPath string `protobuf:"bytes,4,opt,name=mount_path,json=mountPath,proto3" json:"mount_path,omitempty"`
	// contains filtered or unexported fields
}

func (*PvcMount) Descriptor deprecated

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

Deprecated: Use PvcMount.ProtoReflect.Descriptor instead.

func (*PvcMount) GetComponentInputParameter

func (x *PvcMount) GetComponentInputParameter() string

func (*PvcMount) GetConstant

func (x *PvcMount) GetConstant() string

func (*PvcMount) GetMountPath

func (x *PvcMount) GetMountPath() string

func (*PvcMount) GetPvcReference

func (m *PvcMount) GetPvcReference() isPvcMount_PvcReference

func (*PvcMount) GetTaskOutputParameter

func (x *PvcMount) GetTaskOutputParameter() *TaskOutputParameterSpec

func (*PvcMount) ProtoMessage

func (*PvcMount) ProtoMessage()

func (*PvcMount) ProtoReflect

func (x *PvcMount) ProtoReflect() protoreflect.Message

func (*PvcMount) Reset

func (x *PvcMount) Reset()

func (*PvcMount) String

func (x *PvcMount) String() string

type PvcMount_ComponentInputParameter

type PvcMount_ComponentInputParameter struct {
	// Pass the input parameter from parent component input parameter.
	ComponentInputParameter string `protobuf:"bytes,3,opt,name=component_input_parameter,json=componentInputParameter,proto3,oneof"`
}

type PvcMount_Constant

type PvcMount_Constant struct {
	// A constant value.
	Constant string `protobuf:"bytes,2,opt,name=constant,proto3,oneof"`
}

type PvcMount_TaskOutputParameter

type PvcMount_TaskOutputParameter struct {
	// Output parameter from an upstream task.
	TaskOutputParameter *TaskOutputParameterSpec `protobuf:"bytes,1,opt,name=task_output_parameter,json=taskOutputParameter,proto3,oneof"`
}

type SecretAsEnv

type SecretAsEnv struct {

	// Name of the Secret.
	SecretName string                           `protobuf:"bytes,1,opt,name=secret_name,json=secretName,proto3" json:"secret_name,omitempty"`
	KeyToEnv   []*SecretAsEnv_SecretKeyToEnvMap `protobuf:"bytes,2,rep,name=key_to_env,json=keyToEnv,proto3" json:"key_to_env,omitempty"`
	// contains filtered or unexported fields
}

func (*SecretAsEnv) Descriptor deprecated

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

Deprecated: Use SecretAsEnv.ProtoReflect.Descriptor instead.

func (*SecretAsEnv) GetKeyToEnv

func (x *SecretAsEnv) GetKeyToEnv() []*SecretAsEnv_SecretKeyToEnvMap

func (*SecretAsEnv) GetSecretName

func (x *SecretAsEnv) GetSecretName() string

func (*SecretAsEnv) ProtoMessage

func (*SecretAsEnv) ProtoMessage()

func (*SecretAsEnv) ProtoReflect

func (x *SecretAsEnv) ProtoReflect() protoreflect.Message

func (*SecretAsEnv) Reset

func (x *SecretAsEnv) Reset()

func (*SecretAsEnv) String

func (x *SecretAsEnv) String() string

type SecretAsEnv_SecretKeyToEnvMap

type SecretAsEnv_SecretKeyToEnvMap struct {

	// Corresponds to a key of the Secret.data field.
	SecretKey string `protobuf:"bytes,1,opt,name=secret_key,json=secretKey,proto3" json:"secret_key,omitempty"`
	// Env var to which secret_key's data should be set.
	EnvVar string `protobuf:"bytes,2,opt,name=env_var,json=envVar,proto3" json:"env_var,omitempty"`
	// contains filtered or unexported fields
}

func (*SecretAsEnv_SecretKeyToEnvMap) Descriptor deprecated

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

Deprecated: Use SecretAsEnv_SecretKeyToEnvMap.ProtoReflect.Descriptor instead.

func (*SecretAsEnv_SecretKeyToEnvMap) GetEnvVar

func (x *SecretAsEnv_SecretKeyToEnvMap) GetEnvVar() string

func (*SecretAsEnv_SecretKeyToEnvMap) GetSecretKey

func (x *SecretAsEnv_SecretKeyToEnvMap) GetSecretKey() string

func (*SecretAsEnv_SecretKeyToEnvMap) ProtoMessage

func (*SecretAsEnv_SecretKeyToEnvMap) ProtoMessage()

func (*SecretAsEnv_SecretKeyToEnvMap) ProtoReflect

func (*SecretAsEnv_SecretKeyToEnvMap) Reset

func (x *SecretAsEnv_SecretKeyToEnvMap) Reset()

func (*SecretAsEnv_SecretKeyToEnvMap) String

type SecretAsVolume

type SecretAsVolume struct {

	// Name of the Secret.
	SecretName string `protobuf:"bytes,1,opt,name=secret_name,json=secretName,proto3" json:"secret_name,omitempty"`
	// Container path to mount the Secret data.
	MountPath string `protobuf:"bytes,2,opt,name=mount_path,json=mountPath,proto3" json:"mount_path,omitempty"`
	// An optional boolean value indicating whether the Secret must be defined.
	Optional *bool `protobuf:"varint,3,opt,name=optional,proto3,oneof" json:"optional,omitempty"`
	// contains filtered or unexported fields
}

func (*SecretAsVolume) Descriptor deprecated

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

Deprecated: Use SecretAsVolume.ProtoReflect.Descriptor instead.

func (*SecretAsVolume) GetMountPath

func (x *SecretAsVolume) GetMountPath() string

func (*SecretAsVolume) GetOptional

func (x *SecretAsVolume) GetOptional() bool

func (*SecretAsVolume) GetSecretName

func (x *SecretAsVolume) GetSecretName() string

func (*SecretAsVolume) ProtoMessage

func (*SecretAsVolume) ProtoMessage()

func (*SecretAsVolume) ProtoReflect

func (x *SecretAsVolume) ProtoReflect() protoreflect.Message

func (*SecretAsVolume) Reset

func (x *SecretAsVolume) Reset()

func (*SecretAsVolume) String

func (x *SecretAsVolume) String() string

type SelectorRequirement

type SelectorRequirement struct {
	Key      string   `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	Operator string   `protobuf:"bytes,2,opt,name=operator,proto3" json:"operator,omitempty"`
	Values   []string `protobuf:"bytes,3,rep,name=values,proto3" json:"values,omitempty"`
	// contains filtered or unexported fields
}

Matches https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.25/#labelselectorrequirement-v1-meta and https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.25/#nodeselectorrequirement-v1-core

func (*SelectorRequirement) Descriptor deprecated

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

Deprecated: Use SelectorRequirement.ProtoReflect.Descriptor instead.

func (*SelectorRequirement) GetKey

func (x *SelectorRequirement) GetKey() string

func (*SelectorRequirement) GetOperator

func (x *SelectorRequirement) GetOperator() string

func (*SelectorRequirement) GetValues

func (x *SelectorRequirement) GetValues() []string

func (*SelectorRequirement) ProtoMessage

func (*SelectorRequirement) ProtoMessage()

func (*SelectorRequirement) ProtoReflect

func (x *SelectorRequirement) ProtoReflect() protoreflect.Message

func (*SelectorRequirement) Reset

func (x *SelectorRequirement) Reset()

func (*SelectorRequirement) String

func (x *SelectorRequirement) String() string

type TaskOutputParameterSpec

type TaskOutputParameterSpec struct {

	// The name of the upstream task which produces the output parameter that
	// matches with the `output_parameter_key`.
	ProducerTask string `protobuf:"bytes,1,opt,name=producer_task,json=producerTask,proto3" json:"producer_task,omitempty"`
	// The key of [TaskOutputsSpec.parameters][] map of the producer task.
	OutputParameterKey string `protobuf:"bytes,2,opt,name=output_parameter_key,json=outputParameterKey,proto3" json:"output_parameter_key,omitempty"`
	// contains filtered or unexported fields
}

Represents an upstream task's output parameter.

func (*TaskOutputParameterSpec) Descriptor deprecated

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

Deprecated: Use TaskOutputParameterSpec.ProtoReflect.Descriptor instead.

func (*TaskOutputParameterSpec) GetOutputParameterKey

func (x *TaskOutputParameterSpec) GetOutputParameterKey() string

func (*TaskOutputParameterSpec) GetProducerTask

func (x *TaskOutputParameterSpec) GetProducerTask() string

func (*TaskOutputParameterSpec) ProtoMessage

func (*TaskOutputParameterSpec) ProtoMessage()

func (*TaskOutputParameterSpec) ProtoReflect

func (x *TaskOutputParameterSpec) ProtoReflect() protoreflect.Message

func (*TaskOutputParameterSpec) Reset

func (x *TaskOutputParameterSpec) Reset()

func (*TaskOutputParameterSpec) String

func (x *TaskOutputParameterSpec) String() string

type Toleration

type Toleration struct {
	Key               string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	Operator          string `protobuf:"bytes,2,opt,name=operator,proto3" json:"operator,omitempty"`
	Value             string `protobuf:"bytes,3,opt,name=value,proto3" json:"value,omitempty"`
	Effect            string `protobuf:"bytes,4,opt,name=effect,proto3" json:"effect,omitempty"`
	TolerationSeconds *int64 `protobuf:"varint,5,opt,name=toleration_seconds,json=tolerationSeconds,proto3,oneof" json:"toleration_seconds,omitempty"`
	// contains filtered or unexported fields
}

func (*Toleration) Descriptor deprecated

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

Deprecated: Use Toleration.ProtoReflect.Descriptor instead.

func (*Toleration) GetEffect

func (x *Toleration) GetEffect() string

func (*Toleration) GetKey

func (x *Toleration) GetKey() string

func (*Toleration) GetOperator

func (x *Toleration) GetOperator() string

func (*Toleration) GetTolerationSeconds

func (x *Toleration) GetTolerationSeconds() int64

func (*Toleration) GetValue

func (x *Toleration) GetValue() string

func (*Toleration) ProtoMessage

func (*Toleration) ProtoMessage()

func (*Toleration) ProtoReflect

func (x *Toleration) ProtoReflect() protoreflect.Message

func (*Toleration) Reset

func (x *Toleration) Reset()

func (*Toleration) String

func (x *Toleration) String() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL