# Packages
Package to help federation controllers to delete federated resources from underlying clusters when the resource is deleted from federation control plane.
Helper functions for manipulating finalizers.
No description provided by the author
No description provided by the author
# Functions
BuildClusterConfig returns a restclient.Config that can be used to configure a client for the given FederatedCluster or an error.
Checks if cluster-independent, user provided data in two given ConfigMaps are equal.
Deep copies cluster-independent, user provided data from the given ObjectMeta struct.
No description provided by the author
GetOverrides returns a map of overrides populated from the given unstructured object.
No description provided by the author
GetUnstructured return Unstructured for any given kubernetes type.
No description provided by the author
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 federation client and factory.
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
Returns cache.ResourceEventHandlerFuncs that trigger the given function on all object changes.
Returns cache.ResourceEventHandlerFuncs that trigger the given function on object add/delete or ObjectMeta or given field is updated.
Returns cache.ResourceEventHandlerFuncs that trigger the given function on object add and delete as well as spec/object meta on update.
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.
Checks if cluster-independent, user provided data in two given Secrets are equal.
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
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.
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
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.
No description provided by the author
No description provided by the author
No description provided by the author
Override fields.
Providing 0 duration to an informer indicates that resync should be delayed as long as possible.
Placement fields.
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
No description provided by the author
No description provided by the author
Template fields.
Providing 0 duration to an informer indicates that resync should be delayed as long as possible.
# Variables
KubeconfigGetterForSecret gets the kubeconfig from the given secret.
# Structs
A structure with cluster lifecycle handler functions.
No description provided by the author
ControllerConfig defines the configuration common to federation 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.
FederatedOperation definition contains type (add/update/delete) and the object itself.
FederatedResource is a generic representation of a federated type.
FederationNamespaces defines the namespace configuration shared by most federation controllers.
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
TODO(marun) Consider removing this intermediate field.
No description provided by the author
No description provided by the author
ResourceClusterStatus defines the status of federated resource within a cluster.
No description provided by the author
# Interfaces
A structure that combines an informer running against federated api server and listening for cluster updates with multiple Kubernetes API informers (called target informers) running against federation members.
FederatedInformer with extra method for setting fake clients.
FederatedReadOnlyStore is an overlay over multiple stores created in federated clusters.
A helper that executes the given set of updates on federation, in parallel.
An interface to access federation members and clients.
No description provided by the author
No description provided by the author
# Type aliases
Mapping of qualified path (e.g.
A function that executes some operation using the passed client and object.
Type of the operation that can be executed in Federated.
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.