Documentation ¶
Index ¶
- type KvStoreCompat
- func (k *KvStoreCompat) Delete(ctx context.Context, req *keyvaluepb.KeyValueDeleteRequest) (*keyvaluepb.KeyValueDeleteResponse, error)
- func (k *KvStoreCompat) Get(ctx context.Context, req *keyvaluepb.KeyValueGetRequest) (*keyvaluepb.KeyValueGetResponse, error)
- func (k *KvStoreCompat) Set(ctx context.Context, req *keyvaluepb.KeyValueSetRequest) (*keyvaluepb.KeyValueSetResponse, error)
- type SecretServerValidator
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type KvStoreCompat ¶
type KvStoreCompat struct {
kvstorepb.KvStoreServer
}
KvStoreCompat - Compatibility layer for the KvStore service
func KeyValueServerWithCompat ¶
func KeyValueServerWithCompat(srv kvstorepb.KvStoreServer) *KvStoreCompat
func (*KvStoreCompat) Delete ¶
func (k *KvStoreCompat) Delete(ctx context.Context, req *keyvaluepb.KeyValueDeleteRequest) (*keyvaluepb.KeyValueDeleteResponse, error)
Delete a key and its value
func (*KvStoreCompat) Get ¶
func (k *KvStoreCompat) Get(ctx context.Context, req *keyvaluepb.KeyValueGetRequest) (*keyvaluepb.KeyValueGetResponse, error)
Get an existing value
func (*KvStoreCompat) Set ¶
func (k *KvStoreCompat) Set(ctx context.Context, req *keyvaluepb.KeyValueSetRequest) (*keyvaluepb.KeyValueSetResponse, error)
Create a new or overwrite an existing value
type SecretServerValidator ¶
type SecretServerValidator struct {
// contains filtered or unexported fields
}
func SecretsServerWithValidation ¶
func SecretsServerWithValidation(inner secretspb.SecretManagerServer) *SecretServerValidator
func (*SecretServerValidator) Access ¶
func (s *SecretServerValidator) Access(ctx context.Context, req *secretspb.SecretAccessRequest) (*secretspb.SecretAccessResponse, error)
func (*SecretServerValidator) Put ¶
func (s *SecretServerValidator) Put(ctx context.Context, req *secretspb.SecretPutRequest) (*secretspb.SecretPutResponse, error)
Click to show internal directories.
Click to hide internal directories.