v1alpha1

package
v2.1.0 Latest Latest
Warning

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

Go to latest
Published: Aug 24, 2023 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package v1alpha1 contains API Schema definitions for the dscinitialization v1alpha1 API group +kubebuilder:object:generate=true +groupName=dscinitialization.opendatahub.io

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: "v1alpha1"}

	// 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 {
	// +kubebuilder:default:=opendatahub
	// Namespace for applications to be installed, non-configurable, default to "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
	// +operator-sdk:csv:customresourcedefinitions:type=spec,order=3
	// +optional
	ManifestsUri string `json:"manifestsUri,omitempty"`
}

DSCInitializationSpec defines the desired state of DSCInitialization +operator-sdk:csv:customresourcedefinitions:order=1

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.
	// +optional
	// +operator-sdk:csv:customresourcedefinitions:type=status
	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 Monitoring

type Monitoring struct {
	// +kubebuilder:default=false
	// If enabled monitoring, default 'false'
	Enabled bool `json:"enabled,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