Documentation ¶
Overview ¶
Package v1 contains API Schema definitions for the topolvm v1 API group +kubebuilder:object:generate=true +groupName=topolvm.cybozu.com
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "topolvm.cybozu.com", Version: "v1"} // 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 LogicalVolume ¶
type LogicalVolume struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec LogicalVolumeSpec `json:"spec,omitempty"` Status LogicalVolumeStatus `json:"status,omitempty"` }
LogicalVolume is the Schema for the logicalvolumes API
func (*LogicalVolume) DeepCopy ¶
func (in *LogicalVolume) DeepCopy() *LogicalVolume
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LogicalVolume.
func (*LogicalVolume) DeepCopyInto ¶
func (in *LogicalVolume) DeepCopyInto(out *LogicalVolume)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*LogicalVolume) DeepCopyObject ¶
func (in *LogicalVolume) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*LogicalVolume) IsCompatibleWith ¶
func (lv *LogicalVolume) IsCompatibleWith(lv2 *LogicalVolume) bool
IsCompatibleWith returns true if the LogicalVolume is compatible.
type LogicalVolumeList ¶
type LogicalVolumeList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []LogicalVolume `json:"items"` }
LogicalVolumeList contains a list of LogicalVolume
func (*LogicalVolumeList) DeepCopy ¶
func (in *LogicalVolumeList) DeepCopy() *LogicalVolumeList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LogicalVolumeList.
func (*LogicalVolumeList) DeepCopyInto ¶
func (in *LogicalVolumeList) DeepCopyInto(out *LogicalVolumeList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*LogicalVolumeList) DeepCopyObject ¶
func (in *LogicalVolumeList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type LogicalVolumeSpec ¶
type LogicalVolumeSpec struct { // INSERT ADDITIONAL SPEC FIELDS - desired state of cluster // Important: Run "make" to regenerate code after modifying this file Name string `json:"name"` NodeName string `json:"nodeName"` Size resource.Quantity `json:"size"` DeviceClass string `json:"deviceClass,omitempty"` }
LogicalVolumeSpec defines the desired state of LogicalVolume
func (*LogicalVolumeSpec) DeepCopy ¶
func (in *LogicalVolumeSpec) DeepCopy() *LogicalVolumeSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LogicalVolumeSpec.
func (*LogicalVolumeSpec) DeepCopyInto ¶
func (in *LogicalVolumeSpec) DeepCopyInto(out *LogicalVolumeSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type LogicalVolumeStatus ¶
type LogicalVolumeStatus struct { // INSERT ADDITIONAL STATUS FIELD - define observed state of cluster // Important: Run "make" to regenerate code after modifying this file VolumeID string `json:"volumeID,omitempty"` Code codes.Code `json:"code,omitempty"` Message string `json:"message,omitempty"` CurrentSize *resource.Quantity `json:"currentSize,omitempty"` }
LogicalVolumeStatus defines the observed state of LogicalVolume
func (*LogicalVolumeStatus) DeepCopy ¶
func (in *LogicalVolumeStatus) DeepCopy() *LogicalVolumeStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LogicalVolumeStatus.
func (*LogicalVolumeStatus) DeepCopyInto ¶
func (in *LogicalVolumeStatus) DeepCopyInto(out *LogicalVolumeStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.