# Functions
NewTaskOptions builds a TaskOptions.
Resource takes an unqualified resource and returns a Group qualified GroupResource.
WithGracePeriodSeconds sets the gracePeriodSeconds for TaskOptions.
WithMessage sets the message for TaskOptions.
WithProducer sets the producer for TaskOptions.
WithReason sets the reason for TaskOptions.
WithSuppressDeletion sets the suppressDeletion for TaskOptions.
# Constants
BindingManagedByLabel is added to ResourceBinding to represent what kind of resource manages this Binding.
BindingReasonNoClusterFit reason in Scheduled condition means that scheduling has finished due to no fit cluster.
BindingReasonSchedulerError reason in Scheduled condition means that some internal error happens during scheduling, for example due to api-server connection error.
BindingReasonSuccess reason in Scheduled condition means that binding has been scheduled successfully.
BindingReasonUnschedulable reason in Scheduled condition means that the scheduler can't schedule the binding right now, for example due to insufficient resources in the clusters.
ClusterResourceBindingAnnotationKey is added to object to describe associated ClusterResourceBinding's name.
ClusterResourceBindingPermanentIDLabel is the identifier of a ClusterResourceBinding object.
Define annotations that are added to the resource template.
DeletionProtectionLabelKey If a user assigns the DeletionProtectionLabelKey label to a specific resource, and the value of this label is DeletionProtectionAlways, then deletion requests for this resource will be denied.
EvictionProducerTaintManager represents the name of taint manager.
EvictionReasonApplicationFailure describes the eviction is triggered because the application fails and reaches the condition of ApplicationFailoverBehavior.
EvictionReasonTaintUntolerated describes the eviction is triggered because can not tolerate taint or exceed toleration period of time.
FullyApplied represents the condition that the resource referencing by ResourceBinding or ClusterResourceBinding has been applied to all scheduled clusters.
GroupName specifies the group name used to register the objects.
ManagedAnnotation is the annotation that is added to the manifest in the Work object.
ManagedLabels is the annotation that is added to the manifest in the Work object.
ResourceBindingNameAnnotationKey is added to object to describe the associated ResourceBinding's name.
ResourceBindingNamespaceAnnotationKey is added to object to describe the associated ResourceBinding's namespace.
ResourceBindingPermanentIDLabel is the identifier of a ResourceBinding object.
ResourceConflictResolutionAbort is a value of ResourceConflictResolutionAnnotation, indicating stop propagating.
ResourceConflictResolutionAnnotation is added to the resource template to specify how to resolve the conflict in case of resource already existing in member clusters.
ResourceConflictResolutionOverwrite is a value of ResourceConflictResolutionAnnotation, indicating the overwrite strategy.
ResourceHealthy represents that the health status of the current resource that applied on the managed cluster is healthy.
ResourceKindClusterResourceBinding is kind name of ClusterResourceBinding.
ResourceKindResourceBinding is kind name of ResourceBinding.
ResourceNamespaceScopedClusterResourceBinding indicates if ClusterResourceBinding is NamespaceScoped.
ResourceNamespaceScopedResourceBinding indicates if ResourceBinding is NamespaceScoped.
ResourcePluralClusterResourceBinding is kind plural of ClusterResourceBinding.
ResourcePluralResourceBinding is plural name of ResourceBinding.
ResourceSingularClusterResourceBinding is singular name of ClusterResourceBinding.
ResourceSingularResourceBinding is singular name of ResourceBinding.
ResourceTemplateUIDAnnotation is the annotation that is added to the manifest in the Work object.
ResourceUnhealthy represents that the health status of the current resource that applied on the managed cluster is unhealthy.
ResourceUnknown represents that the health status of the current resource that applied on the managed cluster is unknown.
Scheduled represents the condition that the ResourceBinding or ClusterResourceBinding has been scheduled.
WorkNameAnnotation is added to objects to specify associated Work's name.
WorkNamespaceAnnotation is added to objects to specify associated Work's namespace.
WorkPermanentIDLabel is the ID of Work object.
# Variables
Depreciated: use Install instead.
GroupVersion specifies the group and the version used to register the objects.
No description provided by the author
localSchemeBuilder and AddToScheme will stay in k8s.io/kubernetes.
SchemeGroupVersion is group version used to register these objects Deprecated: use GroupVersion instead.
# Structs
AggregatedStatusItem represents status of the resource running in a member cluster.
BindingSnapshot is a snapshot of a ResourceBinding or ClusterResourceBinding.
ClusterResourceBinding represents a binding of a kubernetes resource with a ClusterPropagationPolicy.
ClusterResourceBindingList contains a list of ClusterResourceBinding.
GracefulEvictionTask represents a graceful eviction task.
NodeClaim represents the node claim HardNodeAffinity, NodeSelector and Tolerations required by each replica.
ObjectReference contains enough information to locate the referenced object inside current cluster.
ReplicaRequirements represents the requirements required by each replica.
ResourceBinding represents a binding of a kubernetes resource with a propagation policy.
ResourceBindingList contains a list of ResourceBinding.
ResourceBindingSpec represents the expectation of ResourceBinding.
ResourceBindingStatus represents the overall status of the strategy as well as the referenced resources.
TargetCluster represents the identifier of a member cluster.
TaskOptions represents options for GracefulEvictionTasks.
# Type aliases
Option configures a TaskOptions.
ResourceHealth represents that the health status of the reference resource.