# Functions
Resource generated code relies on this being here, but it logically belongs to the group DEPRECATED.
# Constants
CleanupPriorityAnnotationKey is an annotation for the resources deployed in cluster ns which are waiting to be cleaned up after cluster is deleted.
ClusterImageRegistriesAnnotationKey is an annotation key on ManagedCluster to configure image override for addons running on the ManagedCluster, the value of the annotation should be a json string like this:
{ "registries": [ { "source": "quay.io/ocm", "mirrors": "quay.io/open-cluster-management" } ] }
Note: Image registries configured in the addonDeploymentConfig will take precedence over this annotation.
ClusterNameLabelKey is the key of a label to set ManagedCluster name.
ConditionDeletingReasonNoResource is a reason for the condition ManagedClusterConditionDeleting, which means there is no resources left in the cluster ns during the deletion process.
ConditionDeletingReasonResourceError is a reason for the condition ManagedClusterConditionDeleting, which means meet errors during the deletion process.
ConditionDeletingReasonResourceRemaining is a reason for the condition ManagedClusterConditionDeleting, which means there are resources are remaining during deletion process.
ManagedClusterConditionAvailable means the managed cluster is available.
ManagedClusterConditionClockSynced means the clock between the hub and the agent is synced.
ManagedClusterConditionDeleting is a condition which means the cluster is in deletion process.
ManagedClusterConditionHubAccepted means the request to join the cluster is approved by cluster-admin on hub.
ManagedClusterConditionHubDenied means the request to join the cluster is denied by cluster-admin on hub.
ManagedClusterConditionJoined means the managed cluster has successfully joined the hub.
ManagedClusterFinalizer is the name of the finalizer added to ManagedCluster, it is to ensure that resources relating to the ManagedCluster is removed when the ManagedCluster is deleted.
ManagedClusterTaintUnavailable is the key of the taint added to a managed cluster when it is not available.
ManagedClusterTaintUnreachable is the key of the taint added to a managed cluster when it is not reachable.
ResourceCPU defines the number of CPUs in cores.
ResourceMemory defines the amount of memory in bytes.
TaintEffectNoSelect means placements are not allowed to select the cluster unless they tolerate the taint.
TaintEffectNoSelectIfNew means placements are not allowed to select the cluster unless 1) they tolerate the taint; 2) they have already had the cluster in their cluster decisions;.
TaintEffectPreferNoSelect means the scheduler tries not to select the cluster, rather than prohibiting placements from selecting the cluster entirely.
# Variables
AddToScheme exists solely to keep the old generators creating valid code DEPRECATED.
No description provided by the author
No description provided by the author
Install is a function which adds this version to a scheme.
SchemeGroupVersion generated code relies on this name Deprecated.
# Structs
ClientConfig represents the apiserver address of the managed cluster.
ManagedCluster represents the desired state and current status of a managed cluster.
ManagedClusterClaim represents a ClusterClaim collected from a managed cluster.
ManagedClusterList is a collection of managed cluster.
ManagedClusterSpec provides the information to securely connect to a remote server and verify its identity.
ManagedClusterStatus represents the current status of joined managed cluster.
ManagedClusterVersion represents version information about the managed cluster.
The managed cluster this Taint is attached to has the "effect" on any placement that does not tolerate the Taint.
# Type aliases
ResourceList defines a map for the quantity of different resources, the definition matches the ResourceList defined in k8s.io/api/core/v1.
ResourceName is the name identifying various resources in a ResourceList.
No description provided by the author