plugin

package
v1.18.0 Latest Latest
Warning

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

Go to latest
Published: Nov 5, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Overview

Package plugin implements a gRPC client for external secret store plugins.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SecretStore

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

SecretStore is an External Secret Store.

func NewSecretStore

func NewSecretStore(_ context.Context, kube client.Client, tcfg *tls.Config, cfg v1.SecretStoreConfig) (*SecretStore, error)

NewSecretStore returns a new External SecretStore.

func (*SecretStore) DeleteKeyValues

func (ss *SecretStore) DeleteKeyValues(ctx context.Context, s *store.Secret, _ ...store.DeleteOption) error

DeleteKeyValues delete key value pairs from a given Secret.

func (*SecretStore) ReadKeyValues

func (ss *SecretStore) ReadKeyValues(ctx context.Context, n store.ScopedName, s *store.Secret) error

ReadKeyValues reads and returns key value pairs for a given Secret.

func (*SecretStore) WriteKeyValues

func (ss *SecretStore) WriteKeyValues(ctx context.Context, s *store.Secret, _ ...store.WriteOption) (changed bool, err error)

WriteKeyValues writes key value pairs to a given Secret.

Directories

Path Synopsis
Package fake is a fake ExternalSecretStorePluginServiceClient.
Package fake is a fake ExternalSecretStorePluginServiceClient.

Jump to

Keyboard shortcuts

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