Documentation
¶
Overview ¶
Package v1 contains API Schema definitions for the resources v1 API group +kubebuilder:object:generate=true +groupName=resources.factory.sandload.com
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "resources.factory.sandload.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 Nacos ¶
type Nacos struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec NacosSpec `json:"spec,omitempty"` Status NacosStatus `json:"status,omitempty"` }
Nacos is the Schema for the nacos API
func (*Nacos) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Nacos.
func (*Nacos) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Nacos) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type NacosList ¶
type NacosList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Nacos `json:"items"` }
NacosList contains a list of Nacos
func (*NacosList) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NacosList.
func (*NacosList) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*NacosList) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type NacosSpec ¶
type NacosSpec struct { // INSERT ADDITIONAL SPEC FIELDS - desired state of cluster // Important: Run "make" to regenerate code after modifying this file Name string `json:"name"` VpcId string `json:"vpcId"` Subnet string `json:"subnet"` EngineVersion string `json:"engineVersion"` EngineResourceSpec string `json:"engineResourceSpec"` }
NacosSpec defines the desired state of Nacos
func (*NacosSpec) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NacosSpec.
func (*NacosSpec) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type NacosStatus ¶
type NacosStatus struct { // INSERT ADDITIONAL STATUS FIELD - define observed state of cluster // Important: Run "make" to regenerate code after modifying this file Id string `json:"id"` Status StatusConst `json:"status"` IntranetAddress string `json:"intranetAddress"` // 内网地址 InternetAddress string `json:"internetAddress"` // 公网地址 ExternalStatus StatusConst `json:"externalStatus"` }
NacosStatus defines the observed state of Nacos
func (*NacosStatus) DeepCopy ¶
func (in *NacosStatus) DeepCopy() *NacosStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NacosStatus.
func (*NacosStatus) DeepCopyInto ¶
func (in *NacosStatus) DeepCopyInto(out *NacosStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type StatusConst ¶
type StatusConst string
const ( DefaultStatusConst StatusConst = "creating" ProcessingStatusConst StatusConst = "processing" FailStatusConst StatusConst = "fail" SuccessStatusConst StatusConst = "success" )