Documentation ¶
Overview ¶
+k8s:deepcopy-gen=package +groupName=ack.cattle.io
+k8s:deepcopy-gen=package +groupName=ack.cattle.io
+k8s:deepcopy-gen=package +groupName=ack.cattle.io
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ( SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes) AddToScheme = SchemeBuilder.AddToScheme )
var (
ACKClusterConfigResourceName = "ackclusterconfigs"
)
var SchemeGroupVersion = schema.GroupVersion{Group: ack.GroupName, Version: "v1"}
SchemeGroupVersion is group version used to register these objects
Functions ¶
func Resource ¶
func Resource(resource string) schema.GroupResource
Resource takes an unqualified resource and returns a Group qualified GroupResource
Types ¶
type ACKClusterConfig ¶
type ACKClusterConfig struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec ACKClusterConfigSpec `json:"spec"` Status ACKClusterConfigStatus `json:"status"` }
func NewACKClusterConfig ¶
func NewACKClusterConfig(namespace, name string, obj ACKClusterConfig) *ACKClusterConfig
func (*ACKClusterConfig) DeepCopy ¶
func (in *ACKClusterConfig) DeepCopy() *ACKClusterConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ACKClusterConfig.
func (*ACKClusterConfig) DeepCopyInto ¶
func (in *ACKClusterConfig) DeepCopyInto(out *ACKClusterConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ACKClusterConfig) DeepCopyObject ¶
func (in *ACKClusterConfig) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ACKClusterConfigList ¶
type ACKClusterConfigList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata"` Items []ACKClusterConfig `json:"items"` }
ACKClusterConfigList is a list of ACKClusterConfig resources
func (*ACKClusterConfigList) DeepCopy ¶
func (in *ACKClusterConfigList) DeepCopy() *ACKClusterConfigList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ACKClusterConfigList.
func (*ACKClusterConfigList) DeepCopyInto ¶
func (in *ACKClusterConfigList) DeepCopyInto(out *ACKClusterConfigList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ACKClusterConfigList) DeepCopyObject ¶
func (in *ACKClusterConfigList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ACKClusterConfigSpec ¶
type ACKClusterConfigSpec struct { Name string `json:"name,omitempty"` ClusterID string `json:"cluster_id,omitempty"` AccessKeyID string `json:"access_key_id,omitempty"` AccessKeySecret string `json:"access_key_secret,omitempty"` DisableRollback bool `json:"disable_rollback"` ClusterType string `json:"cluster_type,omitempty"` KubernetesVersion string `json:"kubernetes_version,omitempty"` TimeoutMins int64 `json:"timeout_mins,omitempty"` RegionID string `json:"region_id,omitempty"` VpcID string `json:"vpcid,omitempty"` ZoneID string `json:"zoneid,omitempty"` ContainerCidr string `json:"container_cidr,omitempty"` ServiceCidr string `json:"service_cidr,omitempty"` CloudMonitorFlags bool `json:"cloud_monitor_flags"` LoginPassword string `json:"login_password,omitempty"` KeyPair string `json:"key_pair,omitempty"` WorkerInstanceChargeType string `json:"worker_instance_charge_type,omitempty"` WorkerPeriod int64 `json:"worker_period,omitempty"` WorkerPeriodUnit string `json:"worker_period_unit,omitempty"` WorkerAutoRenew bool `json:"worker_auto_renew"` WorkerAutoRenewPeriod int64 `json:"worker_auto_renew_period,omitempty"` WorkerSystemDiskCategory string `json:"worker_system_disk_category,omitempty"` WorkerSystemDiskSize int64 `json:"worker_system_disk_size,omitempty"` NumOfNodes int64 `json:"num_of_nodes,omitempty"` SnatEntry bool `json:"snat_entry"` NodeCidrMask int64 `json:"node_cidr_mask,omitempty"` ProxyMode string `json:"proxy_mode,omitempty"` EndpointPublicAccess bool `json:"endpoint_public_access"` WorkerInstanceTypes []string `json:"worker_instance_types,omitempty"` WorkerVswitchIds []string `json:"worker_vswitch_ids,omitempty"` WorkerDataDisks []diskInfo `json:"worker_data_disks,omitempty"` SecurityGroupID string `json:"security_group_id,omitempty"` SSHFlags bool `json:"ssh_flags"` MasterVswitchIds []string `json:"master_vswitch_ids,omitempty"` MasterInstanceTypes []string `json:"master_instance_types,omitempty"` MasterInstanceChargeType string `json:"master_instance_charge_type,omitempty"` MasterPeriod int64 `json:"master_period,omitempty"` MasterPeriodUnit string `json:"master_period_unit,omitempty"` MasterAutoRenew bool `json:"master_auto_renew"` MasterAutoRenewPeriod int64 `json:"master_auto_renew_period,omitempty"` MasterSystemDiskCategory string `json:"master_system_disk_category,omitempty"` MasterSystemDiskSize int64 `json:"master_system_disk_size,omitempty"` OsType string `json:"os_type,omitempty"` Platform string `json:"platform,omitempty"` ResourceGroupID string `json:"resource_group_id,omitempty"` Imported bool `json:"imported"` }
ACKClusterConfigSpec is the spec for a ACKClusterConfig resource
func (*ACKClusterConfigSpec) DeepCopy ¶
func (in *ACKClusterConfigSpec) DeepCopy() *ACKClusterConfigSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ACKClusterConfigSpec.
func (*ACKClusterConfigSpec) DeepCopyInto ¶
func (in *ACKClusterConfigSpec) DeepCopyInto(out *ACKClusterConfigSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ACKClusterConfigStatus ¶
type ACKClusterConfigStatus struct { Phase string `json:"phase"` NumOfNodes int64 `json:"num_of_nodes,omitempty"` FailureMessage string `json:"failureMessage"` }
func (*ACKClusterConfigStatus) DeepCopy ¶
func (in *ACKClusterConfigStatus) DeepCopy() *ACKClusterConfigStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ACKClusterConfigStatus.
func (*ACKClusterConfigStatus) DeepCopyInto ¶
func (in *ACKClusterConfigStatus) DeepCopyInto(out *ACKClusterConfigStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.