v1alpha1

package
v0.0.0-...-1eec114 Latest Latest
Warning

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

Go to latest
Published: Sep 19, 2022 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

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

Index

Constants

This section is empty.

Variables

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

type ComponentState string
const (
	ComponentReady    ComponentState = "Ready"
	ComponentPending  ComponentState = "Pending"
	ComponentNotFound ComponentState = "NotFound"
	ComponentUnknown  ComponentState = "Unknown"
)

type ComponentStatus

type ComponentStatus struct {
	State ComponentState `json:"state"`
}

func (*ComponentStatus) DeepCopy

func (in *ComponentStatus) DeepCopy() *ComponentStatus

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

func (*ComponentStatus) DeepCopyInto

func (in *ComponentStatus) DeepCopyInto(out *ComponentStatus)

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

type ComponentStatusMap

type ComponentStatusMap struct {
	Noobaa       ComponentStatus `json:"noobaa"`
	Prometheus   ComponentStatus `json:"prometheus"`
	Alertmanager ComponentStatus `json:"alertmanager"`
	Console      ComponentStatus `json:"console"`
}

func (*ComponentStatusMap) DeepCopy

func (in *ComponentStatusMap) DeepCopy() *ComponentStatusMap

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

func (*ComponentStatusMap) DeepCopyInto

func (in *ComponentStatusMap) DeepCopyInto(out *ComponentStatusMap)

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

type ManagedMCG

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

	Spec   ManagedMCGSpec   `json:"spec,omitempty"`
	Status ManagedMCGStatus `json:"status,omitempty"`
}

ManagedMCG is the Schema for the managedmcgs API.

func (*ManagedMCG) DeepCopy

func (in *ManagedMCG) DeepCopy() *ManagedMCG

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

func (*ManagedMCG) DeepCopyInto

func (in *ManagedMCG) DeepCopyInto(out *ManagedMCG)

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

func (*ManagedMCG) DeepCopyObject

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

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

type ManagedMCGList

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

func (*ManagedMCGList) DeepCopy

func (in *ManagedMCGList) DeepCopy() *ManagedMCGList

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

func (*ManagedMCGList) DeepCopyInto

func (in *ManagedMCGList) DeepCopyInto(out *ManagedMCGList)

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

func (*ManagedMCGList) DeepCopyObject

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

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

type ManagedMCGSpec

type ManagedMCGSpec struct {
	ReconcileStrategy ReconcileStrategy `json:"reconcileStrategy,omitempty"`
}

ManagedMCGSpec defines the desired state of ManagedMCG.

func (*ManagedMCGSpec) DeepCopy

func (in *ManagedMCGSpec) DeepCopy() *ManagedMCGSpec

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

func (*ManagedMCGSpec) DeepCopyInto

func (in *ManagedMCGSpec) DeepCopyInto(out *ManagedMCGSpec)

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

type ManagedMCGStatus

type ManagedMCGStatus struct {
	ReconcileStrategy ReconcileStrategy  `json:"reconcileStrategy,omitempty"`
	Components        ComponentStatusMap `json:"components"`
}

ManagedMCGStatus defines the observed state of ManagedMCG.

func (*ManagedMCGStatus) DeepCopy

func (in *ManagedMCGStatus) DeepCopy() *ManagedMCGStatus

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

func (*ManagedMCGStatus) DeepCopyInto

func (in *ManagedMCGStatus) DeepCopyInto(out *ManagedMCGStatus)

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

type ReconcileStrategy

type ReconcileStrategy string
const (
	// ReconcileStrategyNone disallows StorageCluster modifications.
	ReconcileStrategyNone ReconcileStrategy = "none"
	// ReconcileStrategyStrict allows StorageCluster modifications.
	ReconcileStrategyStrict ReconcileStrategy = "strict"
)

Jump to

Keyboard shortcuts

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