secrets

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Mar 31, 2022 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SecretsStore

type SecretsStore struct {
	SecretsStoreOptions
	// contains filtered or unexported fields
}

func NewSecretsStore

func NewSecretsStore(opts ...SecretsStoreOption) *SecretsStore

func (*SecretsStore) KeyValueStore

func (c *SecretsStore) KeyValueStore(prefix string) (storage.KeyValueStore, error)

func (*SecretsStore) KeyringStore

func (c *SecretsStore) KeyringStore(ctx context.Context, prefix string, ref *core.Reference) (storage.KeyringStore, error)

type SecretsStoreOption

type SecretsStoreOption func(*SecretsStoreOptions)

func WithNamespace

func WithNamespace(ns string) SecretsStoreOption

func WithRestConfig

func WithRestConfig(rc *rest.Config) SecretsStoreOption

type SecretsStoreOptions

type SecretsStoreOptions struct {
	// contains filtered or unexported fields
}

func (*SecretsStoreOptions) Apply

func (o *SecretsStoreOptions) Apply(opts ...SecretsStoreOption)

Jump to

Keyboard shortcuts

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