Documentation ¶
Index ¶
- type SecretsServer
- func (ss *SecretsServer) Create(ctx context.Context, in *secrets.Secret) (*secrets.Id, error)
- func (ss *SecretsServer) Delete(ctx context.Context, in *secrets.Id) (*secrets.DeleteResponse, error)
- func (ss *SecretsServer) Health() *health.Service
- func (ss *SecretsServer) List(ctx context.Context, in *secrets.Query) (*secrets.Secrets, error)
- func (ss *SecretsServer) Read(ctx context.Context, in *secrets.Id) (*secrets.Secret, error)
- func (ss *SecretsServer) Update(ctx context.Context, in *secrets.Secret) (*secrets.UpdateResponse, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SecretsServer ¶
type SecretsServer struct {
// contains filtered or unexported fields
}
SecretsServer is the interface to this component.
func (*SecretsServer) Delete ¶
func (ss *SecretsServer) Delete(ctx context.Context, in *secrets.Id) (*secrets.DeleteResponse, error)
Delete a secret
func (*SecretsServer) Health ¶
func (ss *SecretsServer) Health() *health.Service
Health returns the servers embedded health check service
func (*SecretsServer) Update ¶
func (ss *SecretsServer) Update(ctx context.Context, in *secrets.Secret) (*secrets.UpdateResponse, error)
Update one secret
Click to show internal directories.
Click to hide internal directories.