package
1.9.2
Repository: https://github.com/tkestack/tke.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
Package v1 is the v1 version of the API.
No description provided by the author

# Functions

Kind takes an unqualified kind and returns back a IdentityProvider qualified GroupKind.
Resource takes an unqualified resource and returns back a IdentityProvider qualified GroupResource.

# Constants

AddonPhaseChecking means is wait checking.
AddonPhaseFailed means has been failed.
AddonPhaseInitializing means is wait initializing.
AddonPhasePending means the controller is proceeding deploying.
AddonPhaseReinitializing means is reinitializing.
AddonPhaseRunning means is running.
AddonPhaseTerminating means addon terminating.
AddonPhaseUnhealthy means some pods of GPUManager is partial running.
AddonPhaseUnknown means addon unknown.
AddonPhaseUpgrading means is upgrading.
AddressAdvertise indicates the address of the apiserver accessed from the worker node.(such as internal lb).
AddressInternal indicates the address of the apiserver accessed from TKE control plane.
AddressPublic indicates the address of the apiserver accessed from the external network.(such as public lb).
AddressReal indicates the real address of one apiserver.
AddressSupport used for vpc lb which bind to JNS gateway as known AddressInternal.
AnywhereApplicationAnno contains base64 application json data.
AnywhereEdtionLabel describe which anywhere edition will be deployed.
AnywhereLocalizationsAnno contains base64 localizations json data.
AnywhereMachinesAnno contains base64 machines json data.
AnywhereSubscriptionNameAnno describe sub name.
AnywhereSubscriptionNameAnno describe sub namespace.
AnywhereUpgradeRetryComponentAnno describe curent retry component when upgrade failed.
AnywhereUpgradeRetryComponentAnno describe anywhere upgrade stats.
AnywhereValidateAnno is exist, the cluster will always return validate result.
ClusterDownscaling means the cluster is undergoing graceful down scaling.
ClusterFailed is the failed phase.
ClusterFinalize is an internal finalizer values to Cluster.
ClusterInitializing is the initialize phase.
ClusterNameLable contains related cluster's name for no-cluster resources.
ClusterRunning is the normal running phase.
ClusterTerminating means the cluster is undergoing graceful termination.
ClusterUpgrading means that the cluster is in upgrading process.
ClusterUpscaling means the cluster is undergoing graceful up scaling.
ClusterWaiting indicates that the cluster is waiting for registration.
ComponentDeployed is the normal phase of anywhere cluster component.
ComponentFailed means the anywhere cluster component upgrade failed.
ComponentPendingUpgrade means the anywhere cluster component is upgrading.
These are valid condition statuses.
These are valid condition statuses.
These are valid condition statuses.
No description provided by the author
cluster credential token.
No description provided by the author
GPUPhysical indicates the gpu type of cluster is physical.
GPUVirtual indicates the gpu type of cluster is virtual.
GroupName is group name used to register these schema.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
cluster lifecycle hook.
No description provided by the author
node lifecycle hook.
No description provided by the author
HubAPIServerAnno describe hub cluster api server url.
KubeVendorAKS Azure Kuberentes Service.
KubeVendorEKS Elastic Kubernetes Service.
KubeVendorGKE Google Kubernetes Engine.
KubeVendorICP IBM Cloud Private.
KubeVendorIKS IBM Kubernetes Service.
KubeVendorOpenShift OpenShift.
KubeVendorOSD OpenShiftDedicated.
KubeVendorOther other (unable to auto detect).
KubeVendorTKE TKE.
LevelBasic is level for basic of cluster.
LevelEnhance is level for enhance of cluster.
LocationBasedImagePrefixAnno is exist, the cluster will use it as k8s images prefix.
These are valid address type of machine.
These are valid address type of machine.
MachineFailed is the failed phase.
MachineFinalize is an internal finalizer values to Machine.
These are valid address type of machine.
MachineInitializing is the initialize phase.
These are valid address type of machine.
These are valid address type of machine.
MachineRunning is the normal running phase.
MachineTerminating is the terminating phase.
MachineUpgrading means that the machine is in upgrading process.
RegistrationCommandAnno contains base64 registration command of cluster net.
SOCKS5 proxy.
SSH jumper server proxy.
Upgrade nodes automatically.
Manual upgrade nodes which means user need label node with `platform.tkestack.io/need-upgrade`.

# Variables

AddToScheme applies all the stored functions to the scheme.
Codecs provides access to encoding and decoding for the scheme.
ParameterCodec handles versioning of objects that are converted to query parameters.
Scheme is the default instance of runtime.Scheme to which types in the TKE API are already registered.
SchemeBuilder collects functions that add things to a scheme.
SchemeGroupVersion is group version used to register these objects.

# Structs

