apis

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Sep 9, 2022 License: BSD-3-Clause Imports: 6 Imported by: 2

Documentation

Index

Constants

View Source
const Group = "pipelines.kubeflow.org"

Variables

View Source
var Annotations = struct {
	Debug string
}{
	Debug: Group + "/debug",
}

Functions

func AnnotationsFromDebugOptions

func AnnotationsFromDebugOptions(ctx context.Context, debugOptions DebugOptions) map[string]string

Types

type DebugOptions

type DebugOptions struct {
	KeepWorkflows bool `json:"keepWorkflows,omitempty"`
}

func DebugOptionsFromAnnotations

func DebugOptionsFromAnnotations(ctx context.Context, annotations map[string]string) DebugOptions

func (DebugOptions) WithDefaults

func (options DebugOptions) WithDefaults(defaults DebugOptions) DebugOptions

type NamedValue

type NamedValue struct {
	Name  string `json:"name,omitempty"`
	Value string `json:"value,omitempty"`
}

+kubebuilder:object:generate=true

func (*NamedValue) DeepCopy

func (in *NamedValue) DeepCopy() *NamedValue

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

func (*NamedValue) DeepCopyInto

func (in *NamedValue) DeepCopyInto(out *NamedValue)

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

type Resource

type Resource interface {
	metav1.Object
	runtime.Object
	GetStatus() Status
	SetStatus(Status)
	GetNamespacedName() types.NamespacedName
	// GetKind is a workaround to address https://github.com/sky-uk/kfp-operator/issues/137
	GetKind() string
}

type Status

type Status struct {
	KfpId                string               `json:"kfpId,omitempty"`
	SynchronizationState SynchronizationState `json:"synchronizationState,omitempty"`
	Version              string               `json:"version,omitempty"`
	ObservedGeneration   int64                `json:"observedGeneration,omitempty"`
}

+kubebuilder:object:generate=true

func (*Status) DeepCopy

func (in *Status) DeepCopy() *Status

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

func (*Status) DeepCopyInto

func (in *Status) DeepCopyInto(out *Status)

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

type SynchronizationState

type SynchronizationState string
const (
	Creating  SynchronizationState = "Creating"
	Succeeded SynchronizationState = "Succeeded"
	Updating  SynchronizationState = "Updating"
	Deleting  SynchronizationState = "Deleting"
	Deleted   SynchronizationState = "Deleted"
	Failed    SynchronizationState = "Failed"
)

Directories

Path Synopsis
config
v1alpha2
Package v2 contains API Schema definitions for the config v2 API group +kubebuilder:object:generate=true +groupName=config.kubeflow.org
Package v2 contains API Schema definitions for the config v2 API group +kubebuilder:object:generate=true +groupName=config.kubeflow.org
v1alpha3
Package v2 contains API Schema definitions for the config v2 API group +kubebuilder:object:generate=true +groupName=config.kubeflow.org
Package v2 contains API Schema definitions for the config v2 API group +kubebuilder:object:generate=true +groupName=config.kubeflow.org
v1alpha2
Package v1 contains API Schema definitions for the pipelines.kubeflow.org v1 API group +kubebuilder:object:generate=true +groupName=pipelines.kubeflow.org
Package v1 contains API Schema definitions for the pipelines.kubeflow.org v1 API group +kubebuilder:object:generate=true +groupName=pipelines.kubeflow.org
v1alpha3
Package v1 contains API Schema definitions for the pipelines.kubeflow.org v1 API group +kubebuilder:object:generate=true +groupName=pipelines.kubeflow.org
Package v1 contains API Schema definitions for the pipelines.kubeflow.org v1 API group +kubebuilder:object:generate=true +groupName=pipelines.kubeflow.org

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