core

package
v1.1.8 Latest Latest
Warning

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

Go to latest
Published: Jul 3, 2022 License: Apache-2.0 Imports: 16 Imported by: 131

Documentation

Index

Constants

This section is empty.

Variables

View Source
var BlobType_BlobDimensionality_name = map[int32]string{
	0: "SINGLE",
	1: "MULTIPART",
}
View Source
var BlobType_BlobDimensionality_value = map[string]int32{
	"SINGLE":    0,
	"MULTIPART": 1,
}
View Source
var CatalogCacheStatus_name = map[int32]string{
	0: "CACHE_DISABLED",
	1: "CACHE_MISS",
	2: "CACHE_HIT",
	3: "CACHE_POPULATED",
	4: "CACHE_LOOKUP_FAILURE",
	5: "CACHE_PUT_FAILURE",
}
View Source
var CatalogCacheStatus_value = map[string]int32{
	"CACHE_DISABLED":       0,
	"CACHE_MISS":           1,
	"CACHE_HIT":            2,
	"CACHE_POPULATED":      3,
	"CACHE_LOOKUP_FAILURE": 4,
	"CACHE_PUT_FAILURE":    5,
}
View Source
var CatalogReservation_Status_name = map[int32]string{
	0: "RESERVATION_DISABLED",
	1: "RESERVATION_ACQUIRED",
	2: "RESERVATION_EXISTS",
	3: "RESERVATION_RELEASED",
	4: "RESERVATION_FAILURE",
}
View Source
var CatalogReservation_Status_value = map[string]int32{
	"RESERVATION_DISABLED": 0,
	"RESERVATION_ACQUIRED": 1,
	"RESERVATION_EXISTS":   2,
	"RESERVATION_RELEASED": 3,
	"RESERVATION_FAILURE":  4,
}
View Source
var ComparisonExpression_Operator_name = map[int32]string{
	0: "EQ",
	1: "NEQ",
	2: "GT",
	3: "GTE",
	4: "LT",
	5: "LTE",
}
View Source
var ComparisonExpression_Operator_value = map[string]int32{
	"EQ":  0,
	"NEQ": 1,
	"GT":  2,
	"GTE": 3,
	"LT":  4,
	"LTE": 5,
}
View Source
var ConjunctionExpression_LogicalOperator_name = map[int32]string{
	0: "AND",
	1: "OR",
}
View Source
var ConjunctionExpression_LogicalOperator_value = map[string]int32{
	"AND": 0,
	"OR":  1,
}
View Source
var ContainerError_Kind_name = map[int32]string{
	0: "NON_RECOVERABLE",
	1: "RECOVERABLE",
}
View Source
var ContainerError_Kind_value = map[string]int32{
	"NON_RECOVERABLE": 0,
	"RECOVERABLE":     1,
}
View Source
var Container_Architecture_name = map[int32]string{
	0: "UNKNOWN",
	1: "AMD64",
	2: "ARM64",
	3: "ARM_V6",
	4: "ARM_V7",
}
View Source
var Container_Architecture_value = map[string]int32{
	"UNKNOWN": 0,
	"AMD64":   1,
	"ARM64":   2,
	"ARM_V6":  3,
	"ARM_V7":  4,
}
View Source
var DataLoadingConfig_LiteralMapFormat_name = map[int32]string{
	0: "JSON",
	1: "YAML",
	2: "PROTO",
}
View Source
var DataLoadingConfig_LiteralMapFormat_value = map[string]int32{
	"JSON":  0,
	"YAML":  1,
	"PROTO": 2,
}
View Source
var ExecutionError_ErrorKind_name = map[int32]string{
	0: "UNKNOWN",
	1: "USER",
	2: "SYSTEM",
}
View Source
var ExecutionError_ErrorKind_value = map[string]int32{
	"UNKNOWN": 0,
	"USER":    1,
	"SYSTEM":  2,
}
View Source
var IOStrategy_DownloadMode_name = map[int32]string{
	0: "DOWNLOAD_EAGER",
	1: "DOWNLOAD_STREAM",
	2: "DO_NOT_DOWNLOAD",
}
View Source
var IOStrategy_DownloadMode_value = map[string]int32{
	"DOWNLOAD_EAGER":  0,
	"DOWNLOAD_STREAM": 1,
	"DO_NOT_DOWNLOAD": 2,
}
View Source
var IOStrategy_UploadMode_name = map[int32]string{
	0: "UPLOAD_ON_EXIT",
	1: "UPLOAD_EAGER",
	2: "DO_NOT_UPLOAD",
}
View Source
var IOStrategy_UploadMode_value = map[string]int32{
	"UPLOAD_ON_EXIT": 0,
	"UPLOAD_EAGER":   1,
	"DO_NOT_UPLOAD":  2,
}
View Source
var NodeExecution_Phase_name = map[int32]string{
	0:  "UNDEFINED",
	1:  "QUEUED",
	2:  "RUNNING",
	3:  "SUCCEEDED",
	4:  "FAILING",
	5:  "FAILED",
	6:  "ABORTED",
	7:  "SKIPPED",
	8:  "TIMED_OUT",
	9:  "DYNAMIC_RUNNING",
	10: "RECOVERED",
}
View Source
var NodeExecution_Phase_value = map[string]int32{
	"UNDEFINED":       0,
	"QUEUED":          1,
	"RUNNING":         2,
	"SUCCEEDED":       3,
	"FAILING":         4,
	"FAILED":          5,
	"ABORTED":         6,
	"SKIPPED":         7,
	"TIMED_OUT":       8,
	"DYNAMIC_RUNNING": 9,
	"RECOVERED":       10,
}
View Source
var OAuth2TokenRequest_Type_name = map[int32]string{
	0: "CLIENT_CREDENTIALS",
}
View Source
var OAuth2TokenRequest_Type_value = map[string]int32{
	"CLIENT_CREDENTIALS": 0,
}
View Source
var QualityOfService_Tier_name = map[int32]string{
	0: "UNDEFINED",
	1: "HIGH",
	2: "MEDIUM",
	3: "LOW",
}
View Source
var QualityOfService_Tier_value = map[string]int32{
	"UNDEFINED": 0,
	"HIGH":      1,
	"MEDIUM":    2,
	"LOW":       3,
}
View Source
var ResourceType_name = map[int32]string{
	0: "UNSPECIFIED",
	1: "TASK",
	2: "WORKFLOW",
	3: "LAUNCH_PLAN",
	4: "DATASET",
}
View Source
var ResourceType_value = map[string]int32{
	"UNSPECIFIED": 0,
	"TASK":        1,
	"WORKFLOW":    2,
	"LAUNCH_PLAN": 3,
	"DATASET":     4,
}
View Source
var Resources_ResourceName_name = map[int32]string{
	0: "UNKNOWN",
	1: "CPU",
	2: "GPU",
	3: "MEMORY",
	4: "STORAGE",
	5: "EPHEMERAL_STORAGE",
}
View Source
var Resources_ResourceName_value = map[string]int32{
	"UNKNOWN":           0,
	"CPU":               1,
	"GPU":               2,
	"MEMORY":            3,
	"STORAGE":           4,
	"EPHEMERAL_STORAGE": 5,
}
View Source
var RuntimeMetadata_RuntimeType_name = map[int32]string{
	0: "OTHER",
	1: "FLYTE_SDK",
}
View Source
var RuntimeMetadata_RuntimeType_value = map[string]int32{
	"OTHER":     0,
	"FLYTE_SDK": 1,
}
View Source
var SchemaType_SchemaColumn_SchemaColumnType_name = map[int32]string{
	0: "INTEGER",
	1: "FLOAT",
	2: "STRING",
	3: "BOOLEAN",
	4: "DATETIME",
	5: "DURATION",
}
View Source
var SchemaType_SchemaColumn_SchemaColumnType_value = map[string]int32{
	"INTEGER":  0,
	"FLOAT":    1,
	"STRING":   2,
	"BOOLEAN":  3,
	"DATETIME": 4,
	"DURATION": 5,
}
View Source
var Secret_MountType_name = map[int32]string{
	0: "ANY",
	1: "ENV_VAR",
	2: "FILE",
}
View Source
var Secret_MountType_value = map[string]int32{
	"ANY":     0,
	"ENV_VAR": 1,
	"FILE":    2,
}
View Source
var SimpleType_name = map[int32]string{
	0: "NONE",
	1: "INTEGER",
	2: "FLOAT",
	3: "STRING",
	4: "BOOLEAN",
	5: "DATETIME",
	6: "DURATION",
	7: "BINARY",
	8: "ERROR",
	9: "STRUCT",
}
View Source
var SimpleType_value = map[string]int32{
	"NONE":     0,
	"INTEGER":  1,
	"FLOAT":    2,
	"STRING":   3,
	"BOOLEAN":  4,
	"DATETIME": 5,
	"DURATION": 6,
	"BINARY":   7,
	"ERROR":    8,
	"STRUCT":   9,
}
View Source
var Sql_Dialect_name = map[int32]string{
	0: "UNDEFINED",
	1: "ANSI",
	2: "HIVE",
	3: "OTHER",
}
View Source
var Sql_Dialect_value = map[string]int32{
	"UNDEFINED": 0,
	"ANSI":      1,
	"HIVE":      2,
	"OTHER":     3,
}
View Source
var TaskExecution_Phase_name = map[int32]string{
	0: "UNDEFINED",
	1: "QUEUED",
	2: "RUNNING",
	3: "SUCCEEDED",
	4: "ABORTED",
	5: "FAILED",
	6: "INITIALIZING",
	7: "WAITING_FOR_RESOURCES",
}
View Source
var TaskExecution_Phase_value = map[string]int32{
	"UNDEFINED":             0,
	"QUEUED":                1,
	"RUNNING":               2,
	"SUCCEEDED":             3,
	"ABORTED":               4,
	"FAILED":                5,
	"INITIALIZING":          6,
	"WAITING_FOR_RESOURCES": 7,
}
View Source
var TaskLog_MessageFormat_name = map[int32]string{
	0: "UNKNOWN",
	1: "CSV",
	2: "JSON",
}
View Source
var TaskLog_MessageFormat_value = map[string]int32{
	"UNKNOWN": 0,
	"CSV":     1,
	"JSON":    2,
}
View Source
var WorkflowExecution_Phase_name = map[int32]string{
	0: "UNDEFINED",
	1: "QUEUED",
	2: "RUNNING",
	3: "SUCCEEDING",
	4: "SUCCEEDED",
	5: "FAILING",
	6: "FAILED",
	7: "ABORTED",
	8: "TIMED_OUT",
	9: "ABORTING",
}
View Source
var WorkflowExecution_Phase_value = map[string]int32{
	"UNDEFINED":  0,
	"QUEUED":     1,
	"RUNNING":    2,
	"SUCCEEDING": 3,
	"SUCCEEDED":  4,
	"FAILING":    5,
	"FAILED":     6,
	"ABORTED":    7,
	"TIMED_OUT":  8,
	"ABORTING":   9,
}
View Source
var WorkflowMetadata_OnFailurePolicy_name = map[int32]string{
	0: "FAIL_IMMEDIATELY",
	1: "FAIL_AFTER_EXECUTABLE_NODES_COMPLETE",
}
View Source
var WorkflowMetadata_OnFailurePolicy_value = map[string]int32{
	"FAIL_IMMEDIATELY":                     0,
	"FAIL_AFTER_EXECUTABLE_NODES_COMPLETE": 1,
}

Functions

This section is empty.

Types

type Alias

type Alias struct {
	// Must match one of the output variable names on a node.
	Var string `protobuf:"bytes,1,opt,name=var,proto3" json:"var,omitempty"`
	// A workflow-level unique alias that downstream nodes can refer to in their input.
	Alias                string   `protobuf:"bytes,2,opt,name=alias,proto3" json:"alias,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Links a variable to an alias.

func (*Alias) Descriptor

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

func (*Alias) GetAlias

func (m *Alias) GetAlias() string

func (*Alias) GetVar

func (m *Alias) GetVar() string

func (*Alias) ProtoMessage

func (*Alias) ProtoMessage()

func (*Alias) Reset

func (m *Alias) Reset()

func (*Alias) String

func (m *Alias) String() string

func (*Alias) Validate

func (m *Alias) Validate() error

Validate checks the field values on Alias with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*Alias) XXX_DiscardUnknown

func (m *Alias) XXX_DiscardUnknown()

func (*Alias) XXX_Marshal

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

func (*Alias) XXX_Merge

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

func (*Alias) XXX_Size

func (m *Alias) XXX_Size() int

func (*Alias) XXX_Unmarshal

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

type AliasValidationError

type AliasValidationError struct {
	// contains filtered or unexported fields
}

AliasValidationError is the validation error returned by Alias.Validate if the designated constraints aren't met.

func (AliasValidationError) Cause

func (e AliasValidationError) Cause() error

Cause function returns cause value.

func (AliasValidationError) Error

func (e AliasValidationError) Error() string

Error satisfies the builtin error interface

func (AliasValidationError) ErrorName

func (e AliasValidationError) ErrorName() string

ErrorName returns error name.

func (AliasValidationError) Field

func (e AliasValidationError) Field() string

Field function returns field value.

func (AliasValidationError) Key

func (e AliasValidationError) Key() bool

Key function returns key value.

func (AliasValidationError) Reason

func (e AliasValidationError) Reason() string

Reason function returns reason value.

type Binary

type Binary struct {
	Value                []byte   `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
	Tag                  string   `protobuf:"bytes,2,opt,name=tag,proto3" json:"tag,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

A simple byte array with a tag to help different parts of the system communicate about what is in the byte array. It's strongly advisable that consumers of this type define a unique tag and validate the tag before parsing the data.

func (*Binary) Descriptor

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

func (*Binary) GetTag

func (m *Binary) GetTag() string

func (*Binary) GetValue

func (m *Binary) GetValue() []byte

func (*Binary) ProtoMessage

func (*Binary) ProtoMessage()

func (*Binary) Reset

func (m *Binary) Reset()

func (*Binary) String

func (m *Binary) String() string

func (*Binary) Validate

func (m *Binary) Validate() error

Validate checks the field values on Binary with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*Binary) XXX_DiscardUnknown

func (m *Binary) XXX_DiscardUnknown()

func (*Binary) XXX_Marshal

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

func (*Binary) XXX_Merge

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

func (*Binary) XXX_Size

func (m *Binary) XXX_Size() int

func (*Binary) XXX_Unmarshal

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

type BinaryValidationError

type BinaryValidationError struct {
	// contains filtered or unexported fields
}

BinaryValidationError is the validation error returned by Binary.Validate if the designated constraints aren't met.

func (BinaryValidationError) Cause

func (e BinaryValidationError) Cause() error

Cause function returns cause value.

func (BinaryValidationError) Error

func (e BinaryValidationError) Error() string

Error satisfies the builtin error interface

func (BinaryValidationError) ErrorName

func (e BinaryValidationError) ErrorName() string

ErrorName returns error name.

func (BinaryValidationError) Field

func (e BinaryValidationError) Field() string

Field function returns field value.

func (BinaryValidationError) Key

func (e BinaryValidationError) Key() bool

Key function returns key value.

func (BinaryValidationError) Reason

func (e BinaryValidationError) Reason() string

Reason function returns reason value.

type Binding

type Binding struct {
	// Variable name must match an input/output variable of the node.
	Var string `protobuf:"bytes,1,opt,name=var,proto3" json:"var,omitempty"`
	// Data to use to bind this variable.
	Binding              *BindingData `protobuf:"bytes,2,opt,name=binding,proto3" json:"binding,omitempty"`
	XXX_NoUnkeyedLiteral struct{}     `json:"-"`
	XXX_unrecognized     []byte       `json:"-"`
	XXX_sizecache        int32        `json:"-"`
}

An input/output binding of a variable to either static value or a node output.

func (*Binding) Descriptor

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

func (*Binding) GetBinding

func (m *Binding) GetBinding() *BindingData

func (*Binding) GetVar

func (m *Binding) GetVar() string

func (*Binding) ProtoMessage

func (*Binding) ProtoMessage()

func (*Binding) Reset

func (m *Binding) Reset()

func (*Binding) String

func (m *Binding) String() string

func (*Binding) Validate

func (m *Binding) Validate() error

Validate checks the field values on Binding with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*Binding) XXX_DiscardUnknown

func (m *Binding) XXX_DiscardUnknown()

func (*Binding) XXX_Marshal

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

func (*Binding) XXX_Merge

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

func (*Binding) XXX_Size

func (m *Binding) XXX_Size() int

func (*Binding) XXX_Unmarshal

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

type BindingData

type BindingData struct {
	// Types that are valid to be assigned to Value:
	//	*BindingData_Scalar
	//	*BindingData_Collection
	//	*BindingData_Promise
	//	*BindingData_Map
	Value                isBindingData_Value `protobuf_oneof:"value"`
	Union                *UnionInfo          `protobuf:"bytes,5,opt,name=union,proto3" json:"union,omitempty"`
	XXX_NoUnkeyedLiteral struct{}            `json:"-"`
	XXX_unrecognized     []byte              `json:"-"`
	XXX_sizecache        int32               `json:"-"`
}

Specifies either a simple value or a reference to another output.

func (*BindingData) Descriptor

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

func (*BindingData) GetCollection

func (m *BindingData) GetCollection() *BindingDataCollection

func (*BindingData) GetMap

func (m *BindingData) GetMap() *BindingDataMap

func (*BindingData) GetPromise

func (m *BindingData) GetPromise() *OutputReference

func (*BindingData) GetScalar

func (m *BindingData) GetScalar() *Scalar

func (*BindingData) GetUnion added in v0.24.0

func (m *BindingData) GetUnion() *UnionInfo

func (*BindingData) GetValue

func (m *BindingData) GetValue() isBindingData_Value

func (*BindingData) ProtoMessage

func (*BindingData) ProtoMessage()

func (*BindingData) Reset

func (m *BindingData) Reset()

func (*BindingData) String

func (m *BindingData) String() string

func (*BindingData) Validate

func (m *BindingData) Validate() error

Validate checks the field values on BindingData with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*BindingData) XXX_DiscardUnknown

func (m *BindingData) XXX_DiscardUnknown()

func (*BindingData) XXX_Marshal

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

func (*BindingData) XXX_Merge

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

func (*BindingData) XXX_OneofWrappers added in v0.16.1

func (*BindingData) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*BindingData) XXX_Size

func (m *BindingData) XXX_Size() int

func (*BindingData) XXX_Unmarshal

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

type BindingDataCollection

type BindingDataCollection struct {
	Bindings             []*BindingData `protobuf:"bytes,1,rep,name=bindings,proto3" json:"bindings,omitempty"`
	XXX_NoUnkeyedLiteral struct{}       `json:"-"`
	XXX_unrecognized     []byte         `json:"-"`
	XXX_sizecache        int32          `json:"-"`
}

A collection of BindingData items.

func (*BindingDataCollection) Descriptor

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

func (*BindingDataCollection) GetBindings

func (m *BindingDataCollection) GetBindings() []*BindingData

func (*BindingDataCollection) ProtoMessage

func (*BindingDataCollection) ProtoMessage()

func (*BindingDataCollection) Reset

func (m *BindingDataCollection) Reset()

func (*BindingDataCollection) String

func (m *BindingDataCollection) String() string

func (*BindingDataCollection) Validate

func (m *BindingDataCollection) Validate() error

Validate checks the field values on BindingDataCollection with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*BindingDataCollection) XXX_DiscardUnknown

func (m *BindingDataCollection) XXX_DiscardUnknown()

func (*BindingDataCollection) XXX_Marshal

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

func (*BindingDataCollection) XXX_Merge

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

func (*BindingDataCollection) XXX_Size

func (m *BindingDataCollection) XXX_Size() int

func (*BindingDataCollection) XXX_Unmarshal

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

type BindingDataCollectionValidationError

type BindingDataCollectionValidationError struct {
	// contains filtered or unexported fields
}

BindingDataCollectionValidationError is the validation error returned by BindingDataCollection.Validate if the designated constraints aren't met.

func (BindingDataCollectionValidationError) Cause

Cause function returns cause value.

func (BindingDataCollectionValidationError) Error

Error satisfies the builtin error interface

func (BindingDataCollectionValidationError) ErrorName

ErrorName returns error name.

func (BindingDataCollectionValidationError) Field

Field function returns field value.

func (BindingDataCollectionValidationError) Key

Key function returns key value.

func (BindingDataCollectionValidationError) Reason

Reason function returns reason value.

type BindingDataMap

type BindingDataMap struct {
	Bindings             map[string]*BindingData `` /* 157-byte string literal not displayed */
	XXX_NoUnkeyedLiteral struct{}                `json:"-"`
	XXX_unrecognized     []byte                  `json:"-"`
	XXX_sizecache        int32                   `json:"-"`
}

A map of BindingData items.

func (*BindingDataMap) Descriptor

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

func (*BindingDataMap) GetBindings

func (m *BindingDataMap) GetBindings() map[string]*BindingData

func (*BindingDataMap) ProtoMessage

func (*BindingDataMap) ProtoMessage()

func (*BindingDataMap) Reset

func (m *BindingDataMap) Reset()

func (*BindingDataMap) String

func (m *BindingDataMap) String() string

func (*BindingDataMap) Validate

func (m *BindingDataMap) Validate() error

Validate checks the field values on BindingDataMap with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*BindingDataMap) XXX_DiscardUnknown

func (m *BindingDataMap) XXX_DiscardUnknown()

func (*BindingDataMap) XXX_Marshal

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

func (*BindingDataMap) XXX_Merge

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

func (*BindingDataMap) XXX_Size

func (m *BindingDataMap) XXX_Size() int

func (*BindingDataMap) XXX_Unmarshal

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

type BindingDataMapValidationError

type BindingDataMapValidationError struct {
	// contains filtered or unexported fields
}

BindingDataMapValidationError is the validation error returned by BindingDataMap.Validate if the designated constraints aren't met.

func (BindingDataMapValidationError) Cause

Cause function returns cause value.

func (BindingDataMapValidationError) Error

Error satisfies the builtin error interface

func (BindingDataMapValidationError) ErrorName

func (e BindingDataMapValidationError) ErrorName() string

ErrorName returns error name.

func (BindingDataMapValidationError) Field

Field function returns field value.

func (BindingDataMapValidationError) Key

Key function returns key value.

func (BindingDataMapValidationError) Reason

Reason function returns reason value.

type BindingDataValidationError

type BindingDataValidationError struct {
	// contains filtered or unexported fields
}

BindingDataValidationError is the validation error returned by BindingData.Validate if the designated constraints aren't met.

func (BindingDataValidationError) Cause

Cause function returns cause value.

func (BindingDataValidationError) Error

Error satisfies the builtin error interface

func (BindingDataValidationError) ErrorName

func (e BindingDataValidationError) ErrorName() string

ErrorName returns error name.

func (BindingDataValidationError) Field

Field function returns field value.

func (BindingDataValidationError) Key

Key function returns key value.

func (BindingDataValidationError) Reason

Reason function returns reason value.

type BindingData_Collection

type BindingData_Collection struct {
	Collection *BindingDataCollection `protobuf:"bytes,2,opt,name=collection,proto3,oneof"`
}

type BindingData_Map

type BindingData_Map struct {
	Map *BindingDataMap `protobuf:"bytes,4,opt,name=map,proto3,oneof"`
}

type BindingData_Promise

type BindingData_Promise struct {
	Promise *OutputReference `protobuf:"bytes,3,opt,name=promise,proto3,oneof"`
}

type BindingData_Scalar

type BindingData_Scalar struct {
	Scalar *Scalar `protobuf:"bytes,1,opt,name=scalar,proto3,oneof"`
}

type BindingValidationError

type BindingValidationError struct {
	// contains filtered or unexported fields
}

BindingValidationError is the validation error returned by Binding.Validate if the designated constraints aren't met.

func (BindingValidationError) Cause

func (e BindingValidationError) Cause() error

Cause function returns cause value.

func (BindingValidationError) Error

func (e BindingValidationError) Error() string

Error satisfies the builtin error interface

func (BindingValidationError) ErrorName

func (e BindingValidationError) ErrorName() string

ErrorName returns error name.

func (BindingValidationError) Field

func (e BindingValidationError) Field() string

Field function returns field value.

func (BindingValidationError) Key

func (e BindingValidationError) Key() bool

Key function returns key value.

func (BindingValidationError) Reason

func (e BindingValidationError) Reason() string

Reason function returns reason value.

type Blob

type Blob struct {
	Metadata             *BlobMetadata `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"`
	Uri                  string        `protobuf:"bytes,3,opt,name=uri,proto3" json:"uri,omitempty"`
	XXX_NoUnkeyedLiteral struct{}      `json:"-"`
	XXX_unrecognized     []byte        `json:"-"`
	XXX_sizecache        int32         `json:"-"`
}

Refers to an offloaded set of files. It encapsulates the type of the store and a unique uri for where the data is. There are no restrictions on how the uri is formatted since it will depend on how to interact with the store.

func (*Blob) Descriptor

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

func (*Blob) GetMetadata

func (m *Blob) GetMetadata() *BlobMetadata

func (*Blob) GetUri

func (m *Blob) GetUri() string

func (*Blob) ProtoMessage

func (*Blob) ProtoMessage()

func (*Blob) Reset

func (m *Blob) Reset()

func (*Blob) String

func (m *Blob) String() string

func (*Blob) Validate

func (m *Blob) Validate() error

Validate checks the field values on Blob with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*Blob) XXX_DiscardUnknown

func (m *Blob) XXX_DiscardUnknown()

func (*Blob) XXX_Marshal

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

func (*Blob) XXX_Merge

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

func (*Blob) XXX_Size

func (m *Blob) XXX_Size() int

func (*Blob) XXX_Unmarshal

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

type BlobMetadata

type BlobMetadata struct {
	Type                 *BlobType `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
	XXX_NoUnkeyedLiteral struct{}  `json:"-"`
	XXX_unrecognized     []byte    `json:"-"`
	XXX_sizecache        int32     `json:"-"`
}

func (*BlobMetadata) Descriptor

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

func (*BlobMetadata) GetType

func (m *BlobMetadata) GetType() *BlobType

func (*BlobMetadata) ProtoMessage

func (*BlobMetadata) ProtoMessage()

func (*BlobMetadata) Reset

func (m *BlobMetadata) Reset()

func (*BlobMetadata) String

func (m *BlobMetadata) String() string

func (*BlobMetadata) Validate

func (m *BlobMetadata) Validate() error

Validate checks the field values on BlobMetadata with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*BlobMetadata) XXX_DiscardUnknown

func (m *BlobMetadata) XXX_DiscardUnknown()

func (*BlobMetadata) XXX_Marshal

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

func (*BlobMetadata) XXX_Merge

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

func (*BlobMetadata) XXX_Size

func (m *BlobMetadata) XXX_Size() int

func (*BlobMetadata) XXX_Unmarshal

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

type BlobMetadataValidationError

type BlobMetadataValidationError struct {
	// contains filtered or unexported fields
}

BlobMetadataValidationError is the validation error returned by BlobMetadata.Validate if the designated constraints aren't met.

func (BlobMetadataValidationError) Cause

Cause function returns cause value.

func (BlobMetadataValidationError) Error

Error satisfies the builtin error interface

func (BlobMetadataValidationError) ErrorName

func (e BlobMetadataValidationError) ErrorName() string

ErrorName returns error name.

func (BlobMetadataValidationError) Field

Field function returns field value.

func (BlobMetadataValidationError) Key

Key function returns key value.

func (BlobMetadataValidationError) Reason

Reason function returns reason value.

type BlobType

type BlobType struct {
	// Format can be a free form string understood by SDK/UI etc like
	// csv, parquet etc
	Format               string                      `protobuf:"bytes,1,opt,name=format,proto3" json:"format,omitempty"`
	Dimensionality       BlobType_BlobDimensionality `` /* 129-byte string literal not displayed */
	XXX_NoUnkeyedLiteral struct{}                    `json:"-"`
	XXX_unrecognized     []byte                      `json:"-"`
	XXX_sizecache        int32                       `json:"-"`
}

Defines type behavior for blob objects

func (*BlobType) Descriptor

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

func (*BlobType) GetDimensionality

func (m *BlobType) GetDimensionality() BlobType_BlobDimensionality

func (*BlobType) GetFormat

func (m *BlobType) GetFormat() string

func (*BlobType) ProtoMessage

func (*BlobType) ProtoMessage()

func (*BlobType) Reset

func (m *BlobType) Reset()

func (*BlobType) String

func (m *BlobType) String() string

func (*BlobType) Validate

func (m *BlobType) Validate() error

Validate checks the field values on BlobType with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*BlobType) XXX_DiscardUnknown

func (m *BlobType) XXX_DiscardUnknown()

func (*BlobType) XXX_Marshal

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

func (*BlobType) XXX_Merge

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

func (*BlobType) XXX_Size

func (m *BlobType) XXX_Size() int

func (*BlobType) XXX_Unmarshal

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

type BlobTypeValidationError

type BlobTypeValidationError struct {
	// contains filtered or unexported fields
}

BlobTypeValidationError is the validation error returned by BlobType.Validate if the designated constraints aren't met.

func (BlobTypeValidationError) Cause

func (e BlobTypeValidationError) Cause() error

Cause function returns cause value.

func (BlobTypeValidationError) Error

func (e BlobTypeValidationError) Error() string

Error satisfies the builtin error interface

func (BlobTypeValidationError) ErrorName

func (e BlobTypeValidationError) ErrorName() string

ErrorName returns error name.

func (BlobTypeValidationError) Field

func (e BlobTypeValidationError) Field() string

Field function returns field value.

func (BlobTypeValidationError) Key

func (e BlobTypeValidationError) Key() bool

Key function returns key value.

func (BlobTypeValidationError) Reason

func (e BlobTypeValidationError) Reason() string

Reason function returns reason value.

type BlobType_BlobDimensionality

type BlobType_BlobDimensionality int32
const (
	BlobType_SINGLE    BlobType_BlobDimensionality = 0
	BlobType_MULTIPART BlobType_BlobDimensionality = 1
)

func (BlobType_BlobDimensionality) EnumDescriptor

func (BlobType_BlobDimensionality) EnumDescriptor() ([]byte, []int)

func (BlobType_BlobDimensionality) String

type BlobValidationError

type BlobValidationError struct {
	// contains filtered or unexported fields
}

BlobValidationError is the validation error returned by Blob.Validate if the designated constraints aren't met.

func (BlobValidationError) Cause

func (e BlobValidationError) Cause() error

Cause function returns cause value.

func (BlobValidationError) Error

func (e BlobValidationError) Error() string

Error satisfies the builtin error interface

func (BlobValidationError) ErrorName

func (e BlobValidationError) ErrorName() string

ErrorName returns error name.

func (BlobValidationError) Field

func (e BlobValidationError) Field() string

Field function returns field value.

func (BlobValidationError) Key

func (e BlobValidationError) Key() bool

Key function returns key value.

func (BlobValidationError) Reason

func (e BlobValidationError) Reason() string

Reason function returns reason value.

type BooleanExpression

type BooleanExpression struct {
	// Types that are valid to be assigned to Expr:
	//	*BooleanExpression_Conjunction
	//	*BooleanExpression_Comparison
	Expr                 isBooleanExpression_Expr `protobuf_oneof:"expr"`
	XXX_NoUnkeyedLiteral struct{}                 `json:"-"`
	XXX_unrecognized     []byte                   `json:"-"`
	XXX_sizecache        int32                    `json:"-"`
}

Defines a boolean expression tree. It can be a simple or a conjunction expression. Multiple expressions can be combined using a conjunction or a disjunction to result in a final boolean result.

func (*BooleanExpression) Descriptor

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

func (*BooleanExpression) GetComparison

func (m *BooleanExpression) GetComparison() *ComparisonExpression

func (*BooleanExpression) GetConjunction

func (m *BooleanExpression) GetConjunction() *ConjunctionExpression

func (*BooleanExpression) GetExpr

func (m *BooleanExpression) GetExpr() isBooleanExpression_Expr

func (*BooleanExpression) ProtoMessage

func (*BooleanExpression) ProtoMessage()

func (*BooleanExpression) Reset

func (m *BooleanExpression) Reset()

func (*BooleanExpression) String

func (m *BooleanExpression) String() string

func (*BooleanExpression) Validate

func (m *BooleanExpression) Validate() error

Validate checks the field values on BooleanExpression with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*BooleanExpression) XXX_DiscardUnknown

func (m *BooleanExpression) XXX_DiscardUnknown()

func (*BooleanExpression) XXX_Marshal

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

func (*BooleanExpression) XXX_Merge

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

func (*BooleanExpression) XXX_OneofWrappers added in v0.16.1

func (*BooleanExpression) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*BooleanExpression) XXX_Size

func (m *BooleanExpression) XXX_Size() int

func (*BooleanExpression) XXX_Unmarshal

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

type BooleanExpressionValidationError

type BooleanExpressionValidationError struct {
	// contains filtered or unexported fields
}

BooleanExpressionValidationError is the validation error returned by BooleanExpression.Validate if the designated constraints aren't met.

func (BooleanExpressionValidationError) Cause

Cause function returns cause value.

func (BooleanExpressionValidationError) Error

Error satisfies the builtin error interface

func (BooleanExpressionValidationError) ErrorName

ErrorName returns error name.

func (BooleanExpressionValidationError) Field

Field function returns field value.

func (BooleanExpressionValidationError) Key

Key function returns key value.

func (BooleanExpressionValidationError) Reason

Reason function returns reason value.

type BooleanExpression_Comparison

type BooleanExpression_Comparison struct {
	Comparison *ComparisonExpression `protobuf:"bytes,2,opt,name=comparison,proto3,oneof"`
}

type BooleanExpression_Conjunction

type BooleanExpression_Conjunction struct {
	Conjunction *ConjunctionExpression `protobuf:"bytes,1,opt,name=conjunction,proto3,oneof"`
}

type BranchNode

type BranchNode struct {
	//+required
	IfElse               *IfElseBlock `protobuf:"bytes,1,opt,name=if_else,json=ifElse,proto3" json:"if_else,omitempty"`
	XXX_NoUnkeyedLiteral struct{}     `json:"-"`
	XXX_unrecognized     []byte       `json:"-"`
	XXX_sizecache        int32        `json:"-"`
}

BranchNode is a special node that alter the flow of the workflow graph. It allows the control flow to branch at runtime based on a series of conditions that get evaluated on various parameters (e.g. inputs, primitives).

func (*BranchNode) Descriptor

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

func (*BranchNode) GetIfElse

func (m *BranchNode) GetIfElse() *IfElseBlock

func (*BranchNode) ProtoMessage

func (*BranchNode) ProtoMessage()

func (*BranchNode) Reset

func (m *BranchNode) Reset()

func (*BranchNode) String

func (m *BranchNode) String() string

func (*BranchNode) Validate

func (m *BranchNode) Validate() error

Validate checks the field values on BranchNode with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*BranchNode) XXX_DiscardUnknown

func (m *BranchNode) XXX_DiscardUnknown()

func (*BranchNode) XXX_Marshal

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

func (*BranchNode) XXX_Merge

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

func (*BranchNode) XXX_Size

func (m *BranchNode) XXX_Size() int

func (*BranchNode) XXX_Unmarshal

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

type BranchNodeValidationError

type BranchNodeValidationError struct {
	// contains filtered or unexported fields
}

BranchNodeValidationError is the validation error returned by BranchNode.Validate if the designated constraints aren't met.

func (BranchNodeValidationError) Cause

func (e BranchNodeValidationError) Cause() error

Cause function returns cause value.

func (BranchNodeValidationError) Error

Error satisfies the builtin error interface

func (BranchNodeValidationError) ErrorName

func (e BranchNodeValidationError) ErrorName() string

ErrorName returns error name.

func (BranchNodeValidationError) Field

Field function returns field value.

func (BranchNodeValidationError) Key

Key function returns key value.

func (BranchNodeValidationError) Reason

func (e BranchNodeValidationError) Reason() string

Reason function returns reason value.

type CatalogArtifactTag added in v0.18.15

type CatalogArtifactTag struct {
	// Artifact ID is generated name
	ArtifactId string `protobuf:"bytes,1,opt,name=artifact_id,json=artifactId,proto3" json:"artifact_id,omitempty"`
	// Flyte computes the tag automatically, as the hash of the values
	Name                 string   `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*CatalogArtifactTag) Descriptor added in v0.18.15

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

