v1

package
v2.0.0 Latest Latest
Warning

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

Go to latest
Published: Dec 22, 2025 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

Package v1 contains API Schema definitions for the flyte.org v1 API group. +kubebuilder:object:generate=true +groupName=flyte.org

Index

Constants

This section is empty.

Variables

View Source
var (
	// GroupVersion is group version used to register these objects.
	GroupVersion = schema.GroupVersion{Group: "flyte.org", Version: "v1"}

	// SchemeBuilder is used to add go types to the GroupVersionKind scheme.
	SchemeBuilder = &scheme.Builder{GroupVersion: GroupVersion}

	// AddToScheme adds the types in this group-version to the given scheme.
	AddToScheme = SchemeBuilder.AddToScheme
)

Functions

This section is empty.

Types

type TaskAction

type TaskAction struct {
	metav1.TypeMeta `json:",inline"`

	// metadata is a standard object metadata
	// +optional
	metav1.ObjectMeta `json:"metadata,omitempty,omitzero"`

	// spec defines the desired state of TaskAction
	// +required
	Spec TaskActionSpec `json:"spec"`

	// status defines the observed state of TaskAction
	// +optional
	Status TaskActionStatus `json:"status,omitempty,omitzero"`
}

TaskAction is the Schema for the taskactions API

func (*TaskAction) DeepCopy

func (in *TaskAction) DeepCopy() *TaskAction

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

func (*TaskAction) DeepCopyInto

func (in *TaskAction) DeepCopyInto(out *TaskAction)

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

func (*TaskAction) DeepCopyObject

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

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

type TaskActionList

type TaskActionList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []TaskAction `json:"items"`
}

TaskActionList contains a list of TaskAction

func (*TaskActionList) DeepCopy

func (in *TaskActionList) DeepCopy() *TaskActionList

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

func (*TaskActionList) DeepCopyInto

func (in *TaskActionList) DeepCopyInto(out *TaskActionList)

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

func (*TaskActionList) DeepCopyObject

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

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

type TaskActionSpec

type TaskActionSpec struct {

	// foo is an example field of TaskAction. Edit taskaction_types.go to remove/update
	// +optional
	TaskActionBytes []byte `json:"taskActionBytes,omitempty"`
}

TaskActionSpec defines the desired state of TaskAction

func (*TaskActionSpec) DeepCopy

func (in *TaskActionSpec) DeepCopy() *TaskActionSpec

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

func (*TaskActionSpec) DeepCopyInto

func (in *TaskActionSpec) DeepCopyInto(out *TaskActionSpec)

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

func (*TaskActionSpec) GetActionSpec

func (in *TaskActionSpec) GetActionSpec() (*workflow.ActionSpec, error)

func (*TaskActionSpec) SetActionSpec

func (in *TaskActionSpec) SetActionSpec(spec *workflow.ActionSpec) error

type TaskActionStatus

type TaskActionStatus struct {

	// Phase represents the current phase of the TaskAction execution
	// +optional
	Phase string `json:"phase,omitempty"`

	// StateJSON is the JSON serialized NodeStatus that was last sent to the State Service
	// +optional
	StateJSON string `json:"stateJson,omitempty"`

	// Message provides additional information about the current state
	// +optional
	Message string `json:"message,omitempty"`

	// conditions represent the current state of the TaskAction resource.
	// Each condition has a unique type and reflects the status of a specific aspect of the resource.
	//
	// Standard condition types include:
	// - "Available": the resource is fully functional
	// - "Progressing": the resource is being created or updated
	// - "Degraded": the resource failed to reach or maintain its desired state
	//
	// The status of each condition is one of True, False, or Unknown.
	// +listType=map
	// +listMapKey=type
	// +optional
	Conditions []metav1.Condition `json:"conditions,omitempty"`
}

TaskActionStatus defines the observed state of TaskAction.

func (*TaskActionStatus) DeepCopy

func (in *TaskActionStatus) DeepCopy() *TaskActionStatus

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

func (*TaskActionStatus) DeepCopyInto

func (in *TaskActionStatus) DeepCopyInto(out *TaskActionStatus)

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

Jump to

Keyboard shortcuts

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