AddonSpec describes the attributes on a Addon.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Cluster is a Kubernetes cluster in TKE.
ClusterAddon contains the Addon component for the current kubernetes cluster.
ClusterAddonList is the whole list of all ClusterAddon.
ClusterAddonSpec indicates the specifications of the ClusterAddon.
ClusterAddonStatus is information about the current status of a ClusterAddon.
ClusterAddonType records the all addons of cluster available.
ClusterAddonTypeList is a resource containing a list of ClusterAddonType objects.
ClusterAddress contains information for the cluster's address.
ClusterApplyOptions is the query options to a kube-apiserver proxy call for cluster object.
ClusterComponent records the number of copies of each component of the cluster master.
ClusterComponentReplicas records the number of copies of each state of each component of the cluster master.
ClusterCondition contains details for the current condition of this cluster.
ClusterCredential records the credential information needed to access the cluster.
ClusterCredentialList is the whole list of all ClusterCredential which owned by a tenant.
ClusterFeature records the features that are enabled by the cluster.
ClusterGroupAPIResourceItem specifies the name of a resource and whether it is namespaced.
ClusterGroupAPIResourceItems contains the GKV for the current kubernetes cluster.
ClusterGroupAPIResourceItemsList is the whole list of all ClusterAPIResource.
ClusterGroupAPIResourceOptions is the query options.
ClusterList is the whole list of all clusters which owned by a tenant.
ClusterMachine is the master machine definition of cluster.
ClusterMachine is the proxy definition of ClusterMachine.
ClusterProperty records the attribute information of the cluster.
ClusterResource records the current available and maximum resource quota information for the cluster.
ClusterSpec is a description of a cluster.
ClusterStatus represents information about the status of a cluster.
ConfigMap holds configuration data for tke to consume.
ConfigMapList is a resource containing a list of ConfigMap objects.
CronHPA is a new kubernetes workload.
CronHPAList is the whole list of all CronHPAs which owned by a tenant.
CronHPAProxyOptions is the query options to a kube-apiserver proxy call.
CronHPASpec describes the attributes on a CronHPA.
CronHPAStatus is information about the current status of a CronHPA.
CSIOperator is a operator to manages CSI external components.
No description provided by the author
CSIOperatorList is the whole list of all storage operators which owned by a tenant.
CSIOperatorSpec describes the attributes of a storage operator.
CSIOperatorStatus is information about the current status of a storage operator.
CSIProxyOptions is the query options to a kube-apiserver proxy call for CSI crd object.
Etcd contains elements describing Etcd configuration.
No description provided by the author
ExternalEtcd describes an external etcd cluster.
No description provided by the author
No description provided by the author
LocalEtcd describes that kubeadm should run an etcd cluster locally.
Machine instance in Kubernetes cluster.
MachineAddress contains information for the machine's address.
MachineCondition contains details for the current condition of this Machine.
MachineList is the whole list of all machine in an cluster.
MachineSpec is a description of machine.
MachineStatus represents information about the status of an machine.
MachineSystemInfo is a set of ids/uuids to uniquely identify the node.
PersistentBackEnd indicates the backend type and attributes of the persistent log store.
PersistentEvent is a recorder of kubernetes event.
PersistentEventList is the whole list of all clusters which owned by a tenant.
PersistentEventSpec describes the attributes on a PersistentEvent.
PersistentEventStatus is information about the current status of a PersistentEvent.
ProxyOptions is the query options to a proxy call.
Registry records the third-party image repository information stored by the user.
RegistryList is a resource containing a list of Registry objects.
RegistrySpec indicates the specifications of the third-party image repository.
ResourceRequirements describes the compute resource requirements.
StorageBackEndCLS records the attributes required when the backend storage type is CLS.
StorageBackEndES records the attributes required when the backend storage type is ElasticSearch.
TappController is a new kubernetes workload.
TappControllerList is the whole list of all tapp controllers which owned by a tenant.
TappControllerProxyOptions is the query options to a kube-apiserver proxy call.
TappControllerSpec describes the attributes on a tapp controller.
TappControllerStatus is information about the current status of a tapp controller.
No description provided by the author
No description provided by the author
No description provided by the author
UpgradeStrategy used to control the upgrade process.

# Type aliases

AddonLevel indicates the level of cluster addon.
AddonPhase defines the phase of addon.
AddressType indicates the type of cluster apiserver access address.
No description provided by the author
ClusterPhase defines the phase of cluster constructor.
ComponentPhase defines the phase of anywhere cluster component.
ConditionStatus defines the status of Condition.
No description provided by the author
FinalizerName is the name identifying a finalizer during cluster lifecycle.
GPUType defines the gpu type of cluster.
No description provided by the author
No description provided by the author
KubeVendorType describe the kubernetes provider of the cluster ref https://github.com/open-cluster-management/multicloud-operators-foundation/blob/e94b719de6d5f3541e948dd70ad8f1ff748aa452/pkg/apis/internal.open-cluster-management.io/v1beta1/clusterinfo_types.go#L137.
MachineAddressType represents the type of machine address.
MachinePhase defines the phase of machine constructor.
NetworkType defines the network type of cluster.
ProxyType describes diffirent type of proxy.
ResourceList is a set of (resource name, quantity) pairs.
No description provided by the author