Documentation ¶
Overview ¶
Package v1alpha1 contains API Schema definitions for the hypersds v1alpha1 API group +kubebuilder:object:generate=true +groupName=hypersds.tmax.io
Index ¶
Constants ¶
const (
// ConditionReadyToUse indicates CephCluster is ready to use
ConditionReadyToUse = "ReadyToUse"
)
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "hypersds.tmax.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 CephCluster ¶
type CephCluster struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec CephClusterSpec `json:"spec,omitempty"` Status CephClusterStatus `json:"status,omitempty"` }
CephCluster is the Schema for the cephclusters API
func (*CephCluster) DeepCopy ¶
func (in *CephCluster) DeepCopy() *CephCluster
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CephCluster.
func (*CephCluster) DeepCopyInto ¶
func (in *CephCluster) DeepCopyInto(out *CephCluster)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*CephCluster) DeepCopyObject ¶
func (in *CephCluster) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type CephClusterList ¶
type CephClusterList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []CephCluster `json:"items"` }
CephClusterList contains a list of CephCluster
func (*CephClusterList) DeepCopy ¶
func (in *CephClusterList) DeepCopy() *CephClusterList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CephClusterList.
func (*CephClusterList) DeepCopyInto ¶
func (in *CephClusterList) DeepCopyInto(out *CephClusterList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*CephClusterList) DeepCopyObject ¶
func (in *CephClusterList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type CephClusterMonSpec ¶
type CephClusterMonSpec struct {
Count int `json:"count"`
}
CephClusterMonSpec defines the spec for monitor related option
func (*CephClusterMonSpec) DeepCopy ¶
func (in *CephClusterMonSpec) DeepCopy() *CephClusterMonSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CephClusterMonSpec.
func (*CephClusterMonSpec) DeepCopyInto ¶
func (in *CephClusterMonSpec) DeepCopyInto(out *CephClusterMonSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CephClusterOsdSpec ¶
type CephClusterOsdSpec struct { HostName string `json:"hostName"` Devices []string `json:"devices"` }
CephClusterOsdSpec defines the spec for osd related option
func (*CephClusterOsdSpec) DeepCopy ¶
func (in *CephClusterOsdSpec) DeepCopy() *CephClusterOsdSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CephClusterOsdSpec.
func (*CephClusterOsdSpec) DeepCopyInto ¶
func (in *CephClusterOsdSpec) DeepCopyInto(out *CephClusterOsdSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CephClusterSpec ¶
type CephClusterSpec struct { Mon CephClusterMonSpec `json:"mon"` Osd []CephClusterOsdSpec `json:"osd"` Nodes []Node `json:"nodes"` Config map[string]string `json:"config,omitempty"` }
CephClusterSpec defines the desired state of CephCluster
func (*CephClusterSpec) DeepCopy ¶
func (in *CephClusterSpec) DeepCopy() *CephClusterSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CephClusterSpec.
func (*CephClusterSpec) DeepCopyInto ¶
func (in *CephClusterSpec) DeepCopyInto(out *CephClusterSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CephClusterState ¶
type CephClusterState string
CephClusterState is the current state of CephCluster
const ( // CephClusterStateCreating indicates CephClusterState is creating CephClusterStateCreating CephClusterState = "Creating" // CephClusterStateCompleted indicates CephClusterState is completed CephClusterStateCompleted CephClusterState = "Completed" // CephClusterStateError indicates CephClusterState is error CephClusterStateError CephClusterState = "Error" )
type CephClusterStatus ¶
type CephClusterStatus struct { State CephClusterState `json:"state"` Conditions []metav1.Condition `json:"conditions,omitempty"` }
CephClusterStatus defines the observed state of CephCluster
func (*CephClusterStatus) DeepCopy ¶
func (in *CephClusterStatus) DeepCopy() *CephClusterStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CephClusterStatus.
func (*CephClusterStatus) DeepCopyInto ¶
func (in *CephClusterStatus) DeepCopyInto(out *CephClusterStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Node ¶
type Node struct { IP string `json:"ip"` UserID string `json:"userId"` Password string `json:"password"` HostName string `json:"hostName"` }
Node defines the spec for node related option
func (*Node) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Node.
func (*Node) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.