etcd

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jun 8, 2021 License: AGPL-3.0 Imports: 10 Imported by: 1

Documentation

Index

Constants

View Source
const (
	EnvKeyEtcdEndpoints = "ETCD_ENDPOINTS"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Store

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

func (*Store) CreateKey

func (s *Store) CreateKey(keyInfo kmstypes.KeyInfo) error

func (*Store) DeleteByKeyID

func (s *Store) DeleteByKeyID(keyID string) error

func (*Store) GetKey

func (s *Store) GetKey(keyID string) (kmstypes.KeyInfo, error)

func (*Store) GetKeyVersion

func (s *Store) GetKeyVersion(keyID, keyVersionID string) (kmstypes.KeyVersionInfo, error)

func (*Store) GetKind

func (s *Store) GetKind() kmstypes.StoreKind

func (*Store) ListKeysByKind

func (s *Store) ListKeysByKind(kind kmstypes.PluginKind) ([]string, error)

func (*Store) RotateKeyVersion

func (s *Store) RotateKeyVersion(keyID string, newKeyVersionInfo kmstypes.KeyVersionInfo) (kmstypes.KeyVersionInfo, error)

Jump to

Keyboard shortcuts

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