v1

package
v2.4.0 Latest Latest
Warning

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

Go to latest
Published: Nov 3, 2023 License: Apache-2.0 Imports: 7 Imported by: 2

Documentation

Overview

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

Index

Constants

This section is empty.

Variables

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

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

	Spec   DSCInitializationSpec   `json:"spec,omitempty"`
	Status DSCInitializationStatus `json:"status,omitempty"`
}

DSCInitialization is the Schema for the dscinitializations API.

func (*DSCInitialization) DeepCopy

func (in *DSCInitialization) DeepCopy() *DSCInitialization

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

func (*DSCInitialization) DeepCopyInto

func (in *DSCInitialization) DeepCopyInto(out *DSCInitialization)

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

func (*DSCInitialization) DeepCopyObject

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

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

type DSCInitializationList

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

DSCInitializationList contains a list of DSCInitialization.

func (*DSCInitializationList) DeepCopy

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

func (*DSCInitializationList) DeepCopyInto

func (in *DSCInitializationList) DeepCopyInto(out *DSCInitializationList)

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

func (*DSCInitializationList) DeepCopyObject

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

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

type DSCInitializationSpec

type DSCInitializationSpec struct {
	// Namespace for applications to be installed, non-configurable, default to "opendatahub"
	// +kubebuilder:default:=opendatahub
	// +operator-sdk:csv:customresourcedefinitions:type=spec,order=1
	ApplicationsNamespace string `json:"applicationsNamespace"`
	// Enable monitoring on specified namespace
	// +operator-sdk:csv:customresourcedefinitions:type=spec,order=2
	// +optional
	Monitoring Monitoring `json:"monitoring,omitempty"`
	// Internal development useful field to test customizations.
	// This is not recommended to be used in production environment.
	// +operator-sdk:csv:customresourcedefinitions:type=spec,order=3
	// +optional
	DevFlags DevFlags `json:"devFlags,omitempty"`
}

DSCInitializationSpec defines the desired state of DSCInitialization.

func (*DSCInitializationSpec) DeepCopy

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

func (*DSCInitializationSpec) DeepCopyInto

func (in *DSCInitializationSpec) DeepCopyInto(out *DSCInitializationSpec)

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

type DSCInitializationStatus

type DSCInitializationStatus struct {
	// Phase describes the Phase of DSCInitializationStatus
	// This is used by OLM UI to provide status information to the user
	Phase string `json:"phase,omitempty"`

	// Conditions describes the state of the DSCInitializationStatus resource
	// +operator-sdk:csv:customresourcedefinitions:type=status
	// +optional
	Conditions []conditionsv1.Condition `json:"conditions,omitempty"`

	// RelatedObjects is a list of objects created and maintained by this operator.
	// Object references will be added to this list after they have been created AND found in the cluster
	// +optional
	RelatedObjects []corev1.ObjectReference `json:"relatedObjects,omitempty"`
	ErrorMessage   string                   `json:"errorMessage,omitempty"`
}

DSCInitializationStatus defines the observed state of DSCInitialization.

func (*DSCInitializationStatus) DeepCopy

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

func (*DSCInitializationStatus) DeepCopyInto

func (in *DSCInitializationStatus) DeepCopyInto(out *DSCInitializationStatus)

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

type DevFlags

type DevFlags struct {
	// Custom manifests uri for odh-manifests
	// +optional
	ManifestsUri string `json:"manifestsUri,omitempty"` //nolint
}

DevFlags defines list of fields that can be used by developers to test customizations. This is not recommended to be used in production environment.

func (*DevFlags) DeepCopy

func (in *DevFlags) DeepCopy() *DevFlags

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

func (*DevFlags) DeepCopyInto

func (in *DevFlags) DeepCopyInto(out *DevFlags)

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

type FeatureTracker added in v2.4.0

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

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

FeatureTracker is a cluster-scoped resource for tracking objects created through Features API for Data Science Platform. It's primarily used as owner reference for resources created across namespaces so that they can be garbage collected by Kubernetes when they're not needed anymore. +kubebuilder:object:root=true +kubebuilder:resource:scope=Cluster

func (*FeatureTracker) DeepCopy added in v2.4.0

func (in *FeatureTracker) DeepCopy() *FeatureTracker

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

func (*FeatureTracker) DeepCopyInto added in v2.4.0

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 added in v2.4.0

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

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

func (*FeatureTracker) ToOwnerReference added in v2.4.0

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

type FeatureTrackerList added in v2.4.0

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 added in v2.4.0

func (in *FeatureTrackerList) DeepCopy() *FeatureTrackerList

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

func (*FeatureTrackerList) DeepCopyInto added in v2.4.0

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 added in v2.4.0

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

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

type FeatureTrackerSpec added in v2.4.0

type FeatureTrackerSpec struct {
}

FeatureTrackerSpec defines the desired state of FeatureTracker.

func (*FeatureTrackerSpec) DeepCopy added in v2.4.0

func (in *FeatureTrackerSpec) DeepCopy() *FeatureTrackerSpec

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

func (*FeatureTrackerSpec) DeepCopyInto added in v2.4.0

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 added in v2.4.0

type FeatureTrackerStatus struct {
}

FeatureTrackerStatus defines the observed state of FeatureTracker.

func (*FeatureTrackerStatus) DeepCopy added in v2.4.0

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

func (*FeatureTrackerStatus) DeepCopyInto added in v2.4.0

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

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

type Monitoring

type Monitoring struct {
	// Set to one of the following values:
	// - "Managed" : the operator is actively managing the component and trying to keep it active.
	//               It will only upgrade the component if it is safe to do so.
	// - "Removed" : the operator is actively managing the component and will not install it,
	//               or if it is installed, the operator will try to remove it.
	// +kubebuilder:validation:Enum=Managed;Removed
	ManagementState operatorv1.ManagementState `json:"managementState,omitempty"`
	// +kubebuilder:default=opendatahub
	// Namespace for monitoring if it is enabled
	Namespace string `json:"namespace,omitempty"`
}

func (*Monitoring) DeepCopy

func (in *Monitoring) DeepCopy() *Monitoring

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

func (*Monitoring) DeepCopyInto

func (in *Monitoring) DeepCopyInto(out *Monitoring)

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