Documentation ¶
Overview ¶
+k8s:deepcopy-gen=package +groupName=tke.pandaria.io
+k8s:deepcopy-gen=package +groupName=tke.pandaria.io
+k8s:deepcopy-gen=package +groupName=tke.pandaria.io
Index ¶
- Variables
- func Kind(kind string) schema.GroupKind
- func Resource(resource string) schema.GroupResource
- type AutoScalingGroupPara
- type ClusterAdvancedSettings
- type ClusterBasicSettings
- type ClusterCIDRSettings
- type ClusterEndpoint
- type DataDisk
- type ExtensionAddon
- type LaunchConfigurePara
- type NodePoolDetail
- type RunInstancesForNode
- type TKEClusterConfig
- type TKEClusterConfigList
- type TKEClusterConfigSpec
- type TKEClusterConfigStatus
Constants ¶
This section is empty.
Variables ¶
var ( SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes) AddToScheme = SchemeBuilder.AddToScheme )
var SchemeGroupVersion = schema.GroupVersion{Group: tke.GroupName, Version: "v1"}
SchemeGroupVersion is group version used to register these objects
var (
TKEClusterConfigResourceName = "tkeclusterconfigs"
)
Functions ¶
func Resource ¶
func Resource(resource string) schema.GroupResource
Resource takes an unqualified resource and returns a Group qualified GroupResource
Types ¶
type AutoScalingGroupPara ¶
type AutoScalingGroupPara struct { AutoScalingGroupName string `json:"autoScalingGroupName,omitempty"` MaxSize int64 `json:"maxSize,omitempty"` MinSize int64 `json:"minSize,omitempty"` DesiredCapacity int64 `json:"desiredCapacity,omitempty"` VpcID string `json:"vpcId,omitempty"` SubnetIDs []string `json:"subnetIds,omitempty"` }
func (*AutoScalingGroupPara) DeepCopy ¶
func (in *AutoScalingGroupPara) DeepCopy() *AutoScalingGroupPara
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AutoScalingGroupPara.
func (*AutoScalingGroupPara) DeepCopyInto ¶
func (in *AutoScalingGroupPara) DeepCopyInto(out *AutoScalingGroupPara)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ClusterAdvancedSettings ¶
type ClusterAdvancedSettings struct { IPVS bool `json:"ipvs,omitempty"` AsEnabled bool `json:"asEnabled,omitempty"` ContainerRuntime string `json:"containerRuntime,omitempty"` NodeNameType string `json:"nodeNameType,omitempty"` KubeAPIServer []string `json:"kubeAPIServer,omitempty"` KubeControllerManager []string `json:"kubeControllerManager,omitempty"` KubeScheduler []string `json:"kubeScheduler,omitempty"` Etcd []string `json:"etcd,omitempty"` NetworkType string `json:"networkType,omitempty"` IsNonStaticIpMode bool `json:"isNonStaticIpMode,omitempty"` DeletionProtection bool `json:"deletionProtection,omitempty"` KubeProxyMode string `json:"kubeProxyMode,omitempty"` AuditEnabled bool `json:"auditEnabled,omitempty"` AuditLogsetID string `json:"auditLogsetId,omitempty"` AuditLogTopicID string `json:"auditLogTopicId,omitempty"` VpcCniType string `json:"vpcCniType,omitempty"` RuntimeVersion string `json:"runtimeVersion,omitempty"` EnableCustomizedPodCIDR bool `json:"enableCustomizedPodCIDR,omitempty"` BasePodNumber int64 `json:"basePodNumber,omitempty"` CiliumMode string `json:"ciliumMode,omitempty"` IsDualStack bool `json:"isDualStack,omitempty"` }
func (*ClusterAdvancedSettings) DeepCopy ¶
func (in *ClusterAdvancedSettings) DeepCopy() *ClusterAdvancedSettings
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterAdvancedSettings.
func (*ClusterAdvancedSettings) DeepCopyInto ¶
func (in *ClusterAdvancedSettings) DeepCopyInto(out *ClusterAdvancedSettings)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ClusterBasicSettings ¶
type ClusterBasicSettings struct { ClusterType string `json:"clusterType,omitempty"` ClusterOs string `json:"clusterOs,omitempty"` ClusterVersion string `json:"clusterVersion,omitempty"` ClusterName string `json:"clusterName,omitempty"` ClusterDescription string `json:"clusterDescription,omitempty"` VpcID string `json:"vpcId,omitempty"` ProjectID int64 `json:"projectId,omitempty"` Tags []string `json:"tags,omitempty"` ClusterLevel string `json:"clusterLevel,omitempty"` IsAutoUpgrade bool `json:"isAutoUpgrade,omitempty"` }
func (*ClusterBasicSettings) DeepCopy ¶
func (in *ClusterBasicSettings) DeepCopy() *ClusterBasicSettings
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterBasicSettings.
func (*ClusterBasicSettings) DeepCopyInto ¶
func (in *ClusterBasicSettings) DeepCopyInto(out *ClusterBasicSettings)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ClusterCIDRSettings ¶
type ClusterCIDRSettings struct { ClusterCIDR string `json:"clusterCIDR,omitempty"` IgnoreClusterCIDRConflict bool `json:"ignoreClusterCIDRConflict,omitempty"` MaxNodePodNum int64 `json:"maxNodePodNum,omitempty"` MaxClusterServiceNum int64 `json:"maxClusterServiceNum,omitempty"` ServiceCIDR string `json:"serviceCIDR,omitempty"` EniSubnetIDs []string `json:"eniSubnetIds,omitempty"` ClaimExpiredSeconds int64 `json:"claimExpiredSeconds,omitempty"` IgnoreServiceCIDRConflict bool `json:"ignoreServiceCIDRConflict,omitempty"` OsCustomizeType string `json:"osCustomizeType,omitempty"` SubnetID string `json:"subnetId,omitempty"` }
func (*ClusterCIDRSettings) DeepCopy ¶
func (in *ClusterCIDRSettings) DeepCopy() *ClusterCIDRSettings
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterCIDRSettings.
func (*ClusterCIDRSettings) DeepCopyInto ¶
func (in *ClusterCIDRSettings) DeepCopyInto(out *ClusterCIDRSettings)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ClusterEndpoint ¶
type ClusterEndpoint struct { Enable bool `json:"enable,omitempty"` Domain string `json:"domain,omitempty"` SubnetID string `json:"subnetId,omitempty"` ExtensiveParameters string `json:"extensiveParameters,omitempty"` SecurityGroup string `json:"securityGroup,omitempty"` }
func (*ClusterEndpoint) DeepCopy ¶
func (in *ClusterEndpoint) DeepCopy() *ClusterEndpoint
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterEndpoint.
func (*ClusterEndpoint) DeepCopyInto ¶
func (in *ClusterEndpoint) DeepCopyInto(out *ClusterEndpoint)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DataDisk ¶
type DataDisk struct { DiskSize int64 `json:"diskSize,omitempty"` DiskType string `json:"diskType,omitempty"` }
func (*DataDisk) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DataDisk.
func (*DataDisk) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ExtensionAddon ¶
type ExtensionAddon struct { AddonName string `json:"addonName,omitempty"` AddonParam string `json:"addonParam,omitempty"` }
func (*ExtensionAddon) DeepCopy ¶
func (in *ExtensionAddon) DeepCopy() *ExtensionAddon
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExtensionAddon.
func (*ExtensionAddon) DeepCopyInto ¶
func (in *ExtensionAddon) DeepCopyInto(out *ExtensionAddon)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type LaunchConfigurePara ¶
type LaunchConfigurePara struct { LaunchConfigurationName string `json:"launchConfigurationName,omitempty"` InstanceType string `json:"instanceType,omitempty"` SystemDisk DataDisk `json:"systemDisk,omitempty"` InternetChargeType string `json:"internetChargeType,omitempty"` InternetMaxBandwidthOut int64 `json:"internetMaxBandwidthOut,omitempty"` PublicIpAssigned bool `json:"publicIpAssigned,omitempty"` DataDisks []DataDisk `json:"dataDisks,omitempty"` KeyIDs []string `json:"keyIds,omitempty"` SecurityGroupIDs []string `json:"securityGroupIds,omitempty"` InstanceChargeType string `json:"instanceChargeType,omitempty"` }
func (*LaunchConfigurePara) DeepCopy ¶
func (in *LaunchConfigurePara) DeepCopy() *LaunchConfigurePara
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LaunchConfigurePara.
func (*LaunchConfigurePara) DeepCopyInto ¶
func (in *LaunchConfigurePara) DeepCopyInto(out *LaunchConfigurePara)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type NodePoolDetail ¶
type NodePoolDetail struct { ClusterID string `json:"clusterId,omitempty"` NodePoolID string `json:"nodePoolId,omitempty"` AutoScalingGroupPara AutoScalingGroupPara `json:"autoScalingGroupPara,omitempty"` LaunchConfigurePara LaunchConfigurePara `json:"launchConfigurePara,omitempty"` EnableAutoscale bool `json:"enableAutoscale,omitempty"` Name string `json:"name,omitempty"` Labels []string `json:"labels,omitempty"` Taints []string `json:"taints,omitempty"` NodePoolOs string `json:"nodePoolOs,omitempty"` OsCustomizeType string `json:"osCustomizeType,omitempty"` Tags []string `json:"tags,omitempty"` DeletionProtection bool `json:"deletionProtection,omitempty"` }
func (*NodePoolDetail) DeepCopy ¶
func (in *NodePoolDetail) DeepCopy() *NodePoolDetail
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodePoolDetail.
func (*NodePoolDetail) DeepCopyInto ¶
func (in *NodePoolDetail) DeepCopyInto(out *NodePoolDetail)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RunInstancesForNode ¶
type RunInstancesForNode struct { NodeRole string `json:"nodeRole,omitempty"` InstanceChargeType string `json:"instanceChargeType,omitempty"` Zone string `json:"zone,omitempty"` InstanceCount int64 `json:"instanceCount,omitempty"` ProjectID int64 `json:"projectId,omitempty"` InstanceType string `json:"instanceType,omitempty"` ImageID string `json:"imageId,omitempty"` SystemDisk DataDisk `json:"systemDisk,omitempty"` VpcID string `json:"vpcId,omitempty"` SubnetID string `json:"subnetId,omitempty"` InternetChargeType string `json:"internetChargeType,omitempty"` InternetMaxBandwidthOut int64 `json:"internetMaxBandwidthOut,omitempty"` PublicIpAssigned bool `json:"publicIpAssigned,omitempty"` InstanceName string `json:"instanceName,omitempty"` KeyIDs []string `json:"keyIds,omitempty"` SecurityService bool `json:"securityService,omitempty"` MonitorService bool `json:"monitorService,omitempty"` UserData string `json:"userData,omitempty"` }
func (*RunInstancesForNode) DeepCopy ¶
func (in *RunInstancesForNode) DeepCopy() *RunInstancesForNode
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RunInstancesForNode.
func (*RunInstancesForNode) DeepCopyInto ¶
func (in *RunInstancesForNode) DeepCopyInto(out *RunInstancesForNode)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TKEClusterConfig ¶
type TKEClusterConfig struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec TKEClusterConfigSpec `json:"spec"` Status TKEClusterConfigStatus `json:"status"` }
func NewTKEClusterConfig ¶
func NewTKEClusterConfig(namespace, name string, obj TKEClusterConfig) *TKEClusterConfig
func (*TKEClusterConfig) DeepCopy ¶
func (in *TKEClusterConfig) DeepCopy() *TKEClusterConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TKEClusterConfig.
func (*TKEClusterConfig) DeepCopyInto ¶
func (in *TKEClusterConfig) DeepCopyInto(out *TKEClusterConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*TKEClusterConfig) DeepCopyObject ¶
func (in *TKEClusterConfig) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type TKEClusterConfigList ¶
type TKEClusterConfigList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata"` Items []TKEClusterConfig `json:"items"` }
TKEClusterConfigList is a list of TKEClusterConfig resources
func (*TKEClusterConfigList) DeepCopy ¶
func (in *TKEClusterConfigList) DeepCopy() *TKEClusterConfigList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TKEClusterConfigList.
func (*TKEClusterConfigList) DeepCopyInto ¶
func (in *TKEClusterConfigList) DeepCopyInto(out *TKEClusterConfigList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*TKEClusterConfigList) DeepCopyObject ¶
func (in *TKEClusterConfigList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type TKEClusterConfigSpec ¶
type TKEClusterConfigSpec struct { TKECredentialSecret string `json:"tkeCredentialSecret,omitempty"` Imported bool `json:"imported"` Region string `json:"region,omitempty"` ClusterID string `json:"clusterId,omitempty"` ClusterEndpoint *ClusterEndpoint `json:"clusterEndpoint,omitempty"` ClusterBasicSettings *ClusterBasicSettings `json:"clusterBasicSettings,omitempty"` ClusterCIDRSettings *ClusterCIDRSettings `json:"clusterCIDRSettings,omitempty"` ClusterAdvancedSettings *ClusterAdvancedSettings `json:"clusterAdvancedSettings,omitempty"` ExtensionAddon []ExtensionAddon `json:"extensionAddon,omitempty"` RunInstancesForNode *RunInstancesForNode `json:"runInstancesForNode,omitempty"` NodePoolList []NodePoolDetail `json:"nodePoolList,omitempty"` }
TKEClusterConfigSpec is the spec for a TKEClusterConfig resource
func (*TKEClusterConfigSpec) DeepCopy ¶
func (in *TKEClusterConfigSpec) DeepCopy() *TKEClusterConfigSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TKEClusterConfigSpec.
func (*TKEClusterConfigSpec) DeepCopyInto ¶
func (in *TKEClusterConfigSpec) DeepCopyInto(out *TKEClusterConfigSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TKEClusterConfigStatus ¶
type TKEClusterConfigStatus struct { Phase string `json:"phase"` FailureMessage string `json:"failureMessage"` }
func (*TKEClusterConfigStatus) DeepCopy ¶
func (in *TKEClusterConfigStatus) DeepCopy() *TKEClusterConfigStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TKEClusterConfigStatus.
func (*TKEClusterConfigStatus) DeepCopyInto ¶
func (in *TKEClusterConfigStatus) DeepCopyInto(out *TKEClusterConfigStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.