func (*CatalogArtifactTag) GetArtifactId added in v0.18.15

func (m *CatalogArtifactTag) GetArtifactId() string

func (*CatalogArtifactTag) GetName added in v0.18.15

func (m *CatalogArtifactTag) GetName() string

func (*CatalogArtifactTag) ProtoMessage added in v0.18.15

func (*CatalogArtifactTag) ProtoMessage()

func (*CatalogArtifactTag) Reset added in v0.18.15

func (m *CatalogArtifactTag) Reset()

func (*CatalogArtifactTag) String added in v0.18.15

func (m *CatalogArtifactTag) String() string

func (*CatalogArtifactTag) Validate added in v0.18.15

func (m *CatalogArtifactTag) Validate() error

Validate checks the field values on CatalogArtifactTag with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*CatalogArtifactTag) XXX_DiscardUnknown added in v0.18.15

func (m *CatalogArtifactTag) XXX_DiscardUnknown()

func (*CatalogArtifactTag) XXX_Marshal added in v0.18.15

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

func (*CatalogArtifactTag) XXX_Merge added in v0.18.15

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

func (*CatalogArtifactTag) XXX_Size added in v0.18.15

func (m *CatalogArtifactTag) XXX_Size() int

func (*CatalogArtifactTag) XXX_Unmarshal added in v0.18.15

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

type CatalogArtifactTagValidationError added in v0.18.15

type CatalogArtifactTagValidationError struct {
	// contains filtered or unexported fields
}

CatalogArtifactTagValidationError is the validation error returned by CatalogArtifactTag.Validate if the designated constraints aren't met.

func (CatalogArtifactTagValidationError) Cause added in v0.18.15

Cause function returns cause value.

func (CatalogArtifactTagValidationError) Error added in v0.18.15

Error satisfies the builtin error interface

func (CatalogArtifactTagValidationError) ErrorName added in v0.18.15

ErrorName returns error name.

func (CatalogArtifactTagValidationError) Field added in v0.18.15

Field function returns field value.

func (CatalogArtifactTagValidationError) Key added in v0.18.15

Key function returns key value.

func (CatalogArtifactTagValidationError) Reason added in v0.18.15

Reason function returns reason value.

type CatalogCacheStatus added in v0.18.15

type CatalogCacheStatus int32

Indicates the status of CatalogCaching. The reason why this is not embedded in TaskNodeMetadata is, that we may use for other types of nodes as well in the future

const (
	// Used to indicate that caching was disabled
	CatalogCacheStatus_CACHE_DISABLED CatalogCacheStatus = 0
	// Used to indicate that the cache lookup resulted in no matches
	CatalogCacheStatus_CACHE_MISS CatalogCacheStatus = 1
	// used to indicate that the associated artifact was a result of a previous execution
	CatalogCacheStatus_CACHE_HIT CatalogCacheStatus = 2
	// used to indicate that the resultant artifact was added to the cache
	CatalogCacheStatus_CACHE_POPULATED CatalogCacheStatus = 3
	// Used to indicate that cache lookup failed because of an error
	CatalogCacheStatus_CACHE_LOOKUP_FAILURE CatalogCacheStatus = 4
	// Used to indicate that cache lookup failed because of an error
	CatalogCacheStatus_CACHE_PUT_FAILURE CatalogCacheStatus = 5
)

func (CatalogCacheStatus) EnumDescriptor added in v0.18.15

func (CatalogCacheStatus) EnumDescriptor() ([]byte, []int)

func (CatalogCacheStatus) String added in v0.18.15

func (x CatalogCacheStatus) String() string

type CatalogMetadata added in v0.18.15

type CatalogMetadata struct {
	// Dataset ID in the catalog
	DatasetId *Identifier `protobuf:"bytes,1,opt,name=dataset_id,json=datasetId,proto3" json:"dataset_id,omitempty"`
	// Artifact tag in the catalog
	ArtifactTag *CatalogArtifactTag `protobuf:"bytes,2,opt,name=artifact_tag,json=artifactTag,proto3" json:"artifact_tag,omitempty"`
	// Optional: Source Execution identifier, if this dataset was generated by another execution in Flyte. This is a one-of field and will depend on the caching context
	//
	// Types that are valid to be assigned to SourceExecution:
	//	*CatalogMetadata_SourceTaskExecution
	SourceExecution      isCatalogMetadata_SourceExecution `protobuf_oneof:"source_execution"`
	XXX_NoUnkeyedLiteral struct{}                          `json:"-"`
	XXX_unrecognized     []byte                            `json:"-"`
	XXX_sizecache        int32                             `json:"-"`
}

Catalog artifact information with specific metadata

func (*CatalogMetadata) Descriptor added in v0.18.15

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

func (*CatalogMetadata) GetArtifactTag added in v0.18.15

func (m *CatalogMetadata) GetArtifactTag() *CatalogArtifactTag

func (*CatalogMetadata) GetDatasetId added in v0.18.15

func (m *CatalogMetadata) GetDatasetId() *Identifier

func (*CatalogMetadata) GetSourceExecution added in v0.18.15

func (m *CatalogMetadata) GetSourceExecution() isCatalogMetadata_SourceExecution

func (*CatalogMetadata) GetSourceTaskExecution added in v0.18.15

func (m *CatalogMetadata) GetSourceTaskExecution() *TaskExecutionIdentifier

func (*CatalogMetadata) ProtoMessage added in v0.18.15

func (*CatalogMetadata) ProtoMessage()

func (*CatalogMetadata) Reset added in v0.18.15

func (m *CatalogMetadata) Reset()

func (*CatalogMetadata) String added in v0.18.15

func (m *CatalogMetadata) String() string

func (*CatalogMetadata) Validate added in v0.18.15

func (m *CatalogMetadata) Validate() error

Validate checks the field values on CatalogMetadata with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*CatalogMetadata) XXX_DiscardUnknown added in v0.18.15

func (m *CatalogMetadata) XXX_DiscardUnknown()

func (*CatalogMetadata) XXX_Marshal added in v0.18.15

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

func (*CatalogMetadata) XXX_Merge added in v0.18.15

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

func (*CatalogMetadata) XXX_OneofWrappers added in v0.18.15

func (*CatalogMetadata) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*CatalogMetadata) XXX_Size added in v0.18.15

func (m *CatalogMetadata) XXX_Size() int

func (*CatalogMetadata) XXX_Unmarshal added in v0.18.15

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

type CatalogMetadataValidationError added in v0.18.15

type CatalogMetadataValidationError struct {
	// contains filtered or unexported fields
}

CatalogMetadataValidationError is the validation error returned by CatalogMetadata.Validate if the designated constraints aren't met.

func (CatalogMetadataValidationError) Cause added in v0.18.15

Cause function returns cause value.

func (CatalogMetadataValidationError) Error added in v0.18.15

Error satisfies the builtin error interface

func (CatalogMetadataValidationError) ErrorName added in v0.18.15

func (e CatalogMetadataValidationError) ErrorName() string

ErrorName returns error name.

func (CatalogMetadataValidationError) Field added in v0.18.15

Field function returns field value.

func (CatalogMetadataValidationError) Key added in v0.18.15

Key function returns key value.

func (CatalogMetadataValidationError) Reason added in v0.18.15

Reason function returns reason value.

type CatalogMetadata_SourceTaskExecution added in v0.18.15

type CatalogMetadata_SourceTaskExecution struct {
	SourceTaskExecution *TaskExecutionIdentifier `protobuf:"bytes,3,opt,name=source_task_execution,json=sourceTaskExecution,proto3,oneof"`
}

type CatalogReservation added in v0.21.11

type CatalogReservation struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*CatalogReservation) Descriptor added in v0.21.11

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

func (*CatalogReservation) ProtoMessage added in v0.21.11

func (*CatalogReservation) ProtoMessage()

func (*CatalogReservation) Reset added in v0.21.11

func (m *CatalogReservation) Reset()

func (*CatalogReservation) String added in v0.21.11

func (m *CatalogReservation) String() string

func (*CatalogReservation) Validate added in v0.21.11

func (m *CatalogReservation) Validate() error

Validate checks the field values on CatalogReservation with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*CatalogReservation) XXX_DiscardUnknown added in v0.21.11

func (m *CatalogReservation) XXX_DiscardUnknown()

func (*CatalogReservation) XXX_Marshal added in v0.21.11

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

func (*CatalogReservation) XXX_Merge added in v0.21.11

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

func (*CatalogReservation) XXX_Size added in v0.21.11

func (m *CatalogReservation) XXX_Size() int

func (*CatalogReservation) XXX_Unmarshal added in v0.21.11

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

type CatalogReservationValidationError added in v0.21.11

type CatalogReservationValidationError struct {
	// contains filtered or unexported fields
}

CatalogReservationValidationError is the validation error returned by CatalogReservation.Validate if the designated constraints aren't met.

func (CatalogReservationValidationError) Cause added in v0.21.11

Cause function returns cause value.

func (CatalogReservationValidationError) Error added in v0.21.11

Error satisfies the builtin error interface

func (CatalogReservationValidationError) ErrorName added in v0.21.11

ErrorName returns error name.

func (CatalogReservationValidationError) Field added in v0.21.11

Field function returns field value.

func (CatalogReservationValidationError) Key added in v0.21.11

Key function returns key value.

func (CatalogReservationValidationError) Reason added in v0.21.11

Reason function returns reason value.

type CatalogReservation_Status added in v0.21.11

type CatalogReservation_Status int32

Indicates the status of a catalog reservation operation.

const (
	// Used to indicate that reservations are disabled
	CatalogReservation_RESERVATION_DISABLED CatalogReservation_Status = 0
	// Used to indicate that a reservation was successfully acquired or extended
	CatalogReservation_RESERVATION_ACQUIRED CatalogReservation_Status = 1
	// Used to indicate that an active reservation currently exists
	CatalogReservation_RESERVATION_EXISTS CatalogReservation_Status = 2
	// Used to indicate that the reservation has been successfully released
	CatalogReservation_RESERVATION_RELEASED CatalogReservation_Status = 3
	// Used to indicate that a reservation operation resulted in failure
	CatalogReservation_RESERVATION_FAILURE CatalogReservation_Status = 4
)

func (CatalogReservation_Status) EnumDescriptor added in v0.21.11

func (CatalogReservation_Status) EnumDescriptor() ([]byte, []int)

func (CatalogReservation_Status) String added in v0.21.11

func (x CatalogReservation_Status) String() string

type ComparisonExpression

type ComparisonExpression struct {
	Operator             ComparisonExpression_Operator `protobuf:"varint,1,opt,name=operator,proto3,enum=flyteidl.core.ComparisonExpression_Operator" json:"operator,omitempty"`
	LeftValue            *Operand                      `protobuf:"bytes,2,opt,name=left_value,json=leftValue,proto3" json:"left_value,omitempty"`
	RightValue           *Operand                      `protobuf:"bytes,3,opt,name=right_value,json=rightValue,proto3" json:"right_value,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                      `json:"-"`
	XXX_unrecognized     []byte                        `json:"-"`
	XXX_sizecache        int32                         `json:"-"`
}

Defines a 2-level tree where the root is a comparison operator and Operands are primitives or known variables. Each expression results in a boolean result.

func (*ComparisonExpression) Descriptor

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

func (*ComparisonExpression) GetLeftValue

func (m *ComparisonExpression) GetLeftValue() *Operand

func (*ComparisonExpression) GetOperator

func (*ComparisonExpression) GetRightValue

func (m *ComparisonExpression) GetRightValue() *Operand

func (*ComparisonExpression) ProtoMessage

func (*ComparisonExpression) ProtoMessage()

func (*ComparisonExpression) Reset

func (m *ComparisonExpression) Reset()

func (*ComparisonExpression) String

func (m *ComparisonExpression) String() string

func (*ComparisonExpression) Validate

func (m *ComparisonExpression) Validate() error

Validate checks the field values on ComparisonExpression with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*ComparisonExpression) XXX_DiscardUnknown

func (m *ComparisonExpression) XXX_DiscardUnknown()

func (*ComparisonExpression) XXX_Marshal

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

func (*ComparisonExpression) XXX_Merge

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

func (*ComparisonExpression) XXX_Size

func (m *ComparisonExpression) XXX_Size() int

func (*ComparisonExpression) XXX_Unmarshal

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

type ComparisonExpressionValidationError

type ComparisonExpressionValidationError struct {
	// contains filtered or unexported fields
}

ComparisonExpressionValidationError is the validation error returned by ComparisonExpression.Validate if the designated constraints aren't met.

func (ComparisonExpressionValidationError) Cause

Cause function returns cause value.

func (ComparisonExpressionValidationError) Error

Error satisfies the builtin error interface

func (ComparisonExpressionValidationError) ErrorName

ErrorName returns error name.

func (ComparisonExpressionValidationError) Field

Field function returns field value.

func (ComparisonExpressionValidationError) Key

Key function returns key value.

func (ComparisonExpressionValidationError) Reason

Reason function returns reason value.

type ComparisonExpression_Operator

type ComparisonExpression_Operator int32

Binary Operator for each expression

const (
	ComparisonExpression_EQ  ComparisonExpression_Operator = 0
	ComparisonExpression_NEQ ComparisonExpression_Operator = 1
	// Greater Than
	ComparisonExpression_GT  ComparisonExpression_Operator = 2
	ComparisonExpression_GTE ComparisonExpression_Operator = 3
	// Less Than
	ComparisonExpression_LT  ComparisonExpression_Operator = 4
	ComparisonExpression_LTE ComparisonExpression_Operator = 5
)

func (ComparisonExpression_Operator) EnumDescriptor

func (ComparisonExpression_Operator) EnumDescriptor() ([]byte, []int)

func (ComparisonExpression_Operator) String

type CompiledTask

type CompiledTask struct {
	// Completely contained TaskTemplate
	Template             *TaskTemplate `protobuf:"bytes,1,opt,name=template,proto3" json:"template,omitempty"`
	XXX_NoUnkeyedLiteral struct{}      `json:"-"`
	XXX_unrecognized     []byte        `json:"-"`
	XXX_sizecache        int32         `json:"-"`
}

Output of the Compilation step. This object represent one Task. We store more metadata at this layer

func (*CompiledTask) Descriptor

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

func (*CompiledTask) GetTemplate

func (m *CompiledTask) GetTemplate() *TaskTemplate

func (*CompiledTask) ProtoMessage

func (*CompiledTask) ProtoMessage()

func (*CompiledTask) Reset

func (m *CompiledTask) Reset()

func (*CompiledTask) String

func (m *CompiledTask) String() string

func (*CompiledTask) Validate

func (m *CompiledTask) Validate() error

Validate checks the field values on CompiledTask with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*CompiledTask) XXX_DiscardUnknown

func (m *CompiledTask) XXX_DiscardUnknown()

func (*CompiledTask) XXX_Marshal

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

func (*CompiledTask) XXX_Merge

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

func (*CompiledTask) XXX_Size

func (m *CompiledTask) XXX_Size() int

func (*CompiledTask) XXX_Unmarshal

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

type CompiledTaskValidationError

type CompiledTaskValidationError struct {
	// contains filtered or unexported fields
}

CompiledTaskValidationError is the validation error returned by CompiledTask.Validate if the designated constraints aren't met.

func (CompiledTaskValidationError) Cause

Cause function returns cause value.

func (CompiledTaskValidationError) Error

Error satisfies the builtin error interface

func (CompiledTaskValidationError) ErrorName

func (e CompiledTaskValidationError) ErrorName() string

ErrorName returns error name.

func (CompiledTaskValidationError) Field

Field function returns field value.

func (CompiledTaskValidationError) Key

Key function returns key value.

func (CompiledTaskValidationError) Reason

Reason function returns reason value.

type CompiledWorkflow

type CompiledWorkflow struct {
	// Completely contained Workflow Template
	Template *WorkflowTemplate `protobuf:"bytes,1,opt,name=template,proto3" json:"template,omitempty"`
	// For internal use only! This field is used by the system and must not be filled in. Any values set will be ignored.
	Connections          *ConnectionSet `protobuf:"bytes,2,opt,name=connections,proto3" json:"connections,omitempty"`
	XXX_NoUnkeyedLiteral struct{}       `json:"-"`
	XXX_unrecognized     []byte         `json:"-"`
	XXX_sizecache        int32          `json:"-"`
}

Output of the compilation Step. This object represents one workflow. We store more metadata at this layer

func (*CompiledWorkflow) Descriptor

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

func (*CompiledWorkflow) GetConnections

func (m *CompiledWorkflow) GetConnections() *ConnectionSet

func (*CompiledWorkflow) GetTemplate

func (m *CompiledWorkflow) GetTemplate() *WorkflowTemplate

func (*CompiledWorkflow) ProtoMessage

func (*CompiledWorkflow) ProtoMessage()

func (*CompiledWorkflow) Reset

func (m *CompiledWorkflow) Reset()

func (*CompiledWorkflow) String

func (m *CompiledWorkflow) String() string

func (*CompiledWorkflow) Validate

func (m *CompiledWorkflow) Validate() error

Validate checks the field values on CompiledWorkflow with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*CompiledWorkflow) XXX_DiscardUnknown

func (m *CompiledWorkflow) XXX_DiscardUnknown()

func (*CompiledWorkflow) XXX_Marshal

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

func (*CompiledWorkflow) XXX_Merge

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

func (*CompiledWorkflow) XXX_Size

func (m *CompiledWorkflow) XXX_Size() int

func (*CompiledWorkflow) XXX_Unmarshal

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

type CompiledWorkflowClosure

type CompiledWorkflowClosure struct {
	//+required
	Primary *CompiledWorkflow `protobuf:"bytes,1,opt,name=primary,proto3" json:"primary,omitempty"`
	// Guaranteed that there will only exist one and only one workflow with a given id, i.e., every sub workflow has a
	// unique identifier. Also every enclosed subworkflow is used either by a primary workflow or by a subworkflow
	// as an inlined workflow
	//+optional
	SubWorkflows []*CompiledWorkflow `protobuf:"bytes,2,rep,name=sub_workflows,json=subWorkflows,proto3" json:"sub_workflows,omitempty"`
	// Guaranteed that there will only exist one and only one task with a given id, i.e., every task has a unique id
	//+required (at least 1)
	Tasks                []*CompiledTask `protobuf:"bytes,3,rep,name=tasks,proto3" json:"tasks,omitempty"`
	XXX_NoUnkeyedLiteral struct{}        `json:"-"`
	XXX_unrecognized     []byte          `json:"-"`
	XXX_sizecache        int32           `json:"-"`
}

A Compiled Workflow Closure contains all the information required to start a new execution, or to visualize a workflow and its details. The CompiledWorkflowClosure should always contain a primary workflow, that is the main workflow that will being the execution. All subworkflows are denormalized. WorkflowNodes refer to the workflow identifiers of compiled subworkflows.

func (*CompiledWorkflowClosure) Descriptor

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

func (*CompiledWorkflowClosure) GetPrimary

func (m *CompiledWorkflowClosure) GetPrimary() *CompiledWorkflow

func (*CompiledWorkflowClosure) GetSubWorkflows

func (m *CompiledWorkflowClosure) GetSubWorkflows() []*CompiledWorkflow

func (*CompiledWorkflowClosure) GetTasks

func (m *CompiledWorkflowClosure) GetTasks() []*CompiledTask

func (*CompiledWorkflowClosure) ProtoMessage

func (*CompiledWorkflowClosure) ProtoMessage()

func (*CompiledWorkflowClosure) Reset

func (m *CompiledWorkflowClosure) Reset()

func (*CompiledWorkflowClosure) String

func (m *CompiledWorkflowClosure) String() string

func (*CompiledWorkflowClosure) Validate

func (m *CompiledWorkflowClosure) Validate() error

Validate checks the field values on CompiledWorkflowClosure with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*CompiledWorkflowClosure) XXX_DiscardUnknown

func (m *CompiledWorkflowClosure) XXX_DiscardUnknown()

func (*CompiledWorkflowClosure) XXX_Marshal

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

func (*CompiledWorkflowClosure) XXX_Merge

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

func (*CompiledWorkflowClosure) XXX_Size

func (m *CompiledWorkflowClosure) XXX_Size() int

func (*CompiledWorkflowClosure) XXX_Unmarshal

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

type CompiledWorkflowClosureValidationError

type CompiledWorkflowClosureValidationError struct {
	// contains filtered or unexported fields
}

CompiledWorkflowClosureValidationError is the validation error returned by CompiledWorkflowClosure.Validate if the designated constraints aren't met.

func (CompiledWorkflowClosureValidationError) Cause

Cause function returns cause value.

func (CompiledWorkflowClosureValidationError) Error

Error satisfies the builtin error interface

func (CompiledWorkflowClosureValidationError) ErrorName

ErrorName returns error name.

func (CompiledWorkflowClosureValidationError) Field

Field function returns field value.

func (CompiledWorkflowClosureValidationError) Key

Key function returns key value.

func (CompiledWorkflowClosureValidationError) Reason

Reason function returns reason value.

type CompiledWorkflowValidationError

type CompiledWorkflowValidationError struct {
	// contains filtered or unexported fields
}

CompiledWorkflowValidationError is the validation error returned by CompiledWorkflow.Validate if the designated constraints aren't met.

func (CompiledWorkflowValidationError) Cause

Cause function returns cause value.

func (CompiledWorkflowValidationError) Error

Error satisfies the builtin error interface

func (CompiledWorkflowValidationError) ErrorName

ErrorName returns error name.

func (CompiledWorkflowValidationError) Field

Field function returns field value.

func (CompiledWorkflowValidationError) Key

Key function returns key value.

func (CompiledWorkflowValidationError) Reason

Reason function returns reason value.

type ConjunctionExpression

type ConjunctionExpression struct {
	Operator             ConjunctionExpression_LogicalOperator `` /* 127-byte string literal not displayed */
	LeftExpression       *BooleanExpression                    `protobuf:"bytes,2,opt,name=left_expression,json=leftExpression,proto3" json:"left_expression,omitempty"`
	RightExpression      *BooleanExpression                    `protobuf:"bytes,3,opt,name=right_expression,json=rightExpression,proto3" json:"right_expression,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                              `json:"-"`
	XXX_unrecognized     []byte                                `json:"-"`
	XXX_sizecache        int32                                 `json:"-"`
}

Defines a conjunction expression of two boolean expressions.

func (*ConjunctionExpression) Descriptor

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

func (*ConjunctionExpression) GetLeftExpression

func (m *ConjunctionExpression) GetLeftExpression() *BooleanExpression

func (*ConjunctionExpression) GetOperator

func (*ConjunctionExpression) GetRightExpression

func (m *ConjunctionExpression) GetRightExpression() *BooleanExpression

func (*ConjunctionExpression) ProtoMessage

func (*ConjunctionExpression) ProtoMessage()

func (*ConjunctionExpression) Reset

func (m *ConjunctionExpression) Reset()

func (*ConjunctionExpression) String

func (m *ConjunctionExpression) String() string

func (*ConjunctionExpression) Validate

func (m *ConjunctionExpression) Validate() error

Validate checks the field values on ConjunctionExpression with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*ConjunctionExpression) XXX_DiscardUnknown

func (m *ConjunctionExpression) XXX_DiscardUnknown()

func (*ConjunctionExpression) XXX_Marshal

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

func (*ConjunctionExpression) XXX_Merge

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

func (*ConjunctionExpression) XXX_Size

func (m *ConjunctionExpression) XXX_Size() int

func (*ConjunctionExpression) XXX_Unmarshal

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

type ConjunctionExpressionValidationError

type ConjunctionExpressionValidationError struct {
	// contains filtered or unexported fields
}

ConjunctionExpressionValidationError is the validation error returned by ConjunctionExpression.Validate if the designated constraints aren't met.

func (ConjunctionExpressionValidationError) Cause

Cause function returns cause value.

func (ConjunctionExpressionValidationError) Error

Error satisfies the builtin error interface

func (ConjunctionExpressionValidationError) ErrorName

ErrorName returns error name.

func (ConjunctionExpressionValidationError) Field

Field function returns field value.

func (ConjunctionExpressionValidationError) Key

Key function returns key value.

func (ConjunctionExpressionValidationError) Reason

Reason function returns reason value.

type ConjunctionExpression_LogicalOperator

type ConjunctionExpression_LogicalOperator int32

Nested conditions. They can be conjoined using AND / OR Order of evaluation is not important as the operators are Commutative

const (
	// Conjunction
	ConjunctionExpression_AND ConjunctionExpression_LogicalOperator = 0
	ConjunctionExpression_OR  ConjunctionExpression_LogicalOperator = 1
)

func (ConjunctionExpression_LogicalOperator) EnumDescriptor

func (ConjunctionExpression_LogicalOperator) EnumDescriptor() ([]byte, []int)

func (ConjunctionExpression_LogicalOperator) String

type ConnectionSet

type ConnectionSet struct {
	// A list of all the node ids that are downstream from a given node id
	Downstream map[string]*ConnectionSet_IdList `` /* 161-byte string literal not displayed */
	// A list of all the node ids, that are upstream of this node id
	Upstream             map[string]*ConnectionSet_IdList `` /* 157-byte string literal not displayed */
	XXX_NoUnkeyedLiteral struct{}                         `json:"-"`
	XXX_unrecognized     []byte                           `json:"-"`
	XXX_sizecache        int32                            `json:"-"`
}

Adjacency list for the workflow. This is created as part of the compilation process. Every process after the compilation step uses this created ConnectionSet

func (*ConnectionSet) Descriptor

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

func (*ConnectionSet) GetDownstream

func (m *ConnectionSet) GetDownstream() map[string]*ConnectionSet_IdList

func (*ConnectionSet) GetUpstream

func (m *ConnectionSet) GetUpstream() map[string]*ConnectionSet_IdList

func (*ConnectionSet) ProtoMessage

func (*ConnectionSet) ProtoMessage()

func (*ConnectionSet) Reset

func (m *ConnectionSet) Reset()

func (*ConnectionSet) String

func (m *ConnectionSet) String() string

func (*ConnectionSet) Validate

func (m *ConnectionSet) Validate() error

Validate checks the field values on ConnectionSet with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*ConnectionSet) XXX_DiscardUnknown

func (m *ConnectionSet) XXX_DiscardUnknown()

func (*ConnectionSet) XXX_Marshal

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

func (*ConnectionSet) XXX_Merge

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

func (*ConnectionSet) XXX_Size

func (m *ConnectionSet) XXX_Size() int

func (*ConnectionSet) XXX_Unmarshal

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

type ConnectionSetValidationError

type ConnectionSetValidationError struct {
	// contains filtered or unexported fields
}

ConnectionSetValidationError is the validation error returned by ConnectionSet.Validate if the designated constraints aren't met.

func (ConnectionSetValidationError) Cause

Cause function returns cause value.

func (ConnectionSetValidationError) Error

Error satisfies the builtin error interface

func (ConnectionSetValidationError) ErrorName

func (e ConnectionSetValidationError) ErrorName() string

ErrorName returns error name.

func (ConnectionSetValidationError) Field

Field function returns field value.

func (ConnectionSetValidationError) Key

Key function returns key value.

func (ConnectionSetValidationError) Reason

Reason function returns reason value.

type ConnectionSet_IdList

type ConnectionSet_IdList struct {
	Ids                  []string `protobuf:"bytes,1,rep,name=ids,proto3" json:"ids,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ConnectionSet_IdList) Descriptor

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

func (*ConnectionSet_IdList) GetIds

func (m *ConnectionSet_IdList) GetIds() []string

func (*ConnectionSet_IdList) ProtoMessage

func (*ConnectionSet_IdList) ProtoMessage()

func (*ConnectionSet_IdList) Reset

func (m *ConnectionSet_IdList) Reset()

func (*ConnectionSet_IdList) String

func (m *ConnectionSet_IdList) String() string

func (*ConnectionSet_IdList) Validate

func (m *ConnectionSet_IdList) Validate() error

Validate checks the field values on ConnectionSet_IdList with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*ConnectionSet_IdList) XXX_DiscardUnknown

func (m *ConnectionSet_IdList) XXX_DiscardUnknown()

func (*ConnectionSet_IdList) XXX_Marshal

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

func (*ConnectionSet_IdList) XXX_Merge

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

func (*ConnectionSet_IdList) XXX_Size

func (m *ConnectionSet_IdList) XXX_Size() int

func (*ConnectionSet_IdList) XXX_Unmarshal

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

type ConnectionSet_IdListValidationError

type ConnectionSet_IdListValidationError struct {
	// contains filtered or unexported fields
}

ConnectionSet_IdListValidationError is the validation error returned by ConnectionSet_IdList.Validate if the designated constraints aren't met.

func (ConnectionSet_IdListValidationError) Cause

Cause function returns cause value.

func (ConnectionSet_IdListValidationError) Error

Error satisfies the builtin error interface

func (ConnectionSet_IdListValidationError) ErrorName

ErrorName returns error name.

func (ConnectionSet_IdListValidationError) Field

Field function returns field value.

func (ConnectionSet_IdListValidationError) Key

Key function returns key value.

func (ConnectionSet_IdListValidationError) Reason

Reason function returns reason value.

type Container

type Container struct {
	// Container image url. Eg: docker/redis:latest
	Image string `protobuf:"bytes,1,opt,name=image,proto3" json:"image,omitempty"`
	// Command to be executed, if not provided, the default entrypoint in the container image will be used.
	Command []string `protobuf:"bytes,2,rep,name=command,proto3" json:"command,omitempty"`
	// These will default to Flyte given paths. If provided, the system will not append known paths. If the task still
	// needs flyte's inputs and outputs path, add $(FLYTE_INPUT_FILE), $(FLYTE_OUTPUT_FILE) wherever makes sense and the
	// system will populate these before executing the container.
	Args []string `protobuf:"bytes,3,rep,name=args,proto3" json:"args,omitempty"`
	// Container resources requirement as specified by the container engine.
	Resources *Resources `protobuf:"bytes,4,opt,name=resources,proto3" json:"resources,omitempty"`
	// Environment variables will be set as the container is starting up.
	Env []*KeyValuePair `protobuf:"bytes,5,rep,name=env,proto3" json:"env,omitempty"`
	// Allows extra configs to be available for the container.
	// TODO: elaborate on how configs will become available.
	// Deprecated, please use TaskTemplate.config instead.
	Config []*KeyValuePair `protobuf:"bytes,6,rep,name=config,proto3" json:"config,omitempty"` // Deprecated: Do not use.
	// Ports to open in the container. This feature is not supported by all execution engines. (e.g. supported on K8s but
	// not supported on AWS Batch)
	// Only K8s
	Ports []*ContainerPort `protobuf:"bytes,7,rep,name=ports,proto3" json:"ports,omitempty"`
	// BETA: Optional configuration for DataLoading. If not specified, then default values are used.
	// This makes it possible to to run a completely portable container, that uses inputs and outputs
	// only from the local file-system and without having any reference to flyteidl. This is supported only on K8s at the moment.
	// If data loading is enabled, then data will be mounted in accompanying directories specified in the DataLoadingConfig. If the directories
	// are not specified, inputs will be mounted onto and outputs will be uploaded from a pre-determined file-system path. Refer to the documentation
	// to understand the default paths.
	// Only K8s
	DataConfig           *DataLoadingConfig     `protobuf:"bytes,9,opt,name=data_config,json=dataConfig,proto3" json:"data_config,omitempty"`
	Architecture         Container_Architecture `protobuf:"varint,10,opt,name=architecture,proto3,enum=flyteidl.core.Container_Architecture" json:"architecture,omitempty"`
	XXX_NoUnkeyedLiteral struct{}               `json:"-"`
	XXX_unrecognized     []byte                 `json:"-"`
	XXX_sizecache        int32                  `json:"-"`
}

func (*Container) Descriptor

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

func (*Container) GetArchitecture added in v0.21.6

func (m *Container) GetArchitecture() Container_Architecture

func (*Container) GetArgs

func (m *Container) GetArgs() []string

func (*Container) GetCommand

func (m *Container) GetCommand() []string

func (*Container) GetConfig deprecated

func (m *Container) GetConfig() []*KeyValuePair

Deprecated: Do not use.

func (*Container) GetDataConfig added in v0.18.15

func (m *Container) GetDataConfig() *DataLoadingConfig

func (*Container) GetEnv

func (m *Container) GetEnv() []*KeyValuePair

func (*Container) GetImage

func (m *Container) GetImage() string

func (*Container) GetPorts

func (m *Container) GetPorts() []*ContainerPort

func (*Container) GetResources

func (m *Container) GetResources() *Resources

func (*Container) ProtoMessage

func (*Container) ProtoMessage()

func (*Container) Reset

func (m *Container) Reset()

func (*Container) String

func (m *Container) String() string

func (*Container) Validate

func (m *Container) Validate() error

Validate checks the field values on Container with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*Container) XXX_DiscardUnknown

func (m *Container) XXX_DiscardUnknown()

func (*Container) XXX_Marshal

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

func (*Container) XXX_Merge

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

func (*Container) XXX_Size

func (m *Container) XXX_Size() int

func (*Container) XXX_Unmarshal

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

type ContainerError

type ContainerError struct {
	// A simplified code for errors, so that we can provide a glossary of all possible errors.
	Code string `protobuf:"bytes,1,opt,name=code,proto3" json:"code,omitempty"`
	// A detailed error message.
	Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
	// An abstract error kind for this error. Defaults to Non_Recoverable if not specified.
	Kind ContainerError_Kind `protobuf:"varint,3,opt,name=kind,proto3,enum=flyteidl.core.ContainerError_Kind" json:"kind,omitempty"`
	// Defines the origin of the error (system, user, unknown).
	Origin               ExecutionError_ErrorKind `protobuf:"varint,4,opt,name=origin,proto3,enum=flyteidl.core.ExecutionError_ErrorKind" json:"origin,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                 `json:"-"`
	XXX_unrecognized     []byte                   `json:"-"`
	XXX_sizecache        int32                    `json:"-"`
}

Error message to propagate detailed errors from container executions to the execution engine.

func (*ContainerError) Descriptor

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

func (*ContainerError) GetCode

func (m *ContainerError) GetCode() string

func (*ContainerError) GetKind

func (m *ContainerError) GetKind() ContainerError_Kind

func (*ContainerError) GetMessage

func (m *ContainerError) GetMessage() string

func (*ContainerError) GetOrigin added in v0.18.15

func (*ContainerError) ProtoMessage

func (*ContainerError) ProtoMessage()

func (*ContainerError) Reset

func (m *ContainerError) Reset()

func (*ContainerError) String

func (m *ContainerError) String() string

func (*ContainerError) Validate

func (m *ContainerError) Validate() error

Validate checks the field values on ContainerError with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*ContainerError) XXX_DiscardUnknown

func (m *ContainerError) XXX_DiscardUnknown()

