# Packages
Helper functions for manipulating finalizers.
No description provided by the author
No description provided by the author
# Functions
AddManagedLabel ensures that the given object has the managed label.
ApplyJsonPatch applies the override on to the given unstructured object.
BuildClusterConfig returns a restclient.Config that can be used to configure a client for the given KubeFedCluster or an error.
CustomizeCertificateValidation modifies an existing tls.Config to disable the desired TLS checks in KubeFedCluster config.
CustomizeTLSTransport replaces the restclient.Config.Transport with one that implements the desired TLS certificate validations.
Deep copies cluster-independent, user provided data from the given ObjectMeta struct.
Disables the orphaning mode.
Enables the orphaning mode.
No description provided by the author
GetOverrides returns a map of overrides populated from the given unstructured object.
GetUnstructured return Unstructured for any given kubernetes type.
HasManagedLabel indicates whether the given object has the managed label.
No description provided by the author
IsOrphaningEnabled checks status of "orphaning enable" (OrphanManagedResources: OrphanedManagedResourceslValue') annotation on a resource.
IsPrimaryCluster checks if the caller is working with objects for the primary cluster by checking if the UIDs match for both ObjectMetas passed in.
No description provided by the author
No description provided by the author
No description provided by the author
Builds a FederatedInformer for the given configuration.
No description provided by the author
No description provided by the author
NewManagedResourceInformer returns an informer limited to resources managed by KubeFed as indicated by labeling.
No description provided by the author
No description provided by the author
No description provided by the author
NewManagedResourceInformer returns an unfiltered informer.
No description provided by the author
Returns cache.ResourceEventHandlerFuncs that trigger the given function on all object changes.
Checks if cluster-independent, user provided data in ObjectMeta and Spec in two given top level api objects are equivalent.
Checks if cluster-independent, user provided data in two given ObjectMeta are equal.
Checks if cluster-independent, user provided data in two given ObjectMeta are equal.
ObjectNeedsUpdate determines whether the 2 objects provided cluster object needs to be updated according to the desired object and the recorded version.
ObjectVersion retrieves the field type-prefixed value used for determining currency of the given cluster object.
No description provided by the author
PropagatedVersionStatusEquivalent returns true if both statuses are equal by comparing Template and Override version, and their ClusterVersion slices; false otherwise.
RemoveManagedLabel ensures that the given object does not have the managed label.
No description provided by the author
SetOverrides sets the spec.overrides field of the unstructured object from the provided overrides map.
SortClusterVersions ASCII sorts the given cluster versions slice based on cluster name.
No description provided by the author
No description provided by the author
UnstructuredToInterface converts an unstructured object to the provided interface by json marshalling/unmarshalling.
# Constants
Providing 0 duration to an informer indicates that resync should be delayed as long as possible.
Providing 0 duration to an informer indicates that resync should be delayed as long as possible.
Providing 0 duration to an informer indicates that resync should be delayed as long as possible.
Cluster reference.
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
Providing 0 duration to an informer indicates that resync should be delayed as long as possible.
Providing 0 duration to an informer indicates that resync should be delayed as long as possible.
Providing 0 duration to an informer indicates that resync should be delayed as long as possible.
Providing 0 duration to an informer indicates that resync should be delayed as long as possible.
Providing 0 duration to an informer indicates that resync should be delayed as long as possible.
Providing 0 duration to an informer indicates that resync should be delayed as long as possible.
No description provided by the author
If this annotation is present on a federated resource, resources in the member clusters managed by the federated resource should be orphaned.
Override fields.
Providing 0 duration to an informer indicates that resync should be delayed as long as possible.
Placement fields.
Scale types.
Providing 0 duration to an informer indicates that resync should be delayed as long as possible.
ServiceAccount fields.
Providing 0 duration to an informer indicates that resync should be delayed as long as possible.
Providing 0 duration to an informer indicates that resync should be delayed as long as possible.
Common fields.
No description provided by the author
No description provided by the author
Providing 0 duration to an informer indicates that resync should be delayed as long as possible.
No description provided by the author
No description provided by the author
Template fields.
No description provided by the author
Providing 0 duration to an informer indicates that resync should be delayed as long as possible.
# Structs
ClusterHealthCheckConfig defines the configurable parameters for cluster health check.
A structure with cluster lifecycle handler functions.
No description provided by the author
ControllerConfig defines the configuration common to KubeFed controllers.
A structure that pushes the items to the target channel at a given time.
DelayingDelivererItem is structure delivered by DelayingDeliverer to the target channel.
An object with an origin information.
FederatedResource is a generic representation of a federated type.
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
No description provided by the author
KubeFedNamespaces defines the namespace configuration shared by most kubefed controllers.
LeaderElectionConfiguration defines the configuration of leader election clients for controller that can run with leader election enabled.
No description provided by the author
ResourceClusterStatus defines the status of federated resource within a cluster.
No description provided by the author
No description provided by the author
# Interfaces
FederatedInformer provides access to clusters registered with a KubeFed control plane and watches a given resource type in registered clusters.
FederatedReadOnlyStore is an overlay over multiple stores created in federated clusters.
No description provided by the author
An interface to retrieve both KubeFedCluster resources and clients to access the clusters they represent.
No description provided by the author
# Type aliases
Slice of ClusterOverride.
Mapping of clusterName to overrides for the cluster.
No description provided by the author
No description provided by the author
A function that should be used to create an informer on the target object.