package
0.0.0-20240906071556-f086af8128b4
Repository: https://github.com/red-hat-storage/odf-multicluster-orchestrator.git
Documentation: pkg.go.dev

# Functions

ComposePredicates will compose a variable number of predicates and return a predicate that will allow events that are allowed by any of the given predicates.
ContainsPeerRef checks if a slice of PeerRef contains the provided PeerRef.
ContainsString checks if a slice of strings contains the provided string.
No description provided by the author
No description provided by the author
CreateDestinationSecret creates a destination secret.
No description provided by the author
CreatePeerRefFromSecret function creates a 'PeerRef' object from the internal secret details.
CreateSourceSecret creates a source secret.
CreateUniqueName function creates a sha512 hex sum from the given parameters.
No description provided by the author
CreateUniqueSecretName function creates a name of 40 chars using sha512 hex sum from the given parameters.
DoesAnotherMirrorPeerPointToPeerRef checks if another mirrorpeer is pointing to the provided peer ref.
No description provided by the author
No description provided by the author
FetchAllSecretsWithLabel will get all the internal secrets in the namespace and with the provided label if the namespace is empty, it will fetch from all the namespaces if the label type is 'Ignore', it will fetch all the internal secrets (both source and destination).
No description provided by the author
No description provided by the author
fnv64a is a 64-bit non-cryptographic hash algorithm with a low collision and a high distribution rate.
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
GetManagedClusterById fetches a ManagedCluster by its cluster ID label.
No description provided by the author
No description provided by the author
No description provided by the author
GetPeerRefForSpokeCluster returns the peer ref for the cluster name.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
IsSecretDestination returns true if the provided object is a secret with Destination label.
IsSecretInternal returns true if the provided object is a secret with Inernal label.
IsSecretSource returns true if the provided object is a secret with Source label.
RemoveMirrorPeer removes the given mirrorPeer from the slice and returns the new slice.
RemoveString removes a given string from a slice and returns the new slice.
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
ValidateDestinationSecret validates whether the given secret is a Destination type.
No description provided by the author
No description provided by the author
ValidateSourceSecret validates whether the given secret is a Source type.

# Constants

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
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
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
ramen.
handlers.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
s3.
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
No description provided by the author

# Variables

No description provided by the author
SourceOrDestinationPredicate is a predicate that matches events that check whether a secret has required source or destination labels or not.

# Structs

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Type aliases

No description provided by the author
No description provided by the author