Documentation ¶
Overview ¶
Package v1alpha1 contains API Schema definitions for the failover v1alpha1 API group +kubebuilder:object:generate=true +groupName=failover.open-cluster-management.io
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "failover.open-cluster-management.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 FailoverConfig ¶
type FailoverConfig struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec FailoverConfigSpec `json:"spec,omitempty"` Status FailoverConfigStatus `json:"status,omitempty"` }
FailoverConfig is the Schema for the failoverconfigs API
func (*FailoverConfig) DeepCopy ¶
func (in *FailoverConfig) DeepCopy() *FailoverConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FailoverConfig.
func (*FailoverConfig) DeepCopyInto ¶
func (in *FailoverConfig) DeepCopyInto(out *FailoverConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*FailoverConfig) DeepCopyObject ¶
func (in *FailoverConfig) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type FailoverConfigList ¶
type FailoverConfigList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []FailoverConfig `json:"items"` }
FailoverConfigList contains a list of FailoverConfig
func (*FailoverConfigList) DeepCopy ¶
func (in *FailoverConfigList) DeepCopy() *FailoverConfigList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FailoverConfigList.
func (*FailoverConfigList) DeepCopyInto ¶
func (in *FailoverConfigList) DeepCopyInto(out *FailoverConfigList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*FailoverConfigList) DeepCopyObject ¶
func (in *FailoverConfigList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type FailoverConfigSpec ¶
type FailoverConfigSpec struct {
AlternateHubs []Hub `json:"alternateHubs,required"`
}
FailoverConfigSpec defines the desired state of FailoverConfig
func (*FailoverConfigSpec) DeepCopy ¶
func (in *FailoverConfigSpec) DeepCopy() *FailoverConfigSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FailoverConfigSpec.
func (*FailoverConfigSpec) DeepCopyInto ¶
func (in *FailoverConfigSpec) DeepCopyInto(out *FailoverConfigSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type FailoverConfigStatus ¶
type FailoverConfigStatus struct { }
FailoverConfigStatus defines the observed state of FailoverConfig
func (*FailoverConfigStatus) DeepCopy ¶
func (in *FailoverConfigStatus) DeepCopy() *FailoverConfigStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FailoverConfigStatus.
func (*FailoverConfigStatus) DeepCopyInto ¶
func (in *FailoverConfigStatus) DeepCopyInto(out *FailoverConfigStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Hub ¶
type Hub struct { Name string `json:"name,omitempty"` // SecretRef corev1.SecretRef `json:"bootstrapKubeconfigSecretRef,omitempty"` SecretRef string `json:"bootstrapKubeconfigSecretRef,omitempty"` }
func (*Hub) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Hub.
func (*Hub) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.