Documentation
¶
Overview ¶
Package platform is the internal version of the API.
Index ¶
- Constants
- Variables
- func Kind(kind string) schema.GroupKind
- func Resource(resource string) schema.GroupResource
- type AddonLevel
- type AddonPhase
- type AddonSpec
- type AddressType
- type AuthzWebhookAddr
- type BuiltinAuthzWebhookAddr
- type CSIOperator
- type CSIOperatorFeature
- type CSIOperatorList
- type CSIOperatorSpec
- type CSIOperatorStatus
- type CSIProxyOptions
- type Cluster
- type ClusterAddon
- type ClusterAddonList
- type ClusterAddonSpec
- type ClusterAddonStatus
- type ClusterAddonType
- type ClusterAddonTypeList
- type ClusterAddress
- type ClusterApplyOptions
- type ClusterComponent
- type ClusterComponentReplicas
- type ClusterCondition
- type ClusterCredential
- type ClusterCredentialList
- type ClusterFeature
- type ClusterList
- type ClusterMachine
- type ClusterPhase
- type ClusterProperty
- type ClusterResource
- type ClusterSpec
- type ClusterStatus
- type ConditionStatus
- type ConfigMap
- type ConfigMapList
- type CronHPA
- type CronHPAList
- type CronHPAProxyOptions
- type CronHPASpec
- type CronHPAStatus
- type Etcd
- type ExternalAuthzWebhookAddr
- type ExternalEtcd
- type File
- type FinalizerName
- type GPUType
- type HA
- type Helm
- type HelmList
- type HelmProxyOptions
- type HelmSpec
- type HelmStatus
- type HookType
- type IPAM
- type IPAMList
- type IPAMProxyOptions
- type IPAMSpec
- type IPAMStatus
- type LBCF
- type LBCFList
- type LBCFProxyOptions
- type LBCFSpec
- type LBCFStatus
- type LocalEtcd
- type LogCollector
- type LogCollectorList
- type LogCollectorProxyOptions
- type LogCollectorSpec
- type LogCollectorStatus
- type Machine
- type MachineAddress
- type MachineAddressType
- type MachineCondition
- type MachineList
- type MachinePhase
- type MachineSpec
- type MachineStatus
- type MachineSystemInfo
- type NetworkType
- type PVCRProxyOptions
- type PersistentBackEnd
- type PersistentEvent
- type PersistentEventList
- type PersistentEventSpec
- type PersistentEventStatus
- type Prometheus
- type PrometheusList
- type PrometheusRemoteAddr
- type PrometheusSpec
- type PrometheusStatus
- type Registry
- type RegistryList
- type RegistrySpec
- type ResourceList
- type ResourceRequirements
- type StorageBackEndCLS
- type StorageBackEndES
- type TKEHA
- type TappController
- type TappControllerList
- type TappControllerProxyOptions
- type TappControllerSpec
- type TappControllerStatus
- type ThirdPartyHA
- type Upgrade
- type UpgradeMode
- type UpgradeStrategy
- type VolumeDecorator
- type VolumeDecoratorList
- type VolumeDecoratorSpec
- type VolumeDecoratorStatus
Constants ¶
const ( // Upgrade nodes automatically. UpgradeModeAuto = UpgradeMode("Auto") // Manual upgrade nodes which means user need label node with `platform.tkestack.io/need-upgrade`. UpgradeModeManual = UpgradeMode("Manual") )
const GroupName = "platform.tkestack.io"
GroupName is group name used to register these schema
Variables ¶
var ( // Scheme is the default instance of runtime.Scheme to which types in the TKE API are already registered. Scheme = runtime.NewScheme() // Codecs provides access to encoding and decoding for the scheme Codecs = serializer.NewCodecFactory(Scheme) // ParameterCodec handles versioning of objects that are converted to query parameters. ParameterCodec = runtime.NewParameterCodec(Scheme) )
var ( // SchemeBuilder collects functions that add things to a scheme. SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes) // AddToScheme applies all the stored functions to the scheme. AddToScheme = SchemeBuilder.AddToScheme )
var SchemeGroupVersion = schema.GroupVersion{Group: GroupName, Version: runtime.APIVersionInternal}
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 back a IdentityProvider qualified GroupResource
Types ¶
type AddonLevel ¶
type AddonLevel string
AddonLevel indicates the level of cluster addon.
const ( // LevelBasic is level for basic of cluster. LevelBasic AddonLevel = "Basic" // LevelEnhance is level for enhance of cluster. LevelEnhance AddonLevel = "Enhance" )
These are valid level of addon.
type AddonPhase ¶
type AddonPhase string
AddonPhase defines the phase of addon
const ( // AddonPhaseInitializing means is wait initializing. AddonPhaseInitializing AddonPhase = "Initializing" // AddonPhaseReinitializing means is reinitializing. AddonPhaseReinitializing AddonPhase = "Reinitializing" // AddonPhaseChecking means is wait checking. AddonPhaseChecking AddonPhase = "Checking" // AddonPhaseRunning means is running. AddonPhaseRunning AddonPhase = "Running" // AddonPhaseUpgrading means is upgrading. AddonPhaseUpgrading AddonPhase = "Upgrading" // AddonPhaseFailed means has been failed. AddonPhaseFailed AddonPhase = "Failed" // AddonPhasePending means the controller is proceeding deploying AddonPhasePending AddonPhase = "Pending" // AddonPhaseUnhealthy means some pods of GPUManager is partial running AddonPhaseUnhealthy AddonPhase = "Unhealthy" // AddonPhaseTerminating means addon terminating AddonPhaseTerminating AddonPhase = "Terminating" // AddonPhaseUnknown means addon unknown AddonPhaseUnknown AddonPhase = "Unknown" )
type AddonSpec ¶
AddonSpec describes the attributes on a Addon.
func (*AddonSpec) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AddonSpec.
func (*AddonSpec) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AddressType ¶
type AddressType string
AddressType indicates the type of cluster apiserver access address.
const ( // AddressPublic indicates the address of the apiserver accessed from the external network.(such as public lb) AddressPublic AddressType = "Public" // AddressAdvertise indicates the address of the apiserver accessed from the worker node.(such as internal lb) AddressAdvertise AddressType = "Advertise" // AddressReal indicates the real address of one apiserver AddressReal AddressType = "Real" // AddressInternal indicates the address of the apiserver accessed from TKE control plane. AddressInternal AddressType = "Internal" // AddressSupport used for vpc lb which bind to JNS gateway as known AddressInternal AddressSupport AddressType = "Support" )
These are valid address type of node.
type AuthzWebhookAddr ¶ added in v1.3.1
type AuthzWebhookAddr struct {
// +optional
Builtin *BuiltinAuthzWebhookAddr
// +optional
External *ExternalAuthzWebhookAddr
}
func (*AuthzWebhookAddr) DeepCopy ¶ added in v1.3.1
func (in *AuthzWebhookAddr) DeepCopy() *AuthzWebhookAddr
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AuthzWebhookAddr.
func (*AuthzWebhookAddr) DeepCopyInto ¶ added in v1.3.1
func (in *AuthzWebhookAddr) DeepCopyInto(out *AuthzWebhookAddr)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type BuiltinAuthzWebhookAddr ¶ added in v1.3.1
type BuiltinAuthzWebhookAddr struct{}
func (*BuiltinAuthzWebhookAddr) DeepCopy ¶ added in v1.3.1
func (in *BuiltinAuthzWebhookAddr) DeepCopy() *BuiltinAuthzWebhookAddr
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BuiltinAuthzWebhookAddr.
func (*BuiltinAuthzWebhookAddr) DeepCopyInto ¶ added in v1.3.1
func (in *BuiltinAuthzWebhookAddr) DeepCopyInto(out *BuiltinAuthzWebhookAddr)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CSIOperator ¶
type CSIOperator struct {
metav1.TypeMeta
// +optional
metav1.ObjectMeta
// Spec defines the desired identities of storage operator.
// +optional
Spec CSIOperatorSpec
// +optional
Status CSIOperatorStatus
}
CSIOperator is a operator to manages CSI external components.
func (*CSIOperator) DeepCopy ¶
func (in *CSIOperator) DeepCopy() *CSIOperator
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CSIOperator.
func (*CSIOperator) DeepCopyInto ¶
func (in *CSIOperator) DeepCopyInto(out *CSIOperator)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*CSIOperator) DeepCopyObject ¶
func (in *CSIOperator) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type CSIOperatorFeature ¶ added in v1.3.1
type CSIOperatorFeature struct {
Version string
}
func (*CSIOperatorFeature) DeepCopy ¶ added in v1.3.1
func (in *CSIOperatorFeature) DeepCopy() *CSIOperatorFeature
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CSIOperatorFeature.
func (*CSIOperatorFeature) DeepCopyInto ¶ added in v1.3.1
func (in *CSIOperatorFeature) DeepCopyInto(out *CSIOperatorFeature)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CSIOperatorList ¶
type CSIOperatorList struct {
metav1.TypeMeta
// +optional
metav1.ListMeta
// List of storage operators.
Items []CSIOperator
}
CSIOperatorList is the whole list of all storage operators which owned by a tenant.
func (*CSIOperatorList) DeepCopy ¶
func (in *CSIOperatorList) DeepCopy() *CSIOperatorList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CSIOperatorList.
func (*CSIOperatorList) DeepCopyInto ¶
func (in *CSIOperatorList) DeepCopyInto(out *CSIOperatorList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*CSIOperatorList) DeepCopyObject ¶
func (in *CSIOperatorList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type CSIOperatorSpec ¶
type CSIOperatorSpec struct {
TenantID string
ClusterName string
// Version of the CSI operator.
Version string
}
CSIOperatorSpec describes the attributes of a storage operator.
func (*CSIOperatorSpec) DeepCopy ¶
func (in *CSIOperatorSpec) DeepCopy() *CSIOperatorSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CSIOperatorSpec.
func (*CSIOperatorSpec) DeepCopyInto ¶
func (in *CSIOperatorSpec) DeepCopyInto(out *CSIOperatorSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CSIOperatorStatus ¶
type CSIOperatorStatus struct {
// +optional
Version string
// StorageVendorVersion will be set to the config version of the storage vendor.
// +optional
StorageVendorVersion string
// Phase is the current lifecycle phase of the csi operator of cluster.
// +optional
Phase AddonPhase
// Reason is a brief CamelCase string that describes any failure.
// +optional
Reason string
// RetryCount is a int between 0 and 5 that describes the time of retrying initializing.
// +optional
RetryCount int32
// LastReInitializingTimestamp is a timestamp that describes the last time of retrying initializing.
// +optional
LastReInitializingTimestamp metav1.Time
}
CSIOperatorStatus is information about the current status of a storage operator.
func (*CSIOperatorStatus) DeepCopy ¶
func (in *CSIOperatorStatus) DeepCopy() *CSIOperatorStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CSIOperatorStatus.
func (*CSIOperatorStatus) DeepCopyInto ¶
func (in *CSIOperatorStatus) DeepCopyInto(out *CSIOperatorStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CSIProxyOptions ¶
CSIProxyOptions is the query options to a kube-apiserver proxy call for CSI crd object.
func (*CSIProxyOptions) DeepCopy ¶
func (in *CSIProxyOptions) DeepCopy() *CSIProxyOptions
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CSIProxyOptions.
func (*CSIProxyOptions) DeepCopyInto ¶
func (in *CSIProxyOptions) DeepCopyInto(out *CSIProxyOptions)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*CSIProxyOptions) DeepCopyObject ¶
func (in *CSIProxyOptions) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type Cluster ¶
type Cluster struct {
metav1.TypeMeta
// +optional
metav1.ObjectMeta
// Spec defines the desired identities of clusters in this set.
// +optional
Spec ClusterSpec
// +optional
Status ClusterStatus
}
Cluster is a Kubernetes cluster in TKE.
func (*Cluster) AuthzWebhookEnabled ¶ added in v1.3.1
func (*Cluster) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Cluster.
func (*Cluster) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Cluster) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ClusterAddon ¶
type ClusterAddon struct {
metav1.TypeMeta
// +optional
metav1.ObjectMeta
// Spec defines the desired identities of addons in this set.
// +optional
Spec ClusterAddonSpec
// +optional
Status ClusterAddonStatus
}
ClusterAddon contains the Addon component for the current kubernetes cluster
func (*ClusterAddon) DeepCopy ¶
func (in *ClusterAddon) DeepCopy() *ClusterAddon
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterAddon.
func (*ClusterAddon) DeepCopyInto ¶
func (in *ClusterAddon) DeepCopyInto(out *ClusterAddon)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ClusterAddon) DeepCopyObject ¶
func (in *ClusterAddon) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ClusterAddonList ¶
type ClusterAddonList struct {
metav1.TypeMeta
// +optional
metav1.ListMeta
// List of ClusterAddon
Items []ClusterAddon
}
ClusterAddonList is the whole list of all ClusterAddon.
func (*ClusterAddonList) DeepCopy ¶
func (in *ClusterAddonList) DeepCopy() *ClusterAddonList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterAddonList.
func (*ClusterAddonList) DeepCopyInto ¶
func (in *ClusterAddonList) DeepCopyInto(out *ClusterAddonList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ClusterAddonList) DeepCopyObject ¶
func (in *ClusterAddonList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ClusterAddonSpec ¶
type ClusterAddonSpec struct {
// Addon type, one of Helm, PersistentEvent or LogCollector etc.
Type string
// AddonLevel is level of cluster addon.
Level AddonLevel
// Version
Version string
}
ClusterAddonSpec indicates the specifications of the ClusterAddon.
func (*ClusterAddonSpec) DeepCopy ¶
func (in *ClusterAddonSpec) DeepCopy() *ClusterAddonSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterAddonSpec.
func (*ClusterAddonSpec) DeepCopyInto ¶
func (in *ClusterAddonSpec) DeepCopyInto(out *ClusterAddonSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ClusterAddonStatus ¶
type ClusterAddonStatus struct {
// +optional
Version string
// Phase is the current lifecycle phase of the addon of cluster.
// +optional
Phase string
// Reason is a brief CamelCase string that describes any failure.
// +optional
Reason string
}
ClusterAddonStatus is information about the current status of a ClusterAddon.
func (*ClusterAddonStatus) DeepCopy ¶
func (in *ClusterAddonStatus) DeepCopy() *ClusterAddonStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterAddonStatus.
func (*ClusterAddonStatus) DeepCopyInto ¶
func (in *ClusterAddonStatus) DeepCopyInto(out *ClusterAddonStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ClusterAddonType ¶
type ClusterAddonType struct {
metav1.TypeMeta
// +optional
metav1.ObjectMeta
// Addon type, one of Helm, PersistentEvent or LogCollector etc.
Type string
// AddonLevel is level of cluster addon.
Level AddonLevel
// LatestVersion is latest version of the addon.
LatestVersion string
// Description is desc of the addon.
Description string
CompatibleClusterType []string
}
ClusterAddonType records the all addons of cluster available.
func (*ClusterAddonType) DeepCopy ¶
func (in *ClusterAddonType) DeepCopy() *ClusterAddonType
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterAddonType.
func (*ClusterAddonType) DeepCopyInto ¶
func (in *ClusterAddonType) DeepCopyInto(out *ClusterAddonType)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ClusterAddonType) DeepCopyObject ¶
func (in *ClusterAddonType) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ClusterAddonTypeList ¶
type ClusterAddonTypeList struct {
metav1.TypeMeta
// +optional
metav1.ListMeta
// +optional
Items []ClusterAddonType
}
ClusterAddonTypeList is a resource containing a list of ClusterAddonType objects.
func (*ClusterAddonTypeList) DeepCopy ¶
func (in *ClusterAddonTypeList) DeepCopy() *ClusterAddonTypeList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterAddonTypeList.
func (*ClusterAddonTypeList) DeepCopyInto ¶
func (in *ClusterAddonTypeList) DeepCopyInto(out *ClusterAddonTypeList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ClusterAddonTypeList) DeepCopyObject ¶
func (in *ClusterAddonTypeList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ClusterAddress ¶
type ClusterAddress struct {
// Cluster address type, one of Public, ExternalIP or InternalIP.
Type AddressType
// The cluster address.
Host string
Port int32
Path string
}
ClusterAddress contains information for the cluster's address.
func (*ClusterAddress) DeepCopy ¶
func (in *ClusterAddress) DeepCopy() *ClusterAddress
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterAddress.
func (*ClusterAddress) DeepCopyInto ¶
func (in *ClusterAddress) DeepCopyInto(out *ClusterAddress)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ClusterApplyOptions ¶
ClusterApplyOptions is the query options to a kube-apiserver proxy call for cluster object.
func (*ClusterApplyOptions) DeepCopy ¶
func (in *ClusterApplyOptions) DeepCopy() *ClusterApplyOptions
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterApplyOptions.
func (*ClusterApplyOptions) DeepCopyInto ¶
func (in *ClusterApplyOptions) DeepCopyInto(out *ClusterApplyOptions)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ClusterApplyOptions) DeepCopyObject ¶
func (in *ClusterApplyOptions) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ClusterComponent ¶
type ClusterComponent struct {
Type string
Replicas ClusterComponentReplicas
}
ClusterComponent records the number of copies of each component of the cluster master.
func (*ClusterComponent) DeepCopy ¶
func (in *ClusterComponent) DeepCopy() *ClusterComponent
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterComponent.
func (*ClusterComponent) DeepCopyInto ¶
func (in *ClusterComponent) DeepCopyInto(out *ClusterComponent)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ClusterComponentReplicas ¶
ClusterComponentReplicas records the number of copies of each state of each component of the cluster master.
func (*ClusterComponentReplicas) DeepCopy ¶
func (in *ClusterComponentReplicas) DeepCopy() *ClusterComponentReplicas
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterComponentReplicas.
func (*ClusterComponentReplicas) DeepCopyInto ¶
func (in *ClusterComponentReplicas) DeepCopyInto(out *ClusterComponentReplicas)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ClusterCondition ¶
type ClusterCondition struct {
// Type is the type of the condition.
Type string
// Status is the status of the condition.
// Can be True, False, Unknown.
Status ConditionStatus
// Last time we probed the condition.
// +optional
LastProbeTime metav1.Time
// Last time the condition transitioned from one status to another.
// +optional
LastTransitionTime metav1.Time
// Unique, one-word, CamelCase reason for the condition's last transition.
// +optional
Reason string
// Human-readable message indicating details about last transition.
// +optional
Message string
}
ClusterCondition contains details for the current condition of this cluster.
func (*ClusterCondition) DeepCopy ¶
func (in *ClusterCondition) DeepCopy() *ClusterCondition
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterCondition.
func (*ClusterCondition) DeepCopyInto ¶
func (in *ClusterCondition) DeepCopyInto(out *ClusterCondition)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ClusterCredential ¶
type ClusterCredential struct {
metav1.TypeMeta
// +optional
metav1.ObjectMeta
TenantID string
ClusterName string
// For TKE in global reuse
// +optional
ETCDCACert []byte
// +optional
ETCDCAKey []byte
// +optional
ETCDAPIClientCert []byte
// +optional
ETCDAPIClientKey []byte
// For validate the server cert
// +optional
CACert []byte
// +optional
CAKey []byte
// For kube-apiserver X509 auth
// +optional
ClientCert []byte
// For kube-apiserver X509 auth
// +optional
ClientKey []byte
// For kube-apiserver token auth
// +optional
Token *string
// For kubeadm init or join
// +optional
BootstrapToken *string
// For kubeadm init or join
// +optional
CertificateKey *string
}
ClusterCredential records the credential information needed to access the cluster.
func (*ClusterCredential) DeepCopy ¶
func (in *ClusterCredential) DeepCopy() *ClusterCredential
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterCredential.
func (*ClusterCredential) DeepCopyInto ¶
func (in *ClusterCredential) DeepCopyInto(out *ClusterCredential)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ClusterCredential) DeepCopyObject ¶
func (in *ClusterCredential) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ClusterCredentialList ¶
type ClusterCredentialList struct {
metav1.TypeMeta
// +optional
metav1.ListMeta
// List of clusters
Items []ClusterCredential
}
ClusterCredentialList is the whole list of all ClusterCredential which owned by a tenant.
func (*ClusterCredentialList) DeepCopy ¶
func (in *ClusterCredentialList) DeepCopy() *ClusterCredentialList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterCredentialList.
func (*ClusterCredentialList) DeepCopyInto ¶
func (in *ClusterCredentialList) DeepCopyInto(out *ClusterCredentialList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ClusterCredentialList) DeepCopyObject ¶
func (in *ClusterCredentialList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ClusterFeature ¶
type ClusterFeature struct {
// +optional
IPVS *bool
// +optional
PublicLB *bool
// +optional
InternalLB *bool
// +optional
GPUType *GPUType
// +optional
EnableMasterSchedule bool
// +optional
HA *HA
// +optional
SkipConditions []string
// +optional
Files []File
// +optional
Hooks map[HookType]string
// +optional
CSIOperator *CSIOperatorFeature
// For kube-apiserver authorization webhook
// +optional
AuthzWebhookAddr *AuthzWebhookAddr
// +optional
EnableMetricsServer bool
// +optional
IPv6DualStack bool
// Upgrade control upgrade process.
// +optional
Upgrade Upgrade
}
ClusterFeature records the features that are enabled by the cluster.
func (*ClusterFeature) DeepCopy ¶
func (in *ClusterFeature) DeepCopy() *ClusterFeature
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterFeature.
func (*ClusterFeature) DeepCopyInto ¶
func (in *ClusterFeature) DeepCopyInto(out *ClusterFeature)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ClusterList ¶
type ClusterList struct {
metav1.TypeMeta
// +optional
metav1.ListMeta
// List of clusters
Items []Cluster
}
ClusterList is the whole list of all clusters which owned by a tenant.
func (*ClusterList) DeepCopy ¶
func (in *ClusterList) DeepCopy() *ClusterList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterList.
func (*ClusterList) DeepCopyInto ¶
func (in *ClusterList) DeepCopyInto(out *ClusterList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ClusterList) DeepCopyObject ¶
func (in *ClusterList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ClusterMachine ¶
type ClusterMachine struct {
IP string
Port int32
Username string
Password []byte
PrivateKey []byte
PassPhrase []byte
Labels map[string]string
Taints []corev1.Taint
}
ClusterMachine is the master machine definition of cluster.
func (*ClusterMachine) DeepCopy ¶
func (in *ClusterMachine) DeepCopy() *ClusterMachine
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterMachine.
func (*ClusterMachine) DeepCopyInto ¶
func (in *ClusterMachine) DeepCopyInto(out *ClusterMachine)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ClusterPhase ¶
type ClusterPhase string
ClusterPhase defines the phase of cluster constructor.
const ( // ClusterInitializing is the initialize phase. ClusterInitializing ClusterPhase = "Initializing" // ClusterRunning is the normal running phase. ClusterRunning ClusterPhase = "Running" // ClusterFailed is the failed phase. ClusterFailed ClusterPhase = "Failed" // ClusterUpgrading means that the cluster is in upgrading process. ClusterUpgrading ClusterPhase = "Upgrading" // ClusterTerminating means the cluster is undergoing graceful termination. ClusterTerminating ClusterPhase = "Terminating" // ClusterUpscaling means the cluster is undergoing graceful up scaling. ClusterUpscaling ClusterPhase = "Upscaling" // ClusterDownscaling means the cluster is undergoing graceful down scaling. ClusterDownscaling ClusterPhase = "Downscaling" )
type ClusterProperty ¶
type ClusterProperty struct {
// +optional
MaxClusterServiceNum *int32
// +optional
MaxNodePodNum *int32
// +optional
OversoldRatio map[string]string
}
ClusterProperty records the attribute information of the cluster.
func (*ClusterProperty) DeepCopy ¶
func (in *ClusterProperty) DeepCopy() *ClusterProperty
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterProperty.
func (*ClusterProperty) DeepCopyInto ¶
func (in *ClusterProperty) DeepCopyInto(out *ClusterProperty)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ClusterResource ¶
type ClusterResource struct {
// Capacity represents the total resources of a cluster.
// +optional
Capacity ResourceList
// Allocatable represents the resources of a cluster that are available for scheduling.
// Defaults to Capacity.
// +optional
Allocatable ResourceList
// +optional
Allocated ResourceList
}
ClusterResource records the current available and maximum resource quota information for the cluster.
func (*ClusterResource) DeepCopy ¶
func (in *ClusterResource) DeepCopy() *ClusterResource
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterResource.
func (*ClusterResource) DeepCopyInto ¶
func (in *ClusterResource) DeepCopyInto(out *ClusterResource)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ClusterSpec ¶
type ClusterSpec struct {
// Finalizers is an opaque list of values that must be empty to permanently remove object from storage.
// +optional
Finalizers []FinalizerName
TenantID string
// +optional
DisplayName string
Type string
Version string
// +optional
NetworkType NetworkType
// +optional
NetworkDevice string
// +optional
ClusterCIDR string
// ServiceCIDR is used to set a separated CIDR for k8s service, it's exclusive with MaxClusterServiceNum.
// +optional
ServiceCIDR *string
// +optional
// DNSDomain is the dns domain used by k8s services. Defaults to "cluster.local".
DNSDomain string
// +optional
PublicAlternativeNames []string
// +optional
Features ClusterFeature
// +optional
Properties ClusterProperty
// +optional
Machines []ClusterMachine
// +optional
ScalingMachines []ClusterMachine
// +optional
DockerExtraArgs map[string]string
// +optional
KubeletExtraArgs map[string]string
// +optional
APIServerExtraArgs map[string]string
// +optional
ControllerManagerExtraArgs map[string]string
// +optional
SchedulerExtraArgs map[string]string
// ClusterCredentialRef for isolate sensitive information.
// If not specified, cluster controller will create one;
// If specified, provider must make sure is valid.
// +optional
ClusterCredentialRef *corev1.LocalObjectReference
// Etcd holds configuration for etcd.
// +optional
Etcd *Etcd
// If true will use hostname as nodename, if false will use machine IP as nodename.
// +optional
HostnameAsNodename bool
// +optional
NetworkArgs map[string]string
}
ClusterSpec is a description of a cluster.
func (*ClusterSpec) DeepCopy ¶
func (in *ClusterSpec) DeepCopy() *ClusterSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterSpec.
func (*ClusterSpec) DeepCopyInto ¶
func (in *ClusterSpec) DeepCopyInto(out *ClusterSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ClusterStatus ¶
type ClusterStatus struct {
// +optional
Locked *bool
// +optional
Version string
// +optional
Phase ClusterPhase
// +optional
// +patchMergeKey=type
// +patchStrategy=merge
Conditions []ClusterCondition
// A human readable message indicating details about why the cluster is in this condition.
// +optional
Message string
// A brief CamelCase message indicating details about why the cluster is in this state.
// +optional
Reason string
// List of addresses reachable to the cluster.
// +optional
// +patchMergeKey=type
// +patchStrategy=merge
Addresses []ClusterAddress
// +optional
Resource ClusterResource
// +optional
// +patchMergeKey=type
// +patchStrategy=merge
Components []ClusterComponent
// +optional
ServiceCIDR string
// +optional
NodeCIDRMaskSize int32
// +optional
DNSIP string
// +optional
RegistryIPs []string
// +optional
ClusterCIDR string
// +optional
SecondaryServiceCIDR string
// +optional
SecondaryClusterCIDR string
// +optional
NodeCIDRMaskSizeIPv4 int32
// +optional
NodeCIDRMaskSizeIPv6 int32
}
ClusterStatus represents information about the status of a cluster.
func (*ClusterStatus) DeepCopy ¶
func (in *ClusterStatus) DeepCopy() *ClusterStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterStatus.
func (*ClusterStatus) DeepCopyInto ¶
func (in *ClusterStatus) DeepCopyInto(out *ClusterStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ConditionStatus ¶
type ConditionStatus string
ConditionStatus defines the status of Condition.
const ( ConditionTrue ConditionStatus = "True" ConditionFalse ConditionStatus = "False" ConditionUnknown ConditionStatus = "Unknown" )
These are valid condition statuses. "ConditionTrue" means a resource is in the condition. "ConditionFalse" means a resource is not in the condition. "ConditionUnknown" means server can't decide if a resource is in the condition or not.
type ConfigMap ¶
type ConfigMap struct {
metav1.TypeMeta
// +optional
metav1.ObjectMeta
// Data contains the configuration data.
// Each key must consist of alphanumeric characters, '-', '_' or '.'.
// Values with non-UTF-8 byte sequences must use the BinaryData field.
// The keys stored in Data must not overlap with the keys in
// the BinaryData field, this is enforced during validation process.
// +optional
Data map[string]string
// BinaryData contains the binary data.
// Each key must consist of alphanumeric characters, '-', '_' or '.'.
// BinaryData can contain byte sequences that are not in the UTF-8 range.
// The keys stored in BinaryData must not overlap with the ones in
// the Data field, this is enforced during validation process.
// +optional
BinaryData map[string][]byte
}
ConfigMap holds configuration data for tke to consume.
func (*ConfigMap) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConfigMap.
func (*ConfigMap) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ConfigMap) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ConfigMapList ¶
type ConfigMapList struct {
metav1.TypeMeta
// +optional
metav1.ListMeta
// Items is the list of ConfigMaps.
Items []ConfigMap
}
ConfigMapList is a resource containing a list of ConfigMap objects.
func (*ConfigMapList) DeepCopy ¶
func (in *ConfigMapList) DeepCopy() *ConfigMapList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConfigMapList.
func (*ConfigMapList) DeepCopyInto ¶
func (in *ConfigMapList) DeepCopyInto(out *ConfigMapList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ConfigMapList) DeepCopyObject ¶
func (in *ConfigMapList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type CronHPA ¶
type CronHPA struct {
metav1.TypeMeta
// +optional
metav1.ObjectMeta
// Spec defines the desired identities of CronHPA.
// +optional
Spec CronHPASpec
// +optional
Status CronHPAStatus
}
CronHPA is a new kubernetes workload.
func (*CronHPA) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CronHPA.
func (*CronHPA) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*CronHPA) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type CronHPAList ¶
type CronHPAList struct {
metav1.TypeMeta
// +optional
metav1.ListMeta
// List of CronHPAs
Items []CronHPA
}
CronHPAList is the whole list of all CronHPAs which owned by a tenant.
func (*CronHPAList) DeepCopy ¶
func (in *CronHPAList) DeepCopy() *CronHPAList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CronHPAList.
func (*CronHPAList) DeepCopyInto ¶
func (in *CronHPAList) DeepCopyInto(out *CronHPAList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*CronHPAList) DeepCopyObject ¶
func (in *CronHPAList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type CronHPAProxyOptions ¶
CronHPAProxyOptions is the query options to a kube-apiserver proxy call.
func (*CronHPAProxyOptions) DeepCopy ¶
func (in *CronHPAProxyOptions) DeepCopy() *CronHPAProxyOptions
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CronHPAProxyOptions.
func (*CronHPAProxyOptions) DeepCopyInto ¶
func (in *CronHPAProxyOptions) DeepCopyInto(out *CronHPAProxyOptions)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*CronHPAProxyOptions) DeepCopyObject ¶
func (in *CronHPAProxyOptions) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type CronHPASpec ¶
CronHPASpec describes the attributes on a CronHPA.
func (*CronHPASpec) DeepCopy ¶
func (in *CronHPASpec) DeepCopy() *CronHPASpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CronHPASpec.
func (*CronHPASpec) DeepCopyInto ¶
func (in *CronHPASpec) DeepCopyInto(out *CronHPASpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CronHPAStatus ¶
type CronHPAStatus struct {
// +optional
Version string
// Phase is the current lifecycle phase of the CronHPA of cluster.
// +optional
Phase AddonPhase
// Reason is a brief CamelCase string that describes any failure.
// +optional
Reason string
// RetryCount is a int between 0 and 5 that describes the time of retrying initializing.
// +optional
RetryCount int32
// LastReInitializingTimestamp is a timestamp that describes the last time of retrying initializing.
// +optional
LastReInitializingTimestamp metav1.Time
}
CronHPAStatus is information about the current status of a CronHPA.
func (*CronHPAStatus) DeepCopy ¶
func (in *CronHPAStatus) DeepCopy() *CronHPAStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CronHPAStatus.
func (*CronHPAStatus) DeepCopyInto ¶
func (in *CronHPAStatus) DeepCopyInto(out *CronHPAStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Etcd ¶ added in v1.3.1
type Etcd struct {
// Local provides configuration knobs for configuring the local etcd instance
// Local and External are mutually exclusive
Local *LocalEtcd
// External describes how to connect to an external etcd cluster
// Local and External are mutually exclusive
External *ExternalEtcd
}
Etcd contains elements describing Etcd configuration.
func (*Etcd) DeepCopy ¶ added in v1.3.1
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Etcd.
func (*Etcd) DeepCopyInto ¶ added in v1.3.1
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ExternalAuthzWebhookAddr ¶ added in v1.3.1
type ExternalAuthzWebhookAddr struct {
IP string `json:"ip" protobuf:"bytes,1,name=ip"`
Port int32 `json:"port" protobuf:"varint,2,name=port"`
}
func (*ExternalAuthzWebhookAddr) DeepCopy ¶ added in v1.3.1
func (in *ExternalAuthzWebhookAddr) DeepCopy() *ExternalAuthzWebhookAddr
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExternalAuthzWebhookAddr.
func (*ExternalAuthzWebhookAddr) DeepCopyInto ¶ added in v1.3.1
func (in *ExternalAuthzWebhookAddr) DeepCopyInto(out *ExternalAuthzWebhookAddr)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ExternalEtcd ¶ added in v1.3.1
type ExternalEtcd struct {
// Endpoints of etcd members. Useful for using external etcd.
// If not provided, kubeadm will run etcd in a static pod.
Endpoints []string
// CAFile is an SSL Certificate Authority file used to secure etcd communication.
CAFile string
// CertFile is an SSL certification file used to secure etcd communication.
CertFile string
// KeyFile is an SSL key file used to secure etcd communication.
KeyFile string
}
ExternalEtcd describes an external etcd cluster
func (*ExternalEtcd) DeepCopy ¶ added in v1.3.1
func (in *ExternalEtcd) DeepCopy() *ExternalEtcd
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExternalEtcd.
func (*ExternalEtcd) DeepCopyInto ¶ added in v1.3.1
func (in *ExternalEtcd) DeepCopyInto(out *ExternalEtcd)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type File ¶
func (*File) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new File.
func (*File) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type FinalizerName ¶
type FinalizerName string
FinalizerName is the name identifying a finalizer during cluster lifecycle.
const ( // ClusterFinalize is an internal finalizer values to Cluster. ClusterFinalize FinalizerName = "cluster" // MachineFinalize is an internal finalizer values to Machine. MachineFinalize FinalizerName = "machine" )
type HA ¶
type HA struct {
TKEHA *TKEHA
ThirdPartyHA *ThirdPartyHA
}
func (*HA) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HA.
func (*HA) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Helm ¶
type Helm struct {
metav1.TypeMeta
// +optional
metav1.ObjectMeta
// Spec defines the desired identities of clusters in this set.
// +optional
Spec HelmSpec
// +optional
Status HelmStatus
}
Helm is a kubernetes package manager.
func (*Helm) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Helm.
func (*Helm) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Helm) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type HelmList ¶
HelmList is the whole list of all helms which owned by a tenant.
func (*HelmList) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HelmList.
func (*HelmList) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*HelmList) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type HelmProxyOptions ¶
type HelmProxyOptions struct {
metav1.TypeMeta
// Path is the URL path to use for the current proxy request to helm-api.
// +optional
Path string
}
HelmProxyOptions is the query options to a Helm-api proxy call.
func (*HelmProxyOptions) DeepCopy ¶
func (in *HelmProxyOptions) DeepCopy() *HelmProxyOptions
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HelmProxyOptions.
func (*HelmProxyOptions) DeepCopyInto ¶
func (in *HelmProxyOptions) DeepCopyInto(out *HelmProxyOptions)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*HelmProxyOptions) DeepCopyObject ¶
func (in *HelmProxyOptions) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type HelmSpec ¶
HelmSpec describes the attributes on a Helm.
func (*HelmSpec) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HelmSpec.
func (*HelmSpec) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type HelmStatus ¶
type HelmStatus struct {
// +optional
Version string
// Phase is the current lifecycle phase of the helm of cluster.
// +optional
Phase AddonPhase
// Reason is a brief CamelCase string that describes any failure.
// +optional
Reason string
// RetryCount is a int between 0 and 5 that describes the time of retrying initializing.
// +optional
RetryCount int32
// LastReInitializingTimestamp is a timestamp that describes the last time of retrying initializing.
// +optional
LastReInitializingTimestamp metav1.Time
}
HelmStatus is information about the current status of a Helm.
func (*HelmStatus) DeepCopy ¶
func (in *HelmStatus) DeepCopy() *HelmStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HelmStatus.
func (*HelmStatus) DeepCopyInto ¶
func (in *HelmStatus) DeepCopyInto(out *HelmStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type HookType ¶
type HookType string
const ( // node lifecycle hook HookPreInstall HookType = "PreInstall" HookPostInstall HookType = "PostInstall" HookPreUpgrade HookType = "PreUpgrade" HookPostUpgrade HookType = "PostUpgrade" // custer lifecycle hook HookPreClusterInstall HookType = "PreClusterInstall" HookPostClusterInstall HookType = "PostClusterInstall" HookPreClusterUpgrade HookType = "PreClusterUpgrade" HookPostClusterUpgrade HookType = "PostClusterUpgrade" HookPreClusterDelete HookType = "PreClusterDelete" HookPostClusterDelete HookType = "PostClusterDelete" )
type IPAM ¶
type IPAM struct {
metav1.TypeMeta
// +optional
metav1.ObjectMeta
// Spec defines the desired identities of clusters in this set.
// +optional
Spec IPAMSpec
// +optional
Status IPAMStatus
}
IPAM is a scheduler plugin for assigning IP.
func (*IPAM) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IPAM.
func (*IPAM) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*IPAM) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type IPAMList ¶
IPAMList is the whole list of all IPAMs which owned by a tenant.
func (*IPAMList) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IPAMList.
func (*IPAMList) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*IPAMList) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type IPAMProxyOptions ¶
type IPAMProxyOptions struct {
metav1.TypeMeta
// Path is the URL path to use for the current proxy request to helm-api.
// +optional
Path string
}
IPAMProxyOptions is the query options to a Helm-api proxy call.
func (*IPAMProxyOptions) DeepCopy ¶
func (in *IPAMProxyOptions) DeepCopy() *IPAMProxyOptions
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IPAMProxyOptions.
func (*IPAMProxyOptions) DeepCopyInto ¶
func (in *IPAMProxyOptions) DeepCopyInto(out *IPAMProxyOptions)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*IPAMProxyOptions) DeepCopyObject ¶
func (in *IPAMProxyOptions) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type IPAMSpec ¶
IPAMSpec describes the attributes on a IPAM.
func (*IPAMSpec) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IPAMSpec.
func (*IPAMSpec) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type IPAMStatus ¶
type IPAMStatus struct {
// +optional
Version string
// Phase is the current lifecycle phase of the addon of cluster.
// +optional
Phase AddonPhase
// Reason is a brief CamelCase string that describes any failure.
// +optional
Reason string
// RetryCount is a int between 0 and 5 that describes the time of retrying initializing.
// +optional
RetryCount int32
// LastReInitializingTimestamp is a timestamp that describes the last time of retrying initializing.
// +optional
LastReInitializingTimestamp metav1.Time
}
IPAMStatus is information about the current status of a IPAM.
func (*IPAMStatus) DeepCopy ¶
func (in *IPAMStatus) DeepCopy() *IPAMStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IPAMStatus.
func (*IPAMStatus) DeepCopyInto ¶
func (in *IPAMStatus) DeepCopyInto(out *IPAMStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type LBCF ¶
type LBCF struct {
metav1.TypeMeta
// +optional
metav1.ObjectMeta
// Spec defines the desired identities of LBCF.
// +optional
Spec LBCFSpec
// +optional
Status LBCFStatus
}
LBCF is a kubernetes load balancer manager
func (*LBCF) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LBCF.
func (*LBCF) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*LBCF) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type LBCFList ¶
type LBCFList struct {
metav1.TypeMeta
// +optional
metav1.ListMeta
// List of CronHPAs
Items []LBCF
}
LBCFList is the whole list of all LBCF which owned by a tenant.
func (*LBCFList) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LBCFList.
func (*LBCFList) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*LBCFList) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type LBCFProxyOptions ¶
LBCFProxyOptions is the query options to a kube-apiserver proxy call.
func (*LBCFProxyOptions) DeepCopy ¶
func (in *LBCFProxyOptions) DeepCopy() *LBCFProxyOptions
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LBCFProxyOptions.
func (*LBCFProxyOptions) DeepCopyInto ¶
func (in *LBCFProxyOptions) DeepCopyInto(out *LBCFProxyOptions)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*LBCFProxyOptions) DeepCopyObject ¶
func (in *LBCFProxyOptions) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type LBCFSpec ¶
LBCFSpec defines the desired identities of LBCF.
func (*LBCFSpec) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LBCFSpec.
func (*LBCFSpec) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type LBCFStatus ¶
type LBCFStatus struct {
// +optional
Version string
// Phase is the current lifecycle phase of the CronHPA of cluster.
// +optional
Phase AddonPhase
// Reason is a brief CamelCase string that describes any failure.
// +optional
Reason string
// RetryCount is a int between 0 and 5 that describes the time of retrying initializing.
// +optional
RetryCount int32
// LastReInitializingTimestamp is a timestamp that describes the last time of retrying initializing.
// +optional
LastReInitializingTimestamp metav1.Time
}
LBCFStatus is information about the current status of a LBCF.
func (*LBCFStatus) DeepCopy ¶
func (in *LBCFStatus) DeepCopy() *LBCFStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LBCFStatus.
func (*LBCFStatus) DeepCopyInto ¶
func (in *LBCFStatus) DeepCopyInto(out *LBCFStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type LocalEtcd ¶ added in v1.3.1
type LocalEtcd struct {
// DataDir is the directory etcd will place its data.
// Defaults to "/var/lib/etcd".
DataDir string
// ExtraArgs are extra arguments provided to the etcd binary
// when run inside a static pod.
ExtraArgs map[string]string
// ServerCertSANs sets extra Subject Alternative Names for the etcd server signing cert.
ServerCertSANs []string
// PeerCertSANs sets extra Subject Alternative Names for the etcd peer signing cert.
PeerCertSANs []string
}
LocalEtcd describes that kubeadm should run an etcd cluster locally
func (*LocalEtcd) DeepCopy ¶ added in v1.3.1
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LocalEtcd.
func (*LocalEtcd) DeepCopyInto ¶ added in v1.3.1
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type LogCollector ¶
type LogCollector struct {
metav1.TypeMeta
// +optional
metav1.ObjectMeta
// Spec defines the desired identities of LogCollector.
// +optional
Spec LogCollectorSpec
// +optional
Status LogCollectorStatus
}
LogCollector is a manager to collect logs of workload.
func (*LogCollector) DeepCopy ¶
func (in *LogCollector) DeepCopy() *LogCollector
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LogCollector.
func (*LogCollector) DeepCopyInto ¶
func (in *LogCollector) DeepCopyInto(out *LogCollector)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*LogCollector) DeepCopyObject ¶
func (in *LogCollector) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type LogCollectorList ¶
type LogCollectorList struct {
metav1.TypeMeta
// +optional
metav1.ListMeta
// List of volume decorators.
Items []LogCollector
}
LogCollectorList is the whole list of all LogCollector which owned by a tenant.
func (*LogCollectorList) DeepCopy ¶
func (in *LogCollectorList) DeepCopy() *LogCollectorList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LogCollectorList.
func (*LogCollectorList) DeepCopyInto ¶
func (in *LogCollectorList) DeepCopyInto(out *LogCollectorList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*LogCollectorList) DeepCopyObject ¶
func (in *LogCollectorList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type LogCollectorProxyOptions ¶
LogCollectorProxyOptions is the query options to a kube-apiserver proxy call for LogCollector crd object.
func (*LogCollectorProxyOptions) DeepCopy ¶
func (in *LogCollectorProxyOptions) DeepCopy() *LogCollectorProxyOptions
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LogCollectorProxyOptions.
func (*LogCollectorProxyOptions) DeepCopyInto ¶
func (in *LogCollectorProxyOptions) DeepCopyInto(out *LogCollectorProxyOptions)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*LogCollectorProxyOptions) DeepCopyObject ¶
func (in *LogCollectorProxyOptions) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type LogCollectorSpec ¶
LogCollectorSpec describes the attributes of a LogCollector.
func (*LogCollectorSpec) DeepCopy ¶
func (in *LogCollectorSpec) DeepCopy() *LogCollectorSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LogCollectorSpec.
func (*LogCollectorSpec) DeepCopyInto ¶
func (in *LogCollectorSpec) DeepCopyInto(out *LogCollectorSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type LogCollectorStatus ¶
type LogCollectorStatus struct {
// +optional
Version string
// Phase is the current lifecycle phase of the LogCollector of cluster.
// +optional
Phase AddonPhase
// Reason is a brief CamelCase string that describes any failure.
// +optional
Reason string
// RetryCount is a int between 0 and 5 that describes the time of retrying initializing.
// +optional
RetryCount int32
// LastReInitializingTimestamp is a timestamp that describes the last time of retrying initializing.
// +optional
LastReInitializingTimestamp metav1.Time
}
LogCollectorStatus is information about the current status of a LogCollector.
func (*LogCollectorStatus) DeepCopy ¶
func (in *LogCollectorStatus) DeepCopy() *LogCollectorStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LogCollectorStatus.
func (*LogCollectorStatus) DeepCopyInto ¶
func (in *LogCollectorStatus) DeepCopyInto(out *LogCollectorStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Machine ¶
type Machine struct {
metav1.TypeMeta
// +optional
metav1.ObjectMeta
// Spec defines the desired identities of the Machine.
// +optional
Spec MachineSpec
// +optional
Status MachineStatus
}
Machine instance in Kubernetes cluster
func (*Machine) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Machine.
func (*Machine) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Machine) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type MachineAddress ¶
type MachineAddress struct {
// Machine address type, one of Public, ExternalIP or InternalIP.
Type MachineAddressType
// The machine address.
Address string
}
MachineAddress contains information for the machine's address.
func (*MachineAddress) DeepCopy ¶
func (in *MachineAddress) DeepCopy() *MachineAddress
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MachineAddress.
func (*MachineAddress) DeepCopyInto ¶
func (in *MachineAddress) DeepCopyInto(out *MachineAddress)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MachineAddressType ¶
type MachineAddressType string
MachineAddressType represents the type of machine address.
const ( MachineHostName MachineAddressType = "Hostname" MachineExternalIP MachineAddressType = "ExternalIP" MachineInternalIP MachineAddressType = "InternalIP" MachineExternalDNS MachineAddressType = "ExternalDNS" MachineInternalDNS MachineAddressType = "InternalDNS" )
These are valid address type of machine.
type MachineCondition ¶
type MachineCondition struct {
// Type is the type of the condition.
Type string
// Status is the status of the condition.
// Can be True, False, Unknown.
Status ConditionStatus
// Last time we probed the condition.
// +optional
LastProbeTime metav1.Time
// Last time the condition transitioned from one status to another.
// +optional
LastTransitionTime metav1.Time
// Unique, one-word, CamelCase reason for the condition's last transition.
// +optional
Reason string
// Human-readable message indicating details about last transition.
// +optional
Message string
}
MachineCondition contains details for the current condition of this Machine.
func (*MachineCondition) DeepCopy ¶
func (in *MachineCondition) DeepCopy() *MachineCondition
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MachineCondition.
func (*MachineCondition) DeepCopyInto ¶
func (in *MachineCondition) DeepCopyInto(out *MachineCondition)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MachineList ¶
type MachineList struct {
metav1.TypeMeta
// +optional
metav1.ListMeta
// List of clusters
Items []Machine
}
MachineList is the whole list of all machine in an cluster.
func (*MachineList) DeepCopy ¶
func (in *MachineList) DeepCopy() *MachineList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MachineList.
func (*MachineList) DeepCopyInto ¶
func (in *MachineList) DeepCopyInto(out *MachineList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*MachineList) DeepCopyObject ¶
func (in *MachineList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type MachinePhase ¶
type MachinePhase string
MachinePhase defines the phase of machine constructor
const ( // MachineInitializing is the initialize phase MachineInitializing MachinePhase = "Initializing" // MachineRunning is the normal running phase MachineRunning MachinePhase = "Running" // MachineFailed is the failed phase MachineFailed MachinePhase = "Failed" // MachineUpgrading means that the machine is in upgrading process. MachineUpgrading MachinePhase = "Upgrading" // MachineTerminating is the terminating phase MachineTerminating MachinePhase = "Terminating" )
type MachineSpec ¶
type MachineSpec struct {
// Finalizers is an opaque list of values that must be empty to permanently remove object from storage.
// +optional
Finalizers []FinalizerName
TenantID string
ClusterName string
Type string
IP string
Port int32
Username string
Password []byte
PrivateKey []byte
PassPhrase []byte
Labels map[string]string
Taints []corev1.Taint
}
MachineSpec is a description of machine.
func (*MachineSpec) DeepCopy ¶
func (in *MachineSpec) DeepCopy() *MachineSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MachineSpec.
func (*MachineSpec) DeepCopyInto ¶
func (in *MachineSpec) DeepCopyInto(out *MachineSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MachineStatus ¶
type MachineStatus struct {
// +optional
Locked *bool
// +optional
Phase MachinePhase
// +optional
// +patchMergeKey=type
// +patchStrategy=merge
Conditions []MachineCondition
// A human readable message indicating details about why the machine is in this condition.
// +optional
Message string
// A brief CamelCase message indicating details about why the machine is in this state.
// +optional
Reason string
// List of addresses reachable to the machine.
// +optional
// +patchMergeKey=type
// +patchStrategy=merge
Addresses []MachineAddress
// Set of ids/uuids to uniquely identify the node.
// +optional
MachineInfo MachineSystemInfo
}
MachineStatus represents information about the status of an machine.
func (*MachineStatus) DeepCopy ¶
func (in *MachineStatus) DeepCopy() *MachineStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MachineStatus.
func (*MachineStatus) DeepCopyInto ¶
func (in *MachineStatus) DeepCopyInto(out *MachineStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MachineSystemInfo ¶
type MachineSystemInfo struct {
// MachineID reported by the node. For unique machine identification
// in the cluster this field is preferred. Learn more from man(5)
// machine-id: http://man7.org/linux/man-pages/man5/machine-id.5.html
MachineID string
// SystemUUID reported by the node. For unique machine identification
// MachineID is preferred. This field is specific to Red Hat hosts
// https://access.redhat.com/documentation/en-US/Red_Hat_Subscription_Management/1/html/RHSM/getting-system-uuid.html
SystemUUID string
// Boot ID reported by the node.
BootID string
// Kernel Version reported by the node.
KernelVersion string
// OS Image reported by the node.
OSImage string
// ContainerRuntime Version reported by the node.
ContainerRuntimeVersion string
// Kubelet Version reported by the node.
KubeletVersion string
// KubeProxy Version reported by the node.
KubeProxyVersion string
// The Operating System reported by the node
OperatingSystem string
// The Architecture reported by the node
Architecture string
}
MachineSystemInfo is a set of ids/uuids to uniquely identify the node.
func (*MachineSystemInfo) DeepCopy ¶
func (in *MachineSystemInfo) DeepCopy() *MachineSystemInfo
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MachineSystemInfo.
func (*MachineSystemInfo) DeepCopyInto ¶
func (in *MachineSystemInfo) DeepCopyInto(out *MachineSystemInfo)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PVCRProxyOptions ¶
PVCRProxyOptions is the query options to a kube-apiserver proxy call for PVCR crd object.
func (*PVCRProxyOptions) DeepCopy ¶
func (in *PVCRProxyOptions) DeepCopy() *PVCRProxyOptions
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PVCRProxyOptions.
func (*PVCRProxyOptions) DeepCopyInto ¶
func (in *PVCRProxyOptions) DeepCopyInto(out *PVCRProxyOptions)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*PVCRProxyOptions) DeepCopyObject ¶
func (in *PVCRProxyOptions) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type PersistentBackEnd ¶
type PersistentBackEnd struct {
CLS *StorageBackEndCLS
ES *StorageBackEndES
}
PersistentBackEnd indicates the backend type and attributes of the persistent log store.
func (*PersistentBackEnd) DeepCopy ¶
func (in *PersistentBackEnd) DeepCopy() *PersistentBackEnd
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PersistentBackEnd.
func (*PersistentBackEnd) DeepCopyInto ¶
func (in *PersistentBackEnd) DeepCopyInto(out *PersistentBackEnd)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PersistentEvent ¶
type PersistentEvent struct {
metav1.TypeMeta
// +optional
metav1.ObjectMeta
// Spec defines the desired identities of clusters in this set.
// +optional
Spec PersistentEventSpec
// +optional
Status PersistentEventStatus
}
PersistentEvent is a recorder of kubernetes event.
func (*PersistentEvent) DeepCopy ¶
func (in *PersistentEvent) DeepCopy() *PersistentEvent
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PersistentEvent.
func (*PersistentEvent) DeepCopyInto ¶
func (in *PersistentEvent) DeepCopyInto(out *PersistentEvent)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*PersistentEvent) DeepCopyObject ¶
func (in *PersistentEvent) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type PersistentEventList ¶
type PersistentEventList struct {
metav1.TypeMeta
// +optional
metav1.ListMeta
// List of PersistentEvents
Items []PersistentEvent
}
PersistentEventList is the whole list of all clusters which owned by a tenant.
func (*PersistentEventList) DeepCopy ¶
func (in *PersistentEventList) DeepCopy() *PersistentEventList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PersistentEventList.
func (*PersistentEventList) DeepCopyInto ¶
func (in *PersistentEventList) DeepCopyInto(out *PersistentEventList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*PersistentEventList) DeepCopyObject ¶
func (in *PersistentEventList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type PersistentEventSpec ¶
type PersistentEventSpec struct {
TenantID string
ClusterName string
PersistentBackEnd PersistentBackEnd
Version string
}
PersistentEventSpec describes the attributes on a PersistentEvent.
func (*PersistentEventSpec) DeepCopy ¶
func (in *PersistentEventSpec) DeepCopy() *PersistentEventSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PersistentEventSpec.
func (*PersistentEventSpec) DeepCopyInto ¶
func (in *PersistentEventSpec) DeepCopyInto(out *PersistentEventSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PersistentEventStatus ¶
type PersistentEventStatus struct {
// +optional
Version string
// Phase is the current lifecycle phase of the persistent event of cluster.
// +optional
Phase AddonPhase
// Reason is a brief CamelCase string that describes any failure.
// +optional
Reason string
// RetryCount is a int between 0 and 5 that describes the time of retrying initializing.
// +optional
RetryCount int32
// LastReInitializingTimestamp is a timestamp that describes the last time of retrying initializing.
// +optional
LastReInitializingTimestamp metav1.Time
}
PersistentEventStatus is information about the current status of a PersistentEvent.
func (*PersistentEventStatus) DeepCopy ¶
func (in *PersistentEventStatus) DeepCopy() *PersistentEventStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PersistentEventStatus.
func (*PersistentEventStatus) DeepCopyInto ¶
func (in *PersistentEventStatus) DeepCopyInto(out *PersistentEventStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Prometheus ¶
type Prometheus struct {
metav1.TypeMeta
// +optional
metav1.ObjectMeta
// Spec defines the desired identities of clusters in this set.
// +optional
Spec PrometheusSpec
// +optional
Status PrometheusStatus
}
Prometheus is a kubernetes package manager.
func (*Prometheus) DeepCopy ¶
func (in *Prometheus) DeepCopy() *Prometheus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Prometheus.
func (*Prometheus) DeepCopyInto ¶
func (in *Prometheus) DeepCopyInto(out *Prometheus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Prometheus) DeepCopyObject ¶
func (in *Prometheus) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type PrometheusList ¶
type PrometheusList struct {
metav1.TypeMeta
// +optional
metav1.ListMeta
// List of Prometheuss
Items []Prometheus
}
PrometheusList is the whole list of all prometheus which owned by a tenant.
func (*PrometheusList) DeepCopy ¶
func (in *PrometheusList) DeepCopy() *PrometheusList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PrometheusList.
func (*PrometheusList) DeepCopyInto ¶
func (in *PrometheusList) DeepCopyInto(out *PrometheusList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*PrometheusList) DeepCopyObject ¶
func (in *PrometheusList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type PrometheusRemoteAddr ¶
PrometheusRemoteAddr is the remote write/read address for prometheus
func (*PrometheusRemoteAddr) DeepCopy ¶
func (in *PrometheusRemoteAddr) DeepCopy() *PrometheusRemoteAddr
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PrometheusRemoteAddr.
func (*PrometheusRemoteAddr) DeepCopyInto ¶
func (in *PrometheusRemoteAddr) DeepCopyInto(out *PrometheusRemoteAddr)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PrometheusSpec ¶
type PrometheusSpec struct {
TenantID string
ClusterName string
Version string
SubVersion map[string]string
RemoteAddress PrometheusRemoteAddr
// +optional
NotifyWebhook string
// +optional
Resources ResourceRequirements
// +optional
RunOnMaster bool
// +optional
AlertRepeatInterval string
// +optional
WithNPD bool
}
PrometheusSpec describes the attributes on a Prometheus.
func (*PrometheusSpec) DeepCopy ¶
func (in *PrometheusSpec) DeepCopy() *PrometheusSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PrometheusSpec.
func (*PrometheusSpec) DeepCopyInto ¶
func (in *PrometheusSpec) DeepCopyInto(out *PrometheusSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PrometheusStatus ¶
type PrometheusStatus struct {
// +optional
Version string
// Phase is the current lifecycle phase of the helm of cluster.
// +optional
Phase AddonPhase
// Reason is a brief CamelCase string that describes any failure.
// +optional
Reason string
// RetryCount is a int between 0 and 5 that describes the time of retrying initializing.
// +optional
RetryCount int32
// LastReInitializingTimestamp is a timestamp that describes the last time of retrying initializing.
// +optional
LastReInitializingTimestamp metav1.Time
// SubVersion is the components version such as node-exporter.
SubVersion map[string]string
}
PrometheusStatus is information about the current status of a Prometheus.
func (*PrometheusStatus) DeepCopy ¶
func (in *PrometheusStatus) DeepCopy() *PrometheusStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PrometheusStatus.
func (*PrometheusStatus) DeepCopyInto ¶
func (in *PrometheusStatus) DeepCopyInto(out *PrometheusStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Registry ¶
type Registry struct {
metav1.TypeMeta
// +optional
metav1.ObjectMeta
// +optional
Spec RegistrySpec
}
Registry records the third-party image repository information stored by the user.
func (*Registry) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Registry.
func (*Registry) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Registry) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type RegistryList ¶
type RegistryList struct {
metav1.TypeMeta
// +optional
metav1.ListMeta
// +optional
Items []Registry
}
RegistryList is a resource containing a list of Registry objects.
func (*RegistryList) DeepCopy ¶
func (in *RegistryList) DeepCopy() *RegistryList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RegistryList.
func (*RegistryList) DeepCopyInto ¶
func (in *RegistryList) DeepCopyInto(out *RegistryList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*RegistryList) DeepCopyObject ¶
func (in *RegistryList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type RegistrySpec ¶
type RegistrySpec struct {
// +optional
TenantID string
// +optional
DisplayName string
// +optional
ClusterName string
// +optional
URL string
// +optional
UserName *string
// +optional
Password *string
}
RegistrySpec indicates the specifications of the third-party image repository.
func (*RegistrySpec) DeepCopy ¶
func (in *RegistrySpec) DeepCopy() *RegistrySpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RegistrySpec.
func (*RegistrySpec) DeepCopyInto ¶
func (in *RegistrySpec) DeepCopyInto(out *RegistrySpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ResourceList ¶
ResourceList is a set of (resource name, quantity) pairs.
func (ResourceList) DeepCopy ¶
func (in ResourceList) DeepCopy() ResourceList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceList.
func (ResourceList) DeepCopyInto ¶
func (in ResourceList) DeepCopyInto(out *ResourceList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ResourceRequirements ¶ added in v1.2.5
type ResourceRequirements struct {
Limits ResourceList
Requests ResourceList
}
ResourceRequirements describes the compute resource requirements.
func (*ResourceRequirements) DeepCopy ¶ added in v1.2.5
func (in *ResourceRequirements) DeepCopy() *ResourceRequirements
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceRequirements.
func (*ResourceRequirements) DeepCopyInto ¶ added in v1.2.5
func (in *ResourceRequirements) DeepCopyInto(out *ResourceRequirements)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type StorageBackEndCLS ¶
StorageBackEndCLS records the attributes required when the backend storage type is CLS.
func (*StorageBackEndCLS) DeepCopy ¶
func (in *StorageBackEndCLS) DeepCopy() *StorageBackEndCLS
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StorageBackEndCLS.
func (*StorageBackEndCLS) DeepCopyInto ¶
func (in *StorageBackEndCLS) DeepCopyInto(out *StorageBackEndCLS)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type StorageBackEndES ¶
type StorageBackEndES struct {
IP string
Port int32
Scheme string
IndexName string
User string
Password string
ReserveDays int32
}
StorageBackEndES records the attributes required when the backend storage type is ElasticSearch.
func (*StorageBackEndES) DeepCopy ¶
func (in *StorageBackEndES) DeepCopy() *StorageBackEndES
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StorageBackEndES.
func (*StorageBackEndES) DeepCopyInto ¶
func (in *StorageBackEndES) DeepCopyInto(out *StorageBackEndES)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TKEHA ¶
func (*TKEHA) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TKEHA.
func (*TKEHA) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TappController ¶
type TappController struct {
metav1.TypeMeta
// +optional
metav1.ObjectMeta
// Spec defines the desired identities of tapp controller.
// +optional
Spec TappControllerSpec
// +optional
Status TappControllerStatus
}
TappController is a new kubernetes workload.
func (*TappController) DeepCopy ¶
func (in *TappController) DeepCopy() *TappController
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TappController.
func (*TappController) DeepCopyInto ¶
func (in *TappController) DeepCopyInto(out *TappController)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*TappController) DeepCopyObject ¶
func (in *TappController) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type TappControllerList ¶
type TappControllerList struct {
metav1.TypeMeta
// +optional
metav1.ListMeta
// List of tapp controllers
Items []TappController
}
TappControllerList is the whole list of all tapp controllers which owned by a tenant.
func (*TappControllerList) DeepCopy ¶
func (in *TappControllerList) DeepCopy() *TappControllerList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TappControllerList.
func (*TappControllerList) DeepCopyInto ¶
func (in *TappControllerList) DeepCopyInto(out *TappControllerList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*TappControllerList) DeepCopyObject ¶
func (in *TappControllerList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type TappControllerProxyOptions ¶
type TappControllerProxyOptions struct {
metav1.TypeMeta
Namespace string
Name string
Action string
}
TappControllerProxyOptions is the query options to a kube-apiserver proxy call.
func (*TappControllerProxyOptions) DeepCopy ¶
func (in *TappControllerProxyOptions) DeepCopy() *TappControllerProxyOptions
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TappControllerProxyOptions.
func (*TappControllerProxyOptions) DeepCopyInto ¶
func (in *TappControllerProxyOptions) DeepCopyInto(out *TappControllerProxyOptions)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*TappControllerProxyOptions) DeepCopyObject ¶
func (in *TappControllerProxyOptions) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type TappControllerSpec ¶
TappControllerSpec describes the attributes on a tapp controller.
func (*TappControllerSpec) DeepCopy ¶
func (in *TappControllerSpec) DeepCopy() *TappControllerSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TappControllerSpec.
func (*TappControllerSpec) DeepCopyInto ¶
func (in *TappControllerSpec) DeepCopyInto(out *TappControllerSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TappControllerStatus ¶
type TappControllerStatus struct {
// +optional
Version string
// Phase is the current lifecycle phase of the tapp controller of cluster.
// +optional
Phase AddonPhase
// Reason is a brief CamelCase string that describes any failure.
// +optional
Reason string
// RetryCount is a int between 0 and 5 that describes the time of retrying initializing.
// +optional
RetryCount int32
// LastReInitializingTimestamp is a timestamp that describes the last time of retrying initializing.
// +optional
LastReInitializingTimestamp metav1.Time
}
TappControllerStatus is information about the current status of a tapp controller.
func (*TappControllerStatus) DeepCopy ¶
func (in *TappControllerStatus) DeepCopy() *TappControllerStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TappControllerStatus.
func (*TappControllerStatus) DeepCopyInto ¶
func (in *TappControllerStatus) DeepCopyInto(out *TappControllerStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ThirdPartyHA ¶
func (*ThirdPartyHA) DeepCopy ¶
func (in *ThirdPartyHA) DeepCopy() *ThirdPartyHA
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ThirdPartyHA.
func (*ThirdPartyHA) DeepCopyInto ¶
func (in *ThirdPartyHA) DeepCopyInto(out *ThirdPartyHA)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Upgrade ¶ added in v1.3.1
type Upgrade struct {
// Upgrade mode, default value is Auto.
Mode UpgradeMode
// Upgrade strategy config.
Strategy UpgradeStrategy
}
func (*Upgrade) DeepCopy ¶ added in v1.3.1
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Upgrade.
func (*Upgrade) DeepCopyInto ¶ added in v1.3.1
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type UpgradeMode ¶ added in v1.3.1
type UpgradeMode string
type UpgradeStrategy ¶ added in v1.3.1
type UpgradeStrategy struct {
// The maximum number of pods that can be unready during the upgrade.
// 0% means all pods need to be ready after evition.
// 100% means ignore any pods unready which may be used in one worker node, use this carefully!
// default value is 0%.
MaxUnready intstr.IntOrString
// Whether drain node before upgrade.
// Draining node before upgrade is recommended.
// But not all pod running as cows, a few running as pets.
// If your pod can not accept be expelled from current node, this value should be false.
DrainNodeBeforeUpgrade bool
}
UpgradeStrategy used to control the upgrade process.
func (*UpgradeStrategy) DeepCopy ¶ added in v1.3.1
func (in *UpgradeStrategy) DeepCopy() *UpgradeStrategy
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UpgradeStrategy.
func (*UpgradeStrategy) DeepCopyInto ¶ added in v1.3.1
func (in *UpgradeStrategy) DeepCopyInto(out *UpgradeStrategy)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type VolumeDecorator ¶
type VolumeDecorator struct {
metav1.TypeMeta
// +optional
metav1.ObjectMeta
// Spec defines the desired identities of volume decorator.
// +optional
Spec VolumeDecoratorSpec
// +optional
Status VolumeDecoratorStatus
}
VolumeDecorator is a controller to manage PVC information.
func (*VolumeDecorator) DeepCopy ¶
func (in *VolumeDecorator) DeepCopy() *VolumeDecorator
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VolumeDecorator.
func (*VolumeDecorator) DeepCopyInto ¶
func (in *VolumeDecorator) DeepCopyInto(out *VolumeDecorator)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*VolumeDecorator) DeepCopyObject ¶
func (in *VolumeDecorator) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type VolumeDecoratorList ¶
type VolumeDecoratorList struct {
metav1.TypeMeta
// +optional
metav1.ListMeta
// List of volume decorators.
Items []VolumeDecorator
}
VolumeDecoratorList is the whole list of all VolumeDecorator which owned by a tenant.
func (*VolumeDecoratorList) DeepCopy ¶
func (in *VolumeDecoratorList) DeepCopy() *VolumeDecoratorList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VolumeDecoratorList.
func (*VolumeDecoratorList) DeepCopyInto ¶
func (in *VolumeDecoratorList) DeepCopyInto(out *VolumeDecoratorList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*VolumeDecoratorList) DeepCopyObject ¶
func (in *VolumeDecoratorList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type VolumeDecoratorSpec ¶
type VolumeDecoratorSpec struct {
TenantID string
ClusterName string
Version string
VolumeTypes []string
WorkloadAdmission bool
}
VolumeDecoratorSpec describes the attributes of a VolumeDecorator.
func (*VolumeDecoratorSpec) DeepCopy ¶
func (in *VolumeDecoratorSpec) DeepCopy() *VolumeDecoratorSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VolumeDecoratorSpec.
func (*VolumeDecoratorSpec) DeepCopyInto ¶
func (in *VolumeDecoratorSpec) DeepCopyInto(out *VolumeDecoratorSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type VolumeDecoratorStatus ¶
type VolumeDecoratorStatus struct {
// +optional
Version string
// VolumeTypes is the supported volume types in this cluster.
// +optional
VolumeTypes []string
// WorkloadAdmission will be true to enable the workload admission webhook.
// +optional
WorkloadAdmission bool
// StorageVendorVersion will be set to the config version of the storage vendor.
// +optional
StorageVendorVersion string
// Phase is the current lifecycle phase of the volume-decorator of cluster.
// +optional
Phase AddonPhase
// Reason is a brief CamelCase string that describes any failure.
// +optional
Reason string
// RetryCount is a int between 0 and 5 that describes the time of retrying initializing.
// +optional
RetryCount int32
// LastReInitializingTimestamp is a timestamp that describes the last time of retrying initializing.
// +optional
LastReInitializingTimestamp metav1.Time
}
VolumeDecoratorStatus is information about the current status of a VolumeDecorator.
func (*VolumeDecoratorStatus) DeepCopy ¶
func (in *VolumeDecoratorStatus) DeepCopy() *VolumeDecoratorStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VolumeDecoratorStatus.
func (*VolumeDecoratorStatus) DeepCopyInto ¶
func (in *VolumeDecoratorStatus) DeepCopyInto(out *VolumeDecoratorStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
Source Files
¶
Directories
¶
| Path | Synopsis |
|---|---|
|
Package v1 is the v1 version of the API.
|
Package v1 is the v1 version of the API. |