Documentation ¶
Index ¶
- Variables
- func RegisterSecretsManagerServer(s grpc.ServiceRegistrar, srv SecretsManagerServer)
- type DeleteSecretRequest
- func (*DeleteSecretRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteSecretRequest) GetKeyDescriptor() *Key
- func (*DeleteSecretRequest) ProtoMessage()
- func (x *DeleteSecretRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteSecretRequest) Reset()
- func (x *DeleteSecretRequest) String() string
- type DeleteSecretResponse
- func (*DeleteSecretResponse) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteSecretResponse) GetUserFriendlyError() string
- func (*DeleteSecretResponse) ProtoMessage()
- func (x *DeleteSecretResponse) ProtoReflect() protoreflect.Message
- func (x *DeleteSecretResponse) Reset()
- func (x *DeleteSecretResponse) String() string
- type GetAllSecretsRequest
- type GetAllSecretsResponse
- func (*GetAllSecretsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetAllSecretsResponse) GetItems() []*Item
- func (x *GetAllSecretsResponse) GetUserFriendlyError() string
- func (*GetAllSecretsResponse) ProtoMessage()
- func (x *GetAllSecretsResponse) ProtoReflect() protoreflect.Message
- func (x *GetAllSecretsResponse) Reset()
- func (x *GetAllSecretsResponse) String() string
- type GetSecretRequest
- type GetSecretResponse
- func (*GetSecretResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetSecretResponse) GetDecryptedValue() string
- func (x *GetSecretResponse) GetExists() bool
- func (x *GetSecretResponse) GetUserFriendlyError() string
- func (*GetSecretResponse) ProtoMessage()
- func (x *GetSecretResponse) ProtoReflect() protoreflect.Message
- func (x *GetSecretResponse) Reset()
- func (x *GetSecretResponse) String() string
- type Item
- type Key
- type ListSecretsRequest
- func (*ListSecretsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListSecretsRequest) GetAllOrganizations() bool
- func (x *ListSecretsRequest) GetKeyDescriptor() *Key
- func (*ListSecretsRequest) ProtoMessage()
- func (x *ListSecretsRequest) ProtoReflect() protoreflect.Message
- func (x *ListSecretsRequest) Reset()
- func (x *ListSecretsRequest) String() string
- type ListSecretsResponse
- func (*ListSecretsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListSecretsResponse) GetKeys() []*Key
- func (x *ListSecretsResponse) GetUserFriendlyError() string
- func (*ListSecretsResponse) ProtoMessage()
- func (x *ListSecretsResponse) ProtoReflect() protoreflect.Message
- func (x *ListSecretsResponse) Reset()
- func (x *ListSecretsResponse) String() string
- type RenameSecretRequest
- func (*RenameSecretRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RenameSecretRequest) GetKeyDescriptor() *Key
- func (x *RenameSecretRequest) GetNewNamespace() string
- func (*RenameSecretRequest) ProtoMessage()
- func (x *RenameSecretRequest) ProtoReflect() protoreflect.Message
- func (x *RenameSecretRequest) Reset()
- func (x *RenameSecretRequest) String() string
- type RenameSecretResponse
- func (*RenameSecretResponse) Descriptor() ([]byte, []int)deprecated
- func (x *RenameSecretResponse) GetUserFriendlyError() string
- func (*RenameSecretResponse) ProtoMessage()
- func (x *RenameSecretResponse) ProtoReflect() protoreflect.Message
- func (x *RenameSecretResponse) Reset()
- func (x *RenameSecretResponse) String() string
- type SecretsManagerClient
- type SecretsManagerGRPCClient
- func (sm *SecretsManagerGRPCClient) DeleteSecret(ctx context.Context, req *DeleteSecretRequest, opts ...grpc.CallOption) (*DeleteSecretResponse, error)
- func (sm *SecretsManagerGRPCClient) GetAllSecrets(ctx context.Context, req *GetAllSecretsRequest, opts ...grpc.CallOption) (*GetAllSecretsResponse, error)
- func (sm *SecretsManagerGRPCClient) GetSecret(ctx context.Context, req *GetSecretRequest, opts ...grpc.CallOption) (*GetSecretResponse, error)
- func (sm *SecretsManagerGRPCClient) ListSecrets(ctx context.Context, req *ListSecretsRequest, opts ...grpc.CallOption) (*ListSecretsResponse, error)
- func (sm *SecretsManagerGRPCClient) RenameSecret(ctx context.Context, req *RenameSecretRequest, opts ...grpc.CallOption) (*RenameSecretResponse, error)
- func (sm *SecretsManagerGRPCClient) SetSecret(ctx context.Context, req *SetSecretRequest, opts ...grpc.CallOption) (*SetSecretResponse, error)
- type SecretsManagerGRPCPlugin
- type SecretsManagerPlugin
- type SecretsManagerServer
- type SetSecretRequest
- func (*SetSecretRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SetSecretRequest) GetKeyDescriptor() *Key
- func (x *SetSecretRequest) GetValue() string
- func (*SetSecretRequest) ProtoMessage()
- func (x *SetSecretRequest) ProtoReflect() protoreflect.Message
- func (x *SetSecretRequest) Reset()
- func (x *SetSecretRequest) String() string
- type SetSecretResponse
- func (*SetSecretResponse) Descriptor() ([]byte, []int)deprecated
- func (x *SetSecretResponse) GetUserFriendlyError() string
- func (*SetSecretResponse) ProtoMessage()
- func (x *SetSecretResponse) ProtoReflect() protoreflect.Message
- func (x *SetSecretResponse) Reset()
- func (x *SetSecretResponse) String() string
- type UnimplementedSecretsManagerServer
- func (UnimplementedSecretsManagerServer) DeleteSecret(context.Context, *DeleteSecretRequest) (*DeleteSecretResponse, error)
- func (UnimplementedSecretsManagerServer) GetAllSecrets(context.Context, *GetAllSecretsRequest) (*GetAllSecretsResponse, error)
- func (UnimplementedSecretsManagerServer) GetSecret(context.Context, *GetSecretRequest) (*GetSecretResponse, error)
- func (UnimplementedSecretsManagerServer) ListSecrets(context.Context, *ListSecretsRequest) (*ListSecretsResponse, error)
- func (UnimplementedSecretsManagerServer) RenameSecret(context.Context, *RenameSecretRequest) (*RenameSecretResponse, error)
- func (UnimplementedSecretsManagerServer) SetSecret(context.Context, *SetSecretRequest) (*SetSecretResponse, error)
- type UnsafeSecretsManagerServer
Constants ¶
This section is empty.
Variables ¶
var File_secretsmanager_proto protoreflect.FileDescriptor
var SecretsManager_ServiceDesc = grpc.ServiceDesc{ ServiceName: "secretsmanagerplugin.SecretsManager", HandlerType: (*SecretsManagerServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "GetSecret", Handler: _SecretsManager_GetSecret_Handler, }, { MethodName: "SetSecret", Handler: _SecretsManager_SetSecret_Handler, }, { MethodName: "DeleteSecret", Handler: _SecretsManager_DeleteSecret_Handler, }, { MethodName: "ListSecrets", Handler: _SecretsManager_ListSecrets_Handler, }, { MethodName: "RenameSecret", Handler: _SecretsManager_RenameSecret_Handler, }, { MethodName: "GetAllSecrets", Handler: _SecretsManager_GetAllSecrets_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "secretsmanager.proto", }
SecretsManager_ServiceDesc is the grpc.ServiceDesc for SecretsManager service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterSecretsManagerServer ¶
func RegisterSecretsManagerServer(s grpc.ServiceRegistrar, srv SecretsManagerServer)
Types ¶
type DeleteSecretRequest ¶
type DeleteSecretRequest struct { KeyDescriptor *Key `protobuf:"bytes,1,opt,name=keyDescriptor,proto3" json:"keyDescriptor,omitempty"` // contains filtered or unexported fields }
func (*DeleteSecretRequest) Descriptor
deprecated
func (*DeleteSecretRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteSecretRequest.ProtoReflect.Descriptor instead.
func (*DeleteSecretRequest) GetKeyDescriptor ¶
func (x *DeleteSecretRequest) GetKeyDescriptor() *Key
func (*DeleteSecretRequest) ProtoMessage ¶
func (*DeleteSecretRequest) ProtoMessage()
func (*DeleteSecretRequest) ProtoReflect ¶
func (x *DeleteSecretRequest) ProtoReflect() protoreflect.Message
func (*DeleteSecretRequest) Reset ¶
func (x *DeleteSecretRequest) Reset()
func (*DeleteSecretRequest) String ¶
func (x *DeleteSecretRequest) String() string
type DeleteSecretResponse ¶
type DeleteSecretResponse struct { UserFriendlyError string `protobuf:"bytes,1,opt,name=userFriendlyError,proto3" json:"userFriendlyError,omitempty"` // contains filtered or unexported fields }
func (*DeleteSecretResponse) Descriptor
deprecated
func (*DeleteSecretResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeleteSecretResponse.ProtoReflect.Descriptor instead.
func (*DeleteSecretResponse) GetUserFriendlyError ¶
func (x *DeleteSecretResponse) GetUserFriendlyError() string
func (*DeleteSecretResponse) ProtoMessage ¶
func (*DeleteSecretResponse) ProtoMessage()
func (*DeleteSecretResponse) ProtoReflect ¶
func (x *DeleteSecretResponse) ProtoReflect() protoreflect.Message
func (*DeleteSecretResponse) Reset ¶
func (x *DeleteSecretResponse) Reset()
func (*DeleteSecretResponse) String ¶
func (x *DeleteSecretResponse) String() string
type GetAllSecretsRequest ¶
type GetAllSecretsRequest struct {
// contains filtered or unexported fields
}
func (*GetAllSecretsRequest) Descriptor
deprecated
func (*GetAllSecretsRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetAllSecretsRequest.ProtoReflect.Descriptor instead.
func (*GetAllSecretsRequest) ProtoMessage ¶
func (*GetAllSecretsRequest) ProtoMessage()
func (*GetAllSecretsRequest) ProtoReflect ¶
func (x *GetAllSecretsRequest) ProtoReflect() protoreflect.Message
func (*GetAllSecretsRequest) Reset ¶
func (x *GetAllSecretsRequest) Reset()
func (*GetAllSecretsRequest) String ¶
func (x *GetAllSecretsRequest) String() string
type GetAllSecretsResponse ¶
type GetAllSecretsResponse struct { UserFriendlyError string `protobuf:"bytes,1,opt,name=userFriendlyError,proto3" json:"userFriendlyError,omitempty"` Items []*Item `protobuf:"bytes,2,rep,name=items,proto3" json:"items,omitempty"` // contains filtered or unexported fields }
func (*GetAllSecretsResponse) Descriptor
deprecated
func (*GetAllSecretsResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetAllSecretsResponse.ProtoReflect.Descriptor instead.
func (*GetAllSecretsResponse) GetItems ¶
func (x *GetAllSecretsResponse) GetItems() []*Item
func (*GetAllSecretsResponse) GetUserFriendlyError ¶
func (x *GetAllSecretsResponse) GetUserFriendlyError() string
func (*GetAllSecretsResponse) ProtoMessage ¶
func (*GetAllSecretsResponse) ProtoMessage()
func (*GetAllSecretsResponse) ProtoReflect ¶
func (x *GetAllSecretsResponse) ProtoReflect() protoreflect.Message
func (*GetAllSecretsResponse) Reset ¶
func (x *GetAllSecretsResponse) Reset()
func (*GetAllSecretsResponse) String ¶
func (x *GetAllSecretsResponse) String() string
type GetSecretRequest ¶
type GetSecretRequest struct { KeyDescriptor *Key `protobuf:"bytes,1,opt,name=keyDescriptor,proto3" json:"keyDescriptor,omitempty"` // contains filtered or unexported fields }
func (*GetSecretRequest) Descriptor
deprecated
func (*GetSecretRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetSecretRequest.ProtoReflect.Descriptor instead.
func (*GetSecretRequest) GetKeyDescriptor ¶
func (x *GetSecretRequest) GetKeyDescriptor() *Key
func (*GetSecretRequest) ProtoMessage ¶
func (*GetSecretRequest) ProtoMessage()
func (*GetSecretRequest) ProtoReflect ¶
func (x *GetSecretRequest) ProtoReflect() protoreflect.Message
func (*GetSecretRequest) Reset ¶
func (x *GetSecretRequest) Reset()
func (*GetSecretRequest) String ¶
func (x *GetSecretRequest) String() string
type GetSecretResponse ¶
type GetSecretResponse struct { UserFriendlyError string `protobuf:"bytes,1,opt,name=userFriendlyError,proto3" json:"userFriendlyError,omitempty"` DecryptedValue string `protobuf:"bytes,2,opt,name=decryptedValue,proto3" json:"decryptedValue,omitempty"` Exists bool `protobuf:"varint,3,opt,name=exists,proto3" json:"exists,omitempty"` // contains filtered or unexported fields }
func (*GetSecretResponse) Descriptor
deprecated
func (*GetSecretResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetSecretResponse.ProtoReflect.Descriptor instead.
func (*GetSecretResponse) GetDecryptedValue ¶
func (x *GetSecretResponse) GetDecryptedValue() string
func (*GetSecretResponse) GetExists ¶
func (x *GetSecretResponse) GetExists() bool
func (*GetSecretResponse) GetUserFriendlyError ¶
func (x *GetSecretResponse) GetUserFriendlyError() string
func (*GetSecretResponse) ProtoMessage ¶
func (*GetSecretResponse) ProtoMessage()
func (*GetSecretResponse) ProtoReflect ¶
func (x *GetSecretResponse) ProtoReflect() protoreflect.Message
func (*GetSecretResponse) Reset ¶
func (x *GetSecretResponse) Reset()
func (*GetSecretResponse) String ¶
func (x *GetSecretResponse) String() string
type Item ¶
type Item struct { Key *Key `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
func (*Item) Descriptor
deprecated
func (*Item) ProtoMessage ¶
func (*Item) ProtoMessage()
func (*Item) ProtoReflect ¶
func (x *Item) ProtoReflect() protoreflect.Message
type Key ¶
type Key struct { OrgId int64 `protobuf:"varint,1,opt,name=orgId,proto3" json:"orgId,omitempty"` Namespace string `protobuf:"bytes,2,opt,name=namespace,proto3" json:"namespace,omitempty"` Type string `protobuf:"bytes,3,opt,name=type,proto3" json:"type,omitempty"` // contains filtered or unexported fields }
func (*Key) Descriptor
deprecated
func (*Key) GetNamespace ¶
func (*Key) ProtoMessage ¶
func (*Key) ProtoMessage()
func (*Key) ProtoReflect ¶
func (x *Key) ProtoReflect() protoreflect.Message
type ListSecretsRequest ¶
type ListSecretsRequest struct { KeyDescriptor *Key `protobuf:"bytes,1,opt,name=keyDescriptor,proto3" json:"keyDescriptor,omitempty"` AllOrganizations bool `protobuf:"varint,2,opt,name=allOrganizations,proto3" json:"allOrganizations,omitempty"` // contains filtered or unexported fields }
func (*ListSecretsRequest) Descriptor
deprecated
func (*ListSecretsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListSecretsRequest.ProtoReflect.Descriptor instead.
func (*ListSecretsRequest) GetAllOrganizations ¶
func (x *ListSecretsRequest) GetAllOrganizations() bool
func (*ListSecretsRequest) GetKeyDescriptor ¶
func (x *ListSecretsRequest) GetKeyDescriptor() *Key
func (*ListSecretsRequest) ProtoMessage ¶
func (*ListSecretsRequest) ProtoMessage()
func (*ListSecretsRequest) ProtoReflect ¶
func (x *ListSecretsRequest) ProtoReflect() protoreflect.Message
func (*ListSecretsRequest) Reset ¶
func (x *ListSecretsRequest) Reset()
func (*ListSecretsRequest) String ¶
func (x *ListSecretsRequest) String() string
type ListSecretsResponse ¶
type ListSecretsResponse struct { UserFriendlyError string `protobuf:"bytes,1,opt,name=userFriendlyError,proto3" json:"userFriendlyError,omitempty"` Keys []*Key `protobuf:"bytes,2,rep,name=keys,proto3" json:"keys,omitempty"` // contains filtered or unexported fields }
func (*ListSecretsResponse) Descriptor
deprecated
func (*ListSecretsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListSecretsResponse.ProtoReflect.Descriptor instead.
func (*ListSecretsResponse) GetKeys ¶
func (x *ListSecretsResponse) GetKeys() []*Key
func (*ListSecretsResponse) GetUserFriendlyError ¶
func (x *ListSecretsResponse) GetUserFriendlyError() string
func (*ListSecretsResponse) ProtoMessage ¶
func (*ListSecretsResponse) ProtoMessage()
func (*ListSecretsResponse) ProtoReflect ¶
func (x *ListSecretsResponse) ProtoReflect() protoreflect.Message
func (*ListSecretsResponse) Reset ¶
func (x *ListSecretsResponse) Reset()
func (*ListSecretsResponse) String ¶
func (x *ListSecretsResponse) String() string
type RenameSecretRequest ¶
type RenameSecretRequest struct { KeyDescriptor *Key `protobuf:"bytes,1,opt,name=keyDescriptor,proto3" json:"keyDescriptor,omitempty"` NewNamespace string `protobuf:"bytes,2,opt,name=newNamespace,proto3" json:"newNamespace,omitempty"` // contains filtered or unexported fields }
func (*RenameSecretRequest) Descriptor
deprecated
func (*RenameSecretRequest) Descriptor() ([]byte, []int)
Deprecated: Use RenameSecretRequest.ProtoReflect.Descriptor instead.
func (*RenameSecretRequest) GetKeyDescriptor ¶
func (x *RenameSecretRequest) GetKeyDescriptor() *Key
func (*RenameSecretRequest) GetNewNamespace ¶
func (x *RenameSecretRequest) GetNewNamespace() string
func (*RenameSecretRequest) ProtoMessage ¶
func (*RenameSecretRequest) ProtoMessage()
func (*RenameSecretRequest) ProtoReflect ¶
func (x *RenameSecretRequest) ProtoReflect() protoreflect.Message
func (*RenameSecretRequest) Reset ¶
func (x *RenameSecretRequest) Reset()
func (*RenameSecretRequest) String ¶
func (x *RenameSecretRequest) String() string
type RenameSecretResponse ¶
type RenameSecretResponse struct { UserFriendlyError string `protobuf:"bytes,1,opt,name=userFriendlyError,proto3" json:"userFriendlyError,omitempty"` // contains filtered or unexported fields }
func (*RenameSecretResponse) Descriptor
deprecated
func (*RenameSecretResponse) Descriptor() ([]byte, []int)
Deprecated: Use RenameSecretResponse.ProtoReflect.Descriptor instead.
func (*RenameSecretResponse) GetUserFriendlyError ¶
func (x *RenameSecretResponse) GetUserFriendlyError() string
func (*RenameSecretResponse) ProtoMessage ¶
func (*RenameSecretResponse) ProtoMessage()
func (*RenameSecretResponse) ProtoReflect ¶
func (x *RenameSecretResponse) ProtoReflect() protoreflect.Message
func (*RenameSecretResponse) Reset ¶
func (x *RenameSecretResponse) Reset()
func (*RenameSecretResponse) String ¶
func (x *RenameSecretResponse) String() string
type SecretsManagerClient ¶
type SecretsManagerClient interface { GetSecret(ctx context.Context, in *GetSecretRequest, opts ...grpc.CallOption) (*GetSecretResponse, error) SetSecret(ctx context.Context, in *SetSecretRequest, opts ...grpc.CallOption) (*SetSecretResponse, error) DeleteSecret(ctx context.Context, in *DeleteSecretRequest, opts ...grpc.CallOption) (*DeleteSecretResponse, error) ListSecrets(ctx context.Context, in *ListSecretsRequest, opts ...grpc.CallOption) (*ListSecretsResponse, error) RenameSecret(ctx context.Context, in *RenameSecretRequest, opts ...grpc.CallOption) (*RenameSecretResponse, error) GetAllSecrets(ctx context.Context, in *GetAllSecretsRequest, opts ...grpc.CallOption) (*GetAllSecretsResponse, error) }
SecretsManagerClient is the client API for SecretsManager service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewSecretsManagerClient ¶
func NewSecretsManagerClient(cc grpc.ClientConnInterface) SecretsManagerClient
type SecretsManagerGRPCClient ¶
type SecretsManagerGRPCClient struct {
SecretsManagerClient
}
func (*SecretsManagerGRPCClient) DeleteSecret ¶
func (sm *SecretsManagerGRPCClient) DeleteSecret(ctx context.Context, req *DeleteSecretRequest, opts ...grpc.CallOption) (*DeleteSecretResponse, error)
Del deletes an item from the store.
func (*SecretsManagerGRPCClient) GetAllSecrets ¶
func (sm *SecretsManagerGRPCClient) GetAllSecrets(ctx context.Context, req *GetAllSecretsRequest, opts ...grpc.CallOption) (*GetAllSecretsResponse, error)
Get all items from the store
func (*SecretsManagerGRPCClient) GetSecret ¶
func (sm *SecretsManagerGRPCClient) GetSecret(ctx context.Context, req *GetSecretRequest, opts ...grpc.CallOption) (*GetSecretResponse, error)
Get an item from the store
func (*SecretsManagerGRPCClient) ListSecrets ¶
func (sm *SecretsManagerGRPCClient) ListSecrets(ctx context.Context, req *ListSecretsRequest, opts ...grpc.CallOption) (*ListSecretsResponse, error)
Keys get all keys for a given namespace.
func (*SecretsManagerGRPCClient) RenameSecret ¶
func (sm *SecretsManagerGRPCClient) RenameSecret(ctx context.Context, req *RenameSecretRequest, opts ...grpc.CallOption) (*RenameSecretResponse, error)
Rename an item in the store
func (*SecretsManagerGRPCClient) SetSecret ¶
func (sm *SecretsManagerGRPCClient) SetSecret(ctx context.Context, req *SetSecretRequest, opts ...grpc.CallOption) (*SetSecretResponse, error)
Set an item in the store
type SecretsManagerGRPCPlugin ¶
type SecretsManagerGRPCPlugin struct {
plugin.NetRPCUnsupportedPlugin
}
func (*SecretsManagerGRPCPlugin) GRPCClient ¶
func (p *SecretsManagerGRPCPlugin) GRPCClient(ctx context.Context, broker *plugin.GRPCBroker, c *grpc.ClientConn) (interface{}, error)
func (*SecretsManagerGRPCPlugin) GRPCServer ¶
func (p *SecretsManagerGRPCPlugin) GRPCServer(broker *plugin.GRPCBroker, s *grpc.Server) error
type SecretsManagerPlugin ¶
type SecretsManagerPlugin interface { SecretsManagerClient }
type SecretsManagerServer ¶
type SecretsManagerServer interface { GetSecret(context.Context, *GetSecretRequest) (*GetSecretResponse, error) SetSecret(context.Context, *SetSecretRequest) (*SetSecretResponse, error) DeleteSecret(context.Context, *DeleteSecretRequest) (*DeleteSecretResponse, error) ListSecrets(context.Context, *ListSecretsRequest) (*ListSecretsResponse, error) RenameSecret(context.Context, *RenameSecretRequest) (*RenameSecretResponse, error) GetAllSecrets(context.Context, *GetAllSecretsRequest) (*GetAllSecretsResponse, error) // contains filtered or unexported methods }
SecretsManagerServer is the server API for SecretsManager service. All implementations must embed UnimplementedSecretsManagerServer for forward compatibility
type SetSecretRequest ¶
type SetSecretRequest struct { KeyDescriptor *Key `protobuf:"bytes,1,opt,name=keyDescriptor,proto3" json:"keyDescriptor,omitempty"` Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
func (*SetSecretRequest) Descriptor
deprecated
func (*SetSecretRequest) Descriptor() ([]byte, []int)
Deprecated: Use SetSecretRequest.ProtoReflect.Descriptor instead.
func (*SetSecretRequest) GetKeyDescriptor ¶
func (x *SetSecretRequest) GetKeyDescriptor() *Key
func (*SetSecretRequest) GetValue ¶
func (x *SetSecretRequest) GetValue() string
func (*SetSecretRequest) ProtoMessage ¶
func (*SetSecretRequest) ProtoMessage()
func (*SetSecretRequest) ProtoReflect ¶
func (x *SetSecretRequest) ProtoReflect() protoreflect.Message
func (*SetSecretRequest) Reset ¶
func (x *SetSecretRequest) Reset()
func (*SetSecretRequest) String ¶
func (x *SetSecretRequest) String() string
type SetSecretResponse ¶
type SetSecretResponse struct { UserFriendlyError string `protobuf:"bytes,1,opt,name=userFriendlyError,proto3" json:"userFriendlyError,omitempty"` // contains filtered or unexported fields }
func (*SetSecretResponse) Descriptor
deprecated
func (*SetSecretResponse) Descriptor() ([]byte, []int)
Deprecated: Use SetSecretResponse.ProtoReflect.Descriptor instead.
func (*SetSecretResponse) GetUserFriendlyError ¶
func (x *SetSecretResponse) GetUserFriendlyError() string
func (*SetSecretResponse) ProtoMessage ¶
func (*SetSecretResponse) ProtoMessage()
func (*SetSecretResponse) ProtoReflect ¶
func (x *SetSecretResponse) ProtoReflect() protoreflect.Message
func (*SetSecretResponse) Reset ¶
func (x *SetSecretResponse) Reset()
func (*SetSecretResponse) String ¶
func (x *SetSecretResponse) String() string
type UnimplementedSecretsManagerServer ¶
type UnimplementedSecretsManagerServer struct { }
UnimplementedSecretsManagerServer must be embedded to have forward compatible implementations.
func (UnimplementedSecretsManagerServer) DeleteSecret ¶
func (UnimplementedSecretsManagerServer) DeleteSecret(context.Context, *DeleteSecretRequest) (*DeleteSecretResponse, error)
func (UnimplementedSecretsManagerServer) GetAllSecrets ¶
func (UnimplementedSecretsManagerServer) GetAllSecrets(context.Context, *GetAllSecretsRequest) (*GetAllSecretsResponse, error)
func (UnimplementedSecretsManagerServer) GetSecret ¶
func (UnimplementedSecretsManagerServer) GetSecret(context.Context, *GetSecretRequest) (*GetSecretResponse, error)
func (UnimplementedSecretsManagerServer) ListSecrets ¶
func (UnimplementedSecretsManagerServer) ListSecrets(context.Context, *ListSecretsRequest) (*ListSecretsResponse, error)
func (UnimplementedSecretsManagerServer) RenameSecret ¶
func (UnimplementedSecretsManagerServer) RenameSecret(context.Context, *RenameSecretRequest) (*RenameSecretResponse, error)
func (UnimplementedSecretsManagerServer) SetSecret ¶
func (UnimplementedSecretsManagerServer) SetSecret(context.Context, *SetSecretRequest) (*SetSecretResponse, error)
type UnsafeSecretsManagerServer ¶
type UnsafeSecretsManagerServer interface {
// contains filtered or unexported methods
}
UnsafeSecretsManagerServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to SecretsManagerServer will result in compilation errors.