func (*ContainerError) XXX_Marshal

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

func (*ContainerError) XXX_Merge

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

func (*ContainerError) XXX_Size

func (m *ContainerError) XXX_Size() int

func (*ContainerError) XXX_Unmarshal

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

type ContainerErrorValidationError

type ContainerErrorValidationError struct {
	// contains filtered or unexported fields
}

ContainerErrorValidationError is the validation error returned by ContainerError.Validate if the designated constraints aren't met.

func (ContainerErrorValidationError) Cause

Cause function returns cause value.

func (ContainerErrorValidationError) Error

Error satisfies the builtin error interface

func (ContainerErrorValidationError) ErrorName

func (e ContainerErrorValidationError) ErrorName() string

ErrorName returns error name.

func (ContainerErrorValidationError) Field

Field function returns field value.

func (ContainerErrorValidationError) Key

Key function returns key value.

func (ContainerErrorValidationError) Reason

Reason function returns reason value.

type ContainerError_Kind

type ContainerError_Kind int32

Defines a generic error type that dictates the behavior of the retry strategy.

const (
	ContainerError_NON_RECOVERABLE ContainerError_Kind = 0
	ContainerError_RECOVERABLE     ContainerError_Kind = 1
)

func (ContainerError_Kind) EnumDescriptor

func (ContainerError_Kind) EnumDescriptor() ([]byte, []int)

func (ContainerError_Kind) String

func (x ContainerError_Kind) String() string

type ContainerPort

type ContainerPort struct {
	// Number of port to expose on the pod's IP address.
	// This must be a valid port number, 0 < x < 65536.
	ContainerPort        uint32   `protobuf:"varint,1,opt,name=container_port,json=containerPort,proto3" json:"container_port,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Defines port properties for a container.

func (*ContainerPort) Descriptor

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

func (*ContainerPort) GetContainerPort

func (m *ContainerPort) GetContainerPort() uint32

func (*ContainerPort) ProtoMessage

func (*ContainerPort) ProtoMessage()

func (*ContainerPort) Reset

func (m *ContainerPort) Reset()

func (*ContainerPort) String

func (m *ContainerPort) String() string

func (*ContainerPort) Validate

func (m *ContainerPort) Validate() error

Validate checks the field values on ContainerPort with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*ContainerPort) XXX_DiscardUnknown

func (m *ContainerPort) XXX_DiscardUnknown()

func (*ContainerPort) XXX_Marshal

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

func (*ContainerPort) XXX_Merge

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

func (*ContainerPort) XXX_Size

func (m *ContainerPort) XXX_Size() int

func (*ContainerPort) XXX_Unmarshal

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

type ContainerPortValidationError

type ContainerPortValidationError struct {
	// contains filtered or unexported fields
}

ContainerPortValidationError is the validation error returned by ContainerPort.Validate if the designated constraints aren't met.

func (ContainerPortValidationError) Cause

Cause function returns cause value.

func (ContainerPortValidationError) Error

Error satisfies the builtin error interface

func (ContainerPortValidationError) ErrorName

func (e ContainerPortValidationError) ErrorName() string

ErrorName returns error name.

func (ContainerPortValidationError) Field

Field function returns field value.

func (ContainerPortValidationError) Key

Key function returns key value.

func (ContainerPortValidationError) Reason

Reason function returns reason value.

type ContainerValidationError

type ContainerValidationError struct {
	// contains filtered or unexported fields
}

ContainerValidationError is the validation error returned by Container.Validate if the designated constraints aren't met.

func (ContainerValidationError) Cause

func (e ContainerValidationError) Cause() error

Cause function returns cause value.

func (ContainerValidationError) Error

func (e ContainerValidationError) Error() string

Error satisfies the builtin error interface

func (ContainerValidationError) ErrorName

func (e ContainerValidationError) ErrorName() string

ErrorName returns error name.

func (ContainerValidationError) Field

func (e ContainerValidationError) Field() string

Field function returns field value.

func (ContainerValidationError) Key

Key function returns key value.

func (ContainerValidationError) Reason

func (e ContainerValidationError) Reason() string

Reason function returns reason value.

type Container_Architecture added in v0.21.6

type Container_Architecture int32

Architecture-type the container image supports.

const (
	Container_UNKNOWN Container_Architecture = 0
	Container_AMD64   Container_Architecture = 1
	Container_ARM64   Container_Architecture = 2
	Container_ARM_V6  Container_Architecture = 3
	Container_ARM_V7  Container_Architecture = 4
)

func (Container_Architecture) EnumDescriptor added in v0.21.6

func (Container_Architecture) EnumDescriptor() ([]byte, []int)

func (Container_Architecture) String added in v0.21.6

func (x Container_Architecture) String() string

type DataLoadingConfig added in v0.18.15

type DataLoadingConfig struct {
	// Flag enables DataLoading Config. If this is not set, data loading will not be used!
	Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"`
	// File system path (start at root). This folder will contain all the inputs exploded to a separate file.
	// Example, if the input interface needs (x: int, y: blob, z: multipart_blob) and the input path is '/var/flyte/inputs', then the file system will look like
	// /var/flyte/inputs/inputs.<metadata format dependent -> .pb .json .yaml> -> Format as defined previously. The Blob and Multipart blob will reference local filesystem instead of remote locations
	// /var/flyte/inputs/x -> X is a file that contains the value of x (integer) in string format
	// /var/flyte/inputs/y -> Y is a file in Binary format
	// /var/flyte/inputs/z/... -> Note Z itself is a directory
	// More information about the protocol - refer to docs #TODO reference docs here
	InputPath string `protobuf:"bytes,2,opt,name=input_path,json=inputPath,proto3" json:"input_path,omitempty"`
	// File system path (start at root). This folder should contain all the outputs for the task as individual files and/or an error text file
	OutputPath string `protobuf:"bytes,3,opt,name=output_path,json=outputPath,proto3" json:"output_path,omitempty"`
	// In the inputs folder, there will be an additional summary/metadata file that contains references to all files or inlined primitive values.
	// This format decides the actual encoding for the data. Refer to the encoding to understand the specifics of the contents and the encoding
	Format               DataLoadingConfig_LiteralMapFormat `protobuf:"varint,4,opt,name=format,proto3,enum=flyteidl.core.DataLoadingConfig_LiteralMapFormat" json:"format,omitempty"`
	IoStrategy           *IOStrategy                        `protobuf:"bytes,5,opt,name=io_strategy,json=ioStrategy,proto3" json:"io_strategy,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                           `json:"-"`
	XXX_unrecognized     []byte                             `json:"-"`
	XXX_sizecache        int32                              `json:"-"`
}

This configuration allows executing raw containers in Flyte using the Flyte CoPilot system. Flyte CoPilot, eliminates the needs of flytekit or sdk inside the container. Any inputs required by the users container are side-loaded in the input_path Any outputs generated by the user container - within output_path are automatically uploaded.

func (*DataLoadingConfig) Descriptor added in v0.18.15

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

func (*DataLoadingConfig) GetEnabled added in v0.18.15

func (m *DataLoadingConfig) GetEnabled() bool

func (*DataLoadingConfig) GetFormat added in v0.18.15

func (*DataLoadingConfig) GetInputPath added in v0.18.15

func (m *DataLoadingConfig) GetInputPath() string

func (*DataLoadingConfig) GetIoStrategy added in v0.18.15

func (m *DataLoadingConfig) GetIoStrategy() *IOStrategy

func (*DataLoadingConfig) GetOutputPath added in v0.18.15

func (m *DataLoadingConfig) GetOutputPath() string

func (*DataLoadingConfig) ProtoMessage added in v0.18.15

func (*DataLoadingConfig) ProtoMessage()

func (*DataLoadingConfig) Reset added in v0.18.15

func (m *DataLoadingConfig) Reset()

func (*DataLoadingConfig) String added in v0.18.15

func (m *DataLoadingConfig) String() string

func (*DataLoadingConfig) Validate added in v0.18.15

func (m *DataLoadingConfig) Validate() error

Validate checks the field values on DataLoadingConfig with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*DataLoadingConfig) XXX_DiscardUnknown added in v0.18.15

func (m *DataLoadingConfig) XXX_DiscardUnknown()

func (*DataLoadingConfig) XXX_Marshal added in v0.18.15

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

func (*DataLoadingConfig) XXX_Merge added in v0.18.15

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

func (*DataLoadingConfig) XXX_Size added in v0.18.15

func (m *DataLoadingConfig) XXX_Size() int

func (*DataLoadingConfig) XXX_Unmarshal added in v0.18.15

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

type DataLoadingConfigValidationError added in v0.18.15

type DataLoadingConfigValidationError struct {
	// contains filtered or unexported fields
}

DataLoadingConfigValidationError is the validation error returned by DataLoadingConfig.Validate if the designated constraints aren't met.

func (DataLoadingConfigValidationError) Cause added in v0.18.15

Cause function returns cause value.

func (DataLoadingConfigValidationError) Error added in v0.18.15

Error satisfies the builtin error interface

func (DataLoadingConfigValidationError) ErrorName added in v0.18.15

ErrorName returns error name.

func (DataLoadingConfigValidationError) Field added in v0.18.15

Field function returns field value.

func (DataLoadingConfigValidationError) Key added in v0.18.15

Key function returns key value.

func (DataLoadingConfigValidationError) Reason added in v0.18.15

Reason function returns reason value.

type DataLoadingConfig_LiteralMapFormat added in v0.18.15

type DataLoadingConfig_LiteralMapFormat int32

LiteralMapFormat decides the encoding format in which the input metadata should be made available to the containers. If the user has access to the protocol buffer definitions, it is recommended to use the PROTO format. JSON and YAML do not need any protobuf definitions to read it All remote references in core.LiteralMap are replaced with local filesystem references (the data is downloaded to local filesystem)

const (
	// JSON / YAML for the metadata (which contains inlined primitive values). The representation is inline with the standard json specification as specified - https://www.json.org/json-en.html
	DataLoadingConfig_JSON DataLoadingConfig_LiteralMapFormat = 0
	DataLoadingConfig_YAML DataLoadingConfig_LiteralMapFormat = 1
	// Proto is a serialized binary of `core.LiteralMap` defined in flyteidl/core
	DataLoadingConfig_PROTO DataLoadingConfig_LiteralMapFormat = 2
)

func (DataLoadingConfig_LiteralMapFormat) EnumDescriptor added in v0.18.15

func (DataLoadingConfig_LiteralMapFormat) EnumDescriptor() ([]byte, []int)

func (DataLoadingConfig_LiteralMapFormat) String added in v0.18.15

type DynamicJobSpec

type DynamicJobSpec struct {
	// A collection of nodes to execute.
	Nodes []*Node `protobuf:"bytes,1,rep,name=nodes,proto3" json:"nodes,omitempty"`
	// An absolute number of successful completions of nodes required to mark this job as succeeded. As soon as this
	// criteria is met, the dynamic job will be marked as successful and outputs will be computed. If this number
	// becomes impossible to reach (e.g. number of currently running tasks + number of already succeeded tasks <
	// min_successes) the task will be aborted immediately and marked as failed. The default value of this field, if not
	// specified, is the count of nodes repeated field.
	MinSuccesses int64 `protobuf:"varint,2,opt,name=min_successes,json=minSuccesses,proto3" json:"min_successes,omitempty"`
	// Describes how to bind the final output of the dynamic job from the outputs of executed nodes. The referenced ids
	// in bindings should have the generated id for the subtask.
	Outputs []*Binding `protobuf:"bytes,3,rep,name=outputs,proto3" json:"outputs,omitempty"`
	// [Optional] A complete list of task specs referenced in nodes.
	Tasks []*TaskTemplate `protobuf:"bytes,4,rep,name=tasks,proto3" json:"tasks,omitempty"`
	// [Optional] A complete list of task specs referenced in nodes.
	Subworkflows         []*WorkflowTemplate `protobuf:"bytes,5,rep,name=subworkflows,proto3" json:"subworkflows,omitempty"`
	XXX_NoUnkeyedLiteral struct{}            `json:"-"`
	XXX_unrecognized     []byte              `json:"-"`
	XXX_sizecache        int32               `json:"-"`
}

Describes a set of tasks to execute and how the final outputs are produced.

func (*DynamicJobSpec) Descriptor

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

func (*DynamicJobSpec) GetMinSuccesses

func (m *DynamicJobSpec) GetMinSuccesses() int64

func (*DynamicJobSpec) GetNodes

func (m *DynamicJobSpec) GetNodes() []*Node

func (*DynamicJobSpec) GetOutputs

func (m *DynamicJobSpec) GetOutputs() []*Binding

func (*DynamicJobSpec) GetSubworkflows

func (m *DynamicJobSpec) GetSubworkflows() []*WorkflowTemplate

func (*DynamicJobSpec) GetTasks

func (m *DynamicJobSpec) GetTasks() []*TaskTemplate

func (*DynamicJobSpec) ProtoMessage

func (*DynamicJobSpec) ProtoMessage()

func (*DynamicJobSpec) Reset

func (m *DynamicJobSpec) Reset()

func (*DynamicJobSpec) String

func (m *DynamicJobSpec) String() string

func (*DynamicJobSpec) Validate

func (m *DynamicJobSpec) Validate() error

Validate checks the field values on DynamicJobSpec with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*DynamicJobSpec) XXX_DiscardUnknown

func (m *DynamicJobSpec) XXX_DiscardUnknown()

func (*DynamicJobSpec) XXX_Marshal

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

func (*DynamicJobSpec) XXX_Merge

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

func (*DynamicJobSpec) XXX_Size

func (m *DynamicJobSpec) XXX_Size() int

func (*DynamicJobSpec) XXX_Unmarshal

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

type DynamicJobSpecValidationError

type DynamicJobSpecValidationError struct {
	// contains filtered or unexported fields
}

DynamicJobSpecValidationError is the validation error returned by DynamicJobSpec.Validate if the designated constraints aren't met.

func (DynamicJobSpecValidationError) Cause

Cause function returns cause value.

func (DynamicJobSpecValidationError) Error

Error satisfies the builtin error interface

func (DynamicJobSpecValidationError) ErrorName

func (e DynamicJobSpecValidationError) ErrorName() string

ErrorName returns error name.

func (DynamicJobSpecValidationError) Field

Field function returns field value.

func (DynamicJobSpecValidationError) Key

Key function returns key value.

func (DynamicJobSpecValidationError) Reason

Reason function returns reason value.

type EnumType added in v0.19.0

type EnumType struct {
	// Predefined set of enum values.
	Values               []string `protobuf:"bytes,1,rep,name=values,proto3" json:"values,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Enables declaring enum types, with predefined string values For len(values) > 0, the first value in the ordered list is regarded as the default value. If you wish To provide no defaults, make the first value as undefined.

func (*EnumType) Descriptor added in v0.19.0

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

func (*EnumType) GetValues added in v0.19.0

func (m *EnumType) GetValues() []string

func (*EnumType) ProtoMessage added in v0.19.0

func (*EnumType) ProtoMessage()

func (*EnumType) Reset added in v0.19.0

func (m *EnumType) Reset()

func (*EnumType) String added in v0.19.0

func (m *EnumType) String() string

func (*EnumType) Validate added in v0.19.0

func (m *EnumType) Validate() error

Validate checks the field values on EnumType with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*EnumType) XXX_DiscardUnknown added in v0.19.0

func (m *EnumType) XXX_DiscardUnknown()

func (*EnumType) XXX_Marshal added in v0.19.0

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

func (*EnumType) XXX_Merge added in v0.19.0

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

func (*EnumType) XXX_Size added in v0.19.0

func (m *EnumType) XXX_Size() int

func (*EnumType) XXX_Unmarshal added in v0.19.0

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

type EnumTypeValidationError added in v0.19.0

type EnumTypeValidationError struct {
	// contains filtered or unexported fields
}

EnumTypeValidationError is the validation error returned by EnumType.Validate if the designated constraints aren't met.

func (EnumTypeValidationError) Cause added in v0.19.0

func (e EnumTypeValidationError) Cause() error

Cause function returns cause value.

func (EnumTypeValidationError) Error added in v0.19.0

func (e EnumTypeValidationError) Error() string

Error satisfies the builtin error interface

func (EnumTypeValidationError) ErrorName added in v0.19.0

func (e EnumTypeValidationError) ErrorName() string

ErrorName returns error name.

func (EnumTypeValidationError) Field added in v0.19.0

func (e EnumTypeValidationError) Field() string

Field function returns field value.

func (EnumTypeValidationError) Key added in v0.19.0

func (e EnumTypeValidationError) Key() bool

Key function returns key value.

func (EnumTypeValidationError) Reason added in v0.19.0

func (e EnumTypeValidationError) Reason() string

Reason function returns reason value.

type Error

type Error struct {
	// The node id that threw the error.
	FailedNodeId string `protobuf:"bytes,1,opt,name=failed_node_id,json=failedNodeId,proto3" json:"failed_node_id,omitempty"`
	// Error message thrown.
	Message              string   `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Represents an error thrown from a node.

func (*Error) Descriptor

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

func (*Error) GetFailedNodeId

func (m *Error) GetFailedNodeId() string

func (*Error) GetMessage

func (m *Error) GetMessage() string

func (*Error) ProtoMessage

func (*Error) ProtoMessage()

func (*Error) Reset

func (m *Error) Reset()

func (*Error) String

func (m *Error) String() string

func (*Error) Validate

func (m *Error) Validate() error

Validate checks the field values on Error with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*Error) XXX_DiscardUnknown

func (m *Error) XXX_DiscardUnknown()

func (*Error) XXX_Marshal

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

func (*Error) XXX_Merge

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

func (*Error) XXX_Size

func (m *Error) XXX_Size() int

func (*Error) XXX_Unmarshal

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

type ErrorDocument

type ErrorDocument struct {
	// The error raised during execution.
	Error                *ContainerError `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"`
	XXX_NoUnkeyedLiteral struct{}        `json:"-"`
	XXX_unrecognized     []byte          `json:"-"`
	XXX_sizecache        int32           `json:"-"`
}

Defines the errors.pb file format the container can produce to communicate failure reasons to the execution engine.

func (*ErrorDocument) Descriptor

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

func (*ErrorDocument) GetError

func (m *ErrorDocument) GetError() *ContainerError

func (*ErrorDocument) ProtoMessage

func (*ErrorDocument) ProtoMessage()

func (*ErrorDocument) Reset

func (m *ErrorDocument) Reset()

func (*ErrorDocument) String

func (m *ErrorDocument) String() string

func (*ErrorDocument) Validate

func (m *ErrorDocument) Validate() error

Validate checks the field values on ErrorDocument with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*ErrorDocument) XXX_DiscardUnknown

func (m *ErrorDocument) XXX_DiscardUnknown()

func (*ErrorDocument) XXX_Marshal

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

func (*ErrorDocument) XXX_Merge

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

func (*ErrorDocument) XXX_Size

func (m *ErrorDocument) XXX_Size() int

func (*ErrorDocument) XXX_Unmarshal

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

type ErrorDocumentValidationError

type ErrorDocumentValidationError struct {
	// contains filtered or unexported fields
}

ErrorDocumentValidationError is the validation error returned by ErrorDocument.Validate if the designated constraints aren't met.

func (ErrorDocumentValidationError) Cause

Cause function returns cause value.

func (ErrorDocumentValidationError) Error

Error satisfies the builtin error interface

func (ErrorDocumentValidationError) ErrorName

func (e ErrorDocumentValidationError) ErrorName() string

ErrorName returns error name.

func (ErrorDocumentValidationError) Field

Field function returns field value.

func (ErrorDocumentValidationError) Key

Key function returns key value.

func (ErrorDocumentValidationError) Reason

Reason function returns reason value.

type ErrorValidationError

type ErrorValidationError struct {
	// contains filtered or unexported fields
}

ErrorValidationError is the validation error returned by Error.Validate if the designated constraints aren't met.

func (ErrorValidationError) Cause

func (e ErrorValidationError) Cause() error

Cause function returns cause value.

func (ErrorValidationError) Error

func (e ErrorValidationError) Error() string

Error satisfies the builtin error interface

func (ErrorValidationError) ErrorName

func (e ErrorValidationError) ErrorName() string

ErrorName returns error name.

func (ErrorValidationError) Field

func (e ErrorValidationError) Field() string

Field function returns field value.

func (ErrorValidationError) Key

func (e ErrorValidationError) Key() bool

Key function returns key value.

func (ErrorValidationError) Reason

func (e ErrorValidationError) Reason() string

Reason function returns reason value.

type ExecutionError

type ExecutionError struct {
	// Error code indicates a grouping of a type of error.
	// More Info: <Link>
	Code string `protobuf:"bytes,1,opt,name=code,proto3" json:"code,omitempty"`
	// Detailed description of the error - including stack trace.
	Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
	// Full error contents accessible via a URI
	ErrorUri             string                   `protobuf:"bytes,3,opt,name=error_uri,json=errorUri,proto3" json:"error_uri,omitempty"`
	Kind                 ExecutionError_ErrorKind `protobuf:"varint,4,opt,name=kind,proto3,enum=flyteidl.core.ExecutionError_ErrorKind" json:"kind,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                 `json:"-"`
	XXX_unrecognized     []byte                   `json:"-"`
	XXX_sizecache        int32                    `json:"-"`
}

Represents the error message from the execution.

func (*ExecutionError) Descriptor

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

func (*ExecutionError) GetCode

func (m *ExecutionError) GetCode() string

func (*ExecutionError) GetErrorUri

func (m *ExecutionError) GetErrorUri() string

func (*ExecutionError) GetKind added in v0.18.15

func (*ExecutionError) GetMessage

func (m *ExecutionError) GetMessage() string

func (*ExecutionError) ProtoMessage

func (*ExecutionError) ProtoMessage()

func (*ExecutionError) Reset

func (m *ExecutionError) Reset()

func (*ExecutionError) String

func (m *ExecutionError) String() string

func (*ExecutionError) Validate

func (m *ExecutionError) Validate() error

Validate checks the field values on ExecutionError with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*ExecutionError) XXX_DiscardUnknown

func (m *ExecutionError) XXX_DiscardUnknown()

func (*ExecutionError) XXX_Marshal

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

func (*ExecutionError) XXX_Merge

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

func (*ExecutionError) XXX_Size

func (m *ExecutionError) XXX_Size() int

func (*ExecutionError) XXX_Unmarshal

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

type ExecutionErrorValidationError

type ExecutionErrorValidationError struct {
	// contains filtered or unexported fields
}

ExecutionErrorValidationError is the validation error returned by ExecutionError.Validate if the designated constraints aren't met.

func (ExecutionErrorValidationError) Cause

Cause function returns cause value.

func (ExecutionErrorValidationError) Error

Error satisfies the builtin error interface

func (ExecutionErrorValidationError) ErrorName

func (e ExecutionErrorValidationError) ErrorName() string

ErrorName returns error name.

func (ExecutionErrorValidationError) Field

Field function returns field value.

func (ExecutionErrorValidationError) Key

Key function returns key value.

func (ExecutionErrorValidationError) Reason

Reason function returns reason value.

type ExecutionError_ErrorKind added in v0.18.15

type ExecutionError_ErrorKind int32

Error type: System or User

const (
	ExecutionError_UNKNOWN ExecutionError_ErrorKind = 0
	ExecutionError_USER    ExecutionError_ErrorKind = 1
	ExecutionError_SYSTEM  ExecutionError_ErrorKind = 2
)

func (ExecutionError_ErrorKind) EnumDescriptor added in v0.18.15

func (ExecutionError_ErrorKind) EnumDescriptor() ([]byte, []int)

func (ExecutionError_ErrorKind) String added in v0.18.15

func (x ExecutionError_ErrorKind) String() string

type IOStrategy added in v0.18.15

type IOStrategy struct {
	// Mode to use to manage downloads
	DownloadMode IOStrategy_DownloadMode `` /* 141-byte string literal not displayed */
	// Mode to use to manage uploads
	UploadMode           IOStrategy_UploadMode `` /* 133-byte string literal not displayed */
	XXX_NoUnkeyedLiteral struct{}              `json:"-"`
	XXX_unrecognized     []byte                `json:"-"`
	XXX_sizecache        int32                 `json:"-"`
}

Strategy to use when dealing with Blob, Schema, or multipart blob data (large datasets)

func (*IOStrategy) Descriptor added in v0.18.15

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

func (*IOStrategy) GetDownloadMode added in v0.18.15

func (m *IOStrategy) GetDownloadMode() IOStrategy_DownloadMode

func (*IOStrategy) GetUploadMode added in v0.18.15

func (m *IOStrategy) GetUploadMode() IOStrategy_UploadMode

func (*IOStrategy) ProtoMessage added in v0.18.15

func (*IOStrategy) ProtoMessage()

func (*IOStrategy) Reset added in v0.18.15

func (m *IOStrategy) Reset()

func (*IOStrategy) String added in v0.18.15

func (m *IOStrategy) String() string

func (*IOStrategy) Validate added in v0.18.15

func (m *IOStrategy) Validate() error

Validate checks the field values on IOStrategy with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*IOStrategy) XXX_DiscardUnknown added in v0.18.15

func (m *IOStrategy) XXX_DiscardUnknown()

func (*IOStrategy) XXX_Marshal added in v0.18.15

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

func (*IOStrategy) XXX_Merge added in v0.18.15

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

func (*IOStrategy) XXX_Size added in v0.18.15

func (m *IOStrategy) XXX_Size() int

func (*IOStrategy) XXX_Unmarshal added in v0.18.15

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

type IOStrategyValidationError added in v0.18.15

type IOStrategyValidationError struct {
	// contains filtered or unexported fields
}

IOStrategyValidationError is the validation error returned by IOStrategy.Validate if the designated constraints aren't met.

func (IOStrategyValidationError) Cause added in v0.18.15

func (e IOStrategyValidationError) Cause() error

Cause function returns cause value.

func (IOStrategyValidationError) Error added in v0.18.15

Error satisfies the builtin error interface

func (IOStrategyValidationError) ErrorName added in v0.18.15

func (e IOStrategyValidationError) ErrorName() string

ErrorName returns error name.

func (IOStrategyValidationError) Field added in v0.18.15

Field function returns field value.

func (IOStrategyValidationError) Key added in v0.18.15

Key function returns key value.

func (IOStrategyValidationError) Reason added in v0.18.15

func (e IOStrategyValidationError) Reason() string

Reason function returns reason value.

type IOStrategy_DownloadMode added in v0.18.15

type IOStrategy_DownloadMode int32

Mode to use for downloading

const (
	// All data will be downloaded before the main container is executed
	IOStrategy_DOWNLOAD_EAGER IOStrategy_DownloadMode = 0
	// Data will be downloaded as a stream and an End-Of-Stream marker will be written to indicate all data has been downloaded. Refer to protocol for details
	IOStrategy_DOWNLOAD_STREAM IOStrategy_DownloadMode = 1
	// Large objects (offloaded) will not be downloaded
	IOStrategy_DO_NOT_DOWNLOAD IOStrategy_DownloadMode = 2
)

func (IOStrategy_DownloadMode) EnumDescriptor added in v0.18.15

func (IOStrategy_DownloadMode) EnumDescriptor() ([]byte, []int)

func (IOStrategy_DownloadMode) String added in v0.18.15

func (x IOStrategy_DownloadMode) String() string

type IOStrategy_UploadMode added in v0.18.15

type IOStrategy_UploadMode int32

Mode to use for uploading

const (
	// All data will be uploaded after the main container exits
	IOStrategy_UPLOAD_ON_EXIT IOStrategy_UploadMode = 0
	// Data will be uploaded as it appears. Refer to protocol specification for details
	IOStrategy_UPLOAD_EAGER IOStrategy_UploadMode = 1
	// Data will not be uploaded, only references will be written
	IOStrategy_DO_NOT_UPLOAD IOStrategy_UploadMode = 2
)

func (IOStrategy_UploadMode) EnumDescriptor added in v0.18.15

func (IOStrategy_UploadMode) EnumDescriptor() ([]byte, []int)

func (IOStrategy_UploadMode) String added in v0.18.15

func (x IOStrategy_UploadMode) String() string

type Identifier

type Identifier struct {
	// Identifies the specific type of resource that this identifier corresponds to.
	ResourceType ResourceType `` /* 130-byte string literal not displayed */
	// Name of the project the resource belongs to.
	Project string `protobuf:"bytes,2,opt,name=project,proto3" json:"project,omitempty"`
	// Name of the domain the resource belongs to.
	// A domain can be considered as a subset within a specific project.
	Domain string `protobuf:"bytes,3,opt,name=domain,proto3" json:"domain,omitempty"`
	// User provided value for the resource.
	Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"`
	// Specific version of the resource.
	Version              string   `protobuf:"bytes,5,opt,name=version,proto3" json:"version,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Encapsulation of fields that uniquely identifies a Flyte resource.

func (*Identifier) Descriptor

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

func (*Identifier) GetDomain

func (m *Identifier) GetDomain() string

func (*Identifier) GetName

func (m *Identifier) GetName() string

func (*Identifier) GetProject

func (m *Identifier) GetProject() string

func (*Identifier) GetResourceType

func (m *Identifier) GetResourceType() ResourceType

func (*Identifier) GetVersion

func (m *Identifier) GetVersion() string

func (*Identifier) ProtoMessage

func (*Identifier) ProtoMessage()

func (*Identifier) Reset

func (m *Identifier) Reset()

func (*Identifier) String

func (m *Identifier) String() string

func (*Identifier) Validate

func (m *Identifier) Validate() error

Validate checks the field values on Identifier with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*Identifier) XXX_DiscardUnknown

func (m *Identifier) XXX_DiscardUnknown()

func (*Identifier) XXX_Marshal

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

func (*Identifier) XXX_Merge

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

func (*Identifier) XXX_Size

func (m *Identifier) XXX_Size() int

func (*Identifier) XXX_Unmarshal

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

type IdentifierValidationError

type IdentifierValidationError struct {
	// contains filtered or unexported fields
}

IdentifierValidationError is the validation error returned by Identifier.Validate if the designated constraints aren't met.

func (IdentifierValidationError) Cause

func (e IdentifierValidationError) Cause() error

Cause function returns cause value.

func (IdentifierValidationError) Error

Error satisfies the builtin error interface

func (IdentifierValidationError) ErrorName

func (e IdentifierValidationError) ErrorName() string

ErrorName returns error name.

func (IdentifierValidationError) Field

Field function returns field value.

func (IdentifierValidationError) Key

Key function returns key value.

func (IdentifierValidationError) Reason

func (e IdentifierValidationError) Reason() string

Reason function returns reason value.

type Identity added in v0.18.16

type Identity struct {
	// iam_role references the fully qualified name of Identity & Access Management role to impersonate.
	IamRole string `protobuf:"bytes,1,opt,name=iam_role,json=iamRole,proto3" json:"iam_role,omitempty"`
	// k8s_service_account references a kubernetes service account to impersonate.
	K8SServiceAccount string `protobuf:"bytes,2,opt,name=k8s_service_account,json=k8sServiceAccount,proto3" json:"k8s_service_account,omitempty"`
	// oauth2_client references an oauth2 client. Backend plugins can use this information to impersonate the client when
	// making external calls.
	Oauth2Client         *OAuth2Client `protobuf:"bytes,3,opt,name=oauth2_client,json=oauth2Client,proto3" json:"oauth2_client,omitempty"`
	XXX_NoUnkeyedLiteral struct{}      `json:"-"`
	XXX_unrecognized     []byte        `json:"-"`
	XXX_sizecache        int32         `json:"-"`
}

Identity encapsulates the various security identities a task can run as. It's up to the underlying plugin to pick the right identity for the execution environment.

func (*Identity) Descriptor added in v0.18.16

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

func (*Identity) GetIamRole added in v0.18.16

func (m *Identity) GetIamRole() string

func (*Identity) GetK8SServiceAccount added in v0.18.16

func (m *Identity) GetK8SServiceAccount() string

func (*Identity) GetOauth2Client added in v0.18.16

func (m *Identity) GetOauth2Client() *OAuth2Client

func (*Identity) ProtoMessage added in v0.18.16

func (*Identity) ProtoMessage()

func (*Identity) Reset added in v0.18.16

func (m *Identity) Reset()

func (*Identity) String added in v0.18.16

func (m *Identity) String() string

func (*Identity) Validate added in v0.18.16

func (m *Identity) Validate() error

Validate checks the field values on Identity with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*Identity) XXX_DiscardUnknown added in v0.18.16

func (m *Identity) XXX_DiscardUnknown()

func (*Identity) XXX_Marshal added in v0.18.16

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

func (*Identity) XXX_Merge added in v0.18.16

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

func (*Identity) XXX_Size added in v0.18.16

func (m *Identity) XXX_Size() int

func (*Identity) XXX_Unmarshal added in v0.18.16

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

type IdentityValidationError added in v0.18.16

type IdentityValidationError struct {
	// contains filtered or unexported fields
}

IdentityValidationError is the validation error returned by Identity.Validate if the designated constraints aren't met.

func (IdentityValidationError) Cause added in v0.18.16

func (e IdentityValidationError) Cause() error

Cause function returns cause value.

func (IdentityValidationError) Error added in v0.18.16

func (e IdentityValidationError) Error() string

Error satisfies the builtin error interface

func (IdentityValidationError) ErrorName added in v0.18.16

func (e IdentityValidationError) ErrorName() string

ErrorName returns error name.

func (IdentityValidationError) Field added in v0.18.16

func (e IdentityValidationError) Field() string

Field function returns field value.

func (IdentityValidationError) Key added in v0.18.16

func (e IdentityValidationError) Key() bool

Key function returns key value.

func (IdentityValidationError) Reason added in v0.18.16

func (e IdentityValidationError) Reason() string

Reason function returns reason value.

type IfBlock

type IfBlock struct {
	Condition            *BooleanExpression `protobuf:"bytes,1,opt,name=condition,proto3" json:"condition,omitempty"`
	ThenNode             *Node              `protobuf:"bytes,2,opt,name=then_node,json=thenNode,proto3" json:"then_node,omitempty"`
	XXX_NoUnkeyedLiteral struct{}           `json:"-"`
	XXX_unrecognized     []byte             `json:"-"`
	XXX_sizecache        int32              `json:"-"`
}

Defines a condition and the execution unit that should be executed if the condition is satisfied.

func (*IfBlock) Descriptor

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

func (*IfBlock) GetCondition

func (m *IfBlock) GetCondition() *BooleanExpression

func (*IfBlock) GetThenNode

func (m *IfBlock) GetThenNode() *Node

func (*IfBlock) ProtoMessage

func (*IfBlock) ProtoMessage()

func (*IfBlock) Reset

func (m *IfBlock) Reset()

func (*IfBlock) String

func (m *IfBlock) String() string

func (*IfBlock) Validate

func (m *IfBlock) Validate() error

Validate checks the field values on IfBlock with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*IfBlock) XXX_DiscardUnknown

func (m *IfBlock) XXX_DiscardUnknown()

func (*IfBlock) XXX_Marshal

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

func (*IfBlock) XXX_Merge

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

func (*IfBlock) XXX_Size

func (m *IfBlock) XXX_Size() int

func (*IfBlock) XXX_Unmarshal

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

type IfBlockValidationError

type IfBlockValidationError struct {
	// contains filtered or unexported fields
}

IfBlockValidationError is the validation error returned by IfBlock.Validate if the designated constraints aren't met.

func (IfBlockValidationError) Cause

func (e IfBlockValidationError) Cause() error

Cause function returns cause value.

func (IfBlockValidationError) Error

func (e IfBlockValidationError) Error() string

Error satisfies the builtin error interface

func (IfBlockValidationError) ErrorName

func (e IfBlockValidationError) ErrorName() string

ErrorName returns error name.

func (IfBlockValidationError) Field

func (e IfBlockValidationError) Field() string

Field function returns field value.

func (IfBlockValidationError) Key

func (e IfBlockValidationError) Key() bool

Key function returns key value.

func (IfBlockValidationError) Reason

func (e IfBlockValidationError) Reason() string

Reason function returns reason value.

type IfElseBlock

type IfElseBlock struct {
	//+required. First condition to evaluate.
	Case *IfBlock `protobuf:"bytes,1,opt,name=case,proto3" json:"case,omitempty"`
	//+optional. Additional branches to evaluate.
	Other []*IfBlock `protobuf:"bytes,2,rep,name=other,proto3" json:"other,omitempty"`
	//+required.
	//
	// Types that are valid to be assigned to Default:
	//	*IfElseBlock_ElseNode
	//	*IfElseBlock_Error
	Default              isIfElseBlock_Default `protobuf_oneof:"default"`
	XXX_NoUnkeyedLiteral struct{}              `json:"-"`
	XXX_unrecognized     []byte                `json:"-"`
	XXX_sizecache        int32                 `json:"-"`
}

Defines a series of if/else blocks. The first branch whose condition evaluates to true is the one to execute. If no conditions were satisfied, the else_node or the error will execute.

func (*IfElseBlock) Descriptor

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

func (*IfElseBlock) GetCase

func (m *IfElseBlock) GetCase() *IfBlock

func (*IfElseBlock) GetDefault

func (m *IfElseBlock) GetDefault() isIfElseBlock_Default

func (*IfElseBlock) GetElseNode

func (m *IfElseBlock) GetElseNode() *Node

func (*IfElseBlock) GetError

func (m *IfElseBlock) GetError() *Error

func (*IfElseBlock) GetOther

func (m *IfElseBlock) GetOther() []*IfBlock

func (*IfElseBlock) ProtoMessage

func (*IfElseBlock) ProtoMessage()

func (*IfElseBlock) Reset

func (m *IfElseBlock) Reset()

func (*IfElseBlock) String

func (m *IfElseBlock) String() string

func (*IfElseBlock) Validate

func (m *IfElseBlock) Validate() error

Validate checks the field values on IfElseBlock with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*IfElseBlock) XXX_DiscardUnknown

func (m *IfElseBlock) XXX_DiscardUnknown()

func (*IfElseBlock) XXX_Marshal

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

func (*IfElseBlock) XXX_Merge

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

func (*IfElseBlock) XXX_OneofWrappers added in v0.16.1

func (*IfElseBlock) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*IfElseBlock) XXX_Size

func (m *IfElseBlock) XXX_Size() int

func (*IfElseBlock) XXX_Unmarshal

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

type IfElseBlockValidationError

type IfElseBlockValidationError struct {
	// contains filtered or unexported fields
}

IfElseBlockValidationError is the validation error returned by IfElseBlock.Validate if the designated constraints aren't met.

func (IfElseBlockValidationError) Cause

Cause function returns cause value.

func (IfElseBlockValidationError) Error

Error satisfies the builtin error interface

func (IfElseBlockValidationError) ErrorName

func (e IfElseBlockValidationError) ErrorName() string

ErrorName returns error name.

func (IfElseBlockValidationError) Field

Field function returns field value.

func (IfElseBlockValidationError) Key

Key function returns key value.

func (IfElseBlockValidationError) Reason

Reason function returns reason value.

type IfElseBlock_ElseNode

type IfElseBlock_ElseNode struct {
	ElseNode *Node `protobuf:"bytes,3,opt,name=else_node,json=elseNode,proto3,oneof"`
}

type IfElseBlock_Error

type IfElseBlock_Error struct {
	Error *Error `protobuf:"bytes,4,opt,name=error,proto3,oneof"`
}

type K8SObjectMetadata added in v0.18.48

type K8SObjectMetadata struct {
	// Optional labels to add to the pod definition.
	Labels map[string]string `` /* 153-byte string literal not displayed */
	// Optional annotations to add to the pod definition.
	Annotations          map[string]string `` /* 163-byte string literal not displayed */
	XXX_NoUnkeyedLiteral struct{}          `json:"-"`
	XXX_unrecognized     []byte            `json:"-"`
	XXX_sizecache        int32             `json:"-"`
}

Metadata for building a kubernetes object when a task is executed.

func (*K8SObjectMetadata) Descriptor added in v0.18.48

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

func (*K8SObjectMetadata) GetAnnotations added in v0.18.48

func (m *K8SObjectMetadata) GetAnnotations() map[string]string

func (*K8SObjectMetadata) GetLabels added in v0.18.48

func (m *K8SObjectMetadata) GetLabels() map[string]string

func (*K8SObjectMetadata) ProtoMessage added in v0.18.48

func (*K8SObjectMetadata) ProtoMessage()

func (*K8SObjectMetadata) Reset added in v0.18.48

func (m *K8SObjectMetadata) Reset()

func (*K8SObjectMetadata) String added in v0.18.48

func (m *K8SObjectMetadata) String() string

func (*K8SObjectMetadata) Validate added in v0.18.48

func (m *K8SObjectMetadata) Validate() error

Validate checks the field values on K8SObjectMetadata with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*K8SObjectMetadata) XXX_DiscardUnknown added in v0.18.48

func (m *K8SObjectMetadata) XXX_DiscardUnknown()

func (*K8SObjectMetadata) XXX_Marshal added in v0.18.48

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

func (*K8SObjectMetadata) XXX_Merge added in v0.18.48

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

func (*K8SObjectMetadata) XXX_Size added in v0.18.48

func (m *K8SObjectMetadata) XXX_Size() int

func (*K8SObjectMetadata) XXX_Unmarshal added in v0.18.48

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

type K8SObjectMetadataValidationError added in v0.18.48

type K8SObjectMetadataValidationError struct {
	// contains filtered or unexported fields
}

K8SObjectMetadataValidationError is the validation error returned by K8SObjectMetadata.Validate if the designated constraints aren't met.

func (K8SObjectMetadataValidationError) Cause added in v0.18.48

Cause function returns cause value.

func (K8SObjectMetadataValidationError) Error added in v0.18.48

Error satisfies the builtin error interface

func (K8SObjectMetadataValidationError) ErrorName added in v0.18.48

ErrorName returns error name.

func (K8SObjectMetadataValidationError) Field added in v0.18.48

Field function returns field value.

func (K8SObjectMetadataValidationError) Key added in v0.18.48

Key function returns key value.

func (K8SObjectMetadataValidationError) Reason added in v0.18.48

Reason function returns reason value.

type K8SPod added in v0.18.48

type K8SPod struct {
	// Contains additional metadata for building a kubernetes pod.
	Metadata *K8SObjectMetadata `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"`
	// Defines the primary pod spec created when a task is executed.
	// This should be a JSON-marshalled pod spec, which can be defined in
	// - go, using: https://github.com/kubernetes/api/blob/release-1.21/core/v1/types.go#L2936
	// - python: using https://github.com/kubernetes-client/python/blob/release-19.0/kubernetes/client/models/v1_pod_spec.py
	PodSpec              *_struct.Struct `protobuf:"bytes,2,opt,name=pod_spec,json=podSpec,proto3" json:"pod_spec,omitempty"`
	XXX_NoUnkeyedLiteral struct{}        `json:"-"`
	XXX_unrecognized     []byte          `json:"-"`
	XXX_sizecache        int32           `json:"-"`
}

