Documentation
¶
Overview ¶
Package v1alpha1 contains API Schema definitions for the cceproviderconfig v1alpha1 API group +k8s:openapi-gen=true +k8s:deepcopy-gen=package,register +k8s:conversion-gen=sigs.k8s.io/cluster-api-provider-baiducloud/pkg/apis/cceproviderconfig +k8s:defaulter-gen=TypeMeta +groupName=cceproviderconfig.k8s.io
Package v1alpha1 contains API Schema definitions for the cceproviderconfig v1alpha1 API group +k8s:openapi-gen=true +k8s:deepcopy-gen=package,register +k8s:conversion-gen=sigs.k8s.io/cluster-api-provider-baiducloud/pkg/apis/cceproviderconfig +k8s:defaulter-gen=TypeMeta +groupName=cceproviderconfig.k8s.io
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ( // SchemeGroupVersion is group version used to register these objects SchemeGroupVersion = schema.GroupVersion{Group: "cceproviderconfig.k8s.io", Version: "v1alpha1"} // SchemeBuilder is used to add go types to the GroupVersionKind scheme SchemeBuilder = &scheme.Builder{GroupVersion: SchemeGroupVersion} // AddToScheme is required by pkg/client/... AddToScheme = SchemeBuilder.AddToScheme )
Functions ¶
func Resource ¶
func Resource(resource string) schema.GroupResource
Resource is required by pkg/client/listers/...
Types ¶
type CCEClusterProviderConfig ¶
type CCEClusterProviderConfig struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` ClusterID string `json:"clusterId"` // system-generated cluster id ClusterName string `json:"clusterName"` // user-defined cluster name ClusterCIDR string `json:"clusterCIDR"` ClusterVersion string `json:"clusterVersion"` VpcID string `json:"vpcId"` Region string `json:"region"` }
CCEClusterProviderConfig is the Schema for the cceclusterproviderconfigs API +k8s:openapi-gen=true
func (*CCEClusterProviderConfig) DeepCopy ¶
func (in *CCEClusterProviderConfig) DeepCopy() *CCEClusterProviderConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CCEClusterProviderConfig.
func (*CCEClusterProviderConfig) DeepCopyInto ¶
func (in *CCEClusterProviderConfig) DeepCopyInto(out *CCEClusterProviderConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*CCEClusterProviderConfig) DeepCopyObject ¶
func (in *CCEClusterProviderConfig) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type CCEClusterProviderConfigList ¶
type CCEClusterProviderConfigList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []CCEClusterProviderConfig `json:"items"` }
CCEClusterProviderConfigList contains a list of CCEClusterProviderConfig
func (*CCEClusterProviderConfigList) DeepCopy ¶
func (in *CCEClusterProviderConfigList) DeepCopy() *CCEClusterProviderConfigList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CCEClusterProviderConfigList.
func (*CCEClusterProviderConfigList) DeepCopyInto ¶
func (in *CCEClusterProviderConfigList) DeepCopyInto(out *CCEClusterProviderConfigList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*CCEClusterProviderConfigList) DeepCopyObject ¶
func (in *CCEClusterProviderConfigList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type CCEMachineProviderConfig ¶
type CCEMachineProviderConfig struct { metav1.TypeMeta `json:",inline"` Role string `json:"role"` // master or node ClusterID string `json:"clusterId"` ClusterName string `json:"clusterName"` ImageID string `json:"imageId"` CPUCount int `json:"cpuCount"` MemoryCapacityInGB int `json:"memoryCapacityInGB"` RootDiskSizeInGB int `json:"rootDiskSizeInGb,omitempty"` RootDiskStorageType int `json:"rootDiskStorageType,omitempty"` NetworkCapacityInMbps int `json:"networkCapacityInMbps,omitempty"` Name string `json:"name,omitempty"` AdminPass string `json:"adminPass,omitempty"` ZoneName string `json:"zoneName,omitempty"` SubnetID string `json:"subnetId,omitempty"` SecurityGroupID string `json:"securityGroupId,omitempty"` }
CCEMachineProviderConfig is the Schema for the CCEMachineProviderConfigs API +k8s:openapi-gen=true
func (*CCEMachineProviderConfig) DeepCopy ¶
func (in *CCEMachineProviderConfig) DeepCopy() *CCEMachineProviderConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CCEMachineProviderConfig.
func (*CCEMachineProviderConfig) DeepCopyInto ¶
func (in *CCEMachineProviderConfig) DeepCopyInto(out *CCEMachineProviderConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*CCEMachineProviderConfig) DeepCopyObject ¶
func (in *CCEMachineProviderConfig) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type CCEMachineProviderConfigList ¶
type CCEMachineProviderConfigList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []CCEMachineProviderConfig `json:"items"` }
CCEMachineProviderConfigList contains a list of CCEMachineProviderConfig
func (*CCEMachineProviderConfigList) DeepCopy ¶
func (in *CCEMachineProviderConfigList) DeepCopy() *CCEMachineProviderConfigList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CCEMachineProviderConfigList.
func (*CCEMachineProviderConfigList) DeepCopyInto ¶
func (in *CCEMachineProviderConfigList) DeepCopyInto(out *CCEMachineProviderConfigList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*CCEMachineProviderConfigList) DeepCopyObject ¶
func (in *CCEMachineProviderConfigList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.