Documentation
¶
Index ¶
- func CheckIfDoubleOptInPossible(requesterMeta, requesterNSMeta, allowerNSMeta metav1.ObjectMeta, ...) (bool, error)
- func IsInAllowedNamespaces(requesterNSMeta, allowerNSMeta metav1.ObjectMeta, ...) (bool, error)
- func IsMatchByLabels(requesterMeta metav1.ObjectMeta, consumers *dbapi.AllowedConsumers) (bool, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckIfDoubleOptInPossible ¶
func CheckIfDoubleOptInPossible(requesterMeta, requesterNSMeta, allowerNSMeta metav1.ObjectMeta, consumers *dbapi.AllowedConsumers) (bool, error)
CheckIfDoubleOptInPossible is the intended function to be called from operators. In Archiver - DB connection, DB is the requester, Archiver is the allower In Schema - DB connection, Schema is the requester, DB is the allower
func IsInAllowedNamespaces ¶
func IsInAllowedNamespaces(requesterNSMeta, allowerNSMeta metav1.ObjectMeta, consumers *dbapi.AllowedConsumers) (bool, error)
func IsMatchByLabels ¶
func IsMatchByLabels(requesterMeta metav1.ObjectMeta, consumers *dbapi.AllowedConsumers) (bool, error)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.