Defines a pod spec and additional pod metadata that is created when a task is executed.

func (*K8SPod) Descriptor added in v0.18.48

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

func (*K8SPod) GetMetadata added in v0.18.48

func (m *K8SPod) GetMetadata() *K8SObjectMetadata

func (*K8SPod) GetPodSpec added in v0.18.48

func (m *K8SPod) GetPodSpec() *_struct.Struct

func (*K8SPod) ProtoMessage added in v0.18.48

func (*K8SPod) ProtoMessage()

func (*K8SPod) Reset added in v0.18.48

func (m *K8SPod) Reset()

func (*K8SPod) String added in v0.18.48

func (m *K8SPod) String() string

func (*K8SPod) Validate added in v0.18.48

func (m *K8SPod) Validate() error

Validate checks the field values on K8SPod with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*K8SPod) XXX_DiscardUnknown added in v0.18.48

func (m *K8SPod) XXX_DiscardUnknown()

func (*K8SPod) XXX_Marshal added in v0.18.48

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

func (*K8SPod) XXX_Merge added in v0.18.48

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

func (*K8SPod) XXX_Size added in v0.18.48

func (m *K8SPod) XXX_Size() int

func (*K8SPod) XXX_Unmarshal added in v0.18.48

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

type K8SPodValidationError added in v0.18.48

type K8SPodValidationError struct {
	// contains filtered or unexported fields
}

K8SPodValidationError is the validation error returned by K8SPod.Validate if the designated constraints aren't met.

func (K8SPodValidationError) Cause added in v0.18.48

func (e K8SPodValidationError) Cause() error

Cause function returns cause value.

func (K8SPodValidationError) Error added in v0.18.48

func (e K8SPodValidationError) Error() string

Error satisfies the builtin error interface

func (K8SPodValidationError) ErrorName added in v0.18.48

func (e K8SPodValidationError) ErrorName() string

ErrorName returns error name.

func (K8SPodValidationError) Field added in v0.18.48

func (e K8SPodValidationError) Field() string

Field function returns field value.

func (K8SPodValidationError) Key added in v0.18.48

func (e K8SPodValidationError) Key() bool

Key function returns key value.

func (K8SPodValidationError) Reason added in v0.18.48

func (e K8SPodValidationError) Reason() string

Reason function returns reason value.

type KeyValuePair

type KeyValuePair struct {
	//required.
	Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	//+optional.
	Value                string   `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

A generic key value pair.

func (*KeyValuePair) Descriptor

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

func (*KeyValuePair) GetKey

func (m *KeyValuePair) GetKey() string

func (*KeyValuePair) GetValue

func (m *KeyValuePair) GetValue() string

func (*KeyValuePair) ProtoMessage

func (*KeyValuePair) ProtoMessage()

func (*KeyValuePair) Reset

func (m *KeyValuePair) Reset()

func (*KeyValuePair) String

func (m *KeyValuePair) String() string

func (*KeyValuePair) Validate

func (m *KeyValuePair) Validate() error

Validate checks the field values on KeyValuePair with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*KeyValuePair) XXX_DiscardUnknown

func (m *KeyValuePair) XXX_DiscardUnknown()

func (*KeyValuePair) XXX_Marshal

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

func (*KeyValuePair) XXX_Merge

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

func (*KeyValuePair) XXX_Size

func (m *KeyValuePair) XXX_Size() int

func (*KeyValuePair) XXX_Unmarshal

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

type KeyValuePairValidationError

type KeyValuePairValidationError struct {
	// contains filtered or unexported fields
}

KeyValuePairValidationError is the validation error returned by KeyValuePair.Validate if the designated constraints aren't met.

func (KeyValuePairValidationError) Cause

Cause function returns cause value.

func (KeyValuePairValidationError) Error

Error satisfies the builtin error interface

func (KeyValuePairValidationError) ErrorName

func (e KeyValuePairValidationError) ErrorName() string

ErrorName returns error name.

func (KeyValuePairValidationError) Field

Field function returns field value.

func (KeyValuePairValidationError) Key

Key function returns key value.

func (KeyValuePairValidationError) Reason

Reason function returns reason value.

type Literal

type Literal struct {
	// Types that are valid to be assigned to Value:
	//	*Literal_Scalar
	//	*Literal_Collection
	//	*Literal_Map
	Value isLiteral_Value `protobuf_oneof:"value"`
	// A hash representing this literal.
	// This is used for caching purposes. For more details refer to RFC 1893
	// (https://github.com/flyteorg/flyte/blob/master/rfc/system/1893-caching-of-offloaded-objects.md)
	Hash                 string   `protobuf:"bytes,4,opt,name=hash,proto3" json:"hash,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

A simple value. This supports any level of nesting (e.g. array of array of array of Blobs) as well as simple primitives.

func (*Literal) Descriptor

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

func (*Literal) GetCollection

func (m *Literal) GetCollection() *LiteralCollection

func (*Literal) GetHash added in v0.23.0

func (m *Literal) GetHash() string

func (*Literal) GetMap

func (m *Literal) GetMap() *LiteralMap

func (*Literal) GetScalar

func (m *Literal) GetScalar() *Scalar

func (*Literal) GetValue

func (m *Literal) GetValue() isLiteral_Value

func (*Literal) ProtoMessage

func (*Literal) ProtoMessage()

func (*Literal) Reset

func (m *Literal) Reset()

func (*Literal) String

func (m *Literal) String() string

func (*Literal) Validate

func (m *Literal) Validate() error

Validate checks the field values on Literal with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*Literal) XXX_DiscardUnknown

func (m *Literal) XXX_DiscardUnknown()

func (*Literal) XXX_Marshal

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

func (*Literal) XXX_Merge

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

func (*Literal) XXX_OneofWrappers added in v0.16.1

func (*Literal) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*Literal) XXX_Size

func (m *Literal) XXX_Size() int

func (*Literal) XXX_Unmarshal

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

type LiteralCollection

type LiteralCollection struct {
	Literals             []*Literal `protobuf:"bytes,1,rep,name=literals,proto3" json:"literals,omitempty"`
	XXX_NoUnkeyedLiteral struct{}   `json:"-"`
	XXX_unrecognized     []byte     `json:"-"`
	XXX_sizecache        int32      `json:"-"`
}

A collection of literals. This is a workaround since oneofs in proto messages cannot contain a repeated field.

func (*LiteralCollection) Descriptor

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

func (*LiteralCollection) GetLiterals

func (m *LiteralCollection) GetLiterals() []*Literal

func (*LiteralCollection) ProtoMessage

func (*LiteralCollection) ProtoMessage()

func (*LiteralCollection) Reset

func (m *LiteralCollection) Reset()

func (*LiteralCollection) String

func (m *LiteralCollection) String() string

func (*LiteralCollection) Validate

func (m *LiteralCollection) Validate() error

Validate checks the field values on LiteralCollection with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*LiteralCollection) XXX_DiscardUnknown

func (m *LiteralCollection) XXX_DiscardUnknown()

func (*LiteralCollection) XXX_Marshal

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

func (*LiteralCollection) XXX_Merge

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

func (*LiteralCollection) XXX_Size

func (m *LiteralCollection) XXX_Size() int

func (*LiteralCollection) XXX_Unmarshal

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

type LiteralCollectionValidationError

type LiteralCollectionValidationError struct {
	// contains filtered or unexported fields
}

LiteralCollectionValidationError is the validation error returned by LiteralCollection.Validate if the designated constraints aren't met.

func (LiteralCollectionValidationError) Cause

Cause function returns cause value.

func (LiteralCollectionValidationError) Error

Error satisfies the builtin error interface

func (LiteralCollectionValidationError) ErrorName

ErrorName returns error name.

func (LiteralCollectionValidationError) Field

Field function returns field value.

func (LiteralCollectionValidationError) Key

Key function returns key value.

func (LiteralCollectionValidationError) Reason

Reason function returns reason value.

type LiteralMap

type LiteralMap struct {
	Literals             map[string]*Literal `` /* 157-byte string literal not displayed */
	XXX_NoUnkeyedLiteral struct{}            `json:"-"`
	XXX_unrecognized     []byte              `json:"-"`
	XXX_sizecache        int32               `json:"-"`
}

A map of literals. This is a workaround since oneofs in proto messages cannot contain a repeated field.

func (*LiteralMap) Descriptor

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

func (*LiteralMap) GetLiterals

func (m *LiteralMap) GetLiterals() map[string]*Literal

func (*LiteralMap) ProtoMessage

func (*LiteralMap) ProtoMessage()

func (*LiteralMap) Reset

func (m *LiteralMap) Reset()

func (*LiteralMap) String

func (m *LiteralMap) String() string

func (*LiteralMap) Validate

func (m *LiteralMap) Validate() error

Validate checks the field values on LiteralMap with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*LiteralMap) XXX_DiscardUnknown

func (m *LiteralMap) XXX_DiscardUnknown()

func (*LiteralMap) XXX_Marshal

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

func (*LiteralMap) XXX_Merge

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

func (*LiteralMap) XXX_Size

func (m *LiteralMap) XXX_Size() int

func (*LiteralMap) XXX_Unmarshal

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

type LiteralMapValidationError

type LiteralMapValidationError struct {
	// contains filtered or unexported fields
}

LiteralMapValidationError is the validation error returned by LiteralMap.Validate if the designated constraints aren't met.

func (LiteralMapValidationError) Cause

func (e LiteralMapValidationError) Cause() error

Cause function returns cause value.

func (LiteralMapValidationError) Error

Error satisfies the builtin error interface

func (LiteralMapValidationError) ErrorName

func (e LiteralMapValidationError) ErrorName() string

ErrorName returns error name.

func (LiteralMapValidationError) Field

Field function returns field value.

func (LiteralMapValidationError) Key

Key function returns key value.

func (LiteralMapValidationError) Reason

func (e LiteralMapValidationError) Reason() string

Reason function returns reason value.

type LiteralType

type LiteralType struct {
	// Types that are valid to be assigned to Type:
	//	*LiteralType_Simple
	//	*LiteralType_Schema
	//	*LiteralType_CollectionType
	//	*LiteralType_MapValueType
	//	*LiteralType_Blob
	//	*LiteralType_EnumType
	//	*LiteralType_StructuredDatasetType
	//	*LiteralType_UnionType
	Type isLiteralType_Type `protobuf_oneof:"type"`
	// This field contains type metadata that is descriptive of the type, but is NOT considered in type-checking.  This might be used by
	// consumers to identify special behavior or display extended information for the type.
	Metadata *_struct.Struct `protobuf:"bytes,6,opt,name=metadata,proto3" json:"metadata,omitempty"`
	// This field contains arbitrary data that might have special semantic
	// meaning for the client but does not effect internal flyte behavior.
	Annotation *TypeAnnotation `protobuf:"bytes,9,opt,name=annotation,proto3" json:"annotation,omitempty"`
	// Hints to improve type matching.
	Structure            *TypeStructure `protobuf:"bytes,11,opt,name=structure,proto3" json:"structure,omitempty"`
	XXX_NoUnkeyedLiteral struct{}       `json:"-"`
	XXX_unrecognized     []byte         `json:"-"`
	XXX_sizecache        int32          `json:"-"`
}

Defines a strong type to allow type checking between interfaces.

func (*LiteralType) Descriptor

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

func (*LiteralType) GetAnnotation added in v0.22.0

func (m *LiteralType) GetAnnotation() *TypeAnnotation

func (*LiteralType) GetBlob

func (m *LiteralType) GetBlob() *BlobType

func (*LiteralType) GetCollectionType

func (m *LiteralType) GetCollectionType() *LiteralType

func (*LiteralType) GetEnumType added in v0.19.0

func (m *LiteralType) GetEnumType() *EnumType

func (*LiteralType) GetMapValueType

func (m *LiteralType) GetMapValueType() *LiteralType

func (*LiteralType) GetMetadata

func (m *LiteralType) GetMetadata() *_struct.Struct

func (*LiteralType) GetSchema

func (m *LiteralType) GetSchema() *SchemaType

func (*LiteralType) GetSimple

func (m *LiteralType) GetSimple() SimpleType

func (*LiteralType) GetStructure added in v0.24.0

func (m *LiteralType) GetStructure() *TypeStructure

func (*LiteralType) GetStructuredDatasetType added in v0.21.17

func (m *LiteralType) GetStructuredDatasetType() *StructuredDatasetType

func (*LiteralType) GetType

func (m *LiteralType) GetType() isLiteralType_Type

func (*LiteralType) GetUnionType added in v0.24.0

func (m *LiteralType) GetUnionType() *UnionType

func (*LiteralType) ProtoMessage

func (*LiteralType) ProtoMessage()

func (*LiteralType) Reset

func (m *LiteralType) Reset()

func (*LiteralType) String

func (m *LiteralType) String() string

func (*LiteralType) Validate

func (m *LiteralType) Validate() error

Validate checks the field values on LiteralType with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*LiteralType) XXX_DiscardUnknown

func (m *LiteralType) XXX_DiscardUnknown()

func (*LiteralType) XXX_Marshal

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

func (*LiteralType) XXX_Merge

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

func (*LiteralType) XXX_OneofWrappers added in v0.16.1

func (*LiteralType) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*LiteralType) XXX_Size

func (m *LiteralType) XXX_Size() int

func (*LiteralType) XXX_Unmarshal

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

type LiteralTypeValidationError

type LiteralTypeValidationError struct {
	// contains filtered or unexported fields
}

LiteralTypeValidationError is the validation error returned by LiteralType.Validate if the designated constraints aren't met.

func (LiteralTypeValidationError) Cause

Cause function returns cause value.

func (LiteralTypeValidationError) Error

Error satisfies the builtin error interface

func (LiteralTypeValidationError) ErrorName

func (e LiteralTypeValidationError) ErrorName() string

ErrorName returns error name.

func (LiteralTypeValidationError) Field

Field function returns field value.

func (LiteralTypeValidationError) Key

Key function returns key value.

func (LiteralTypeValidationError) Reason

Reason function returns reason value.

type LiteralType_Blob

type LiteralType_Blob struct {
	Blob *BlobType `protobuf:"bytes,5,opt,name=blob,proto3,oneof"`
}

type LiteralType_CollectionType

type LiteralType_CollectionType struct {
	CollectionType *LiteralType `protobuf:"bytes,3,opt,name=collection_type,json=collectionType,proto3,oneof"`
}

type LiteralType_EnumType added in v0.19.0

type LiteralType_EnumType struct {
	EnumType *EnumType `protobuf:"bytes,7,opt,name=enum_type,json=enumType,proto3,oneof"`
}

type LiteralType_MapValueType

type LiteralType_MapValueType struct {
	MapValueType *LiteralType `protobuf:"bytes,4,opt,name=map_value_type,json=mapValueType,proto3,oneof"`
}

type LiteralType_Schema

type LiteralType_Schema struct {
	Schema *SchemaType `protobuf:"bytes,2,opt,name=schema,proto3,oneof"`
}

type LiteralType_Simple

type LiteralType_Simple struct {
	Simple SimpleType `protobuf:"varint,1,opt,name=simple,proto3,enum=flyteidl.core.SimpleType,oneof"`
}

type LiteralType_StructuredDatasetType added in v0.21.17

type LiteralType_StructuredDatasetType struct {
	StructuredDatasetType *StructuredDatasetType `protobuf:"bytes,8,opt,name=structured_dataset_type,json=structuredDatasetType,proto3,oneof"`
}

type LiteralType_UnionType added in v0.24.0

type LiteralType_UnionType struct {
	UnionType *UnionType `protobuf:"bytes,10,opt,name=union_type,json=unionType,proto3,oneof"`
}

type LiteralValidationError

type LiteralValidationError struct {
	// contains filtered or unexported fields
}

LiteralValidationError is the validation error returned by Literal.Validate if the designated constraints aren't met.

func (LiteralValidationError) Cause

func (e LiteralValidationError) Cause() error

Cause function returns cause value.

func (LiteralValidationError) Error

func (e LiteralValidationError) Error() string

Error satisfies the builtin error interface

func (LiteralValidationError) ErrorName

func (e LiteralValidationError) ErrorName() string

ErrorName returns error name.

func (LiteralValidationError) Field

func (e LiteralValidationError) Field() string

Field function returns field value.

func (LiteralValidationError) Key

func (e LiteralValidationError) Key() bool

Key function returns key value.

func (LiteralValidationError) Reason

func (e LiteralValidationError) Reason() string

Reason function returns reason value.

type Literal_Collection

type Literal_Collection struct {
	Collection *LiteralCollection `protobuf:"bytes,2,opt,name=collection,proto3,oneof"`
}

type Literal_Map

type Literal_Map struct {
	Map *LiteralMap `protobuf:"bytes,3,opt,name=map,proto3,oneof"`
}

type Literal_Scalar

type Literal_Scalar struct {
	Scalar *Scalar `protobuf:"bytes,1,opt,name=scalar,proto3,oneof"`
}

type Node

type Node struct {
	// A workflow-level unique identifier that identifies this node in the workflow. 'inputs' and 'outputs' are reserved
	// node ids that cannot be used by other nodes.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// Extra metadata about the node.
	Metadata *NodeMetadata `protobuf:"bytes,2,opt,name=metadata,proto3" json:"metadata,omitempty"`
	// Specifies how to bind the underlying interface's inputs. All required inputs specified in the underlying interface
	// must be fulfilled.
	Inputs []*Binding `protobuf:"bytes,3,rep,name=inputs,proto3" json:"inputs,omitempty"`
	//+optional Specifies execution dependency for this node ensuring it will only get scheduled to run after all its
	// upstream nodes have completed. This node will have an implicit dependency on any node that appears in inputs
	// field.
	UpstreamNodeIds []string `protobuf:"bytes,4,rep,name=upstream_node_ids,json=upstreamNodeIds,proto3" json:"upstream_node_ids,omitempty"`
	//+optional. A node can define aliases for a subset of its outputs. This is particularly useful if different nodes
	// need to conform to the same interface (e.g. all branches in a branch node). Downstream nodes must refer to this
	// nodes outputs using the alias if one's specified.
	OutputAliases []*Alias `protobuf:"bytes,5,rep,name=output_aliases,json=outputAliases,proto3" json:"output_aliases,omitempty"`
	// Information about the target to execute in this node.
	//
	// Types that are valid to be assigned to Target:
	//	*Node_TaskNode
	//	*Node_WorkflowNode
	//	*Node_BranchNode
	Target               isNode_Target `protobuf_oneof:"target"`
	XXX_NoUnkeyedLiteral struct{}      `json:"-"`
	XXX_unrecognized     []byte        `json:"-"`
	XXX_sizecache        int32         `json:"-"`
}

A Workflow graph Node. One unit of execution in the graph. Each node can be linked to a Task, a Workflow or a branch node.

func (*Node) Descriptor

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

func (*Node) GetBranchNode

func (m *Node) GetBranchNode() *BranchNode

func (*Node) GetId

func (m *Node) GetId() string

func (*Node) GetInputs

func (m *Node) GetInputs() []*Binding

func (*Node) GetMetadata

func (m *Node) GetMetadata() *NodeMetadata

func (*Node) GetOutputAliases

func (m *Node) GetOutputAliases() []*Alias

func (*Node) GetTarget

func (m *Node) GetTarget() isNode_Target

func (*Node) GetTaskNode

func (m *Node) GetTaskNode() *TaskNode

func (*Node) GetUpstreamNodeIds

func (m *Node) GetUpstreamNodeIds() []string

func (*Node) GetWorkflowNode

func (m *Node) GetWorkflowNode() *WorkflowNode

func (*Node) ProtoMessage

func (*Node) ProtoMessage()

func (*Node) Reset

func (m *Node) Reset()

func (*Node) String

func (m *Node) String() string

func (*Node) Validate

func (m *Node) Validate() error

Validate checks the field values on Node with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*Node) XXX_DiscardUnknown

func (m *Node) XXX_DiscardUnknown()

func (*Node) XXX_Marshal

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

func (*Node) XXX_Merge

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

func (*Node) XXX_OneofWrappers added in v0.16.1

func (*Node) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*Node) XXX_Size

func (m *Node) XXX_Size() int

func (*Node) XXX_Unmarshal

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

type NodeExecution

type NodeExecution struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Indicates various phases of Node Execution

func (*NodeExecution) Descriptor

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

func (*NodeExecution) ProtoMessage

func (*NodeExecution) ProtoMessage()

func (*NodeExecution) Reset

func (m *NodeExecution) Reset()

func (*NodeExecution) String

func (m *NodeExecution) String() string

func (*NodeExecution) Validate

func (m *NodeExecution) Validate() error

Validate checks the field values on NodeExecution with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*NodeExecution) XXX_DiscardUnknown

func (m *NodeExecution) XXX_DiscardUnknown()

func (*NodeExecution) XXX_Marshal

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

func (*NodeExecution) XXX_Merge

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

func (*NodeExecution) XXX_Size

func (m *NodeExecution) XXX_Size() int

func (*NodeExecution) XXX_Unmarshal

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

type NodeExecutionIdentifier

type NodeExecutionIdentifier struct {
	NodeId               string                       `protobuf:"bytes,1,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty"`
	ExecutionId          *WorkflowExecutionIdentifier `protobuf:"bytes,2,opt,name=execution_id,json=executionId,proto3" json:"execution_id,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                     `json:"-"`
	XXX_unrecognized     []byte                       `json:"-"`
	XXX_sizecache        int32                        `json:"-"`
}

Encapsulation of fields that identify a Flyte node execution entity.

func (*NodeExecutionIdentifier) Descriptor

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

func (*NodeExecutionIdentifier) GetExecutionId

func (*NodeExecutionIdentifier) GetNodeId

func (m *NodeExecutionIdentifier) GetNodeId() string

func (*NodeExecutionIdentifier) ProtoMessage

func (*NodeExecutionIdentifier) ProtoMessage()

func (*NodeExecutionIdentifier) Reset

func (m *NodeExecutionIdentifier) Reset()

func (*NodeExecutionIdentifier) String

func (m *NodeExecutionIdentifier) String() string

func (*NodeExecutionIdentifier) Validate

func (m *NodeExecutionIdentifier) Validate() error

Validate checks the field values on NodeExecutionIdentifier with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*NodeExecutionIdentifier) XXX_DiscardUnknown

func (m *NodeExecutionIdentifier) XXX_DiscardUnknown()

func (*NodeExecutionIdentifier) XXX_Marshal

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

func (*NodeExecutionIdentifier) XXX_Merge

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

func (*NodeExecutionIdentifier) XXX_Size

func (m *NodeExecutionIdentifier) XXX_Size() int

func (*NodeExecutionIdentifier) XXX_Unmarshal

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

type NodeExecutionIdentifierValidationError

type NodeExecutionIdentifierValidationError struct {
	// contains filtered or unexported fields
}

NodeExecutionIdentifierValidationError is the validation error returned by NodeExecutionIdentifier.Validate if the designated constraints aren't met.

func (NodeExecutionIdentifierValidationError) Cause

Cause function returns cause value.

func (NodeExecutionIdentifierValidationError) Error

Error satisfies the builtin error interface

func (NodeExecutionIdentifierValidationError) ErrorName

ErrorName returns error name.

func (NodeExecutionIdentifierValidationError) Field

Field function returns field value.

func (NodeExecutionIdentifierValidationError) Key

Key function returns key value.

func (NodeExecutionIdentifierValidationError) Reason

Reason function returns reason value.

type NodeExecutionValidationError

type NodeExecutionValidationError struct {
	// contains filtered or unexported fields
}

NodeExecutionValidationError is the validation error returned by NodeExecution.Validate if the designated constraints aren't met.

func (NodeExecutionValidationError) Cause

Cause function returns cause value.

func (NodeExecutionValidationError) Error

Error satisfies the builtin error interface

func (NodeExecutionValidationError) ErrorName

func (e NodeExecutionValidationError) ErrorName() string

ErrorName returns error name.

func (NodeExecutionValidationError) Field

Field function returns field value.

func (NodeExecutionValidationError) Key

Key function returns key value.

func (NodeExecutionValidationError) Reason

Reason function returns reason value.

type NodeExecution_Phase

type NodeExecution_Phase int32
const (
	NodeExecution_UNDEFINED       NodeExecution_Phase = 0
	NodeExecution_QUEUED          NodeExecution_Phase = 1
	NodeExecution_RUNNING         NodeExecution_Phase = 2
	NodeExecution_SUCCEEDED       NodeExecution_Phase = 3
	NodeExecution_FAILING         NodeExecution_Phase = 4
	NodeExecution_FAILED          NodeExecution_Phase = 5
	NodeExecution_ABORTED         NodeExecution_Phase = 6
	NodeExecution_SKIPPED         NodeExecution_Phase = 7
	NodeExecution_TIMED_OUT       NodeExecution_Phase = 8
	NodeExecution_DYNAMIC_RUNNING NodeExecution_Phase = 9
	NodeExecution_RECOVERED       NodeExecution_Phase = 10
)

func (NodeExecution_Phase) EnumDescriptor

func (NodeExecution_Phase) EnumDescriptor() ([]byte, []int)

func (NodeExecution_Phase) String

func (x NodeExecution_Phase) String() string

type NodeMetadata

type NodeMetadata struct {
	// A friendly name for the Node
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// The overall timeout of a task.
	Timeout *duration.Duration `protobuf:"bytes,4,opt,name=timeout,proto3" json:"timeout,omitempty"`
	// Number of retries per task.
	Retries *RetryStrategy `protobuf:"bytes,5,opt,name=retries,proto3" json:"retries,omitempty"`
	// Identify whether node is interruptible
	//
	// Types that are valid to be assigned to InterruptibleValue:
	//	*NodeMetadata_Interruptible
	InterruptibleValue   isNodeMetadata_InterruptibleValue `protobuf_oneof:"interruptible_value"`
	XXX_NoUnkeyedLiteral struct{}                          `json:"-"`
	XXX_unrecognized     []byte                            `json:"-"`
	XXX_sizecache        int32                             `json:"-"`
}

Defines extra information about the Node.

func (*NodeMetadata) Descriptor

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

func (*NodeMetadata) GetInterruptible added in v0.18.15

func (m *NodeMetadata) GetInterruptible() bool

func (*NodeMetadata) GetInterruptibleValue added in v0.18.15

func (m *NodeMetadata) GetInterruptibleValue() isNodeMetadata_InterruptibleValue

func (*NodeMetadata) GetName

func (m *NodeMetadata) GetName() string

func (*NodeMetadata) GetRetries

func (m *NodeMetadata) GetRetries() *RetryStrategy

func (*NodeMetadata) GetTimeout

func (m *NodeMetadata) GetTimeout() *duration.Duration

func (*NodeMetadata) ProtoMessage

func (*NodeMetadata) ProtoMessage()

func (*NodeMetadata) Reset

func (m *NodeMetadata) Reset()

func (*NodeMetadata) String

func (m *NodeMetadata) String() string

func (*NodeMetadata) Validate

func (m *NodeMetadata) Validate() error

Validate checks the field values on NodeMetadata with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*NodeMetadata) XXX_DiscardUnknown

func (m *NodeMetadata) XXX_DiscardUnknown()

func (*NodeMetadata) XXX_Marshal

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

func (*NodeMetadata) XXX_Merge

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

func (*NodeMetadata) XXX_OneofWrappers added in v0.18.15

func (*NodeMetadata) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*NodeMetadata) XXX_Size

func (m *NodeMetadata) XXX_Size() int

func (*NodeMetadata) XXX_Unmarshal

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

type NodeMetadataValidationError

type NodeMetadataValidationError struct {
	// contains filtered or unexported fields
}

NodeMetadataValidationError is the validation error returned by NodeMetadata.Validate if the designated constraints aren't met.

func (NodeMetadataValidationError) Cause

Cause function returns cause value.

func (NodeMetadataValidationError) Error

Error satisfies the builtin error interface

func (NodeMetadataValidationError) ErrorName

func (e NodeMetadataValidationError) ErrorName() string

ErrorName returns error name.

func (NodeMetadataValidationError) Field

Field function returns field value.

func (NodeMetadataValidationError) Key

Key function returns key value.

func (NodeMetadataValidationError) Reason

Reason function returns reason value.

type NodeMetadata_Interruptible added in v0.18.15

type NodeMetadata_Interruptible struct {
	Interruptible bool `protobuf:"varint,6,opt,name=interruptible,proto3,oneof"`
}

type NodeValidationError

type NodeValidationError struct {
	// contains filtered or unexported fields
}

NodeValidationError is the validation error returned by Node.Validate if the designated constraints aren't met.

func (NodeValidationError) Cause

func (e NodeValidationError) Cause() error

Cause function returns cause value.

func (NodeValidationError) Error

func (e NodeValidationError) Error() string

Error satisfies the builtin error interface

func (NodeValidationError) ErrorName

func (e NodeValidationError) ErrorName() string

ErrorName returns error name.

func (NodeValidationError) Field

func (e NodeValidationError) Field() string

Field function returns field value.

func (NodeValidationError) Key

func (e NodeValidationError) Key() bool

Key function returns key value.

func (NodeValidationError) Reason

func (e NodeValidationError) Reason() string

Reason function returns reason value.

type Node_BranchNode

type Node_BranchNode struct {
	BranchNode *BranchNode `protobuf:"bytes,8,opt,name=branch_node,json=branchNode,proto3,oneof"`
}

type Node_TaskNode

type Node_TaskNode struct {
	TaskNode *TaskNode `protobuf:"bytes,6,opt,name=task_node,json=taskNode,proto3,oneof"`
}

type Node_WorkflowNode

type Node_WorkflowNode struct {
	WorkflowNode *WorkflowNode `protobuf:"bytes,7,opt,name=workflow_node,json=workflowNode,proto3,oneof"`
}

type OAuth2Client added in v0.18.16

type OAuth2Client struct {
	// client_id is the public id for the client to use. The system will not perform any pre-auth validation that the
	// secret requested matches the client_id indicated here.
	// +required
	ClientId string `protobuf:"bytes,1,opt,name=client_id,json=clientId,proto3" json:"client_id,omitempty"`
	// client_secret is a reference to the secret used to authenticate the OAuth2 client.
	// +required
	ClientSecret         *Secret  `protobuf:"bytes,2,opt,name=client_secret,json=clientSecret,proto3" json:"client_secret,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

OAuth2Client encapsulates OAuth2 Client Credentials to be used when making calls on behalf of that task.

func (*OAuth2Client) Descriptor added in v0.18.16

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

func (*OAuth2Client) GetClientId added in v0.18.16

func (m *OAuth2Client) GetClientId() string

func (*OAuth2Client) GetClientSecret added in v0.18.16

func (m *OAuth2Client) GetClientSecret() *Secret

func (*OAuth2Client) ProtoMessage added in v0.18.16

func (*OAuth2Client) ProtoMessage()

func (*OAuth2Client) Reset added in v0.18.16

func (m *OAuth2Client) Reset()

func (*OAuth2Client) String added in v0.18.16

func (m *OAuth2Client) String() string

func (*OAuth2Client) Validate added in v0.18.16

func (m *OAuth2Client) Validate() error

Validate checks the field values on OAuth2Client with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*OAuth2Client) XXX_DiscardUnknown added in v0.18.16

