Documentation ¶
Index ¶
- Variables
- type Service
- func (srv *Service) CreateSecret(ctx context.Context, req *secret.CreateSecretReq) (*secret.CreateSecretRsp, error)
- func (srv *Service) DeleteSecret(ctx context.Context, req *secret.DeleteSecretReq) (*emptypb.Empty, error)
- func (srv *Service) GetSecretList(ctx context.Context, req *secret.GetSecretListReq) (*secret.GetSecretListRsp, error)
- func (srv *Service) UpdateSecret(ctx context.Context, req *secret.UpdateSecretReq) (*emptypb.Empty, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrInvalidKey = errors.New("invalid key")
)
Functions ¶
This section is empty.
Types ¶
type Service ¶
type Service struct { secret.UnimplementedSecretServiceServer // contains filtered or unexported fields }
func (*Service) CreateSecret ¶
func (srv *Service) CreateSecret(ctx context.Context, req *secret.CreateSecretReq) (*secret.CreateSecretRsp, error)
func (*Service) DeleteSecret ¶
func (*Service) GetSecretList ¶ added in v0.4.0
func (srv *Service) GetSecretList(ctx context.Context, req *secret.GetSecretListReq) (*secret.GetSecretListRsp, error)
func (*Service) UpdateSecret ¶
Click to show internal directories.
Click to hide internal directories.