Documentation ¶
Index ¶
- Constants
- type AtlasSecretBuilder
- func (a AtlasSecretBuilder) Build() *corev1.Secret
- func (a AtlasSecretBuilder) WithData(data map[string][]byte) AtlasSecretBuilder
- func (a AtlasSecretBuilder) WithNotifierLabels(id *string, typeName string) AtlasSecretBuilder
- func (a AtlasSecretBuilder) WithProjectLabels(id, name string) AtlasSecretBuilder
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 ¶
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
Click to show internal directories.
Click to hide internal directories.