func (m *OAuth2Client) XXX_DiscardUnknown()

func (*OAuth2Client) XXX_Marshal added in v0.18.16

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

func (*OAuth2Client) XXX_Merge added in v0.18.16

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

func (*OAuth2Client) XXX_Size added in v0.18.16

func (m *OAuth2Client) XXX_Size() int

func (*OAuth2Client) XXX_Unmarshal added in v0.18.16

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

type OAuth2ClientValidationError added in v0.18.16

type OAuth2ClientValidationError struct {
	// contains filtered or unexported fields
}

OAuth2ClientValidationError is the validation error returned by OAuth2Client.Validate if the designated constraints aren't met.

func (OAuth2ClientValidationError) Cause added in v0.18.16

Cause function returns cause value.

func (OAuth2ClientValidationError) Error added in v0.18.16

Error satisfies the builtin error interface

func (OAuth2ClientValidationError) ErrorName added in v0.18.16

func (e OAuth2ClientValidationError) ErrorName() string

ErrorName returns error name.

func (OAuth2ClientValidationError) Field added in v0.18.16

Field function returns field value.

func (OAuth2ClientValidationError) Key added in v0.18.16

Key function returns key value.

func (OAuth2ClientValidationError) Reason added in v0.18.16

Reason function returns reason value.

type OAuth2TokenRequest added in v0.18.16

type OAuth2TokenRequest struct {
	// name indicates a unique id for the token request within this task token requests. It'll be used as a suffix for
	// environment variables and as a filename for mounting tokens as files.
	// +required
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// type indicates the type of the request to make. Defaults to CLIENT_CREDENTIALS.
	// +required
	Type OAuth2TokenRequest_Type `protobuf:"varint,2,opt,name=type,proto3,enum=flyteidl.core.OAuth2TokenRequest_Type" json:"type,omitempty"`
	// client references the client_id/secret to use to request the OAuth2 token.
	// +required
	Client *OAuth2Client `protobuf:"bytes,3,opt,name=client,proto3" json:"client,omitempty"`
	// idp_discovery_endpoint references the discovery endpoint used to retrieve token endpoint and other related
	// information.
	// +optional
	IdpDiscoveryEndpoint string `protobuf:"bytes,4,opt,name=idp_discovery_endpoint,json=idpDiscoveryEndpoint,proto3" json:"idp_discovery_endpoint,omitempty"`
	// token_endpoint references the token issuance endpoint. If idp_discovery_endpoint is not provided, this parameter is
	// mandatory.
	// +optional
	TokenEndpoint        string   `protobuf:"bytes,5,opt,name=token_endpoint,json=tokenEndpoint,proto3" json:"token_endpoint,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

OAuth2TokenRequest encapsulates information needed to request an OAuth2 token. FLYTE_TOKENS_ENV_PREFIX will be passed to indicate the prefix of the environment variables that will be present if tokens are passed through environment variables. FLYTE_TOKENS_PATH_PREFIX will be passed to indicate the prefix of the path where secrets will be mounted if tokens are passed through file mounts.

func (*OAuth2TokenRequest) Descriptor added in v0.18.16

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

func (*OAuth2TokenRequest) GetClient added in v0.18.16

func (m *OAuth2TokenRequest) GetClient() *OAuth2Client

func (*OAuth2TokenRequest) GetIdpDiscoveryEndpoint added in v0.18.16

func (m *OAuth2TokenRequest) GetIdpDiscoveryEndpoint() string

func (*OAuth2TokenRequest) GetName added in v0.18.16

func (m *OAuth2TokenRequest) GetName() string

func (*OAuth2TokenRequest) GetTokenEndpoint added in v0.18.16

func (m *OAuth2TokenRequest) GetTokenEndpoint() string

func (*OAuth2TokenRequest) GetType added in v0.18.16

func (*OAuth2TokenRequest) ProtoMessage added in v0.18.16

func (*OAuth2TokenRequest) ProtoMessage()

func (*OAuth2TokenRequest) Reset added in v0.18.16

func (m *OAuth2TokenRequest) Reset()

func (*OAuth2TokenRequest) String added in v0.18.16

func (m *OAuth2TokenRequest) String() string

func (*OAuth2TokenRequest) Validate added in v0.18.16

func (m *OAuth2TokenRequest) Validate() error

Validate checks the field values on OAuth2TokenRequest with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*OAuth2TokenRequest) XXX_DiscardUnknown added in v0.18.16

func (m *OAuth2TokenRequest) XXX_DiscardUnknown()

func (*OAuth2TokenRequest) XXX_Marshal added in v0.18.16

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

func (*OAuth2TokenRequest) XXX_Merge added in v0.18.16

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

func (*OAuth2TokenRequest) XXX_Size added in v0.18.16

func (m *OAuth2TokenRequest) XXX_Size() int

func (*OAuth2TokenRequest) XXX_Unmarshal added in v0.18.16

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

type OAuth2TokenRequestValidationError added in v0.18.16

type OAuth2TokenRequestValidationError struct {
	// contains filtered or unexported fields
}

OAuth2TokenRequestValidationError is the validation error returned by OAuth2TokenRequest.Validate if the designated constraints aren't met.

func (OAuth2TokenRequestValidationError) Cause added in v0.18.16

Cause function returns cause value.

func (OAuth2TokenRequestValidationError) Error added in v0.18.16

Error satisfies the builtin error interface

func (OAuth2TokenRequestValidationError) ErrorName added in v0.18.16

ErrorName returns error name.

func (OAuth2TokenRequestValidationError) Field added in v0.18.16

Field function returns field value.

func (OAuth2TokenRequestValidationError) Key added in v0.18.16

Key function returns key value.

func (OAuth2TokenRequestValidationError) Reason added in v0.18.16

Reason function returns reason value.

type OAuth2TokenRequest_Type added in v0.18.16

type OAuth2TokenRequest_Type int32

Type of the token requested.

const (
	// CLIENT_CREDENTIALS indicates a 2-legged OAuth token requested using client credentials.
	OAuth2TokenRequest_CLIENT_CREDENTIALS OAuth2TokenRequest_Type = 0
)

func (OAuth2TokenRequest_Type) EnumDescriptor added in v0.18.16

func (OAuth2TokenRequest_Type) EnumDescriptor() ([]byte, []int)

func (OAuth2TokenRequest_Type) String added in v0.18.16

func (x OAuth2TokenRequest_Type) String() string

type Operand

type Operand struct {
	// Types that are valid to be assigned to Val:
	//	*Operand_Primitive
	//	*Operand_Var
	Val                  isOperand_Val `protobuf_oneof:"val"`
	XXX_NoUnkeyedLiteral struct{}      `json:"-"`
	XXX_unrecognized     []byte        `json:"-"`
	XXX_sizecache        int32         `json:"-"`
}

Defines an operand to a comparison expression.

func (*Operand) Descriptor

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

func (*Operand) GetPrimitive

func (m *Operand) GetPrimitive() *Primitive

func (*Operand) GetVal

func (m *Operand) GetVal() isOperand_Val

func (*Operand) GetVar

func (m *Operand) GetVar() string

func (*Operand) ProtoMessage

func (*Operand) ProtoMessage()

func (*Operand) Reset

func (m *Operand) Reset()

func (*Operand) String

func (m *Operand) String() string

func (*Operand) Validate

func (m *Operand) Validate() error

Validate checks the field values on Operand with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*Operand) XXX_DiscardUnknown

func (m *Operand) XXX_DiscardUnknown()

func (*Operand) XXX_Marshal

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

func (*Operand) XXX_Merge

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

func (*Operand) XXX_OneofWrappers added in v0.16.1

func (*Operand) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*Operand) XXX_Size

func (m *Operand) XXX_Size() int

func (*Operand) XXX_Unmarshal

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

type OperandValidationError

type OperandValidationError struct {
	// contains filtered or unexported fields
}

OperandValidationError is the validation error returned by Operand.Validate if the designated constraints aren't met.

func (OperandValidationError) Cause

func (e OperandValidationError) Cause() error

Cause function returns cause value.

func (OperandValidationError) Error

func (e OperandValidationError) Error() string

Error satisfies the builtin error interface

func (OperandValidationError) ErrorName

func (e OperandValidationError) ErrorName() string

ErrorName returns error name.

func (OperandValidationError) Field

func (e OperandValidationError) Field() string

Field function returns field value.

func (OperandValidationError) Key

func (e OperandValidationError) Key() bool

Key function returns key value.

func (OperandValidationError) Reason

func (e OperandValidationError) Reason() string

Reason function returns reason value.

type Operand_Primitive

type Operand_Primitive struct {
	Primitive *Primitive `protobuf:"bytes,1,opt,name=primitive,proto3,oneof"`
}

type Operand_Var

type Operand_Var struct {
	Var string `protobuf:"bytes,2,opt,name=var,proto3,oneof"`
}

type OutputReference

type OutputReference struct {
	// Node id must exist at the graph layer.
	NodeId string `protobuf:"bytes,1,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty"`
	// Variable name must refer to an output variable for the node.
	Var                  string   `protobuf:"bytes,2,opt,name=var,proto3" json:"var,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

A reference to an output produced by a node. The type can be retrieved -and validated- from the underlying interface of the node.

func (*OutputReference) Descriptor

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

func (*OutputReference) GetNodeId

func (m *OutputReference) GetNodeId() string

func (*OutputReference) GetVar

func (m *OutputReference) GetVar() string

func (*OutputReference) ProtoMessage

func (*OutputReference) ProtoMessage()

func (*OutputReference) Reset

func (m *OutputReference) Reset()

func (*OutputReference) String

func (m *OutputReference) String() string

func (*OutputReference) Validate

func (m *OutputReference) Validate() error

Validate checks the field values on OutputReference with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*OutputReference) XXX_DiscardUnknown

func (m *OutputReference) XXX_DiscardUnknown()

func (*OutputReference) XXX_Marshal

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

func (*OutputReference) XXX_Merge

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

func (*OutputReference) XXX_Size

func (m *OutputReference) XXX_Size() int

func (*OutputReference) XXX_Unmarshal

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

type OutputReferenceValidationError

type OutputReferenceValidationError struct {
	// contains filtered or unexported fields
}

OutputReferenceValidationError is the validation error returned by OutputReference.Validate if the designated constraints aren't met.

func (OutputReferenceValidationError) Cause

Cause function returns cause value.

func (OutputReferenceValidationError) Error

Error satisfies the builtin error interface

func (OutputReferenceValidationError) ErrorName

func (e OutputReferenceValidationError) ErrorName() string

ErrorName returns error name.

func (OutputReferenceValidationError) Field

Field function returns field value.

func (OutputReferenceValidationError) Key

Key function returns key value.

func (OutputReferenceValidationError) Reason

Reason function returns reason value.

type Parameter

type Parameter struct {
	//+required Variable. Defines the type of the variable backing this parameter.
	Var *Variable `protobuf:"bytes,1,opt,name=var,proto3" json:"var,omitempty"`
	//+optional
	//
	// Types that are valid to be assigned to Behavior:
	//	*Parameter_Default
	//	*Parameter_Required
	Behavior             isParameter_Behavior `protobuf_oneof:"behavior"`
	XXX_NoUnkeyedLiteral struct{}             `json:"-"`
	XXX_unrecognized     []byte               `json:"-"`
	XXX_sizecache        int32                `json:"-"`
}

A parameter is used as input to a launch plan and has the special ability to have a default value or mark itself as required.

func (*Parameter) Descriptor

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

func (*Parameter) GetBehavior

func (m *Parameter) GetBehavior() isParameter_Behavior

func (*Parameter) GetDefault

func (m *Parameter) GetDefault() *Literal

func (*Parameter) GetRequired

func (m *Parameter) GetRequired() bool

func (*Parameter) GetVar

func (m *Parameter) GetVar() *Variable

func (*Parameter) ProtoMessage

func (*Parameter) ProtoMessage()

func (*Parameter) Reset

func (m *Parameter) Reset()

func (*Parameter) String

func (m *Parameter) String() string

func (*Parameter) Validate

func (m *Parameter) Validate() error

Validate checks the field values on Parameter with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

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_OneofWrappers added in v0.16.1

func (*Parameter) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*Parameter) XXX_Size

func (m *Parameter) XXX_Size() int

func (*Parameter) XXX_Unmarshal

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

type ParameterMap

type ParameterMap struct {
	// Defines a map of parameter names to parameters.
	Parameters           map[string]*Parameter `` /* 161-byte string literal not displayed */
	XXX_NoUnkeyedLiteral struct{}              `json:"-"`
	XXX_unrecognized     []byte                `json:"-"`
	XXX_sizecache        int32                 `json:"-"`
}

A map of Parameters.

func (*ParameterMap) Descriptor

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

func (*ParameterMap) GetParameters

func (m *ParameterMap) GetParameters() map[string]*Parameter

func (*ParameterMap) ProtoMessage

func (*ParameterMap) ProtoMessage()

func (*ParameterMap) Reset

func (m *ParameterMap) Reset()

func (*ParameterMap) String

func (m *ParameterMap) String() string

func (*ParameterMap) Validate

func (m *ParameterMap) Validate() error

Validate checks the field values on ParameterMap with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*ParameterMap) XXX_DiscardUnknown

func (m *ParameterMap) XXX_DiscardUnknown()

func (*ParameterMap) XXX_Marshal

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

func (*ParameterMap) XXX_Merge

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

func (*ParameterMap) XXX_Size

func (m *ParameterMap) XXX_Size() int

func (*ParameterMap) XXX_Unmarshal

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

type ParameterMapValidationError

type ParameterMapValidationError struct {
	// contains filtered or unexported fields
}

ParameterMapValidationError is the validation error returned by ParameterMap.Validate if the designated constraints aren't met.

func (ParameterMapValidationError) Cause

Cause function returns cause value.

func (ParameterMapValidationError) Error

Error satisfies the builtin error interface

func (ParameterMapValidationError) ErrorName

func (e ParameterMapValidationError) ErrorName() string

ErrorName returns error name.

func (ParameterMapValidationError) Field

Field function returns field value.

func (ParameterMapValidationError) Key

Key function returns key value.

func (ParameterMapValidationError) Reason

Reason function returns reason value.

type ParameterValidationError

type ParameterValidationError struct {
	// contains filtered or unexported fields
}

ParameterValidationError is the validation error returned by Parameter.Validate if the designated constraints aren't met.

func (ParameterValidationError) Cause

func (e ParameterValidationError) Cause() error

Cause function returns cause value.

func (ParameterValidationError) Error

func (e ParameterValidationError) Error() string

Error satisfies the builtin error interface

func (ParameterValidationError) ErrorName

func (e ParameterValidationError) ErrorName() string

ErrorName returns error name.

func (ParameterValidationError) Field

func (e ParameterValidationError) Field() string

Field function returns field value.

func (ParameterValidationError) Key

Key function returns key value.

func (ParameterValidationError) Reason

func (e ParameterValidationError) Reason() string

Reason function returns reason value.

type Parameter_Default

type Parameter_Default struct {
	Default *Literal `protobuf:"bytes,2,opt,name=default,proto3,oneof"`
}

type Parameter_Required

type Parameter_Required struct {
	Required bool `protobuf:"varint,3,opt,name=required,proto3,oneof"`
}

type Primitive

type Primitive struct {
	// Defines one of simple primitive types. These types will get translated into different programming languages as
	// described in https://developers.google.com/protocol-buffers/docs/proto#scalar.
	//
	// Types that are valid to be assigned to Value:
	//	*Primitive_Integer
	//	*Primitive_FloatValue
	//	*Primitive_StringValue
	//	*Primitive_Boolean
	//	*Primitive_Datetime
	//	*Primitive_Duration
	Value                isPrimitive_Value `protobuf_oneof:"value"`
	XXX_NoUnkeyedLiteral struct{}          `json:"-"`
	XXX_unrecognized     []byte            `json:"-"`
	XXX_sizecache        int32             `json:"-"`
}

Primitive Types

func (*Primitive) Descriptor

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

func (*Primitive) GetBoolean

func (m *Primitive) GetBoolean() bool

func (*Primitive) GetDatetime

func (m *Primitive) GetDatetime() *timestamp.Timestamp

func (*Primitive) GetDuration

func (m *Primitive) GetDuration() *duration.Duration

func (*Primitive) GetFloatValue

func (m *Primitive) GetFloatValue() float64

func (*Primitive) GetInteger

func (m *Primitive) GetInteger() int64

func (*Primitive) GetStringValue

func (m *Primitive) GetStringValue() string

func (*Primitive) GetValue

func (m *Primitive) GetValue() isPrimitive_Value

func (*Primitive) ProtoMessage

func (*Primitive) ProtoMessage()

func (*Primitive) Reset

func (m *Primitive) Reset()

func (*Primitive) String

func (m *Primitive) String() string

func (*Primitive) Validate

func (m *Primitive) Validate() error

Validate checks the field values on Primitive with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*Primitive) XXX_DiscardUnknown

func (m *Primitive) XXX_DiscardUnknown()

func (*Primitive) XXX_Marshal

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

func (*Primitive) XXX_Merge

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

func (*Primitive) XXX_OneofWrappers added in v0.16.1

func (*Primitive) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*Primitive) XXX_Size

func (m *Primitive) XXX_Size() int

func (*Primitive) XXX_Unmarshal

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

type PrimitiveValidationError

type PrimitiveValidationError struct {
	// contains filtered or unexported fields
}

PrimitiveValidationError is the validation error returned by Primitive.Validate if the designated constraints aren't met.

func (PrimitiveValidationError) Cause

func (e PrimitiveValidationError) Cause() error

Cause function returns cause value.

func (PrimitiveValidationError) Error

func (e PrimitiveValidationError) Error() string

Error satisfies the builtin error interface

func (PrimitiveValidationError) ErrorName

func (e PrimitiveValidationError) ErrorName() string

ErrorName returns error name.

func (PrimitiveValidationError) Field

func (e PrimitiveValidationError) Field() string

Field function returns field value.

func (PrimitiveValidationError) Key

Key function returns key value.

func (PrimitiveValidationError) Reason

func (e PrimitiveValidationError) Reason() string

Reason function returns reason value.

type Primitive_Boolean

type Primitive_Boolean struct {
	Boolean bool `protobuf:"varint,4,opt,name=boolean,proto3,oneof"`
}

type Primitive_Datetime

type Primitive_Datetime struct {
	Datetime *timestamp.Timestamp `protobuf:"bytes,5,opt,name=datetime,proto3,oneof"`
}

type Primitive_Duration

type Primitive_Duration struct {
	Duration *duration.Duration `protobuf:"bytes,6,opt,name=duration,proto3,oneof"`
}

type Primitive_FloatValue

type Primitive_FloatValue struct {
	FloatValue float64 `protobuf:"fixed64,2,opt,name=float_value,json=floatValue,proto3,oneof"`
}

type Primitive_Integer

type Primitive_Integer struct {
	Integer int64 `protobuf:"varint,1,opt,name=integer,proto3,oneof"`
}

type Primitive_StringValue

type Primitive_StringValue struct {
	StringValue string `protobuf:"bytes,3,opt,name=string_value,json=stringValue,proto3,oneof"`
}

type QualityOfService added in v0.18.15

type QualityOfService struct {
	// Types that are valid to be assigned to Designation:
	//	*QualityOfService_Tier_
	//	*QualityOfService_Spec
	Designation          isQualityOfService_Designation `protobuf_oneof:"designation"`
	XXX_NoUnkeyedLiteral struct{}                       `json:"-"`
	XXX_unrecognized     []byte                         `json:"-"`
	XXX_sizecache        int32                          `json:"-"`
}

Indicates the priority of an execution.

func (*QualityOfService) Descriptor added in v0.18.15

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

func (*QualityOfService) GetDesignation added in v0.18.15

func (m *QualityOfService) GetDesignation() isQualityOfService_Designation

func (*QualityOfService) GetSpec added in v0.18.15

func (m *QualityOfService) GetSpec() *QualityOfServiceSpec

func (*QualityOfService) GetTier added in v0.18.15

func (*QualityOfService) ProtoMessage added in v0.18.15

func (*QualityOfService) ProtoMessage()

func (*QualityOfService) Reset added in v0.18.15

func (m *QualityOfService) Reset()

func (*QualityOfService) String added in v0.18.15

func (m *QualityOfService) String() string

func (*QualityOfService) Validate added in v0.18.15

func (m *QualityOfService) Validate() error

Validate checks the field values on QualityOfService with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*QualityOfService) XXX_DiscardUnknown added in v0.18.15

func (m *QualityOfService) XXX_DiscardUnknown()

func (*QualityOfService) XXX_Marshal added in v0.18.15

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

func (*QualityOfService) XXX_Merge added in v0.18.15

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

func (*QualityOfService) XXX_OneofWrappers added in v0.18.15

func (*QualityOfService) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*QualityOfService) XXX_Size added in v0.18.15

func (m *QualityOfService) XXX_Size() int

func (*QualityOfService) XXX_Unmarshal added in v0.18.15

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

type QualityOfServiceSpec added in v0.18.15

type QualityOfServiceSpec struct {
	// Indicates how much queueing delay an execution can tolerate.
	QueueingBudget       *duration.Duration `protobuf:"bytes,1,opt,name=queueing_budget,json=queueingBudget,proto3" json:"queueing_budget,omitempty"`
	XXX_NoUnkeyedLiteral struct{}           `json:"-"`
	XXX_unrecognized     []byte             `json:"-"`
	XXX_sizecache        int32              `json:"-"`
}

Represents customized execution run-time attributes.

func (*QualityOfServiceSpec) Descriptor added in v0.18.15

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

func (*QualityOfServiceSpec) GetQueueingBudget added in v0.18.15

func (m *QualityOfServiceSpec) GetQueueingBudget() *duration.Duration

func (*QualityOfServiceSpec) ProtoMessage added in v0.18.15

func (*QualityOfServiceSpec) ProtoMessage()

func (*QualityOfServiceSpec) Reset added in v0.18.15

func (m *QualityOfServiceSpec) Reset()

func (*QualityOfServiceSpec) String added in v0.18.15

func (m *QualityOfServiceSpec) String() string

func (*QualityOfServiceSpec) Validate added in v0.18.15

func (m *QualityOfServiceSpec) Validate() error

Validate checks the field values on QualityOfServiceSpec with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*QualityOfServiceSpec) XXX_DiscardUnknown added in v0.18.15

func (m *QualityOfServiceSpec) XXX_DiscardUnknown()

func (*QualityOfServiceSpec) XXX_Marshal added in v0.18.15

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

func (*QualityOfServiceSpec) XXX_Merge added in v0.18.15

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

func (*QualityOfServiceSpec) XXX_Size added in v0.18.15

func (m *QualityOfServiceSpec) XXX_Size() int

func (*QualityOfServiceSpec) XXX_Unmarshal added in v0.18.15

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

type QualityOfServiceSpecValidationError added in v0.18.15

type QualityOfServiceSpecValidationError struct {
	// contains filtered or unexported fields
}

QualityOfServiceSpecValidationError is the validation error returned by QualityOfServiceSpec.Validate if the designated constraints aren't met.

func (QualityOfServiceSpecValidationError) Cause added in v0.18.15

Cause function returns cause value.

func (QualityOfServiceSpecValidationError) Error added in v0.18.15

Error satisfies the builtin error interface

func (QualityOfServiceSpecValidationError) ErrorName added in v0.18.15

ErrorName returns error name.

func (QualityOfServiceSpecValidationError) Field added in v0.18.15

Field function returns field value.

func (QualityOfServiceSpecValidationError) Key added in v0.18.15

Key function returns key value.

func (QualityOfServiceSpecValidationError) Reason added in v0.18.15

Reason function returns reason value.

type QualityOfServiceValidationError added in v0.18.15

type QualityOfServiceValidationError struct {
	// contains filtered or unexported fields
}

QualityOfServiceValidationError is the validation error returned by QualityOfService.Validate if the designated constraints aren't met.

func (QualityOfServiceValidationError) Cause added in v0.18.15

Cause function returns cause value.

func (QualityOfServiceValidationError) Error added in v0.18.15

Error satisfies the builtin error interface

func (QualityOfServiceValidationError) ErrorName added in v0.18.15

ErrorName returns error name.

func (QualityOfServiceValidationError) Field added in v0.18.15

Field function returns field value.

func (QualityOfServiceValidationError) Key added in v0.18.15

Key function returns key value.

func (QualityOfServiceValidationError) Reason added in v0.18.15

Reason function returns reason value.

type QualityOfService_Spec added in v0.18.15

type QualityOfService_Spec struct {
	Spec *QualityOfServiceSpec `protobuf:"bytes,2,opt,name=spec,proto3,oneof"`
}

type QualityOfService_Tier added in v0.18.15

type QualityOfService_Tier int32
const (
	// Default: no quality of service specified.
	QualityOfService_UNDEFINED QualityOfService_Tier = 0
	QualityOfService_HIGH      QualityOfService_Tier = 1
	QualityOfService_MEDIUM    QualityOfService_Tier = 2
	QualityOfService_LOW       QualityOfService_Tier = 3
)

func (QualityOfService_Tier) EnumDescriptor added in v0.18.15

func (QualityOfService_Tier) EnumDescriptor() ([]byte, []int)

func (QualityOfService_Tier) String added in v0.18.15

func (x QualityOfService_Tier) String() string

type QualityOfService_Tier_ added in v0.18.15

type QualityOfService_Tier_ struct {
	Tier QualityOfService_Tier `protobuf:"varint,1,opt,name=tier,proto3,enum=flyteidl.core.QualityOfService_Tier,oneof"`
}

type ResourceType

type ResourceType int32

Indicates a resource type within Flyte.

const (
	ResourceType_UNSPECIFIED ResourceType = 0
	ResourceType_TASK        ResourceType = 1
	ResourceType_WORKFLOW    ResourceType = 2
	ResourceType_LAUNCH_PLAN ResourceType = 3
	// A dataset represents an entity modeled in Flyte DataCatalog. A Dataset is also a versioned entity and can be a compilation of multiple individual objects.
	// Eventually all Catalog objects should be modeled similar to Flyte Objects. The Dataset entities makes it possible for the UI  and CLI to act on the objects
	// in a similar manner to other Flyte objects
	ResourceType_DATASET ResourceType = 4
)

func (ResourceType) EnumDescriptor

func (ResourceType) EnumDescriptor() ([]byte, []int)

func (ResourceType) String

func (x ResourceType) String() string

type Resources

type Resources struct {
	// The desired set of resources requested. ResourceNames must be unique within the list.
	Requests []*Resources_ResourceEntry `protobuf:"bytes,1,rep,name=requests,proto3" json:"requests,omitempty"`
	// Defines a set of bounds (e.g. min/max) within which the task can reliably run. ResourceNames must be unique
	// within the list.
	Limits               []*Resources_ResourceEntry `protobuf:"bytes,2,rep,name=limits,proto3" json:"limits,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                   `json:"-"`
	XXX_unrecognized     []byte                     `json:"-"`
	XXX_sizecache        int32                      `json:"-"`
}

A customizable interface to convey resources requested for a container. This can be interpreted differently for different container engines.

func (*Resources) Descriptor

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

func (*Resources) GetLimits

func (m *Resources) GetLimits() []*Resources_ResourceEntry

func (*Resources) GetRequests

func (m *Resources) GetRequests() []*Resources_ResourceEntry

func (*Resources) ProtoMessage

func (*Resources) ProtoMessage()

func (*Resources) Reset

func (m *Resources) Reset()

func (*Resources) String

func (m *Resources) String() string

func (*Resources) Validate

func (m *Resources) Validate() error

Validate checks the field values on Resources with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*Resources) XXX_DiscardUnknown

func (m *Resources) XXX_DiscardUnknown()

func (*Resources) XXX_Marshal

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

func (*Resources) XXX_Merge

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

func (*Resources) XXX_Size

func (m *Resources) XXX_Size() int

func (*Resources) XXX_Unmarshal

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

type ResourcesValidationError

type ResourcesValidationError struct {
	// contains filtered or unexported fields
}

ResourcesValidationError is the validation error returned by Resources.Validate if the designated constraints aren't met.

func (ResourcesValidationError) Cause

func (e ResourcesValidationError) Cause() error

Cause function returns cause value.

func (ResourcesValidationError) Error

func (e ResourcesValidationError) Error() string

Error satisfies the builtin error interface

func (ResourcesValidationError) ErrorName

func (e ResourcesValidationError) ErrorName() string

ErrorName returns error name.

func (ResourcesValidationError) Field

func (e ResourcesValidationError) Field() string

Field function returns field value.

func (ResourcesValidationError) Key

Key function returns key value.

func (ResourcesValidationError) Reason

func (e ResourcesValidationError) Reason() string

Reason function returns reason value.

type Resources_ResourceEntry

type Resources_ResourceEntry struct {
	// Resource name.
	Name Resources_ResourceName `protobuf:"varint,1,opt,name=name,proto3,enum=flyteidl.core.Resources_ResourceName" json:"name,omitempty"`
	// Value must be a valid k8s quantity. See
	// https://github.com/kubernetes/apimachinery/blob/master/pkg/api/resource/quantity.go#L30-L80
	Value                string   `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Encapsulates a resource name and value.

func (*Resources_ResourceEntry) Descriptor

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

func (*Resources_ResourceEntry) GetName

func (*Resources_ResourceEntry) GetValue

func (m *Resources_ResourceEntry) GetValue() string

func (*Resources_ResourceEntry) ProtoMessage

func (*Resources_ResourceEntry) ProtoMessage()

func (*Resources_ResourceEntry) Reset

func (m *Resources_ResourceEntry) Reset()

func (*Resources_ResourceEntry) String

func (m *Resources_ResourceEntry) String() string

func (*Resources_ResourceEntry) Validate

func (m *Resources_ResourceEntry) Validate() error

Validate checks the field values on Resources_ResourceEntry with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*Resources_ResourceEntry) XXX_DiscardUnknown

func (m *Resources_ResourceEntry) XXX_DiscardUnknown()

func (*Resources_ResourceEntry) XXX_Marshal

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

func (*Resources_ResourceEntry) XXX_Merge

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

func (*Resources_ResourceEntry) XXX_Size

func (m *Resources_ResourceEntry) XXX_Size() int

func (*Resources_ResourceEntry) XXX_Unmarshal

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

type Resources_ResourceEntryValidationError

type Resources_ResourceEntryValidationError struct {
	// contains filtered or unexported fields
}

Resources_ResourceEntryValidationError is the validation error returned by Resources_ResourceEntry.Validate if the designated constraints aren't met.

func (Resources_ResourceEntryValidationError) Cause

Cause function returns cause value.

func (Resources_ResourceEntryValidationError) Error

Error satisfies the builtin error interface

func (Resources_ResourceEntryValidationError) ErrorName

ErrorName returns error name.

func (Resources_ResourceEntryValidationError) Field

Field function returns field value.

func (Resources_ResourceEntryValidationError) Key

Key function returns key value.

func (Resources_ResourceEntryValidationError) Reason

Reason function returns reason value.

type Resources_ResourceName

type Resources_ResourceName int32

Known resource names.

const (
	Resources_UNKNOWN Resources_ResourceName = 0
	Resources_CPU     Resources_ResourceName = 1
	Resources_GPU     Resources_ResourceName = 2
	Resources_MEMORY  Resources_ResourceName = 3
	Resources_STORAGE Resources_ResourceName = 4
	// For Kubernetes-based deployments, pods use ephemeral local storage for scratch space, caching, and for logs.
	Resources_EPHEMERAL_STORAGE Resources_ResourceName = 5
)

func (Resources_ResourceName) EnumDescriptor

func (Resources_ResourceName) EnumDescriptor() ([]byte, []int)

func (Resources_ResourceName) String

func (x Resources_ResourceName) String() string

type RetryStrategy

