Documentation ¶
Index ¶
- type Server
- func (s *Server) DeleteSecret(ctx context.Context, in *secretsgrpc.SecretsDeleteRequest) (*empty.Empty, error)
- func (s *Server) DeleteSecrets(ctx context.Context, in *secretsgrpc.DeleteSecretsRequest) (*empty.Empty, error)
- func (s *Server) GetSecrets(ctx context.Context, in *secretsgrpc.GetSecretsRequest) (*secretsgrpc.GetSecretsResponse, error)
- func (s *Server) Kill()
- func (s *Server) Lifeline() chan bool
- func (s *Server) RetrieveSecret(ctx context.Context, in *secretsgrpc.SecretsRetrieveRequest) (*secretsgrpc.SecretsRetrieveResponse, error)
- func (s *Server) Run()
- func (s *Server) Stop()
- func (s *Server) StoreSecret(ctx context.Context, in *secretsgrpc.SecretsStoreRequest) (*empty.Empty, error)
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 (*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
func (s *Server) GetSecrets(ctx context.Context, in *secretsgrpc.GetSecretsRequest) (*secretsgrpc.GetSecretsResponse, error)
GetSecrets returns secrets for one namespace
func (*Server) RetrieveSecret ¶ added in v0.2.1
func (s *Server) RetrieveSecret(ctx context.Context, in *secretsgrpc.SecretsRetrieveRequest) (*secretsgrpc.SecretsRetrieveResponse, error)
RetrieveSecret retrieves secret from backend
func (*Server) StoreSecret ¶ added in v0.2.1
func (s *Server) StoreSecret(ctx context.Context, in *secretsgrpc.SecretsStoreRequest) (*empty.Empty, error)
StoreSecret stroes secrets in backends
Click to show internal directories.
Click to hide internal directories.