secrets

package
v0.5.4 Latest Latest
Warning

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

Go to latest
Published: Oct 18, 2021 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Server added in v0.2.1

type Server struct {
	secretsgrpc.UnimplementedSecretsServiceServer
	// contains filtered or unexported fields
}

Server serves backend implementation

func NewServer added in v0.2.1

func NewServer(backend string) (*Server, error)

NewServer creates a new secrets server

func (*Server) DeleteSecret added in v0.2.1

func (s *Server) DeleteSecret(ctx context.Context, in *secretsgrpc.SecretsDeleteRequest) (*empty.Empty, error)

DeleteSecret deletes single secret from backend

func (*Server) DeleteSecrets added in v0.2.1

func (s *Server) DeleteSecrets(ctx context.Context, in *secretsgrpc.DeleteSecretsRequest) (*empty.Empty, error)

DeleteSecrets deletes secrets for a namespace

func (*Server) GetSecrets added in v0.2.1

GetSecrets returns secrets for one namespace

func (*Server) Kill added in v0.2.1

func (s *Server) Kill()

Kill kills the server

func (*Server) Lifeline added in v0.2.1

func (s *Server) Lifeline() chan bool

Lifeline interface impl

func (*Server) RetrieveSecret added in v0.2.1

RetrieveSecret retrieves secret from backend

func (*Server) Run added in v0.2.1

func (s *Server) Run()

Run starts the secrets server

func (*Server) Stop added in v0.2.1

func (s *Server) Stop()

Stop stops the server gracefully

func (*Server) StoreSecret added in v0.2.1

func (s *Server) StoreSecret(ctx context.Context, in *secretsgrpc.SecretsStoreRequest) (*empty.Empty, error)

StoreSecret stores secrets in backends

Directories

Path Synopsis
ent

Jump to

Keyboard shortcuts

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