type RetryStrategy struct {
	// Number of retries. Retries will be consumed when the job fails with a recoverable error.
	// The number of retries must be less than or equals to 10.
	Retries              uint32   `protobuf:"varint,5,opt,name=retries,proto3" json:"retries,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Retry strategy associated with an executable unit.

func (*RetryStrategy) Descriptor

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

func (*RetryStrategy) GetRetries

func (m *RetryStrategy) GetRetries() uint32

func (*RetryStrategy) ProtoMessage

func (*RetryStrategy) ProtoMessage()

func (*RetryStrategy) Reset

func (m *RetryStrategy) Reset()

func (*RetryStrategy) String

func (m *RetryStrategy) String() string

func (*RetryStrategy) Validate

func (m *RetryStrategy) Validate() error

Validate checks the field values on RetryStrategy with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

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 RetryStrategyValidationError

type RetryStrategyValidationError struct {
	// contains filtered or unexported fields
}

RetryStrategyValidationError is the validation error returned by RetryStrategy.Validate if the designated constraints aren't met.

func (RetryStrategyValidationError) Cause

Cause function returns cause value.

func (RetryStrategyValidationError) Error

Error satisfies the builtin error interface

func (RetryStrategyValidationError) ErrorName

func (e RetryStrategyValidationError) ErrorName() string

ErrorName returns error name.

func (RetryStrategyValidationError) Field

Field function returns field value.

func (RetryStrategyValidationError) Key

Key function returns key value.

func (RetryStrategyValidationError) Reason

Reason function returns reason value.

type RuntimeMetadata

type RuntimeMetadata struct {
	// Type of runtime.
	Type RuntimeMetadata_RuntimeType `protobuf:"varint,1,opt,name=type,proto3,enum=flyteidl.core.RuntimeMetadata_RuntimeType" json:"type,omitempty"`
	// Version of the runtime. All versions should be backward compatible. However, certain cases call for version
	// checks to ensure tighter validation or setting expectations.
	Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"`
	//+optional It can be used to provide extra information about the runtime (e.g. python, golang... etc.).
	Flavor               string   `protobuf:"bytes,3,opt,name=flavor,proto3" json:"flavor,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Runtime information. This is loosely defined to allow for extensibility.

func (*RuntimeMetadata) Descriptor

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

func (*RuntimeMetadata) GetFlavor

func (m *RuntimeMetadata) GetFlavor() string

func (*RuntimeMetadata) GetType

func (*RuntimeMetadata) GetVersion

func (m *RuntimeMetadata) GetVersion() string

func (*RuntimeMetadata) ProtoMessage

func (*RuntimeMetadata) ProtoMessage()

func (*RuntimeMetadata) Reset

func (m *RuntimeMetadata) Reset()

func (*RuntimeMetadata) String

func (m *RuntimeMetadata) String() string

func (*RuntimeMetadata) Validate

func (m *RuntimeMetadata) Validate() error

Validate checks the field values on RuntimeMetadata with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*RuntimeMetadata) XXX_DiscardUnknown

func (m *RuntimeMetadata) XXX_DiscardUnknown()

func (*RuntimeMetadata) XXX_Marshal

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

func (*RuntimeMetadata) XXX_Merge

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

func (*RuntimeMetadata) XXX_Size

func (m *RuntimeMetadata) XXX_Size() int

func (*RuntimeMetadata) XXX_Unmarshal

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

type RuntimeMetadataValidationError

type RuntimeMetadataValidationError struct {
	// contains filtered or unexported fields
}

RuntimeMetadataValidationError is the validation error returned by RuntimeMetadata.Validate if the designated constraints aren't met.

func (RuntimeMetadataValidationError) Cause

Cause function returns cause value.

func (RuntimeMetadataValidationError) Error

Error satisfies the builtin error interface

func (RuntimeMetadataValidationError) ErrorName

func (e RuntimeMetadataValidationError) ErrorName() string

ErrorName returns error name.

func (RuntimeMetadataValidationError) Field

Field function returns field value.

func (RuntimeMetadataValidationError) Key

Key function returns key value.

func (RuntimeMetadataValidationError) Reason

Reason function returns reason value.

type RuntimeMetadata_RuntimeType

type RuntimeMetadata_RuntimeType int32
const (
	RuntimeMetadata_OTHER     RuntimeMetadata_RuntimeType = 0
	RuntimeMetadata_FLYTE_SDK RuntimeMetadata_RuntimeType = 1
)

func (RuntimeMetadata_RuntimeType) EnumDescriptor

func (RuntimeMetadata_RuntimeType) EnumDescriptor() ([]byte, []int)

func (RuntimeMetadata_RuntimeType) String

type Scalar

type Scalar struct {
	// Types that are valid to be assigned to Value:
	//	*Scalar_Primitive
	//	*Scalar_Blob
	//	*Scalar_Binary
	//	*Scalar_Schema
	//	*Scalar_NoneType
	//	*Scalar_Error
	//	*Scalar_Generic
	//	*Scalar_StructuredDataset
	//	*Scalar_Union
	Value                isScalar_Value `protobuf_oneof:"value"`
	XXX_NoUnkeyedLiteral struct{}       `json:"-"`
	XXX_unrecognized     []byte         `json:"-"`
	XXX_sizecache        int32          `json:"-"`
}

func (*Scalar) Descriptor

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

func (*Scalar) GetBinary

func (m *Scalar) GetBinary() *Binary

func (*Scalar) GetBlob

func (m *Scalar) GetBlob() *Blob

func (*Scalar) GetError

func (m *Scalar) GetError() *Error

func (*Scalar) GetGeneric

func (m *Scalar) GetGeneric() *_struct.Struct

func (*Scalar) GetNoneType

func (m *Scalar) GetNoneType() *Void

func (*Scalar) GetPrimitive

func (m *Scalar) GetPrimitive() *Primitive

func (*Scalar) GetSchema

func (m *Scalar) GetSchema() *Schema

func (*Scalar) GetStructuredDataset added in v0.21.17

func (m *Scalar) GetStructuredDataset() *StructuredDataset

func (*Scalar) GetUnion added in v0.24.0

func (m *Scalar) GetUnion() *Union

func (*Scalar) GetValue

func (m *Scalar) GetValue() isScalar_Value

func (*Scalar) ProtoMessage

func (*Scalar) ProtoMessage()

func (*Scalar) Reset

func (m *Scalar) Reset()

func (*Scalar) String

func (m *Scalar) String() string

func (*Scalar) Validate

func (m *Scalar) Validate() error

Validate checks the field values on Scalar with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*Scalar) XXX_DiscardUnknown

func (m *Scalar) XXX_DiscardUnknown()

func (*Scalar) XXX_Marshal

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

func (*Scalar) XXX_Merge

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

func (*Scalar) XXX_OneofWrappers added in v0.16.1

func (*Scalar) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*Scalar) XXX_Size

func (m *Scalar) XXX_Size() int

func (*Scalar) XXX_Unmarshal

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

type ScalarValidationError

type ScalarValidationError struct {
	// contains filtered or unexported fields
}

ScalarValidationError is the validation error returned by Scalar.Validate if the designated constraints aren't met.

func (ScalarValidationError) Cause

func (e ScalarValidationError) Cause() error

Cause function returns cause value.

func (ScalarValidationError) Error

func (e ScalarValidationError) Error() string

Error satisfies the builtin error interface

func (ScalarValidationError) ErrorName

func (e ScalarValidationError) ErrorName() string

ErrorName returns error name.

func (ScalarValidationError) Field

func (e ScalarValidationError) Field() string

Field function returns field value.

func (ScalarValidationError) Key

func (e ScalarValidationError) Key() bool

Key function returns key value.

func (ScalarValidationError) Reason

func (e ScalarValidationError) Reason() string

Reason function returns reason value.

type Scalar_Binary

type Scalar_Binary struct {
	Binary *Binary `protobuf:"bytes,3,opt,name=binary,proto3,oneof"`
}

type Scalar_Blob

type Scalar_Blob struct {
	Blob *Blob `protobuf:"bytes,2,opt,name=blob,proto3,oneof"`
}

type Scalar_Error

type Scalar_Error struct {
	Error *Error `protobuf:"bytes,6,opt,name=error,proto3,oneof"`
}

type Scalar_Generic

type Scalar_Generic struct {
	Generic *_struct.Struct `protobuf:"bytes,7,opt,name=generic,proto3,oneof"`
}

type Scalar_NoneType

type Scalar_NoneType struct {
	NoneType *Void `protobuf:"bytes,5,opt,name=none_type,json=noneType,proto3,oneof"`
}

type Scalar_Primitive

type Scalar_Primitive struct {
	Primitive *Primitive `protobuf:"bytes,1,opt,name=primitive,proto3,oneof"`
}

type Scalar_Schema

type Scalar_Schema struct {
	Schema *Schema `protobuf:"bytes,4,opt,name=schema,proto3,oneof"`
}

type Scalar_StructuredDataset added in v0.21.17

type Scalar_StructuredDataset struct {
	StructuredDataset *StructuredDataset `protobuf:"bytes,8,opt,name=structured_dataset,json=structuredDataset,proto3,oneof"`
}

type Scalar_Union added in v0.24.0

type Scalar_Union struct {
	Union *Union `protobuf:"bytes,9,opt,name=union,proto3,oneof"`
}

type Schema

type Schema struct {
	Uri                  string      `protobuf:"bytes,1,opt,name=uri,proto3" json:"uri,omitempty"`
	Type                 *SchemaType `protobuf:"bytes,3,opt,name=type,proto3" json:"type,omitempty"`
	XXX_NoUnkeyedLiteral struct{}    `json:"-"`
	XXX_unrecognized     []byte      `json:"-"`
	XXX_sizecache        int32       `json:"-"`
}

A strongly typed schema that defines the interface of data retrieved from the underlying storage medium.

func (*Schema) Descriptor

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

func (*Schema) GetType

func (m *Schema) GetType() *SchemaType

func (*Schema) GetUri

func (m *Schema) GetUri() string

func (*Schema) ProtoMessage

func (*Schema) ProtoMessage()

func (*Schema) Reset

func (m *Schema) Reset()

func (*Schema) String

func (m *Schema) String() string

func (*Schema) Validate

func (m *Schema) Validate() error

Validate checks the field values on Schema with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*Schema) XXX_DiscardUnknown

func (m *Schema) XXX_DiscardUnknown()

func (*Schema) XXX_Marshal

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

func (*Schema) XXX_Merge

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

func (*Schema) XXX_Size

func (m *Schema) XXX_Size() int

func (*Schema) XXX_Unmarshal

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

type SchemaType

type SchemaType struct {
	// A list of ordered columns this schema comprises of.
	Columns              []*SchemaType_SchemaColumn `protobuf:"bytes,3,rep,name=columns,proto3" json:"columns,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                   `json:"-"`
	XXX_unrecognized     []byte                     `json:"-"`
	XXX_sizecache        int32                      `json:"-"`
}

Defines schema columns and types to strongly type-validate schemas interoperability.

func (*SchemaType) Descriptor

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

func (*SchemaType) GetColumns

func (m *SchemaType) GetColumns() []*SchemaType_SchemaColumn

func (*SchemaType) ProtoMessage

func (*SchemaType) ProtoMessage()

func (*SchemaType) Reset

func (m *SchemaType) Reset()

func (*SchemaType) String

func (m *SchemaType) String() string

func (*SchemaType) Validate

func (m *SchemaType) Validate() error

Validate checks the field values on SchemaType with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*SchemaType) XXX_DiscardUnknown

func (m *SchemaType) XXX_DiscardUnknown()

func (*SchemaType) XXX_Marshal

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

func (*SchemaType) XXX_Merge

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

func (*SchemaType) XXX_Size

func (m *SchemaType) XXX_Size() int

func (*SchemaType) XXX_Unmarshal

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

type SchemaTypeValidationError

type SchemaTypeValidationError struct {
	// contains filtered or unexported fields
}

SchemaTypeValidationError is the validation error returned by SchemaType.Validate if the designated constraints aren't met.

func (SchemaTypeValidationError) Cause

func (e SchemaTypeValidationError) Cause() error

Cause function returns cause value.

func (SchemaTypeValidationError) Error

Error satisfies the builtin error interface

func (SchemaTypeValidationError) ErrorName

func (e SchemaTypeValidationError) ErrorName() string

ErrorName returns error name.

func (SchemaTypeValidationError) Field

Field function returns field value.

func (SchemaTypeValidationError) Key

Key function returns key value.

func (SchemaTypeValidationError) Reason

func (e SchemaTypeValidationError) Reason() string

Reason function returns reason value.

type SchemaType_SchemaColumn

type SchemaType_SchemaColumn struct {
	// A unique name -within the schema type- for the column
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// The column type. This allows a limited set of types currently.
	Type                 SchemaType_SchemaColumn_SchemaColumnType `protobuf:"varint,2,opt,name=type,proto3,enum=flyteidl.core.SchemaType_SchemaColumn_SchemaColumnType" json:"type,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                                 `json:"-"`
	XXX_unrecognized     []byte                                   `json:"-"`
	XXX_sizecache        int32                                    `json:"-"`
}

func (*SchemaType_SchemaColumn) Descriptor

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

func (*SchemaType_SchemaColumn) GetName

func (m *SchemaType_SchemaColumn) GetName() string

func (*SchemaType_SchemaColumn) GetType

func (*SchemaType_SchemaColumn) ProtoMessage

func (*SchemaType_SchemaColumn) ProtoMessage()

func (*SchemaType_SchemaColumn) Reset

func (m *SchemaType_SchemaColumn) Reset()

func (*SchemaType_SchemaColumn) String

func (m *SchemaType_SchemaColumn) String() string

func (*SchemaType_SchemaColumn) Validate

func (m *SchemaType_SchemaColumn) Validate() error

Validate checks the field values on SchemaType_SchemaColumn with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*SchemaType_SchemaColumn) XXX_DiscardUnknown

func (m *SchemaType_SchemaColumn) XXX_DiscardUnknown()

func (*SchemaType_SchemaColumn) XXX_Marshal

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

func (*SchemaType_SchemaColumn) XXX_Merge

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

func (*SchemaType_SchemaColumn) XXX_Size

func (m *SchemaType_SchemaColumn) XXX_Size() int

func (*SchemaType_SchemaColumn) XXX_Unmarshal

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

type SchemaType_SchemaColumnValidationError

type SchemaType_SchemaColumnValidationError struct {
	// contains filtered or unexported fields
}

SchemaType_SchemaColumnValidationError is the validation error returned by SchemaType_SchemaColumn.Validate if the designated constraints aren't met.

func (SchemaType_SchemaColumnValidationError) Cause

Cause function returns cause value.

func (SchemaType_SchemaColumnValidationError) Error

Error satisfies the builtin error interface

func (SchemaType_SchemaColumnValidationError) ErrorName

ErrorName returns error name.

func (SchemaType_SchemaColumnValidationError) Field

Field function returns field value.

func (SchemaType_SchemaColumnValidationError) Key

Key function returns key value.

func (SchemaType_SchemaColumnValidationError) Reason

Reason function returns reason value.

type SchemaType_SchemaColumn_SchemaColumnType

type SchemaType_SchemaColumn_SchemaColumnType int32
const (
	SchemaType_SchemaColumn_INTEGER  SchemaType_SchemaColumn_SchemaColumnType = 0
	SchemaType_SchemaColumn_FLOAT    SchemaType_SchemaColumn_SchemaColumnType = 1
	SchemaType_SchemaColumn_STRING   SchemaType_SchemaColumn_SchemaColumnType = 2
	SchemaType_SchemaColumn_BOOLEAN  SchemaType_SchemaColumn_SchemaColumnType = 3
	SchemaType_SchemaColumn_DATETIME SchemaType_SchemaColumn_SchemaColumnType = 4
	SchemaType_SchemaColumn_DURATION SchemaType_SchemaColumn_SchemaColumnType = 5
)

func (SchemaType_SchemaColumn_SchemaColumnType) EnumDescriptor

func (SchemaType_SchemaColumn_SchemaColumnType) EnumDescriptor() ([]byte, []int)

func (SchemaType_SchemaColumn_SchemaColumnType) String

type SchemaValidationError

type SchemaValidationError struct {
	// contains filtered or unexported fields
}

SchemaValidationError is the validation error returned by Schema.Validate if the designated constraints aren't met.

func (SchemaValidationError) Cause

func (e SchemaValidationError) Cause() error

Cause function returns cause value.

func (SchemaValidationError) Error

func (e SchemaValidationError) Error() string

Error satisfies the builtin error interface

func (SchemaValidationError) ErrorName

func (e SchemaValidationError) ErrorName() string

ErrorName returns error name.

func (SchemaValidationError) Field

func (e SchemaValidationError) Field() string

Field function returns field value.

func (SchemaValidationError) Key

func (e SchemaValidationError) Key() bool

Key function returns key value.

func (SchemaValidationError) Reason

func (e SchemaValidationError) Reason() string

Reason function returns reason value.

type Secret added in v0.18.16

type Secret struct {
	// The name of the secret group where to find the key referenced below. For K8s secrets, this should be the name of
	// the v1/secret object. For Confidant, this should be the Credential name. For Vault, this should be the secret name.
	// For AWS Secret Manager, this should be the name of the secret.
	// +required
	Group string `protobuf:"bytes,1,opt,name=group,proto3" json:"group,omitempty"`
	// The group version to fetch. This is not supported in all secret management systems. It'll be ignored for the ones
	// that do not support it.
	// +optional
	GroupVersion string `protobuf:"bytes,2,opt,name=group_version,json=groupVersion,proto3" json:"group_version,omitempty"`
	// The name of the secret to mount. This has to match an existing secret in the system. It's up to the implementation
	// of the secret management system to require case sensitivity. For K8s secrets, Confidant and Vault, this should
	// match one of the keys inside the secret. For AWS Secret Manager, it's ignored.
	// +optional
	Key string `protobuf:"bytes,3,opt,name=key,proto3" json:"key,omitempty"`
	// mount_requirement is optional. Indicates where the secret has to be mounted. If provided, the execution will fail
	// if the underlying key management system cannot satisfy that requirement. If not provided, the default location
	// will depend on the key management system.
	// +optional
	MountRequirement     Secret_MountType `` /* 146-byte string literal not displayed */
	XXX_NoUnkeyedLiteral struct{}         `json:"-"`
	XXX_unrecognized     []byte           `json:"-"`
	XXX_sizecache        int32            `json:"-"`
}

Secret encapsulates information about the secret a task needs to proceed. An environment variable FLYTE_SECRETS_ENV_PREFIX will be passed to indicate the prefix of the environment variables that will be present if secrets are passed through environment variables. FLYTE_SECRETS_DEFAULT_DIR will be passed to indicate the prefix of the path where secrets will be mounted if secrets are passed through file mounts.

func (*Secret) Descriptor added in v0.18.16

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

func (*Secret) GetGroup added in v0.18.18

func (m *Secret) GetGroup() string

func (*Secret) GetGroupVersion added in v0.18.24

func (m *Secret) GetGroupVersion() string

func (*Secret) GetKey added in v0.18.18

func (m *Secret) GetKey() string

func (*Secret) GetMountRequirement added in v0.18.16

func (m *Secret) GetMountRequirement() Secret_MountType

func (*Secret) ProtoMessage added in v0.18.16

func (*Secret) ProtoMessage()

func (*Secret) Reset added in v0.18.16

func (m *Secret) Reset()

func (*Secret) String added in v0.18.16

func (m *Secret) String() string

func (*Secret) Validate added in v0.18.16

func (m *Secret) Validate() error

Validate checks the field values on Secret with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*Secret) XXX_DiscardUnknown added in v0.18.16

func (m *Secret) XXX_DiscardUnknown()

func (*Secret) XXX_Marshal added in v0.18.16

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

func (*Secret) XXX_Merge added in v0.18.16

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

func (*Secret) XXX_Size added in v0.18.16

func (m *Secret) XXX_Size() int

func (*Secret) XXX_Unmarshal added in v0.18.16

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

type SecretValidationError added in v0.18.16

type SecretValidationError struct {
	// contains filtered or unexported fields
}

SecretValidationError is the validation error returned by Secret.Validate if the designated constraints aren't met.

func (SecretValidationError) Cause added in v0.18.16

func (e SecretValidationError) Cause() error

Cause function returns cause value.

func (SecretValidationError) Error added in v0.18.16

func (e SecretValidationError) Error() string

Error satisfies the builtin error interface

func (SecretValidationError) ErrorName added in v0.18.16

func (e SecretValidationError) ErrorName() string

ErrorName returns error name.

func (SecretValidationError) Field added in v0.18.16

func (e SecretValidationError) Field() string

Field function returns field value.

func (SecretValidationError) Key added in v0.18.16

func (e SecretValidationError) Key() bool

Key function returns key value.

func (SecretValidationError) Reason added in v0.18.16

func (e SecretValidationError) Reason() string

Reason function returns reason value.

type Secret_MountType added in v0.18.16

type Secret_MountType int32
const (
	// Default case, indicates the client can tolerate either mounting options.
	Secret_ANY Secret_MountType = 0
	// ENV_VAR indicates the secret needs to be mounted as an environment variable.
	Secret_ENV_VAR Secret_MountType = 1
	// FILE indicates the secret needs to be mounted as a file.
	Secret_FILE Secret_MountType = 2
)

func (Secret_MountType) EnumDescriptor added in v0.18.16

func (Secret_MountType) EnumDescriptor() ([]byte, []int)

func (Secret_MountType) String added in v0.18.16

func (x Secret_MountType) String() string

type SecurityContext added in v0.18.16

type SecurityContext struct {
	// run_as encapsulates the identity a pod should run as. If the task fills in multiple fields here, it'll be up to the
	// backend plugin to choose the appropriate identity for the execution engine the task will run on.
	RunAs *Identity `protobuf:"bytes,1,opt,name=run_as,json=runAs,proto3" json:"run_as,omitempty"`
	// secrets indicate the list of secrets the task needs in order to proceed. Secrets will be mounted/passed to the
	// pod as it starts. If the plugin responsible for kicking of the task will not run it on a flyte cluster (e.g. AWS
	// Batch), it's the responsibility of the plugin to fetch the secret (which means propeller identity will need access
	// to the secret) and to pass it to the remote execution engine.
	Secrets []*Secret `protobuf:"bytes,2,rep,name=secrets,proto3" json:"secrets,omitempty"`
	// tokens indicate the list of token requests the task needs in order to proceed. Tokens will be mounted/passed to the
	// pod as it starts. If the plugin responsible for kicking of the task will not run it on a flyte cluster (e.g. AWS
	// Batch), it's the responsibility of the plugin to fetch the secret (which means propeller identity will need access
	// to the secret) and to pass it to the remote execution engine.
	Tokens               []*OAuth2TokenRequest `protobuf:"bytes,3,rep,name=tokens,proto3" json:"tokens,omitempty"`
	XXX_NoUnkeyedLiteral struct{}              `json:"-"`
	XXX_unrecognized     []byte                `json:"-"`
	XXX_sizecache        int32                 `json:"-"`
}

SecurityContext holds security attributes that apply to tasks.

func (*SecurityContext) Descriptor added in v0.18.16

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

func (*SecurityContext) GetRunAs added in v0.18.16

func (m *SecurityContext) GetRunAs() *Identity

func (*SecurityContext) GetSecrets added in v0.18.16

func (m *SecurityContext) GetSecrets() []*Secret

func (*SecurityContext) GetTokens added in v0.18.16

func (m *SecurityContext) GetTokens() []*OAuth2TokenRequest

func (*SecurityContext) ProtoMessage added in v0.18.16

func (*SecurityContext) ProtoMessage()

func (*SecurityContext) Reset added in v0.18.16

func (m *SecurityContext) Reset()

func (*SecurityContext) String added in v0.18.16

func (m *SecurityContext) String() string

func (*SecurityContext) Validate added in v0.18.16

func (m *SecurityContext) Validate() error

Validate checks the field values on SecurityContext with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*SecurityContext) XXX_DiscardUnknown added in v0.18.16

func (m *SecurityContext) XXX_DiscardUnknown()

func (*SecurityContext) XXX_Marshal added in v0.18.16

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

func (*SecurityContext) XXX_Merge added in v0.18.16

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

func (*SecurityContext) XXX_Size added in v0.18.16

func (m *SecurityContext) XXX_Size() int

func (*SecurityContext) XXX_Unmarshal added in v0.18.16

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

type SecurityContextValidationError added in v0.18.16

type SecurityContextValidationError struct {
	// contains filtered or unexported fields
}

SecurityContextValidationError is the validation error returned by SecurityContext.Validate if the designated constraints aren't met.

func (SecurityContextValidationError) Cause added in v0.18.16

Cause function returns cause value.

func (SecurityContextValidationError) Error added in v0.18.16

Error satisfies the builtin error interface

func (SecurityContextValidationError) ErrorName added in v0.18.16

func (e SecurityContextValidationError) ErrorName() string

ErrorName returns error name.

func (SecurityContextValidationError) Field added in v0.18.16

Field function returns field value.

func (SecurityContextValidationError) Key added in v0.18.16

Key function returns key value.

func (SecurityContextValidationError) Reason added in v0.18.16

Reason function returns reason value.

type SimpleType

type SimpleType int32

Define a set of simple types.

const (
	SimpleType_NONE     SimpleType = 0
	SimpleType_INTEGER  SimpleType = 1
	SimpleType_FLOAT    SimpleType = 2
	SimpleType_STRING   SimpleType = 3
	SimpleType_BOOLEAN  SimpleType = 4
	SimpleType_DATETIME SimpleType = 5
	SimpleType_DURATION SimpleType = 6
	SimpleType_BINARY   SimpleType = 7
	SimpleType_ERROR    SimpleType = 8
	SimpleType_STRUCT   SimpleType = 9
)

func (SimpleType) EnumDescriptor

func (SimpleType) EnumDescriptor() ([]byte, []int)

func (SimpleType) String

func (x SimpleType) String() string

type Sql added in v0.20.1

type Sql struct {
	// The actual query to run, the query can have templated parameters.
	// We use Flyte's Golang templating format for Query templating.
	// Refer to the templating documentation.
	// https://docs.flyte.org/projects/cookbook/en/latest/auto/integrations/external_services/hive/hive.html#sphx-glr-auto-integrations-external-services-hive-hive-py
	// For example,
	// insert overwrite directory '{{ .rawOutputDataPrefix }}' stored as parquet
	// select *
	// from my_table
	// where ds = '{{ .Inputs.ds }}'
	Statement            string      `protobuf:"bytes,1,opt,name=statement,proto3" json:"statement,omitempty"`
	Dialect              Sql_Dialect `protobuf:"varint,2,opt,name=dialect,proto3,enum=flyteidl.core.Sql_Dialect" json:"dialect,omitempty"`
	XXX_NoUnkeyedLiteral struct{}    `json:"-"`
	XXX_unrecognized     []byte      `json:"-"`
	XXX_sizecache        int32       `json:"-"`
}

Sql represents a generic sql workload with a statement and dialect.

func (*Sql) Descriptor added in v0.20.1

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

func (*Sql) GetDialect added in v0.20.1

func (m *Sql) GetDialect() Sql_Dialect

func (*Sql) GetStatement added in v0.20.1

func (m *Sql) GetStatement() string

func (*Sql) ProtoMessage added in v0.20.1

func (*Sql) ProtoMessage()

func (*Sql) Reset added in v0.20.1

func (m *Sql) Reset()

func (*Sql) String added in v0.20.1

func (m *Sql) String() string

func (*Sql) Validate added in v0.20.1

func (m *Sql) Validate() error

Validate checks the field values on Sql with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*Sql) XXX_DiscardUnknown added in v0.20.1

func (m *Sql) XXX_DiscardUnknown()

func (*Sql) XXX_Marshal added in v0.20.1

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

func (*Sql) XXX_Merge added in v0.20.1

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

func (*Sql) XXX_Size added in v0.20.1

func (m *Sql) XXX_Size() int

func (*Sql) XXX_Unmarshal added in v0.20.1

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

type SqlValidationError added in v0.20.1

type SqlValidationError struct {
	// contains filtered or unexported fields
}

SqlValidationError is the validation error returned by Sql.Validate if the designated constraints aren't met.

func (SqlValidationError) Cause added in v0.20.1

func (e SqlValidationError) Cause() error

Cause function returns cause value.

func (SqlValidationError) Error added in v0.20.1

func (e SqlValidationError) Error() string

Error satisfies the builtin error interface

func (SqlValidationError) ErrorName added in v0.20.1

func (e SqlValidationError) ErrorName() string

ErrorName returns error name.

func (SqlValidationError) Field added in v0.20.1

func (e SqlValidationError) Field() string

Field function returns field value.

func (SqlValidationError) Key added in v0.20.1

func (e SqlValidationError) Key() bool

Key function returns key value.

func (SqlValidationError) Reason added in v0.20.1

func (e SqlValidationError) Reason() string

Reason function returns reason value.

type Sql_Dialect added in v0.20.1

type Sql_Dialect int32

The dialect of the SQL statement. This is used to validate and parse SQL statements at compilation time to avoid expensive runtime operations. If set to an unsupported dialect, no validation will be done on the statement. We support the following dialect: ansi, hive.

const (
	Sql_UNDEFINED Sql_Dialect = 0
	Sql_ANSI      Sql_Dialect = 1
	Sql_HIVE      Sql_Dialect = 2
	Sql_OTHER     Sql_Dialect = 3
)

func (Sql_Dialect) EnumDescriptor added in v0.20.1

func (Sql_Dialect) EnumDescriptor() ([]byte, []int)

func (Sql_Dialect) String added in v0.20.1

func (x Sql_Dialect) String() string

type StructuredDataset added in v0.21.17

type StructuredDataset struct {
	// String location uniquely identifying where the data is.
	// Should start with the storage location (e.g. s3://, gs://, bq://, etc.)
	Uri                  string                     `protobuf:"bytes,1,opt,name=uri,proto3" json:"uri,omitempty"`
	Metadata             *StructuredDatasetMetadata `protobuf:"bytes,2,opt,name=metadata,proto3" json:"metadata,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                   `json:"-"`
	XXX_unrecognized     []byte                     `json:"-"`
	XXX_sizecache        int32                      `json:"-"`
}

func (*StructuredDataset) Descriptor added in v0.21.17

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

func (*StructuredDataset) GetMetadata added in v0.21.17

func (m *StructuredDataset) GetMetadata() *StructuredDatasetMetadata

func (*StructuredDataset) GetUri added in v0.21.17

func (m *StructuredDataset) GetUri() string

func (*StructuredDataset) ProtoMessage added in v0.21.17

func (*StructuredDataset) ProtoMessage()

func (*StructuredDataset) Reset added in v0.21.17

func (m *StructuredDataset) Reset()

func (*StructuredDataset) String added in v0.21.17

func (m *StructuredDataset) String() string

func (*StructuredDataset) Validate added in v0.21.17

func (m *StructuredDataset) Validate() error

Validate checks the field values on StructuredDataset with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*StructuredDataset) XXX_DiscardUnknown added in v0.21.17

func (m *StructuredDataset) XXX_DiscardUnknown()

func (*StructuredDataset) XXX_Marshal added in v0.21.17

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

func (*StructuredDataset) XXX_Merge added in v0.21.17

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

func (*StructuredDataset) XXX_Size added in v0.21.17

func (m *StructuredDataset) XXX_Size() int

func (*StructuredDataset) XXX_Unmarshal added in v0.21.17

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

type StructuredDatasetMetadata added in v0.21.17

type StructuredDatasetMetadata struct {
	// Bundle the type information along with the literal.
	// This is here because StructuredDatasets can often be more defined at run time than at compile time.
	// That is, at compile time you might only declare a task to return a pandas dataframe or a StructuredDataset,
	// without any column information, but at run time, you might have that column information.
	// flytekit python will copy this type information into the literal, from the type information, if not provided by
	// the various plugins (encoders).
	// Since this field is run time generated, it's not used for any type checking.
	StructuredDatasetType *StructuredDatasetType `` /* 126-byte string literal not displayed */
	XXX_NoUnkeyedLiteral  struct{}               `json:"-"`
	XXX_unrecognized      []byte                 `json:"-"`
	XXX_sizecache         int32                  `json:"-"`
}

func (*StructuredDatasetMetadata) Descriptor added in v0.21.17

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

func (*StructuredDatasetMetadata) GetStructuredDatasetType added in v0.21.17

func (m *StructuredDatasetMetadata) GetStructuredDatasetType() *StructuredDatasetType

func (*StructuredDatasetMetadata) ProtoMessage added in v0.21.17

func (*StructuredDatasetMetadata) ProtoMessage()

func (*StructuredDatasetMetadata) Reset added in v0.21.17

func (m *StructuredDatasetMetadata) Reset()

func (*StructuredDatasetMetadata) String added in v0.21.17

func (m *StructuredDatasetMetadata) String() string

func (*StructuredDatasetMetadata) Validate added in v0.21.17

func (m *StructuredDatasetMetadata) Validate() error

Validate checks the field values on StructuredDatasetMetadata with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*StructuredDatasetMetadata) XXX_DiscardUnknown added in v0.21.17

func (m *StructuredDatasetMetadata) XXX_DiscardUnknown()

func (*StructuredDatasetMetadata) XXX_Marshal added in v0.21.17

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

func (*StructuredDatasetMetadata) XXX_Merge added in v0.21.17

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

func (*StructuredDatasetMetadata) XXX_Size added in v0.21.17

func (m *StructuredDatasetMetadata) XXX_Size() int

func (*StructuredDatasetMetadata) XXX_Unmarshal added in v0.21.17

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

type StructuredDatasetMetadataValidationError added in v0.21.17

type StructuredDatasetMetadataValidationError struct {
	// contains filtered or unexported fields
}

StructuredDatasetMetadataValidationError is the validation error returned by StructuredDatasetMetadata.Validate if the designated constraints aren't met.

func (StructuredDatasetMetadataValidationError) Cause added in v0.21.17

Cause function returns cause value.

func (StructuredDatasetMetadataValidationError) Error added in v0.21.17

Error satisfies the builtin error interface

func (StructuredDatasetMetadataValidationError) ErrorName added in v0.21.17

ErrorName returns error name.

func (StructuredDatasetMetadataValidationError) Field added in v0.21.17

Field function returns field value.

func (StructuredDatasetMetadataValidationError) Key added in v0.21.17

Key function returns key value.

func (StructuredDatasetMetadataValidationError) Reason added in v0.21.17

Reason function returns reason value.

type StructuredDatasetType added in v0.21.17

