v1

package
v2.10.1 Latest Latest
Warning

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

Go to latest
Published: Apr 8, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package v1 contains API Schema definitions for the datasciencecluster v1 API group

Index

Constants

View Source
const (
	FeatureCreated   FeaturePhase = "FeatureCreated"
	PreConditions    FeaturePhase = "FeaturePreConditions"
	ResourceCreation FeaturePhase = "ResourceCreation"
	LoadTemplateData FeaturePhase = "LoadTemplateData"
	ApplyManifests   FeaturePhase = "ApplyManifests"
	PostConditions   FeaturePhase = "FeaturePostConditions"
	ComponentType    OwnerType    = "Component"
	DSCIType         OwnerType    = "DSCI"
)

Variables

View Source
var (
	// GroupVersion is group version used to register these objects.
	GroupVersion = schema.GroupVersion{Group: "features.opendatahub.io", 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 FeaturePhase

type FeaturePhase string

type FeatureTracker

type FeatureTracker struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   FeatureTrackerSpec   `json:"spec,omitempty"`
	Status FeatureTrackerStatus `json:"status,omitempty"`
}

FeatureTracker represents a cluster-scoped resource in the Data Science Cluster, specifically designed for monitoring and managing objects created via the internal Features API. This resource serves a crucial role in cross-namespace resource management, acting as an owner reference for various resources. The primary purpose of the FeatureTracker is to enable efficient garbage collection by Kubernetes. This is essential for ensuring that resources are automatically cleaned up and reclaimed when they are no longer required. +kubebuilder:object:root=true +kubebuilder:resource:scope=Cluster +kubebuilder:subresource:status

func NewFeatureTracker

func NewFeatureTracker(name, appNamespace string) *FeatureTracker

NewFeatureTracker instantiate FeatureTracker instance.

func (*FeatureTracker) DeepCopy

func (in *FeatureTracker) DeepCopy() *FeatureTracker

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

func (*FeatureTracker) DeepCopyInto

func (in *FeatureTracker) DeepCopyInto(out *FeatureTracker)

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

func (*FeatureTracker) DeepCopyObject

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

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

func (*FeatureTracker) ToOwnerReference

func (s *FeatureTracker) ToOwnerReference() metav1.OwnerReference

type FeatureTrackerList

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

FeatureTrackerList contains a list of FeatureTracker.

func (*FeatureTrackerList) DeepCopy

func (in *FeatureTrackerList) DeepCopy() *FeatureTrackerList

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

func (*FeatureTrackerList) DeepCopyInto

func (in *FeatureTrackerList) DeepCopyInto(out *FeatureTrackerList)

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

func (*FeatureTrackerList) DeepCopyObject

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

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

type FeatureTrackerSpec

type FeatureTrackerSpec struct {
	Source       Source `json:"source,omitempty"`
	AppNamespace string `json:"appNamespace,omitempty"`
}

FeatureTrackerSpec defines the desired state of FeatureTracker.

func (*FeatureTrackerSpec) DeepCopy

func (in *FeatureTrackerSpec) DeepCopy() *FeatureTrackerSpec

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

func (*FeatureTrackerSpec) DeepCopyInto

func (in *FeatureTrackerSpec) DeepCopyInto(out *FeatureTrackerSpec)

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

type FeatureTrackerStatus

type FeatureTrackerStatus struct {
	// +optional
	Conditions *[]conditionsv1.Condition `json:"conditions,omitempty"`
}

FeatureTrackerStatus defines the observed state of FeatureTracker.

func (*FeatureTrackerStatus) DeepCopy

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

func (*FeatureTrackerStatus) DeepCopyInto

func (in *FeatureTrackerStatus) DeepCopyInto(out *FeatureTrackerStatus)

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

type OwnerType

type OwnerType string

type Source

type Source struct {
	Type OwnerType `json:"type,omitempty"`
	Name string    `json:"name,omitempty"`
}

Source describes the type of object that created the related Feature to this FeatureTracker.

func (*Source) DeepCopy

func (in *Source) DeepCopy() *Source

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

func (*Source) DeepCopyInto

func (in *Source) DeepCopyInto(out *Source)

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