kvsecret

package
v1.1.125 Latest Latest
Warning

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

Go to latest
Published: Aug 31, 2023 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type API

type API interface {
	UpdateKvSecret(engine core.MountPathEntity, secret Entity) error
	DeleteKvSecret(engine core.MountPathEntity, secret core.SecretPathEntity) error
	ReadKvSecret(engine core.MountPathEntity, secret core.SecretPathEntity) (*KvSecret, error)
}

func NewAPI

func NewAPI(core core.API) API

type Entity

type Entity interface {
	core.SecretPathEntity
	GetFields() (map[string]string, error)
}

type KvSecret

type KvSecret struct {
	Path   string
	Fields map[string]string
}

func (*KvSecret) GetFields

func (k *KvSecret) GetFields() (map[string]string, error)

func (*KvSecret) GetSecretPath

func (k *KvSecret) GetSecretPath() (string, error)

Jump to

Keyboard shortcuts

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