type StructuredDatasetType struct {
	// A list of ordered columns this schema comprises of.
	Columns []*StructuredDatasetType_DatasetColumn `protobuf:"bytes,1,rep,name=columns,proto3" json:"columns,omitempty"`
	// This is the storage format, the format of the bits at rest
	// parquet, feather, csv, etc.
	// For two types to be compatible, the format will need to be an exact match.
	Format string `protobuf:"bytes,2,opt,name=format,proto3" json:"format,omitempty"`
	// This is a string representing the type that the bytes in external_schema_bytes are formatted in.
	// This is an optional field that will not be used for type checking.
	ExternalSchemaType string `protobuf:"bytes,3,opt,name=external_schema_type,json=externalSchemaType,proto3" json:"external_schema_type,omitempty"`
	// The serialized bytes of a third-party schema library like Arrow.
	// This is an optional field that will not be used for type checking.
	ExternalSchemaBytes  []byte   `protobuf:"bytes,4,opt,name=external_schema_bytes,json=externalSchemaBytes,proto3" json:"external_schema_bytes,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*StructuredDatasetType) Descriptor added in v0.21.17

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

func (*StructuredDatasetType) GetColumns added in v0.21.17

func (*StructuredDatasetType) GetExternalSchemaBytes added in v0.21.17

func (m *StructuredDatasetType) GetExternalSchemaBytes() []byte

func (*StructuredDatasetType) GetExternalSchemaType added in v0.21.17

func (m *StructuredDatasetType) GetExternalSchemaType() string

func (*StructuredDatasetType) GetFormat added in v0.21.17

func (m *StructuredDatasetType) GetFormat() string

func (*StructuredDatasetType) ProtoMessage added in v0.21.17

func (*StructuredDatasetType) ProtoMessage()

func (*StructuredDatasetType) Reset added in v0.21.17

func (m *StructuredDatasetType) Reset()

func (*StructuredDatasetType) String added in v0.21.17

func (m *StructuredDatasetType) String() string

func (*StructuredDatasetType) Validate added in v0.21.17

func (m *StructuredDatasetType) Validate() error

Validate checks the field values on StructuredDatasetType with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*StructuredDatasetType) XXX_DiscardUnknown added in v0.21.17

func (m *StructuredDatasetType) XXX_DiscardUnknown()

func (*StructuredDatasetType) XXX_Marshal added in v0.21.17

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

func (*StructuredDatasetType) XXX_Merge added in v0.21.17

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

func (*StructuredDatasetType) XXX_Size added in v0.21.17

func (m *StructuredDatasetType) XXX_Size() int

func (*StructuredDatasetType) XXX_Unmarshal added in v0.21.17

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

type StructuredDatasetTypeValidationError added in v0.21.17

type StructuredDatasetTypeValidationError struct {
	// contains filtered or unexported fields
}

StructuredDatasetTypeValidationError is the validation error returned by StructuredDatasetType.Validate if the designated constraints aren't met.

func (StructuredDatasetTypeValidationError) Cause added in v0.21.17

Cause function returns cause value.

func (StructuredDatasetTypeValidationError) Error added in v0.21.17

Error satisfies the builtin error interface

func (StructuredDatasetTypeValidationError) ErrorName added in v0.21.17

ErrorName returns error name.

func (StructuredDatasetTypeValidationError) Field added in v0.21.17

Field function returns field value.

func (StructuredDatasetTypeValidationError) Key added in v0.21.17

Key function returns key value.

func (StructuredDatasetTypeValidationError) Reason added in v0.21.17

Reason function returns reason value.

type StructuredDatasetType_DatasetColumn added in v0.21.17

type StructuredDatasetType_DatasetColumn struct {
	// A unique name within the schema type for the column.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// The column type.
	LiteralType          *LiteralType `protobuf:"bytes,2,opt,name=literal_type,json=literalType,proto3" json:"literal_type,omitempty"`
	XXX_NoUnkeyedLiteral struct{}     `json:"-"`
	XXX_unrecognized     []byte       `json:"-"`
	XXX_sizecache        int32        `json:"-"`
}

func (*StructuredDatasetType_DatasetColumn) Descriptor added in v0.21.17

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

func (*StructuredDatasetType_DatasetColumn) GetLiteralType added in v0.21.17

func (m *StructuredDatasetType_DatasetColumn) GetLiteralType() *LiteralType

func (*StructuredDatasetType_DatasetColumn) GetName added in v0.21.17

func (*StructuredDatasetType_DatasetColumn) ProtoMessage added in v0.21.17

func (*StructuredDatasetType_DatasetColumn) ProtoMessage()

func (*StructuredDatasetType_DatasetColumn) Reset added in v0.21.17

func (*StructuredDatasetType_DatasetColumn) String added in v0.21.17

func (*StructuredDatasetType_DatasetColumn) Validate added in v0.21.17

Validate checks the field values on StructuredDatasetType_DatasetColumn with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*StructuredDatasetType_DatasetColumn) XXX_DiscardUnknown added in v0.21.17

func (m *StructuredDatasetType_DatasetColumn) XXX_DiscardUnknown()

func (*StructuredDatasetType_DatasetColumn) XXX_Marshal added in v0.21.17

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

func (*StructuredDatasetType_DatasetColumn) XXX_Merge added in v0.21.17

func (*StructuredDatasetType_DatasetColumn) XXX_Size added in v0.21.17

func (*StructuredDatasetType_DatasetColumn) XXX_Unmarshal added in v0.21.17

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

type StructuredDatasetType_DatasetColumnValidationError added in v0.21.17

type StructuredDatasetType_DatasetColumnValidationError struct {
	// contains filtered or unexported fields
}

StructuredDatasetType_DatasetColumnValidationError is the validation error returned by StructuredDatasetType_DatasetColumn.Validate if the designated constraints aren't met.

func (StructuredDatasetType_DatasetColumnValidationError) Cause added in v0.21.17

Cause function returns cause value.

func (StructuredDatasetType_DatasetColumnValidationError) Error added in v0.21.17

Error satisfies the builtin error interface

func (StructuredDatasetType_DatasetColumnValidationError) ErrorName added in v0.21.17

ErrorName returns error name.

func (StructuredDatasetType_DatasetColumnValidationError) Field added in v0.21.17

Field function returns field value.

func (StructuredDatasetType_DatasetColumnValidationError) Key added in v0.21.17

Key function returns key value.

func (StructuredDatasetType_DatasetColumnValidationError) Reason added in v0.21.17

Reason function returns reason value.

type StructuredDatasetValidationError added in v0.21.17

type StructuredDatasetValidationError struct {
	// contains filtered or unexported fields
}

StructuredDatasetValidationError is the validation error returned by StructuredDataset.Validate if the designated constraints aren't met.

func (StructuredDatasetValidationError) Cause added in v0.21.17

Cause function returns cause value.

func (StructuredDatasetValidationError) Error added in v0.21.17

Error satisfies the builtin error interface

func (StructuredDatasetValidationError) ErrorName added in v0.21.17

ErrorName returns error name.

func (StructuredDatasetValidationError) Field added in v0.21.17

Field function returns field value.

func (StructuredDatasetValidationError) Key added in v0.21.17

Key function returns key value.

func (StructuredDatasetValidationError) Reason added in v0.21.17

Reason function returns reason value.

type TaskExecution

type TaskExecution struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Phases that task plugins can go through. Not all phases may be applicable to a specific plugin task, but this is the cumulative list that customers may want to know about for their task.

func (*TaskExecution) Descriptor

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

func (*TaskExecution) ProtoMessage

func (*TaskExecution) ProtoMessage()

func (*TaskExecution) Reset

func (m *TaskExecution) Reset()

func (*TaskExecution) String

func (m *TaskExecution) String() string

func (*TaskExecution) Validate

func (m *TaskExecution) Validate() error

Validate checks the field values on TaskExecution with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*TaskExecution) XXX_DiscardUnknown

func (m *TaskExecution) XXX_DiscardUnknown()

func (*TaskExecution) XXX_Marshal

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

func (*TaskExecution) XXX_Merge

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

func (*TaskExecution) XXX_Size

func (m *TaskExecution) XXX_Size() int

func (*TaskExecution) XXX_Unmarshal

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

type TaskExecutionIdentifier

type TaskExecutionIdentifier struct {
	TaskId               *Identifier              `protobuf:"bytes,1,opt,name=task_id,json=taskId,proto3" json:"task_id,omitempty"`
	NodeExecutionId      *NodeExecutionIdentifier `protobuf:"bytes,2,opt,name=node_execution_id,json=nodeExecutionId,proto3" json:"node_execution_id,omitempty"`
	RetryAttempt         uint32                   `protobuf:"varint,3,opt,name=retry_attempt,json=retryAttempt,proto3" json:"retry_attempt,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                 `json:"-"`
	XXX_unrecognized     []byte                   `json:"-"`
	XXX_sizecache        int32                    `json:"-"`
}

Encapsulation of fields that identify a Flyte task execution entity.

func (*TaskExecutionIdentifier) Descriptor

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

func (*TaskExecutionIdentifier) GetNodeExecutionId

func (m *TaskExecutionIdentifier) GetNodeExecutionId() *NodeExecutionIdentifier

func (*TaskExecutionIdentifier) GetRetryAttempt

func (m *TaskExecutionIdentifier) GetRetryAttempt() uint32

func (*TaskExecutionIdentifier) GetTaskId

func (m *TaskExecutionIdentifier) GetTaskId() *Identifier

func (*TaskExecutionIdentifier) ProtoMessage

func (*TaskExecutionIdentifier) ProtoMessage()

func (*TaskExecutionIdentifier) Reset

func (m *TaskExecutionIdentifier) Reset()

func (*TaskExecutionIdentifier) String

func (m *TaskExecutionIdentifier) String() string

func (*TaskExecutionIdentifier) Validate

func (m *TaskExecutionIdentifier) Validate() error

Validate checks the field values on TaskExecutionIdentifier with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*TaskExecutionIdentifier) XXX_DiscardUnknown

func (m *TaskExecutionIdentifier) XXX_DiscardUnknown()

func (*TaskExecutionIdentifier) XXX_Marshal

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

func (*TaskExecutionIdentifier) XXX_Merge

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

func (*TaskExecutionIdentifier) XXX_Size

func (m *TaskExecutionIdentifier) XXX_Size() int

func (*TaskExecutionIdentifier) XXX_Unmarshal

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

type TaskExecutionIdentifierValidationError

type TaskExecutionIdentifierValidationError struct {
	// contains filtered or unexported fields
}

TaskExecutionIdentifierValidationError is the validation error returned by TaskExecutionIdentifier.Validate if the designated constraints aren't met.

func (TaskExecutionIdentifierValidationError) Cause

Cause function returns cause value.

func (TaskExecutionIdentifierValidationError) Error

Error satisfies the builtin error interface

func (TaskExecutionIdentifierValidationError) ErrorName

ErrorName returns error name.

func (TaskExecutionIdentifierValidationError) Field

Field function returns field value.

func (TaskExecutionIdentifierValidationError) Key

Key function returns key value.

func (TaskExecutionIdentifierValidationError) Reason

Reason function returns reason value.

type TaskExecutionValidationError

type TaskExecutionValidationError struct {
	// contains filtered or unexported fields
}

TaskExecutionValidationError is the validation error returned by TaskExecution.Validate if the designated constraints aren't met.

func (TaskExecutionValidationError) Cause

Cause function returns cause value.

func (TaskExecutionValidationError) Error

Error satisfies the builtin error interface

func (TaskExecutionValidationError) ErrorName

func (e TaskExecutionValidationError) ErrorName() string

ErrorName returns error name.

func (TaskExecutionValidationError) Field

Field function returns field value.

func (TaskExecutionValidationError) Key

Key function returns key value.

func (TaskExecutionValidationError) Reason

Reason function returns reason value.

type TaskExecution_Phase

type TaskExecution_Phase int32
const (
	TaskExecution_UNDEFINED TaskExecution_Phase = 0
	TaskExecution_QUEUED    TaskExecution_Phase = 1
	TaskExecution_RUNNING   TaskExecution_Phase = 2
	TaskExecution_SUCCEEDED TaskExecution_Phase = 3
	TaskExecution_ABORTED   TaskExecution_Phase = 4
	TaskExecution_FAILED    TaskExecution_Phase = 5
	// To indicate cases where task is initializing, like: ErrImagePull, ContainerCreating, PodInitializing
	TaskExecution_INITIALIZING TaskExecution_Phase = 6
	// To address cases, where underlying resource is not available: Backoff error, Resource quota exceeded
	TaskExecution_WAITING_FOR_RESOURCES TaskExecution_Phase = 7
)

func (TaskExecution_Phase) EnumDescriptor

func (TaskExecution_Phase) EnumDescriptor() ([]byte, []int)

func (TaskExecution_Phase) String

func (x TaskExecution_Phase) String() string

type TaskLog

type TaskLog struct {
	Uri                  string                `protobuf:"bytes,1,opt,name=uri,proto3" json:"uri,omitempty"`
	Name                 string                `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	MessageFormat        TaskLog_MessageFormat `` /* 142-byte string literal not displayed */
	Ttl                  *duration.Duration    `protobuf:"bytes,4,opt,name=ttl,proto3" json:"ttl,omitempty"`
	XXX_NoUnkeyedLiteral struct{}              `json:"-"`
	XXX_unrecognized     []byte                `json:"-"`
	XXX_sizecache        int32                 `json:"-"`
}

Log information for the task that is specific to a log sink When our log story is flushed out, we may have more metadata here like log link expiry

func (*TaskLog) Descriptor

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

func (*TaskLog) GetMessageFormat

func (m *TaskLog) GetMessageFormat() TaskLog_MessageFormat

func (*TaskLog) GetName

func (m *TaskLog) GetName() string

func (*TaskLog) GetTtl

func (m *TaskLog) GetTtl() *duration.Duration

func (*TaskLog) GetUri

func (m *TaskLog) GetUri() string

func (*TaskLog) ProtoMessage

func (*TaskLog) ProtoMessage()

func (*TaskLog) Reset

func (m *TaskLog) Reset()

func (*TaskLog) String

func (m *TaskLog) String() string

func (*TaskLog) Validate

func (m *TaskLog) Validate() error

Validate checks the field values on TaskLog with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*TaskLog) XXX_DiscardUnknown

func (m *TaskLog) XXX_DiscardUnknown()

func (*TaskLog) XXX_Marshal

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

func (*TaskLog) XXX_Merge

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

func (*TaskLog) XXX_Size

func (m *TaskLog) XXX_Size() int

func (*TaskLog) XXX_Unmarshal

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

type TaskLogValidationError

type TaskLogValidationError struct {
	// contains filtered or unexported fields
}

TaskLogValidationError is the validation error returned by TaskLog.Validate if the designated constraints aren't met.

func (TaskLogValidationError) Cause

func (e TaskLogValidationError) Cause() error

Cause function returns cause value.

func (TaskLogValidationError) Error

func (e TaskLogValidationError) Error() string

Error satisfies the builtin error interface

func (TaskLogValidationError) ErrorName

func (e TaskLogValidationError) ErrorName() string

ErrorName returns error name.

func (TaskLogValidationError) Field

func (e TaskLogValidationError) Field() string

Field function returns field value.

func (TaskLogValidationError) Key

func (e TaskLogValidationError) Key() bool

Key function returns key value.

func (TaskLogValidationError) Reason

func (e TaskLogValidationError) Reason() string

Reason function returns reason value.

type TaskLog_MessageFormat

type TaskLog_MessageFormat int32
const (
	TaskLog_UNKNOWN TaskLog_MessageFormat = 0
	TaskLog_CSV     TaskLog_MessageFormat = 1
	TaskLog_JSON    TaskLog_MessageFormat = 2
)

func (TaskLog_MessageFormat) EnumDescriptor

func (TaskLog_MessageFormat) EnumDescriptor() ([]byte, []int)

func (TaskLog_MessageFormat) String

func (x TaskLog_MessageFormat) String() string

type TaskMetadata

type TaskMetadata struct {
	// Indicates whether the system should attempt to lookup this task's output to avoid duplication of work.
	Discoverable bool `protobuf:"varint,1,opt,name=discoverable,proto3" json:"discoverable,omitempty"`
	// Runtime information about the task.
	Runtime *RuntimeMetadata `protobuf:"bytes,2,opt,name=runtime,proto3" json:"runtime,omitempty"`
	// The overall timeout of a task including user-triggered retries.
	Timeout *duration.Duration `protobuf:"bytes,4,opt,name=timeout,proto3" json:"timeout,omitempty"`
	// Number of retries per task.
	Retries *RetryStrategy `protobuf:"bytes,5,opt,name=retries,proto3" json:"retries,omitempty"`
	// Indicates a logical version to apply to this task for the purpose of discovery.
	DiscoveryVersion string `protobuf:"bytes,6,opt,name=discovery_version,json=discoveryVersion,proto3" json:"discovery_version,omitempty"`
	// If set, this indicates that this task is deprecated.  This will enable owners of tasks to notify consumers
	// of the ending of support for a given task.
	DeprecatedErrorMessage string `` /* 129-byte string literal not displayed */
	// Identify whether task is interruptible
	//
	// Types that are valid to be assigned to InterruptibleValue:
	//	*TaskMetadata_Interruptible
	InterruptibleValue isTaskMetadata_InterruptibleValue `protobuf_oneof:"interruptible_value"`
	// Indicates whether the system should attempt to execute discoverable instances in serial to avoid duplicate work
	CacheSerializable    bool     `protobuf:"varint,9,opt,name=cache_serializable,json=cacheSerializable,proto3" json:"cache_serializable,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Task Metadata

func (*TaskMetadata) Descriptor

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

func (*TaskMetadata) GetCacheSerializable added in v0.21.11

func (m *TaskMetadata) GetCacheSerializable() bool

func (*TaskMetadata) GetDeprecatedErrorMessage

func (m *TaskMetadata) GetDeprecatedErrorMessage() string

func (*TaskMetadata) GetDiscoverable

func (m *TaskMetadata) GetDiscoverable() bool

func (*TaskMetadata) GetDiscoveryVersion

func (m *TaskMetadata) GetDiscoveryVersion() string

func (*TaskMetadata) GetInterruptible added in v0.18.15

func (m *TaskMetadata) GetInterruptible() bool

func (*TaskMetadata) GetInterruptibleValue added in v0.18.15

func (m *TaskMetadata) GetInterruptibleValue() isTaskMetadata_InterruptibleValue

func (*TaskMetadata) GetRetries

func (m *TaskMetadata) GetRetries() *RetryStrategy

func (*TaskMetadata) GetRuntime

func (m *TaskMetadata) GetRuntime() *RuntimeMetadata

func (*TaskMetadata) GetTimeout

func (m *TaskMetadata) GetTimeout() *duration.Duration

func (*TaskMetadata) ProtoMessage

func (*TaskMetadata) ProtoMessage()

func (*TaskMetadata) Reset

func (m *TaskMetadata) Reset()

func (*TaskMetadata) String

func (m *TaskMetadata) String() string

func (*TaskMetadata) Validate

func (m *TaskMetadata) Validate() error

Validate checks the field values on TaskMetadata with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*TaskMetadata) XXX_DiscardUnknown

func (m *TaskMetadata) XXX_DiscardUnknown()

func (*TaskMetadata) XXX_Marshal

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

func (*TaskMetadata) XXX_Merge

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

func (*TaskMetadata) XXX_OneofWrappers added in v0.18.15

func (*TaskMetadata) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*TaskMetadata) XXX_Size

func (m *TaskMetadata) XXX_Size() int

func (*TaskMetadata) XXX_Unmarshal

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

type TaskMetadataValidationError

type TaskMetadataValidationError struct {
	// contains filtered or unexported fields
}

TaskMetadataValidationError is the validation error returned by TaskMetadata.Validate if the designated constraints aren't met.

func (TaskMetadataValidationError) Cause

Cause function returns cause value.

func (TaskMetadataValidationError) Error

Error satisfies the builtin error interface

func (TaskMetadataValidationError) ErrorName

func (e TaskMetadataValidationError) ErrorName() string

ErrorName returns error name.

func (TaskMetadataValidationError) Field

Field function returns field value.

func (TaskMetadataValidationError) Key

Key function returns key value.

func (TaskMetadataValidationError) Reason

Reason function returns reason value.

type TaskMetadata_Interruptible added in v0.18.15

type TaskMetadata_Interruptible struct {
	Interruptible bool `protobuf:"varint,8,opt,name=interruptible,proto3,oneof"`
}

type TaskNode

type TaskNode struct {
	// Types that are valid to be assigned to Reference:
	//	*TaskNode_ReferenceId
	Reference isTaskNode_Reference `protobuf_oneof:"reference"`
	// Optional overrides applied at task execution time.
	Overrides            *TaskNodeOverrides `protobuf:"bytes,2,opt,name=overrides,proto3" json:"overrides,omitempty"`
	XXX_NoUnkeyedLiteral struct{}           `json:"-"`
	XXX_unrecognized     []byte             `json:"-"`
	XXX_sizecache        int32              `json:"-"`
}

Refers to the task that the Node is to execute.

func (*TaskNode) Descriptor

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

func (*TaskNode) GetOverrides added in v0.19.5

func (m *TaskNode) GetOverrides() *TaskNodeOverrides

func (*TaskNode) GetReference

func (m *TaskNode) GetReference() isTaskNode_Reference

func (*TaskNode) GetReferenceId

func (m *TaskNode) GetReferenceId() *Identifier

func (*TaskNode) ProtoMessage

func (*TaskNode) ProtoMessage()

func (*TaskNode) Reset

func (m *TaskNode) Reset()

func (*TaskNode) String

func (m *TaskNode) String() string

func (*TaskNode) Validate

func (m *TaskNode) Validate() error

Validate checks the field values on TaskNode with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*TaskNode) XXX_DiscardUnknown

func (m *TaskNode) XXX_DiscardUnknown()

func (*TaskNode) XXX_Marshal

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

func (*TaskNode) XXX_Merge

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

func (*TaskNode) XXX_OneofWrappers added in v0.16.1

func (*TaskNode) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*TaskNode) XXX_Size

func (m *TaskNode) XXX_Size() int

func (*TaskNode) XXX_Unmarshal

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

type TaskNodeOverrides added in v0.19.5

type TaskNodeOverrides struct {
	// A customizable interface to convey resources requested for a task container.
	Resources            *Resources `protobuf:"bytes,1,opt,name=resources,proto3" json:"resources,omitempty"`
	XXX_NoUnkeyedLiteral struct{}   `json:"-"`
	XXX_unrecognized     []byte     `json:"-"`
	XXX_sizecache        int32      `json:"-"`
}

Optional task node overrides that will be applied at task execution time.

func (*TaskNodeOverrides) Descriptor added in v0.19.5

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

func (*TaskNodeOverrides) GetResources added in v0.19.5

func (m *TaskNodeOverrides) GetResources() *Resources

func (*TaskNodeOverrides) ProtoMessage added in v0.19.5

func (*TaskNodeOverrides) ProtoMessage()

func (*TaskNodeOverrides) Reset added in v0.19.5

func (m *TaskNodeOverrides) Reset()

func (*TaskNodeOverrides) String added in v0.19.5

func (m *TaskNodeOverrides) String() string

func (*TaskNodeOverrides) Validate added in v0.19.5

func (m *TaskNodeOverrides) Validate() error

Validate checks the field values on TaskNodeOverrides with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*TaskNodeOverrides) XXX_DiscardUnknown added in v0.19.5

func (m *TaskNodeOverrides) XXX_DiscardUnknown()

func (*TaskNodeOverrides) XXX_Marshal added in v0.19.5

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

func (*TaskNodeOverrides) XXX_Merge added in v0.19.5

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

func (*TaskNodeOverrides) XXX_Size added in v0.19.5

func (m *TaskNodeOverrides) XXX_Size() int

func (*TaskNodeOverrides) XXX_Unmarshal added in v0.19.5

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

type TaskNodeOverridesValidationError added in v0.19.5

type TaskNodeOverridesValidationError struct {
	// contains filtered or unexported fields
}

TaskNodeOverridesValidationError is the validation error returned by TaskNodeOverrides.Validate if the designated constraints aren't met.

func (TaskNodeOverridesValidationError) Cause added in v0.19.5

Cause function returns cause value.

func (TaskNodeOverridesValidationError) Error added in v0.19.5

Error satisfies the builtin error interface

func (TaskNodeOverridesValidationError) ErrorName added in v0.19.5

ErrorName returns error name.

func (TaskNodeOverridesValidationError) Field added in v0.19.5

Field function returns field value.

func (TaskNodeOverridesValidationError) Key added in v0.19.5

Key function returns key value.

func (TaskNodeOverridesValidationError) Reason added in v0.19.5

Reason function returns reason value.

type TaskNodeValidationError

type TaskNodeValidationError struct {
	// contains filtered or unexported fields
}

TaskNodeValidationError is the validation error returned by TaskNode.Validate if the designated constraints aren't met.

func (TaskNodeValidationError) Cause

func (e TaskNodeValidationError) Cause() error

Cause function returns cause value.

func (TaskNodeValidationError) Error

func (e TaskNodeValidationError) Error() string

Error satisfies the builtin error interface

func (TaskNodeValidationError) ErrorName

func (e TaskNodeValidationError) ErrorName() string

ErrorName returns error name.

func (TaskNodeValidationError) Field

func (e TaskNodeValidationError) Field() string

Field function returns field value.

func (TaskNodeValidationError) Key

func (e TaskNodeValidationError) Key() bool

Key function returns key value.

func (TaskNodeValidationError) Reason

func (e TaskNodeValidationError) Reason() string

Reason function returns reason value.

type TaskNode_ReferenceId

type TaskNode_ReferenceId struct {
	ReferenceId *Identifier `protobuf:"bytes,1,opt,name=reference_id,json=referenceId,proto3,oneof"`
}

type TaskTemplate

type TaskTemplate struct {
	// Auto generated taskId by the system. Task Id uniquely identifies this task globally.
	Id *Identifier `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// A predefined yet extensible Task type identifier. This can be used to customize any of the components. If no
	// extensions are provided in the system, Flyte will resolve the this task to its TaskCategory and default the
	// implementation registered for the TaskCategory.
	Type string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"`
	// Extra metadata about the task.
	Metadata *TaskMetadata `protobuf:"bytes,3,opt,name=metadata,proto3" json:"metadata,omitempty"`
	// A strongly typed interface for the task. This enables others to use this task within a workflow and guarantees
	// compile-time validation of the workflow to avoid costly runtime failures.
	Interface *TypedInterface `protobuf:"bytes,4,opt,name=interface,proto3" json:"interface,omitempty"`
	// Custom data about the task. This is extensible to allow various plugins in the system.
	Custom *_struct.Struct `protobuf:"bytes,5,opt,name=custom,proto3" json:"custom,omitempty"`
	// Known target types that the system will guarantee plugins for. Custom SDK plugins are allowed to set these if needed.
	// If no corresponding execution-layer plugins are found, the system will default to handling these using built-in
	// handlers.
	//
	// Types that are valid to be assigned to Target:
	//	*TaskTemplate_Container
	//	*TaskTemplate_K8SPod
	//	*TaskTemplate_Sql
	Target isTaskTemplate_Target `protobuf_oneof:"target"`
	// This can be used to customize task handling at execution time for the same task type.
	TaskTypeVersion int32 `protobuf:"varint,7,opt,name=task_type_version,json=taskTypeVersion,proto3" json:"task_type_version,omitempty"`
	// security_context encapsulates security attributes requested to run this task.
	SecurityContext *SecurityContext `protobuf:"bytes,8,opt,name=security_context,json=securityContext,proto3" json:"security_context,omitempty"`
	// Metadata about the custom defined for this task. This is extensible to allow various plugins in the system
	// to use as required.
	// reserve the field numbers 1 through 15 for very frequently occurring message elements
	Config               map[string]string `` /* 154-byte string literal not displayed */
	XXX_NoUnkeyedLiteral struct{}          `json:"-"`
	XXX_unrecognized     []byte            `json:"-"`
	XXX_sizecache        int32             `json:"-"`
}

A Task structure that uniquely identifies a task in the system Tasks are registered as a first step in the system.

func (*TaskTemplate) Descriptor

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

func (*TaskTemplate) GetConfig added in v0.18.17

func (m *TaskTemplate) GetConfig() map[string]string

func (*TaskTemplate) GetContainer

func (m *TaskTemplate) GetContainer() *Container

func (*TaskTemplate) GetCustom

func (m *TaskTemplate) GetCustom() *_struct.Struct

func (*TaskTemplate) GetId

func (m *TaskTemplate) GetId() *Identifier

func (*TaskTemplate) GetInterface

func (m *TaskTemplate) GetInterface() *TypedInterface

func (*TaskTemplate) GetK8SPod added in v0.18.48

func (m *TaskTemplate) GetK8SPod() *K8SPod

func (*TaskTemplate) GetMetadata

func (m *TaskTemplate) GetMetadata() *TaskMetadata

func (*TaskTemplate) GetSecurityContext added in v0.18.16

func (m *TaskTemplate) GetSecurityContext() *SecurityContext

func (*TaskTemplate) GetSql added in v0.20.1

func (m *TaskTemplate) GetSql() *Sql

func (*TaskTemplate) GetTarget

func (m *TaskTemplate) GetTarget() isTaskTemplate_Target

func (*TaskTemplate) GetTaskTypeVersion added in v0.18.15

func (m *TaskTemplate) GetTaskTypeVersion() int32

func (*TaskTemplate) GetType

func (m *TaskTemplate) GetType() string

func (*TaskTemplate) ProtoMessage

func (*TaskTemplate) ProtoMessage()

func (*TaskTemplate) Reset

func (m *TaskTemplate) Reset()

func (*TaskTemplate) String

func (m *TaskTemplate) String() string

func (*TaskTemplate) Validate

func (m *TaskTemplate) Validate() error

Validate checks the field values on TaskTemplate with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*TaskTemplate) XXX_DiscardUnknown

func (m *TaskTemplate) XXX_DiscardUnknown()

func (*TaskTemplate) XXX_Marshal

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

func (*TaskTemplate) XXX_Merge

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

func (*TaskTemplate) XXX_OneofWrappers added in v0.16.1

func (*TaskTemplate) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*TaskTemplate) XXX_Size

func (m *TaskTemplate) XXX_Size() int

func (*TaskTemplate) XXX_Unmarshal

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

type TaskTemplateValidationError

type TaskTemplateValidationError struct {
	// contains filtered or unexported fields
}

TaskTemplateValidationError is the validation error returned by TaskTemplate.Validate if the designated constraints aren't met.

func (TaskTemplateValidationError) Cause

Cause function returns cause value.

func (TaskTemplateValidationError) Error

Error satisfies the builtin error interface

func (TaskTemplateValidationError) ErrorName

func (e TaskTemplateValidationError) ErrorName() string

ErrorName returns error name.

func (TaskTemplateValidationError) Field

Field function returns field value.

func (TaskTemplateValidationError) Key

Key function returns key value.

func (TaskTemplateValidationError) Reason

Reason function returns reason value.

type TaskTemplate_Container

type TaskTemplate_Container struct {
	Container *Container `protobuf:"bytes,6,opt,name=container,proto3,oneof"`
}

type TaskTemplate_K8SPod added in v0.18.48

type TaskTemplate_K8SPod struct {
	K8SPod *K8SPod `protobuf:"bytes,17,opt,name=k8s_pod,json=k8sPod,proto3,oneof"`
}

type TaskTemplate_Sql added in v0.20.1

type TaskTemplate_Sql struct {
	Sql *Sql `protobuf:"bytes,18,opt,name=sql,proto3,oneof"`
}

type TypeAnnotation added in v0.22.0

type TypeAnnotation struct {
	// A arbitrary JSON payload to describe a type.
	Annotations          *_struct.Struct `protobuf:"bytes,1,opt,name=annotations,proto3" json:"annotations,omitempty"`
	XXX_NoUnkeyedLiteral struct{}        `json:"-"`
	XXX_unrecognized     []byte          `json:"-"`
	XXX_sizecache        int32           `json:"-"`
}

TypeAnnotation encapsulates registration time information about a type. This can be used for various control-plane operations. TypeAnnotation will not be available at runtime when a task runs.

func (*TypeAnnotation) Descriptor added in v0.22.0

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

func (*TypeAnnotation) GetAnnotations added in v0.22.0

func (m *TypeAnnotation) GetAnnotations() *_struct.Struct

func (*TypeAnnotation) ProtoMessage added in v0.22.0

func (*TypeAnnotation) ProtoMessage()

func (*TypeAnnotation) Reset added in v0.22.0

func (m *TypeAnnotation) Reset()

func (*TypeAnnotation) String added in v0.22.0

func (m *TypeAnnotation) String() string

func (*TypeAnnotation) Validate added in v0.22.0

func (m *TypeAnnotation) Validate() error

Validate checks the field values on TypeAnnotation with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*TypeAnnotation) XXX_DiscardUnknown added in v0.22.0

func (m *TypeAnnotation) XXX_DiscardUnknown()

func (*TypeAnnotation) XXX_Marshal added in v0.22.0

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

func (*TypeAnnotation) XXX_Merge added in v0.22.0

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

func (*TypeAnnotation) XXX_Size added in v0.22.0

func (m *TypeAnnotation) XXX_Size() int

func (*TypeAnnotation) XXX_Unmarshal added in v0.22.0

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

type TypeAnnotationValidationError added in v0.22.0

type TypeAnnotationValidationError struct {
	// contains filtered or unexported fields
}

TypeAnnotationValidationError is the validation error returned by TypeAnnotation.Validate if the designated constraints aren't met.

func (TypeAnnotationValidationError) Cause added in v0.22.0

Cause function returns cause value.

func (TypeAnnotationValidationError) Error added in v0.22.0

Error satisfies the builtin error interface

func (TypeAnnotationValidationError) ErrorName added in v0.22.0

func (e TypeAnnotationValidationError) ErrorName() string

ErrorName returns error name.

func (TypeAnnotationValidationError) Field added in v0.22.0

Field function returns field value.

func (TypeAnnotationValidationError) Key added in v0.22.0

Key function returns key value.

func (TypeAnnotationValidationError) Reason added in v0.22.0

Reason function returns reason value.

type TypeStructure added in v0.24.0

type TypeStructure struct {
	// Must exactly match for types to be castable
	Tag                  string   `protobuf:"bytes,1,opt,name=tag,proto3" json:"tag,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Hints to improve type matching e.g. allows distinguishing output from custom type transformers even if the underlying IDL serialization matches.

func (*TypeStructure) Descriptor added in v0.24.0

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

func (*TypeStructure) GetTag added in v0.24.0

func (m *TypeStructure) GetTag() string

func (*TypeStructure) ProtoMessage added in v0.24.0

func (*TypeStructure) ProtoMessage()

func (*TypeStructure) Reset added in v0.24.0

func (m *TypeStructure) Reset()

func (*TypeStructure) String added in v0.24.0

func (m *TypeStructure) String() string

func (*TypeStructure) Validate added in v0.24.0

func (m *TypeStructure) Validate() error

Validate checks the field values on TypeStructure with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*TypeStructure) XXX_DiscardUnknown added in v0.24.0

func (m *TypeStructure) XXX_DiscardUnknown()

func (*TypeStructure) XXX_Marshal added in v0.24.0

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

func (*TypeStructure) XXX_Merge added in v0.24.0

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

func (*TypeStructure) XXX_Size added in v0.24.0

func (m *TypeStructure) XXX_Size() int

func (*TypeStructure) XXX_Unmarshal added in v0.24.0

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

type TypeStructureValidationError added in v0.24.0

type TypeStructureValidationError struct {
	// contains filtered or unexported fields
}

TypeStructureValidationError is the validation error returned by TypeStructure.Validate if the designated constraints aren't met.

func (TypeStructureValidationError) Cause added in v0.24.0

Cause function returns cause value.

func (TypeStructureValidationError) Error added in v0.24.0

Error satisfies the builtin error interface

func (TypeStructureValidationError) ErrorName added in v0.24.0

func (e TypeStructureValidationError) ErrorName() string

ErrorName returns error name.

func (TypeStructureValidationError) Field added in v0.24.0

Field function returns field value.

func (TypeStructureValidationError) Key added in v0.24.0

Key function returns key value.

func (TypeStructureValidationError) Reason added in v0.24.0

Reason function returns reason value.

type TypedInterface

type TypedInterface struct {
	Inputs               *VariableMap `protobuf:"bytes,1,opt,name=inputs,proto3" json:"inputs,omitempty"`
	Outputs              *VariableMap `protobuf:"bytes,2,opt,name=outputs,proto3" json:"outputs,omitempty"`
	XXX_NoUnkeyedLiteral struct{}     `json:"-"`
	XXX_unrecognized     []byte       `json:"-"`
	XXX_sizecache        int32        `json:"-"`
}

Defines strongly typed inputs and outputs.

func (*TypedInterface) Descriptor

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

func (*TypedInterface) GetInputs

func (m *TypedInterface) GetInputs() *VariableMap

func (*TypedInterface) GetOutputs

func (m *TypedInterface) GetOutputs() *VariableMap

func (*TypedInterface) ProtoMessage

func (*TypedInterface) ProtoMessage()

func (*TypedInterface) Reset

func (m *TypedInterface) Reset()

func (*TypedInterface) String

func (m *TypedInterface) String() string

func (*TypedInterface) Validate

func (m *TypedInterface) Validate() error

Validate checks the field values on TypedInterface with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*TypedInterface) XXX_DiscardUnknown

func (m *TypedInterface) XXX_DiscardUnknown()

func (*TypedInterface) XXX_Marshal

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

func (*TypedInterface) XXX_Merge

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

func (*TypedInterface) XXX_Size

func (m *TypedInterface) XXX_Size() int

func (*TypedInterface) XXX_Unmarshal

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

type TypedInterfaceValidationError

type TypedInterfaceValidationError struct {
	// contains filtered or unexported fields
}

TypedInterfaceValidationError is the validation error returned by TypedInterface.Validate if the designated constraints aren't met.

func (TypedInterfaceValidationError) Cause

Cause function returns cause value.

func (TypedInterfaceValidationError) Error

Error satisfies the builtin error interface

func (TypedInterfaceValidationError) ErrorName

func (e TypedInterfaceValidationError) ErrorName() string

ErrorName returns error name.

func (TypedInterfaceValidationError) Field

Field function returns field value.

func (TypedInterfaceValidationError) Key

Key function returns key value.

func (TypedInterfaceValidationError) Reason

Reason function returns reason value.

type Union added in v0.24.0

type Union struct {
	Value                *Literal     `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
	Type                 *LiteralType `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"`
	XXX_NoUnkeyedLiteral struct{}     `json:"-"`
	XXX_unrecognized     []byte       `json:"-"`
	XXX_sizecache        int32        `json:"-"`
}

