secrets

package
v2.0.0 Latest Latest
Warning

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

Go to latest
Published: Feb 28, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	TypeLabelKey         = "atlas.mongodb.com/type"
	ProjectIDLabelKey    = "atlas.mongodb.com/project-id"
	ProjectNameLabelKey  = "atlas.mongodb.com/project-name"
	NotifierIDLabelKey   = "atlas.mongodb.com/notifier-id"
	NotifierNameLabelKey = "atlas.mongodb.com/notifier-type-name"
	CredLabelVal         = "credentials"
	PasswordField        = "password"
	CredPrivateAPIKey    = "privateApiKey"
	CredPublicAPIKey     = "publicApiKey"
	CredOrgID            = "orgId"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type AtlasSecretBuilder

type AtlasSecretBuilder func() (*corev1.Secret, map[string]string)

func NewAtlasSecretBuilder

func NewAtlasSecretBuilder(name, namespace string, dictionary map[string]string) AtlasSecretBuilder

func (AtlasSecretBuilder) Build

func (a AtlasSecretBuilder) Build() *corev1.Secret

func (AtlasSecretBuilder) WithData

func (a AtlasSecretBuilder) WithData(data map[string][]byte) AtlasSecretBuilder

func (AtlasSecretBuilder) WithNotifierLabels

func (a AtlasSecretBuilder) WithNotifierLabels(id *string, typeName string) AtlasSecretBuilder

func (AtlasSecretBuilder) WithProjectLabels

func (a AtlasSecretBuilder) WithProjectLabels(id, name string) AtlasSecretBuilder

Jump to

Keyboard shortcuts

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