Documentation ¶
Overview ¶
Package v1alpha1 contains API Schema definitions for the openshift.io v1alpha1 API group +kubebuilder:object:generate=true +groupName=openshift.io.openshift.io
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "openshift.io.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 BackupLocationSpec ¶
type BackupLocationSpec struct { URL string `json:"url,omitempty"` Protocol string `json:"protocol,omitempty"` Credentials CredentialSpec `json:"credentials,omitempty"` }
BackupLocationSpec defines the remote backup location
func (*BackupLocationSpec) DeepCopy ¶
func (in *BackupLocationSpec) DeepCopy() *BackupLocationSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BackupLocationSpec.
func (*BackupLocationSpec) DeepCopyInto ¶
func (in *BackupLocationSpec) DeepCopyInto(out *BackupLocationSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CredentialSpec ¶
type CredentialSpec struct {
Secret string `json:"secret,omitempty"`
}
CredentialSpec defines the credential structure
func (*CredentialSpec) DeepCopy ¶
func (in *CredentialSpec) DeepCopy() *CredentialSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CredentialSpec.
func (*CredentialSpec) DeepCopyInto ¶
func (in *CredentialSpec) DeepCopyInto(out *CredentialSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type HubPool ¶
type HubPool struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec HubPoolSpec `json:"spec,omitempty"` Status HubPoolStatus `json:"status,omitempty"` }
HubPool is the Schema for the hubpools API
func (*HubPool) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HubPool.
func (*HubPool) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*HubPool) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type HubPoolList ¶
type HubPoolList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []HubPool `json:"items"` }
HubPoolList contains a list of HubPool
func (*HubPoolList) DeepCopy ¶
func (in *HubPoolList) DeepCopy() *HubPoolList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HubPoolList.
func (*HubPoolList) DeepCopyInto ¶
func (in *HubPoolList) DeepCopyInto(out *HubPoolList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*HubPoolList) DeepCopyObject ¶
func (in *HubPoolList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type HubPoolSpec ¶
type HubPoolSpec struct { // Pool defines the list of hubs in the pool by 'hub_name: api.hub_name.*' Pool map[string]string `json:"pool,omitempty"` // InitialLeader defines the hub desired as initial lead hub. // IMPORTANT! This is purely a RHACM Mirror configuration and DOES NOT configure RHACM itself! InitialLeader string `json:"initial_leader,omitempty"` // PingPeriod defines the time between pings to hubs in spec.pool PingPeriod string `json:"ping_period,omitempty"` // PingFailsAcceptable defines the number of failed pings before RHACM Mirror begins failover activities PingFailsAcceptable int `json:"ping_fails_acceptable,omitempty"` // BackupLocation defines the remote location containing RHACM backups BackupLocation BackupLocationSpec `json:"backup_location,omitempty"` // FailoverAlertEmail defines the email address to be notified when failover activities have ocurred FailoverAlertEmail string `json:"failover_alert_email,omitempty"` }
HubPoolSpec defines the desired state of HubPool
func (*HubPoolSpec) DeepCopy ¶
func (in *HubPoolSpec) DeepCopy() *HubPoolSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HubPoolSpec.
func (*HubPoolSpec) DeepCopyInto ¶
func (in *HubPoolSpec) DeepCopyInto(out *HubPoolSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type HubPoolStatus ¶
type HubPoolStatus struct { }
HubPoolStatus defines the observed state of HubPool
func (*HubPoolStatus) DeepCopy ¶
func (in *HubPoolStatus) DeepCopy() *HubPoolStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HubPoolStatus.
func (*HubPoolStatus) DeepCopyInto ¶
func (in *HubPoolStatus) DeepCopyInto(out *HubPoolStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.