The runtime representation of a tagged union value. See `UnionType` for more details.

func (*Union) Descriptor added in v0.24.0

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

func (*Union) GetType added in v0.24.0

func (m *Union) GetType() *LiteralType

func (*Union) GetValue added in v0.24.0

func (m *Union) GetValue() *Literal

func (*Union) ProtoMessage added in v0.24.0

func (*Union) ProtoMessage()

func (*Union) Reset added in v0.24.0

func (m *Union) Reset()

func (*Union) String added in v0.24.0

func (m *Union) String() string

func (*Union) Validate added in v0.24.0

func (m *Union) Validate() error

Validate checks the field values on Union with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*Union) XXX_DiscardUnknown added in v0.24.0

func (m *Union) XXX_DiscardUnknown()

func (*Union) XXX_Marshal added in v0.24.0

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

func (*Union) XXX_Merge added in v0.24.0

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

func (*Union) XXX_Size added in v0.24.0

func (m *Union) XXX_Size() int

func (*Union) XXX_Unmarshal added in v0.24.0

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

type UnionInfo added in v0.24.0

type UnionInfo struct {
	TargetType           *LiteralType `protobuf:"bytes,1,opt,name=targetType,proto3" json:"targetType,omitempty"`
	XXX_NoUnkeyedLiteral struct{}     `json:"-"`
	XXX_unrecognized     []byte       `json:"-"`
	XXX_sizecache        int32        `json:"-"`
}

func (*UnionInfo) Descriptor added in v0.24.0

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

func (*UnionInfo) GetTargetType added in v0.24.0

func (m *UnionInfo) GetTargetType() *LiteralType

func (*UnionInfo) ProtoMessage added in v0.24.0

func (*UnionInfo) ProtoMessage()

func (*UnionInfo) Reset added in v0.24.0

func (m *UnionInfo) Reset()

func (*UnionInfo) String added in v0.24.0

func (m *UnionInfo) String() string

func (*UnionInfo) Validate added in v0.24.0

func (m *UnionInfo) Validate() error

Validate checks the field values on UnionInfo with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*UnionInfo) XXX_DiscardUnknown added in v0.24.0

func (m *UnionInfo) XXX_DiscardUnknown()

func (*UnionInfo) XXX_Marshal added in v0.24.0

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

func (*UnionInfo) XXX_Merge added in v0.24.0

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

func (*UnionInfo) XXX_Size added in v0.24.0

func (m *UnionInfo) XXX_Size() int

func (*UnionInfo) XXX_Unmarshal added in v0.24.0

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

type UnionInfoValidationError added in v0.24.0

type UnionInfoValidationError struct {
	// contains filtered or unexported fields
}

UnionInfoValidationError is the validation error returned by UnionInfo.Validate if the designated constraints aren't met.

func (UnionInfoValidationError) Cause added in v0.24.0

func (e UnionInfoValidationError) Cause() error

Cause function returns cause value.

func (UnionInfoValidationError) Error added in v0.24.0

func (e UnionInfoValidationError) Error() string

Error satisfies the builtin error interface

func (UnionInfoValidationError) ErrorName added in v0.24.0

func (e UnionInfoValidationError) ErrorName() string

ErrorName returns error name.

func (UnionInfoValidationError) Field added in v0.24.0

func (e UnionInfoValidationError) Field() string

Field function returns field value.

func (UnionInfoValidationError) Key added in v0.24.0

Key function returns key value.

func (UnionInfoValidationError) Reason added in v0.24.0

func (e UnionInfoValidationError) Reason() string

Reason function returns reason value.

type UnionType added in v0.24.0

type UnionType struct {
	// Predefined set of variants in union.
	Variants             []*LiteralType `protobuf:"bytes,1,rep,name=variants,proto3" json:"variants,omitempty"`
	XXX_NoUnkeyedLiteral struct{}       `json:"-"`
	XXX_unrecognized     []byte         `json:"-"`
	XXX_sizecache        int32          `json:"-"`
}

Defines a tagged union type, also known as a variant (and formally as the sum type).

A sum type S is defined by a sequence of types (A, B, C, ...), each tagged by a string tag A value of type S is constructed from a value of any of the variant types. The specific choice of type is recorded by storing the varaint's tag with the literal value and can be examined in runtime.

Type S is typically written as S := Apple A | Banana B | Cantaloupe C | ...

Notably, a nullable (optional) type is a sum type between some type X and the singleton type representing a null-value: Optional X := X | Null

See also: https://en.wikipedia.org/wiki/Tagged_union

func (*UnionType) Descriptor added in v0.24.0

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

func (*UnionType) GetVariants added in v0.24.0

func (m *UnionType) GetVariants() []*LiteralType

func (*UnionType) ProtoMessage added in v0.24.0

func (*UnionType) ProtoMessage()

func (*UnionType) Reset added in v0.24.0

func (m *UnionType) Reset()

func (*UnionType) String added in v0.24.0

func (m *UnionType) String() string

func (*UnionType) Validate added in v0.24.0

func (m *UnionType) Validate() error

Validate checks the field values on UnionType with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*UnionType) XXX_DiscardUnknown added in v0.24.0

func (m *UnionType) XXX_DiscardUnknown()

func (*UnionType) XXX_Marshal added in v0.24.0

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

func (*UnionType) XXX_Merge added in v0.24.0

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

func (*UnionType) XXX_Size added in v0.24.0

func (m *UnionType) XXX_Size() int

func (*UnionType) XXX_Unmarshal added in v0.24.0

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

type UnionTypeValidationError added in v0.24.0

type UnionTypeValidationError struct {
	// contains filtered or unexported fields
}

UnionTypeValidationError is the validation error returned by UnionType.Validate if the designated constraints aren't met.

func (UnionTypeValidationError) Cause added in v0.24.0

func (e UnionTypeValidationError) Cause() error

Cause function returns cause value.

func (UnionTypeValidationError) Error added in v0.24.0

func (e UnionTypeValidationError) Error() string

Error satisfies the builtin error interface

func (UnionTypeValidationError) ErrorName added in v0.24.0

func (e UnionTypeValidationError) ErrorName() string

ErrorName returns error name.

func (UnionTypeValidationError) Field added in v0.24.0

func (e UnionTypeValidationError) Field() string

Field function returns field value.

func (UnionTypeValidationError) Key added in v0.24.0

Key function returns key value.

func (UnionTypeValidationError) Reason added in v0.24.0

func (e UnionTypeValidationError) Reason() string

Reason function returns reason value.

type UnionValidationError added in v0.24.0

type UnionValidationError struct {
	// contains filtered or unexported fields
}

UnionValidationError is the validation error returned by Union.Validate if the designated constraints aren't met.

func (UnionValidationError) Cause added in v0.24.0

func (e UnionValidationError) Cause() error

Cause function returns cause value.

func (UnionValidationError) Error added in v0.24.0

func (e UnionValidationError) Error() string

Error satisfies the builtin error interface

func (UnionValidationError) ErrorName added in v0.24.0

func (e UnionValidationError) ErrorName() string

ErrorName returns error name.

func (UnionValidationError) Field added in v0.24.0

func (e UnionValidationError) Field() string

Field function returns field value.

func (UnionValidationError) Key added in v0.24.0

func (e UnionValidationError) Key() bool

Key function returns key value.

func (UnionValidationError) Reason added in v0.24.0

func (e UnionValidationError) Reason() string

Reason function returns reason value.

type Variable

type Variable struct {
	// Variable literal type.
	Type *LiteralType `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
	//+optional string describing input variable
	Description          string   `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Defines a strongly typed variable.

func (*Variable) Descriptor

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

func (*Variable) GetDescription

func (m *Variable) GetDescription() string

func (*Variable) GetType

func (m *Variable) GetType() *LiteralType

func (*Variable) ProtoMessage

func (*Variable) ProtoMessage()

func (*Variable) Reset

func (m *Variable) Reset()

func (*Variable) String

func (m *Variable) String() string

func (*Variable) Validate

func (m *Variable) Validate() error

Validate checks the field values on Variable with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*Variable) XXX_DiscardUnknown

func (m *Variable) XXX_DiscardUnknown()

func (*Variable) XXX_Marshal

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

func (*Variable) XXX_Merge

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

func (*Variable) XXX_Size

func (m *Variable) XXX_Size() int

func (*Variable) XXX_Unmarshal

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

type VariableMap

type VariableMap struct {
	// Defines a map of variable names to variables.
	Variables            map[string]*Variable `` /* 159-byte string literal not displayed */
	XXX_NoUnkeyedLiteral struct{}             `json:"-"`
	XXX_unrecognized     []byte               `json:"-"`
	XXX_sizecache        int32                `json:"-"`
}

A map of Variables

func (*VariableMap) Descriptor

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

func (*VariableMap) GetVariables

func (m *VariableMap) GetVariables() map[string]*Variable

func (*VariableMap) ProtoMessage

func (*VariableMap) ProtoMessage()

func (*VariableMap) Reset

func (m *VariableMap) Reset()

func (*VariableMap) String

func (m *VariableMap) String() string

func (*VariableMap) Validate

func (m *VariableMap) Validate() error

Validate checks the field values on VariableMap with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*VariableMap) XXX_DiscardUnknown

func (m *VariableMap) XXX_DiscardUnknown()

func (*VariableMap) XXX_Marshal

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

func (*VariableMap) XXX_Merge

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

func (*VariableMap) XXX_Size

func (m *VariableMap) XXX_Size() int

func (*VariableMap) XXX_Unmarshal

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

type VariableMapValidationError

type VariableMapValidationError struct {
	// contains filtered or unexported fields
}

VariableMapValidationError is the validation error returned by VariableMap.Validate if the designated constraints aren't met.

func (VariableMapValidationError) Cause

Cause function returns cause value.

func (VariableMapValidationError) Error

Error satisfies the builtin error interface

func (VariableMapValidationError) ErrorName

func (e VariableMapValidationError) ErrorName() string

ErrorName returns error name.

func (VariableMapValidationError) Field

Field function returns field value.

func (VariableMapValidationError) Key

Key function returns key value.

func (VariableMapValidationError) Reason

Reason function returns reason value.

type VariableValidationError

type VariableValidationError struct {
	// contains filtered or unexported fields
}

VariableValidationError is the validation error returned by Variable.Validate if the designated constraints aren't met.

func (VariableValidationError) Cause

func (e VariableValidationError) Cause() error

Cause function returns cause value.

func (VariableValidationError) Error

func (e VariableValidationError) Error() string

Error satisfies the builtin error interface

func (VariableValidationError) ErrorName

func (e VariableValidationError) ErrorName() string

ErrorName returns error name.

func (VariableValidationError) Field

func (e VariableValidationError) Field() string

Field function returns field value.

func (VariableValidationError) Key

func (e VariableValidationError) Key() bool

Key function returns key value.

func (VariableValidationError) Reason

func (e VariableValidationError) Reason() string

Reason function returns reason value.

type Void

type Void struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Used to denote a nil/null/None assignment to a scalar value. The underlying LiteralType for Void is intentionally undefined since it can be assigned to a scalar of any LiteralType.

func (*Void) Descriptor

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

func (*Void) ProtoMessage

func (*Void) ProtoMessage()

func (*Void) Reset

func (m *Void) Reset()

func (*Void) String

func (m *Void) String() string

func (*Void) Validate

func (m *Void) Validate() error

Validate checks the field values on Void with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*Void) XXX_DiscardUnknown

func (m *Void) XXX_DiscardUnknown()

func (*Void) XXX_Marshal

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

func (*Void) XXX_Merge

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

func (*Void) XXX_Size

func (m *Void) XXX_Size() int

func (*Void) XXX_Unmarshal

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

type VoidValidationError

type VoidValidationError struct {
	// contains filtered or unexported fields
}

VoidValidationError is the validation error returned by Void.Validate if the designated constraints aren't met.

func (VoidValidationError) Cause

func (e VoidValidationError) Cause() error

Cause function returns cause value.

func (VoidValidationError) Error

func (e VoidValidationError) Error() string

Error satisfies the builtin error interface

func (VoidValidationError) ErrorName

func (e VoidValidationError) ErrorName() string

ErrorName returns error name.

func (VoidValidationError) Field

func (e VoidValidationError) Field() string

Field function returns field value.

func (VoidValidationError) Key

func (e VoidValidationError) Key() bool

Key function returns key value.

func (VoidValidationError) Reason

func (e VoidValidationError) Reason() string

Reason function returns reason value.

type WorkflowClosure

type WorkflowClosure struct {
	//required. Workflow template.
	Workflow *WorkflowTemplate `protobuf:"bytes,1,opt,name=workflow,proto3" json:"workflow,omitempty"`
	//optional. A collection of tasks referenced by the workflow. Only needed if the workflow
	// references tasks.
	Tasks                []*TaskTemplate `protobuf:"bytes,2,rep,name=tasks,proto3" json:"tasks,omitempty"`
	XXX_NoUnkeyedLiteral struct{}        `json:"-"`
	XXX_unrecognized     []byte          `json:"-"`
	XXX_sizecache        int32           `json:"-"`
}

Defines an enclosed package of workflow and tasks it references.

func (*WorkflowClosure) Descriptor

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

func (*WorkflowClosure) GetTasks

func (m *WorkflowClosure) GetTasks() []*TaskTemplate

func (*WorkflowClosure) GetWorkflow

func (m *WorkflowClosure) GetWorkflow() *WorkflowTemplate

func (*WorkflowClosure) ProtoMessage

func (*WorkflowClosure) ProtoMessage()

func (*WorkflowClosure) Reset

func (m *WorkflowClosure) Reset()

func (*WorkflowClosure) String

func (m *WorkflowClosure) String() string

func (*WorkflowClosure) Validate

func (m *WorkflowClosure) Validate() error

Validate checks the field values on WorkflowClosure with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*WorkflowClosure) XXX_DiscardUnknown

func (m *WorkflowClosure) XXX_DiscardUnknown()

func (*WorkflowClosure) XXX_Marshal

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

func (*WorkflowClosure) XXX_Merge

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

func (*WorkflowClosure) XXX_Size

func (m *WorkflowClosure) XXX_Size() int

func (*WorkflowClosure) XXX_Unmarshal

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

type WorkflowClosureValidationError

type WorkflowClosureValidationError struct {
	// contains filtered or unexported fields
}

WorkflowClosureValidationError is the validation error returned by WorkflowClosure.Validate if the designated constraints aren't met.

func (WorkflowClosureValidationError) Cause

Cause function returns cause value.

func (WorkflowClosureValidationError) Error

Error satisfies the builtin error interface

func (WorkflowClosureValidationError) ErrorName

func (e WorkflowClosureValidationError) ErrorName() string

ErrorName returns error name.

func (WorkflowClosureValidationError) Field

Field function returns field value.

func (WorkflowClosureValidationError) Key

Key function returns key value.

func (WorkflowClosureValidationError) Reason

Reason function returns reason value.

type WorkflowExecution

type WorkflowExecution struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Indicates various phases of Workflow Execution

func (*WorkflowExecution) Descriptor

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

func (*WorkflowExecution) ProtoMessage

func (*WorkflowExecution) ProtoMessage()

func (*WorkflowExecution) Reset

func (m *WorkflowExecution) Reset()

func (*WorkflowExecution) String

func (m *WorkflowExecution) String() string

func (*WorkflowExecution) Validate

func (m *WorkflowExecution) Validate() error

Validate checks the field values on WorkflowExecution with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*WorkflowExecution) XXX_DiscardUnknown

func (m *WorkflowExecution) XXX_DiscardUnknown()

func (*WorkflowExecution) XXX_Marshal

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

func (*WorkflowExecution) XXX_Merge

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

func (*WorkflowExecution) XXX_Size

func (m *WorkflowExecution) XXX_Size() int

func (*WorkflowExecution) XXX_Unmarshal

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

type WorkflowExecutionIdentifier

type WorkflowExecutionIdentifier struct {
	// Name of the project the resource belongs to.
	Project string `protobuf:"bytes,1,opt,name=project,proto3" json:"project,omitempty"`
	// Name of the domain the resource belongs to.
	// A domain can be considered as a subset within a specific project.
	Domain string `protobuf:"bytes,2,opt,name=domain,proto3" json:"domain,omitempty"`
	// User or system provided value for the resource.
	Name                 string   `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Encapsulation of fields that uniquely identifies a Flyte workflow execution

func (*WorkflowExecutionIdentifier) Descriptor

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

func (*WorkflowExecutionIdentifier) GetDomain

func (m *WorkflowExecutionIdentifier) GetDomain() string

func (*WorkflowExecutionIdentifier) GetName

func (m *WorkflowExecutionIdentifier) GetName() string

func (*WorkflowExecutionIdentifier) GetProject

func (m *WorkflowExecutionIdentifier) GetProject() string

func (*WorkflowExecutionIdentifier) ProtoMessage

func (*WorkflowExecutionIdentifier) ProtoMessage()

func (*WorkflowExecutionIdentifier) Reset

func (m *WorkflowExecutionIdentifier) Reset()

func (*WorkflowExecutionIdentifier) String

func (m *WorkflowExecutionIdentifier) String() string

func (*WorkflowExecutionIdentifier) Validate

func (m *WorkflowExecutionIdentifier) Validate() error

Validate checks the field values on WorkflowExecutionIdentifier with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*WorkflowExecutionIdentifier) XXX_DiscardUnknown

func (m *WorkflowExecutionIdentifier) XXX_DiscardUnknown()

func (*WorkflowExecutionIdentifier) XXX_Marshal

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

func (*WorkflowExecutionIdentifier) XXX_Merge

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

func (*WorkflowExecutionIdentifier) XXX_Size

func (m *WorkflowExecutionIdentifier) XXX_Size() int

func (*WorkflowExecutionIdentifier) XXX_Unmarshal

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

type WorkflowExecutionIdentifierValidationError

type WorkflowExecutionIdentifierValidationError struct {
	// contains filtered or unexported fields
}

WorkflowExecutionIdentifierValidationError is the validation error returned by WorkflowExecutionIdentifier.Validate if the designated constraints aren't met.

func (WorkflowExecutionIdentifierValidationError) Cause

Cause function returns cause value.

func (WorkflowExecutionIdentifierValidationError) Error

Error satisfies the builtin error interface

func (WorkflowExecutionIdentifierValidationError) ErrorName

ErrorName returns error name.

func (WorkflowExecutionIdentifierValidationError) Field

Field function returns field value.

func (WorkflowExecutionIdentifierValidationError) Key

Key function returns key value.

func (WorkflowExecutionIdentifierValidationError) Reason

Reason function returns reason value.

type WorkflowExecutionValidationError

type WorkflowExecutionValidationError struct {
	// contains filtered or unexported fields
}

WorkflowExecutionValidationError is the validation error returned by WorkflowExecution.Validate if the designated constraints aren't met.

func (WorkflowExecutionValidationError) Cause

Cause function returns cause value.

func (WorkflowExecutionValidationError) Error

Error satisfies the builtin error interface

func (WorkflowExecutionValidationError) ErrorName

ErrorName returns error name.

func (WorkflowExecutionValidationError) Field

Field function returns field value.

func (WorkflowExecutionValidationError) Key

Key function returns key value.

func (WorkflowExecutionValidationError) Reason

Reason function returns reason value.

type WorkflowExecution_Phase

type WorkflowExecution_Phase int32
const (
	WorkflowExecution_UNDEFINED  WorkflowExecution_Phase = 0
	WorkflowExecution_QUEUED     WorkflowExecution_Phase = 1
	WorkflowExecution_RUNNING    WorkflowExecution_Phase = 2
	WorkflowExecution_SUCCEEDING WorkflowExecution_Phase = 3
	WorkflowExecution_SUCCEEDED  WorkflowExecution_Phase = 4
	WorkflowExecution_FAILING    WorkflowExecution_Phase = 5
	WorkflowExecution_FAILED     WorkflowExecution_Phase = 6
	WorkflowExecution_ABORTED    WorkflowExecution_Phase = 7
	WorkflowExecution_TIMED_OUT  WorkflowExecution_Phase = 8
	WorkflowExecution_ABORTING   WorkflowExecution_Phase = 9
)

func (WorkflowExecution_Phase) EnumDescriptor

func (WorkflowExecution_Phase) EnumDescriptor() ([]byte, []int)

func (WorkflowExecution_Phase) String

func (x WorkflowExecution_Phase) String() string

type WorkflowMetadata

type WorkflowMetadata struct {
	// Indicates the runtime priority of workflow executions.
	QualityOfService *QualityOfService `protobuf:"bytes,1,opt,name=quality_of_service,json=qualityOfService,proto3" json:"quality_of_service,omitempty"`
	// Defines how the system should behave when a failure is detected in the workflow execution.
	OnFailure            WorkflowMetadata_OnFailurePolicy `` /* 141-byte string literal not displayed */
	XXX_NoUnkeyedLiteral struct{}                         `json:"-"`
	XXX_unrecognized     []byte                           `json:"-"`
	XXX_sizecache        int32                            `json:"-"`
}

This is workflow layer metadata. These settings are only applicable to the workflow as a whole, and do not percolate down to child entities (like tasks) launched by the workflow.

func (*WorkflowMetadata) Descriptor

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

func (*WorkflowMetadata) GetOnFailure added in v0.18.15

func (*WorkflowMetadata) GetQualityOfService added in v0.18.15

func (m *WorkflowMetadata) GetQualityOfService() *QualityOfService

func (*WorkflowMetadata) ProtoMessage

func (*WorkflowMetadata) ProtoMessage()

func (*WorkflowMetadata) Reset

func (m *WorkflowMetadata) Reset()

func (*WorkflowMetadata) String

func (m *WorkflowMetadata) String() string

func (*WorkflowMetadata) Validate

func (m *WorkflowMetadata) Validate() error

Validate checks the field values on WorkflowMetadata with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*WorkflowMetadata) XXX_DiscardUnknown

func (m *WorkflowMetadata) XXX_DiscardUnknown()

func (*WorkflowMetadata) XXX_Marshal

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

func (*WorkflowMetadata) XXX_Merge

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

func (*WorkflowMetadata) XXX_Size

func (m *WorkflowMetadata) XXX_Size() int

func (*WorkflowMetadata) XXX_Unmarshal

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

type WorkflowMetadataDefaults added in v0.18.15

type WorkflowMetadataDefaults struct {
	// Whether child nodes of the workflow are interruptible.
	Interruptible        bool     `protobuf:"varint,1,opt,name=interruptible,proto3" json:"interruptible,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

The difference between these settings and the WorkflowMetadata ones is that these are meant to be passed down to a workflow's underlying entities (like tasks). For instance, 'interruptible' has no meaning at the workflow layer, it is only relevant when a task executes. The settings here are the defaults that are passed to all nodes unless explicitly overridden at the node layer. If you are adding a setting that applies to both the Workflow itself, and everything underneath it, it should be added to both this object and the WorkflowMetadata object above.

func (*WorkflowMetadataDefaults) Descriptor added in v0.18.15

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

func (*WorkflowMetadataDefaults) GetInterruptible added in v0.18.15

func (m *WorkflowMetadataDefaults) GetInterruptible() bool

func (*WorkflowMetadataDefaults) ProtoMessage added in v0.18.15

func (*WorkflowMetadataDefaults) ProtoMessage()

func (*WorkflowMetadataDefaults) Reset added in v0.18.15

func (m *WorkflowMetadataDefaults) Reset()

func (*WorkflowMetadataDefaults) String added in v0.18.15

func (m *WorkflowMetadataDefaults) String() string

func (*WorkflowMetadataDefaults) Validate added in v0.18.15

func (m *WorkflowMetadataDefaults) Validate() error

Validate checks the field values on WorkflowMetadataDefaults with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*WorkflowMetadataDefaults) XXX_DiscardUnknown added in v0.18.15

func (m *WorkflowMetadataDefaults) XXX_DiscardUnknown()

func (*WorkflowMetadataDefaults) XXX_Marshal added in v0.18.15

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

func (*WorkflowMetadataDefaults) XXX_Merge added in v0.18.15

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

func (*WorkflowMetadataDefaults) XXX_Size added in v0.18.15

func (m *WorkflowMetadataDefaults) XXX_Size() int

func (*WorkflowMetadataDefaults) XXX_Unmarshal added in v0.18.15

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

type WorkflowMetadataDefaultsValidationError added in v0.18.15

type WorkflowMetadataDefaultsValidationError struct {
	// contains filtered or unexported fields
}

WorkflowMetadataDefaultsValidationError is the validation error returned by WorkflowMetadataDefaults.Validate if the designated constraints aren't met.

func (WorkflowMetadataDefaultsValidationError) Cause added in v0.18.15

Cause function returns cause value.

func (WorkflowMetadataDefaultsValidationError) Error added in v0.18.15

Error satisfies the builtin error interface

func (WorkflowMetadataDefaultsValidationError) ErrorName added in v0.18.15

ErrorName returns error name.

func (WorkflowMetadataDefaultsValidationError) Field added in v0.18.15

Field function returns field value.

func (WorkflowMetadataDefaultsValidationError) Key added in v0.18.15

Key function returns key value.

func (WorkflowMetadataDefaultsValidationError) Reason added in v0.18.15

Reason function returns reason value.

type WorkflowMetadataValidationError

type WorkflowMetadataValidationError struct {
	// contains filtered or unexported fields
}

WorkflowMetadataValidationError is the validation error returned by WorkflowMetadata.Validate if the designated constraints aren't met.

func (WorkflowMetadataValidationError) Cause

Cause function returns cause value.

func (WorkflowMetadataValidationError) Error

Error satisfies the builtin error interface

func (WorkflowMetadataValidationError) ErrorName

ErrorName returns error name.

func (WorkflowMetadataValidationError) Field

Field function returns field value.

func (WorkflowMetadataValidationError) Key

Key function returns key value.

func (WorkflowMetadataValidationError) Reason

Reason function returns reason value.

type WorkflowMetadata_OnFailurePolicy added in v0.18.15

type WorkflowMetadata_OnFailurePolicy int32

Failure Handling Strategy

const (
	// FAIL_IMMEDIATELY instructs the system to fail as soon as a node fails in the workflow. It'll automatically
	// abort all currently running nodes and clean up resources before finally marking the workflow executions as
	// failed.
	WorkflowMetadata_FAIL_IMMEDIATELY WorkflowMetadata_OnFailurePolicy = 0
	// FAIL_AFTER_EXECUTABLE_NODES_COMPLETE instructs the system to make as much progress as it can. The system will
	// not alter the dependencies of the execution graph so any node that depend on the failed node will not be run.
	// Other nodes that will be executed to completion before cleaning up resources and marking the workflow
	// execution as failed.
	WorkflowMetadata_FAIL_AFTER_EXECUTABLE_NODES_COMPLETE WorkflowMetadata_OnFailurePolicy = 1
)

func (WorkflowMetadata_OnFailurePolicy) EnumDescriptor added in v0.18.15

func (WorkflowMetadata_OnFailurePolicy) EnumDescriptor() ([]byte, []int)

func (WorkflowMetadata_OnFailurePolicy) String added in v0.18.15

type WorkflowNode

type WorkflowNode struct {
	// Types that are valid to be assigned to Reference:
	//	*WorkflowNode_LaunchplanRef
	//	*WorkflowNode_SubWorkflowRef
	Reference            isWorkflowNode_Reference `protobuf_oneof:"reference"`
	XXX_NoUnkeyedLiteral struct{}                 `json:"-"`
	XXX_unrecognized     []byte                   `json:"-"`
	XXX_sizecache        int32                    `json:"-"`
}

Refers to a the workflow the node is to execute.

func (*WorkflowNode) Descriptor

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

func (*WorkflowNode) GetLaunchplanRef

func (m *WorkflowNode) GetLaunchplanRef() *Identifier

func (*WorkflowNode) GetReference

func (m *WorkflowNode) GetReference() isWorkflowNode_Reference

func (*WorkflowNode) GetSubWorkflowRef

func (m *WorkflowNode) GetSubWorkflowRef() *Identifier

func (*WorkflowNode) ProtoMessage

func (*WorkflowNode) ProtoMessage()

func (*WorkflowNode) Reset

func (m *WorkflowNode) Reset()

func (*WorkflowNode) String

func (m *WorkflowNode) String() string

func (*WorkflowNode) Validate

func (m *WorkflowNode) Validate() error

Validate checks the field values on WorkflowNode with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*WorkflowNode) XXX_DiscardUnknown

func (m *WorkflowNode) XXX_DiscardUnknown()

func (*WorkflowNode) XXX_Marshal

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

func (*WorkflowNode) XXX_Merge

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

func (*WorkflowNode) XXX_OneofWrappers added in v0.16.1

func (*WorkflowNode) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*WorkflowNode) XXX_Size

func (m *WorkflowNode) XXX_Size() int

func (*WorkflowNode) XXX_Unmarshal

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

type WorkflowNodeValidationError

type WorkflowNodeValidationError struct {
	// contains filtered or unexported fields
}

WorkflowNodeValidationError is the validation error returned by WorkflowNode.Validate if the designated constraints aren't met.

func (WorkflowNodeValidationError) Cause

Cause function returns cause value.

func (WorkflowNodeValidationError) Error

Error satisfies the builtin error interface

func (WorkflowNodeValidationError) ErrorName

func (e WorkflowNodeValidationError) ErrorName() string

ErrorName returns error name.

func (WorkflowNodeValidationError) Field

Field function returns field value.

func (WorkflowNodeValidationError) Key

Key function returns key value.

func (WorkflowNodeValidationError) Reason

Reason function returns reason value.

type WorkflowNode_LaunchplanRef

type WorkflowNode_LaunchplanRef struct {
	LaunchplanRef *Identifier `protobuf:"bytes,1,opt,name=launchplan_ref,json=launchplanRef,proto3,oneof"`
}

type WorkflowNode_SubWorkflowRef

type WorkflowNode_SubWorkflowRef struct {
	SubWorkflowRef *Identifier `protobuf:"bytes,2,opt,name=sub_workflow_ref,json=subWorkflowRef,proto3,oneof"`
}

type WorkflowTemplate

type WorkflowTemplate struct {
	// A globally unique identifier for the workflow.
	Id *Identifier `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// Extra metadata about the workflow.
	Metadata *WorkflowMetadata `protobuf:"bytes,2,opt,name=metadata,proto3" json:"metadata,omitempty"`
	// Defines a strongly typed interface for the Workflow. This can include some optional parameters.
	Interface *TypedInterface `protobuf:"bytes,3,opt,name=interface,proto3" json:"interface,omitempty"`
	// A list of nodes. In addition, 'globals' is a special reserved node id that can be used to consume workflow inputs.
	Nodes []*Node `protobuf:"bytes,4,rep,name=nodes,proto3" json:"nodes,omitempty"`
	// A list of output bindings that specify how to construct workflow outputs. Bindings can pull node outputs or
	// specify literals. All workflow outputs specified in the interface field must be bound in order for the workflow
	// to be validated. A workflow has an implicit dependency on all of its nodes to execute successfully in order to
	// bind final outputs.
	// Most of these outputs will be Binding's with a BindingData of type OutputReference.  That is, your workflow can
	// just have an output of some constant (`Output(5)`), but usually, the workflow will be pulling
	// outputs from the output of a task.
	Outputs []*Binding `protobuf:"bytes,5,rep,name=outputs,proto3" json:"outputs,omitempty"`
	//+optional A catch-all node. This node is executed whenever the execution engine determines the workflow has failed.
	// The interface of this node must match the Workflow interface with an additional input named 'error' of type
	// pb.lyft.flyte.core.Error.
	FailureNode *Node `protobuf:"bytes,6,opt,name=failure_node,json=failureNode,proto3" json:"failure_node,omitempty"`
	// workflow defaults
	MetadataDefaults     *WorkflowMetadataDefaults `protobuf:"bytes,7,opt,name=metadata_defaults,json=metadataDefaults,proto3" json:"metadata_defaults,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                  `json:"-"`
	XXX_unrecognized     []byte                    `json:"-"`
	XXX_sizecache        int32                     `json:"-"`
}

Flyte Workflow Structure that encapsulates task, branch and subworkflow nodes to form a statically analyzable, directed acyclic graph.

func (*WorkflowTemplate) Descriptor

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

func (*WorkflowTemplate) GetFailureNode

func (m *WorkflowTemplate) GetFailureNode() *Node

func (*WorkflowTemplate) GetId

func (m *WorkflowTemplate) GetId() *Identifier

func (*WorkflowTemplate) GetInterface

func (m *WorkflowTemplate) GetInterface() *TypedInterface

func (*WorkflowTemplate) GetMetadata

func (m *WorkflowTemplate) GetMetadata() *WorkflowMetadata

func (*WorkflowTemplate) GetMetadataDefaults added in v0.18.15

func (m *WorkflowTemplate) GetMetadataDefaults() *WorkflowMetadataDefaults

func (*WorkflowTemplate) GetNodes

func (m *WorkflowTemplate) GetNodes() []*Node

func (*WorkflowTemplate) GetOutputs

func (m *WorkflowTemplate) GetOutputs() []*Binding

func (*WorkflowTemplate) ProtoMessage

func (*WorkflowTemplate) ProtoMessage()

func (*WorkflowTemplate) Reset

func (m *WorkflowTemplate) Reset()

func (*WorkflowTemplate) String

func (m *WorkflowTemplate) String() string

func (*WorkflowTemplate) Validate

func (m *WorkflowTemplate) Validate() error

Validate checks the field values on WorkflowTemplate with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

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 WorkflowTemplateValidationError

type WorkflowTemplateValidationError struct {
	// contains filtered or unexported fields
}

WorkflowTemplateValidationError is the validation error returned by WorkflowTemplate.Validate if the designated constraints aren't met.

func (WorkflowTemplateValidationError) Cause

Cause function returns cause value.

func (WorkflowTemplateValidationError) Error

Error satisfies the builtin error interface

func (WorkflowTemplateValidationError) ErrorName

ErrorName returns error name.

func (WorkflowTemplateValidationError) Field

Field function returns field value.

func (WorkflowTemplateValidationError) Key

Key function returns key value.

func (WorkflowTemplateValidationError) Reason

Reason function returns reason value.

Jump to

Keyboard shortcuts

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