Documentation ¶
Overview ¶
Package v1alpha1 contains API Schema definitions for the ocs v1alpha1 API group +kubebuilder:object:generate=true +groupName=ocs.openshift.io
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "ocs.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 { StorageCluster ComponentStatus `json:"storageCluster"` Prometheus ComponentStatus `json:"prometheus"` Alertmanager ComponentStatus `json:"alertmanager"` }
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 ManagedOCS ¶
type ManagedOCS struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec ManagedOCSSpec `json:"spec,omitempty"` Status ManagedOCSStatus `json:"status,omitempty"` }
ManagedOCS is the Schema for the managedocs API
func (*ManagedOCS) DeepCopy ¶
func (in *ManagedOCS) DeepCopy() *ManagedOCS
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedOCS.
func (*ManagedOCS) DeepCopyInto ¶
func (in *ManagedOCS) DeepCopyInto(out *ManagedOCS)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ManagedOCS) DeepCopyObject ¶
func (in *ManagedOCS) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ManagedOCSList ¶
type ManagedOCSList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []ManagedOCS `json:"items"` }
ManagedOCSList contains a list of ManagedOCS
func (*ManagedOCSList) DeepCopy ¶
func (in *ManagedOCSList) DeepCopy() *ManagedOCSList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedOCSList.
func (*ManagedOCSList) DeepCopyInto ¶
func (in *ManagedOCSList) DeepCopyInto(out *ManagedOCSList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ManagedOCSList) DeepCopyObject ¶
func (in *ManagedOCSList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ManagedOCSSpec ¶
type ManagedOCSSpec struct {
ReconcileStrategy ReconcileStrategy `json:"reconcileStrategy,omitempty"`
}
ManagedOCSSpec defines the desired state of ManagedOCS
func (*ManagedOCSSpec) DeepCopy ¶
func (in *ManagedOCSSpec) DeepCopy() *ManagedOCSSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedOCSSpec.
func (*ManagedOCSSpec) DeepCopyInto ¶
func (in *ManagedOCSSpec) DeepCopyInto(out *ManagedOCSSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ManagedOCSStatus ¶
type ManagedOCSStatus struct { ReconcileStrategy ReconcileStrategy `json:"reconcileStrategy,omitempty"` Components ComponentStatusMap `json:"components"` }
ManagedOCSStatus defines the observed state of ManagedOCS
func (*ManagedOCSStatus) DeepCopy ¶
func (in *ManagedOCSStatus) DeepCopy() *ManagedOCSStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedOCSStatus.
func (*ManagedOCSStatus) DeepCopyInto ¶
func (in *ManagedOCSStatus) DeepCopyInto(out *ManagedOCSStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ReconcileStrategy ¶
type ReconcileStrategy string
ReconcileStrategy represent the action the deployer should take whenever a recncile event occures
const ( // ReconcileStrategyNone is used to indicate that the deployer should not // touch the storage cluster spec ReconcileStrategyNone ReconcileStrategy = "none" // ReconcileStrategyStrict is used to indicate that the deployer should enforce // storage clsuter based on a predefined spec ReconcileStrategyStrict ReconcileStrategy = "strict" )