double_optin

package
v0.48.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 27, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL