Documentation ¶
Overview ¶
Package v1 contains API Schema definitions for the hotplug v1 API group +kubebuilder:object:generate=true +groupName=hotplug.kubecube.io
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "hotplug.kubecube.io", 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 ComponentConfig ¶
type DeployResult ¶
type Hotplug ¶
type Hotplug struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec HotplugSpec `json:"spec,omitempty"` Status HotplugStatus `json:"status,omitempty"` }
Hotplug is the Schema for the hotplugs API +kubebuilder:resource:categories="kubecube",scope="Cluster" +kubebuilder:printcolumn:name="Phase",type="string",JSONPath=".status.phase" +kubebuilder:printcolumn:name="Age",type="date",JSONPath=".metadata.creationTimestamp"
func (*Hotplug) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Hotplug.
func (*Hotplug) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Hotplug) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type HotplugList ¶
type HotplugList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Hotplug `json:"items"` }
HotplugList contains a list of Hotplug
func (*HotplugList) DeepCopy ¶
func (in *HotplugList) DeepCopy() *HotplugList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HotplugList.
func (*HotplugList) DeepCopyInto ¶
func (in *HotplugList) DeepCopyInto(out *HotplugList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*HotplugList) DeepCopyObject ¶
func (in *HotplugList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type HotplugSpec ¶
type HotplugSpec struct {
Component []ComponentConfig `json:"component,omitempty"`
}
HotplugSpec defines the desired state of Hotplug
func (*HotplugSpec) DeepCopy ¶
func (in *HotplugSpec) DeepCopy() *HotplugSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HotplugSpec.
func (*HotplugSpec) DeepCopyInto ¶
func (in *HotplugSpec) DeepCopyInto(out *HotplugSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type HotplugStatus ¶
type HotplugStatus struct { Phase string `json:"phase,omitempty"` Results []*DeployResult `json:"results,omitempty"` }
HotplugStatus defines the observed state of Hotplug
func (*HotplugStatus) DeepCopy ¶
func (in *HotplugStatus) DeepCopy() *HotplugStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HotplugStatus.
func (*HotplugStatus) DeepCopyInto ¶
func (in *HotplugStatus) DeepCopyInto(out *HotplugStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.