Documentation ¶
Index ¶
- Variables
- func RegisterSecretsServiceServer(s grpc.ServiceRegistrar, srv SecretsServiceServer)
- type GetSecretsDataResponse
- func (*GetSecretsDataResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetSecretsDataResponse) GetSecrets() []*GetSecretsDataResponse_Secret
- func (*GetSecretsDataResponse) ProtoMessage()
- func (x *GetSecretsDataResponse) ProtoReflect() protoreflect.Message
- func (x *GetSecretsDataResponse) Reset()
- func (x *GetSecretsDataResponse) String() string
- type GetSecretsDataResponse_Secret
- func (*GetSecretsDataResponse_Secret) Descriptor() ([]byte, []int)deprecated
- func (x *GetSecretsDataResponse_Secret) GetData() []byte
- func (x *GetSecretsDataResponse_Secret) GetName() string
- func (*GetSecretsDataResponse_Secret) ProtoMessage()
- func (x *GetSecretsDataResponse_Secret) ProtoReflect() protoreflect.Message
- func (x *GetSecretsDataResponse_Secret) Reset()
- func (x *GetSecretsDataResponse_Secret) String() string
- type GetSecretsRequest
- func (*GetSecretsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetSecretsRequest) GetNamespace() string
- func (x *GetSecretsRequest) GetStype() SecretTypes
- func (*GetSecretsRequest) ProtoMessage()
- func (x *GetSecretsRequest) ProtoReflect() protoreflect.Message
- func (x *GetSecretsRequest) Reset()
- func (x *GetSecretsRequest) String() string
- type GetSecretsResponse
- func (*GetSecretsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetSecretsResponse) GetSecrets() []*GetSecretsResponse_Secret
- func (*GetSecretsResponse) ProtoMessage()
- func (x *GetSecretsResponse) ProtoReflect() protoreflect.Message
- func (x *GetSecretsResponse) Reset()
- func (x *GetSecretsResponse) String() string
- type GetSecretsResponse_Secret
- func (*GetSecretsResponse_Secret) Descriptor() ([]byte, []int)deprecated
- func (x *GetSecretsResponse_Secret) GetName() string
- func (*GetSecretsResponse_Secret) ProtoMessage()
- func (x *GetSecretsResponse_Secret) ProtoReflect() protoreflect.Message
- func (x *GetSecretsResponse_Secret) Reset()
- func (x *GetSecretsResponse_Secret) String() string
- type SecretTypes
- func (SecretTypes) Descriptor() protoreflect.EnumDescriptor
- func (x SecretTypes) Enum() *SecretTypes
- func (SecretTypes) EnumDescriptor() ([]byte, []int)deprecated
- func (x SecretTypes) Number() protoreflect.EnumNumber
- func (x SecretTypes) String() string
- func (SecretTypes) Type() protoreflect.EnumType
- type SecretsCreateBucketRequest
- func (*SecretsCreateBucketRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SecretsCreateBucketRequest) GetNamespace() string
- func (*SecretsCreateBucketRequest) ProtoMessage()
- func (x *SecretsCreateBucketRequest) ProtoReflect() protoreflect.Message
- func (x *SecretsCreateBucketRequest) Reset()
- func (x *SecretsCreateBucketRequest) String() string
- type SecretsCreateBucketResponse
- func (*SecretsCreateBucketResponse) Descriptor() ([]byte, []int)deprecated
- func (x *SecretsCreateBucketResponse) GetPkey() []byte
- func (*SecretsCreateBucketResponse) ProtoMessage()
- func (x *SecretsCreateBucketResponse) ProtoReflect() protoreflect.Message
- func (x *SecretsCreateBucketResponse) Reset()
- func (x *SecretsCreateBucketResponse) String() string
- type SecretsDeleteBucketRequest
- func (*SecretsDeleteBucketRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SecretsDeleteBucketRequest) GetNamespace() string
- func (*SecretsDeleteBucketRequest) ProtoMessage()
- func (x *SecretsDeleteBucketRequest) ProtoReflect() protoreflect.Message
- func (x *SecretsDeleteBucketRequest) Reset()
- func (x *SecretsDeleteBucketRequest) String() string
- type SecretsDeleteRequest
- func (*SecretsDeleteRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SecretsDeleteRequest) GetName() string
- func (x *SecretsDeleteRequest) GetNamespace() string
- func (x *SecretsDeleteRequest) GetStype() SecretTypes
- func (*SecretsDeleteRequest) ProtoMessage()
- func (x *SecretsDeleteRequest) ProtoReflect() protoreflect.Message
- func (x *SecretsDeleteRequest) Reset()
- func (x *SecretsDeleteRequest) String() string
- type SecretsDeleteResponse
- func (*SecretsDeleteResponse) Descriptor() ([]byte, []int)deprecated
- func (x *SecretsDeleteResponse) GetCount() int32
- func (*SecretsDeleteResponse) ProtoMessage()
- func (x *SecretsDeleteResponse) ProtoReflect() protoreflect.Message
- func (x *SecretsDeleteResponse) Reset()
- func (x *SecretsDeleteResponse) String() string
- type SecretsRetrieveRequest
- func (*SecretsRetrieveRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SecretsRetrieveRequest) GetName() string
- func (x *SecretsRetrieveRequest) GetNamespace() string
- func (*SecretsRetrieveRequest) ProtoMessage()
- func (x *SecretsRetrieveRequest) ProtoReflect() protoreflect.Message
- func (x *SecretsRetrieveRequest) Reset()
- func (x *SecretsRetrieveRequest) String() string
- type SecretsRetrieveResponse
- func (*SecretsRetrieveResponse) Descriptor() ([]byte, []int)deprecated
- func (x *SecretsRetrieveResponse) GetData() []byte
- func (*SecretsRetrieveResponse) ProtoMessage()
- func (x *SecretsRetrieveResponse) ProtoReflect() protoreflect.Message
- func (x *SecretsRetrieveResponse) Reset()
- func (x *SecretsRetrieveResponse) String() string
- type SecretsServiceClient
- type SecretsServiceServer
- type SecretsStoreRequest
- func (*SecretsStoreRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SecretsStoreRequest) GetData() []byte
- func (x *SecretsStoreRequest) GetName() string
- func (x *SecretsStoreRequest) GetNamespace() string
- func (x *SecretsStoreRequest) GetStype() SecretTypes
- func (*SecretsStoreRequest) ProtoMessage()
- func (x *SecretsStoreRequest) ProtoReflect() protoreflect.Message
- func (x *SecretsStoreRequest) Reset()
- func (x *SecretsStoreRequest) String() string
- type UnimplementedSecretsServiceServer
- func (UnimplementedSecretsServiceServer) CreateBucket(context.Context, *SecretsCreateBucketRequest) (*SecretsCreateBucketResponse, error)
- func (UnimplementedSecretsServiceServer) DeleteBucket(context.Context, *SecretsDeleteBucketRequest) (*empty.Empty, error)
- func (UnimplementedSecretsServiceServer) DeleteSecret(context.Context, *SecretsDeleteRequest) (*SecretsDeleteResponse, error)
- func (UnimplementedSecretsServiceServer) GetSecrets(context.Context, *GetSecretsRequest) (*GetSecretsResponse, error)
- func (UnimplementedSecretsServiceServer) GetSecretsWithData(context.Context, *GetSecretsRequest) (*GetSecretsDataResponse, error)
- func (UnimplementedSecretsServiceServer) RetrieveSecret(context.Context, *SecretsRetrieveRequest) (*SecretsRetrieveResponse, error)
- func (UnimplementedSecretsServiceServer) StoreSecret(context.Context, *SecretsStoreRequest) (*empty.Empty, error)
- type UnsafeSecretsServiceServer
Constants ¶
This section is empty.
Variables ¶
var ( SecretTypes_name = map[int32]string{ 0: "SECRET", 1: "REGISTRY", } SecretTypes_value = map[string]int32{ "SECRET": 0, "REGISTRY": 1, } )
Enum value maps for SecretTypes.
var File_pkg_secrets_protocol_proto protoreflect.FileDescriptor
var File_pkg_secrets_secrets_proto protoreflect.FileDescriptor
var SecretsService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "secrets.SecretsService", HandlerType: (*SecretsServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "CreateBucket", Handler: _SecretsService_CreateBucket_Handler, }, { MethodName: "DeleteBucket", Handler: _SecretsService_DeleteBucket_Handler, }, { MethodName: "StoreSecret", Handler: _SecretsService_StoreSecret_Handler, }, { MethodName: "RetrieveSecret", Handler: _SecretsService_RetrieveSecret_Handler, }, { MethodName: "DeleteSecret", Handler: _SecretsService_DeleteSecret_Handler, }, { MethodName: "GetSecrets", Handler: _SecretsService_GetSecrets_Handler, }, { MethodName: "GetSecretsWithData", Handler: _SecretsService_GetSecretsWithData_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "pkg/secrets/protocol.proto", }
SecretsService_ServiceDesc is the grpc.ServiceDesc for SecretsService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterSecretsServiceServer ¶
func RegisterSecretsServiceServer(s grpc.ServiceRegistrar, srv SecretsServiceServer)
Types ¶
type GetSecretsDataResponse ¶
type GetSecretsDataResponse struct { Secrets []*GetSecretsDataResponse_Secret `protobuf:"bytes,1,rep,name=secrets,proto3" json:"secrets,omitempty"` // contains filtered or unexported fields }
func (*GetSecretsDataResponse) Descriptor
deprecated
func (*GetSecretsDataResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetSecretsDataResponse.ProtoReflect.Descriptor instead.
func (*GetSecretsDataResponse) GetSecrets ¶
func (x *GetSecretsDataResponse) GetSecrets() []*GetSecretsDataResponse_Secret
func (*GetSecretsDataResponse) ProtoMessage ¶
func (*GetSecretsDataResponse) ProtoMessage()
func (*GetSecretsDataResponse) ProtoReflect ¶
func (x *GetSecretsDataResponse) ProtoReflect() protoreflect.Message
func (*GetSecretsDataResponse) Reset ¶
func (x *GetSecretsDataResponse) Reset()
func (*GetSecretsDataResponse) String ¶
func (x *GetSecretsDataResponse) String() string
type GetSecretsDataResponse_Secret ¶
type GetSecretsDataResponse_Secret struct { Name *string `protobuf:"bytes,1,opt,name=name,proto3,oneof" json:"name,omitempty"` Data []byte `protobuf:"bytes,2,opt,name=data,proto3,oneof" json:"data,omitempty"` // contains filtered or unexported fields }
func (*GetSecretsDataResponse_Secret) Descriptor
deprecated
func (*GetSecretsDataResponse_Secret) Descriptor() ([]byte, []int)
Deprecated: Use GetSecretsDataResponse_Secret.ProtoReflect.Descriptor instead.
func (*GetSecretsDataResponse_Secret) GetData ¶
func (x *GetSecretsDataResponse_Secret) GetData() []byte
func (*GetSecretsDataResponse_Secret) GetName ¶
func (x *GetSecretsDataResponse_Secret) GetName() string
func (*GetSecretsDataResponse_Secret) ProtoMessage ¶
func (*GetSecretsDataResponse_Secret) ProtoMessage()
func (*GetSecretsDataResponse_Secret) ProtoReflect ¶
func (x *GetSecretsDataResponse_Secret) ProtoReflect() protoreflect.Message
func (*GetSecretsDataResponse_Secret) Reset ¶
func (x *GetSecretsDataResponse_Secret) Reset()
func (*GetSecretsDataResponse_Secret) String ¶
func (x *GetSecretsDataResponse_Secret) String() string
type GetSecretsRequest ¶
type GetSecretsRequest struct { Namespace *string `protobuf:"bytes,1,opt,name=namespace,proto3,oneof" json:"namespace,omitempty"` Stype *SecretTypes `protobuf:"varint,2,opt,name=stype,proto3,enum=secrets.SecretTypes,oneof" json:"stype,omitempty"` // contains filtered or unexported fields }
func (*GetSecretsRequest) Descriptor
deprecated
func (*GetSecretsRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetSecretsRequest.ProtoReflect.Descriptor instead.
func (*GetSecretsRequest) GetNamespace ¶
func (x *GetSecretsRequest) GetNamespace() string
func (*GetSecretsRequest) GetStype ¶
func (x *GetSecretsRequest) GetStype() SecretTypes
func (*GetSecretsRequest) ProtoMessage ¶
func (*GetSecretsRequest) ProtoMessage()
func (*GetSecretsRequest) ProtoReflect ¶
func (x *GetSecretsRequest) ProtoReflect() protoreflect.Message
func (*GetSecretsRequest) Reset ¶
func (x *GetSecretsRequest) Reset()
func (*GetSecretsRequest) String ¶
func (x *GetSecretsRequest) String() string
type GetSecretsResponse ¶
type GetSecretsResponse struct { Secrets []*GetSecretsResponse_Secret `protobuf:"bytes,1,rep,name=secrets,proto3" json:"secrets,omitempty"` // contains filtered or unexported fields }
func (*GetSecretsResponse) Descriptor
deprecated
func (*GetSecretsResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetSecretsResponse.ProtoReflect.Descriptor instead.
func (*GetSecretsResponse) GetSecrets ¶
func (x *GetSecretsResponse) GetSecrets() []*GetSecretsResponse_Secret
func (*GetSecretsResponse) ProtoMessage ¶
func (*GetSecretsResponse) ProtoMessage()
func (*GetSecretsResponse) ProtoReflect ¶
func (x *GetSecretsResponse) ProtoReflect() protoreflect.Message
func (*GetSecretsResponse) Reset ¶
func (x *GetSecretsResponse) Reset()
func (*GetSecretsResponse) String ¶
func (x *GetSecretsResponse) String() string
type GetSecretsResponse_Secret ¶
type GetSecretsResponse_Secret struct { Name *string `protobuf:"bytes,1,opt,name=name,proto3,oneof" json:"name,omitempty"` // contains filtered or unexported fields }
func (*GetSecretsResponse_Secret) Descriptor
deprecated
func (*GetSecretsResponse_Secret) Descriptor() ([]byte, []int)
Deprecated: Use GetSecretsResponse_Secret.ProtoReflect.Descriptor instead.
func (*GetSecretsResponse_Secret) GetName ¶
func (x *GetSecretsResponse_Secret) GetName() string
func (*GetSecretsResponse_Secret) ProtoMessage ¶
func (*GetSecretsResponse_Secret) ProtoMessage()
func (*GetSecretsResponse_Secret) ProtoReflect ¶
func (x *GetSecretsResponse_Secret) ProtoReflect() protoreflect.Message
func (*GetSecretsResponse_Secret) Reset ¶
func (x *GetSecretsResponse_Secret) Reset()
func (*GetSecretsResponse_Secret) String ¶
func (x *GetSecretsResponse_Secret) String() string
type SecretTypes ¶
type SecretTypes int32
const ( SecretTypes_SECRET SecretTypes = 0 SecretTypes_REGISTRY SecretTypes = 1 )
func (SecretTypes) Descriptor ¶
func (SecretTypes) Descriptor() protoreflect.EnumDescriptor
func (SecretTypes) Enum ¶
func (x SecretTypes) Enum() *SecretTypes
func (SecretTypes) EnumDescriptor
deprecated
func (SecretTypes) EnumDescriptor() ([]byte, []int)
Deprecated: Use SecretTypes.Descriptor instead.
func (SecretTypes) Number ¶
func (x SecretTypes) Number() protoreflect.EnumNumber
func (SecretTypes) String ¶
func (x SecretTypes) String() string
func (SecretTypes) Type ¶
func (SecretTypes) Type() protoreflect.EnumType
type SecretsCreateBucketRequest ¶
type SecretsCreateBucketRequest struct { Namespace *string `protobuf:"bytes,1,opt,name=namespace,proto3,oneof" json:"namespace,omitempty"` // contains filtered or unexported fields }
func (*SecretsCreateBucketRequest) Descriptor
deprecated
func (*SecretsCreateBucketRequest) Descriptor() ([]byte, []int)
Deprecated: Use SecretsCreateBucketRequest.ProtoReflect.Descriptor instead.
func (*SecretsCreateBucketRequest) GetNamespace ¶
func (x *SecretsCreateBucketRequest) GetNamespace() string
func (*SecretsCreateBucketRequest) ProtoMessage ¶
func (*SecretsCreateBucketRequest) ProtoMessage()
func (*SecretsCreateBucketRequest) ProtoReflect ¶
func (x *SecretsCreateBucketRequest) ProtoReflect() protoreflect.Message
func (*SecretsCreateBucketRequest) Reset ¶
func (x *SecretsCreateBucketRequest) Reset()
func (*SecretsCreateBucketRequest) String ¶
func (x *SecretsCreateBucketRequest) String() string
type SecretsCreateBucketResponse ¶
type SecretsCreateBucketResponse struct { Pkey []byte `protobuf:"bytes,1,opt,name=pkey,proto3,oneof" json:"pkey,omitempty"` // contains filtered or unexported fields }
func (*SecretsCreateBucketResponse) Descriptor
deprecated
func (*SecretsCreateBucketResponse) Descriptor() ([]byte, []int)
Deprecated: Use SecretsCreateBucketResponse.ProtoReflect.Descriptor instead.
func (*SecretsCreateBucketResponse) GetPkey ¶
func (x *SecretsCreateBucketResponse) GetPkey() []byte
func (*SecretsCreateBucketResponse) ProtoMessage ¶
func (*SecretsCreateBucketResponse) ProtoMessage()
func (*SecretsCreateBucketResponse) ProtoReflect ¶
func (x *SecretsCreateBucketResponse) ProtoReflect() protoreflect.Message
func (*SecretsCreateBucketResponse) Reset ¶
func (x *SecretsCreateBucketResponse) Reset()
func (*SecretsCreateBucketResponse) String ¶
func (x *SecretsCreateBucketResponse) String() string
type SecretsDeleteBucketRequest ¶
type SecretsDeleteBucketRequest struct { Namespace *string `protobuf:"bytes,1,opt,name=namespace,proto3,oneof" json:"namespace,omitempty"` // contains filtered or unexported fields }
func (*SecretsDeleteBucketRequest) Descriptor
deprecated
func (*SecretsDeleteBucketRequest) Descriptor() ([]byte, []int)
Deprecated: Use SecretsDeleteBucketRequest.ProtoReflect.Descriptor instead.
func (*SecretsDeleteBucketRequest) GetNamespace ¶
func (x *SecretsDeleteBucketRequest) GetNamespace() string
func (*SecretsDeleteBucketRequest) ProtoMessage ¶
func (*SecretsDeleteBucketRequest) ProtoMessage()
func (*SecretsDeleteBucketRequest) ProtoReflect ¶
func (x *SecretsDeleteBucketRequest) ProtoReflect() protoreflect.Message
func (*SecretsDeleteBucketRequest) Reset ¶
func (x *SecretsDeleteBucketRequest) Reset()
func (*SecretsDeleteBucketRequest) String ¶
func (x *SecretsDeleteBucketRequest) String() string
type SecretsDeleteRequest ¶
type SecretsDeleteRequest struct { Namespace *string `protobuf:"bytes,1,opt,name=namespace,proto3,oneof" json:"namespace,omitempty"` Name *string `protobuf:"bytes,2,opt,name=name,proto3,oneof" json:"name,omitempty"` Stype *SecretTypes `protobuf:"varint,3,opt,name=stype,proto3,enum=secrets.SecretTypes,oneof" json:"stype,omitempty"` // contains filtered or unexported fields }
func (*SecretsDeleteRequest) Descriptor
deprecated
func (*SecretsDeleteRequest) Descriptor() ([]byte, []int)
Deprecated: Use SecretsDeleteRequest.ProtoReflect.Descriptor instead.
func (*SecretsDeleteRequest) GetName ¶
func (x *SecretsDeleteRequest) GetName() string
func (*SecretsDeleteRequest) GetNamespace ¶
func (x *SecretsDeleteRequest) GetNamespace() string
func (*SecretsDeleteRequest) GetStype ¶
func (x *SecretsDeleteRequest) GetStype() SecretTypes
func (*SecretsDeleteRequest) ProtoMessage ¶
func (*SecretsDeleteRequest) ProtoMessage()
func (*SecretsDeleteRequest) ProtoReflect ¶
func (x *SecretsDeleteRequest) ProtoReflect() protoreflect.Message
func (*SecretsDeleteRequest) Reset ¶
func (x *SecretsDeleteRequest) Reset()
func (*SecretsDeleteRequest) String ¶
func (x *SecretsDeleteRequest) String() string
type SecretsDeleteResponse ¶
type SecretsDeleteResponse struct { Count *int32 `protobuf:"varint,1,opt,name=count,proto3,oneof" json:"count,omitempty"` // contains filtered or unexported fields }
func (*SecretsDeleteResponse) Descriptor
deprecated
func (*SecretsDeleteResponse) Descriptor() ([]byte, []int)
Deprecated: Use SecretsDeleteResponse.ProtoReflect.Descriptor instead.
func (*SecretsDeleteResponse) GetCount ¶
func (x *SecretsDeleteResponse) GetCount() int32
func (*SecretsDeleteResponse) ProtoMessage ¶
func (*SecretsDeleteResponse) ProtoMessage()
func (*SecretsDeleteResponse) ProtoReflect ¶
func (x *SecretsDeleteResponse) ProtoReflect() protoreflect.Message
func (*SecretsDeleteResponse) Reset ¶
func (x *SecretsDeleteResponse) Reset()
func (*SecretsDeleteResponse) String ¶
func (x *SecretsDeleteResponse) String() string
type SecretsRetrieveRequest ¶
type SecretsRetrieveRequest struct { Namespace *string `protobuf:"bytes,1,opt,name=namespace,proto3,oneof" json:"namespace,omitempty"` Name *string `protobuf:"bytes,2,opt,name=name,proto3,oneof" json:"name,omitempty"` // contains filtered or unexported fields }
func (*SecretsRetrieveRequest) Descriptor
deprecated
func (*SecretsRetrieveRequest) Descriptor() ([]byte, []int)
Deprecated: Use SecretsRetrieveRequest.ProtoReflect.Descriptor instead.
func (*SecretsRetrieveRequest) GetName ¶
func (x *SecretsRetrieveRequest) GetName() string
func (*SecretsRetrieveRequest) GetNamespace ¶
func (x *SecretsRetrieveRequest) GetNamespace() string
func (*SecretsRetrieveRequest) ProtoMessage ¶
func (*SecretsRetrieveRequest) ProtoMessage()
func (*SecretsRetrieveRequest) ProtoReflect ¶
func (x *SecretsRetrieveRequest) ProtoReflect() protoreflect.Message
func (*SecretsRetrieveRequest) Reset ¶
func (x *SecretsRetrieveRequest) Reset()
func (*SecretsRetrieveRequest) String ¶
func (x *SecretsRetrieveRequest) String() string
type SecretsRetrieveResponse ¶
type SecretsRetrieveResponse struct { Data []byte `protobuf:"bytes,3,opt,name=data,proto3,oneof" json:"data,omitempty"` // contains filtered or unexported fields }
func (*SecretsRetrieveResponse) Descriptor
deprecated
func (*SecretsRetrieveResponse) Descriptor() ([]byte, []int)
Deprecated: Use SecretsRetrieveResponse.ProtoReflect.Descriptor instead.
func (*SecretsRetrieveResponse) GetData ¶
func (x *SecretsRetrieveResponse) GetData() []byte
func (*SecretsRetrieveResponse) ProtoMessage ¶
func (*SecretsRetrieveResponse) ProtoMessage()
func (*SecretsRetrieveResponse) ProtoReflect ¶
func (x *SecretsRetrieveResponse) ProtoReflect() protoreflect.Message
func (*SecretsRetrieveResponse) Reset ¶
func (x *SecretsRetrieveResponse) Reset()
func (*SecretsRetrieveResponse) String ¶
func (x *SecretsRetrieveResponse) String() string
type SecretsServiceClient ¶
type SecretsServiceClient interface { CreateBucket(ctx context.Context, in *SecretsCreateBucketRequest, opts ...grpc.CallOption) (*SecretsCreateBucketResponse, error) DeleteBucket(ctx context.Context, in *SecretsDeleteBucketRequest, opts ...grpc.CallOption) (*empty.Empty, error) StoreSecret(ctx context.Context, in *SecretsStoreRequest, opts ...grpc.CallOption) (*empty.Empty, error) RetrieveSecret(ctx context.Context, in *SecretsRetrieveRequest, opts ...grpc.CallOption) (*SecretsRetrieveResponse, error) DeleteSecret(ctx context.Context, in *SecretsDeleteRequest, opts ...grpc.CallOption) (*SecretsDeleteResponse, error) GetSecrets(ctx context.Context, in *GetSecretsRequest, opts ...grpc.CallOption) (*GetSecretsResponse, error) GetSecretsWithData(ctx context.Context, in *GetSecretsRequest, opts ...grpc.CallOption) (*GetSecretsDataResponse, error) }
SecretsServiceClient is the client API for SecretsService 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 NewSecretsServiceClient ¶
func NewSecretsServiceClient(cc grpc.ClientConnInterface) SecretsServiceClient
type SecretsServiceServer ¶
type SecretsServiceServer interface { CreateBucket(context.Context, *SecretsCreateBucketRequest) (*SecretsCreateBucketResponse, error) DeleteBucket(context.Context, *SecretsDeleteBucketRequest) (*empty.Empty, error) StoreSecret(context.Context, *SecretsStoreRequest) (*empty.Empty, error) RetrieveSecret(context.Context, *SecretsRetrieveRequest) (*SecretsRetrieveResponse, error) DeleteSecret(context.Context, *SecretsDeleteRequest) (*SecretsDeleteResponse, error) GetSecrets(context.Context, *GetSecretsRequest) (*GetSecretsResponse, error) GetSecretsWithData(context.Context, *GetSecretsRequest) (*GetSecretsDataResponse, error) // contains filtered or unexported methods }
SecretsServiceServer is the server API for SecretsService service. All implementations must embed UnimplementedSecretsServiceServer for forward compatibility
type SecretsStoreRequest ¶
type SecretsStoreRequest struct { Namespace *string `protobuf:"bytes,1,opt,name=namespace,proto3,oneof" json:"namespace,omitempty"` Name *string `protobuf:"bytes,2,opt,name=name,proto3,oneof" json:"name,omitempty"` Data []byte `protobuf:"bytes,3,opt,name=data,proto3,oneof" json:"data,omitempty"` Stype *SecretTypes `protobuf:"varint,4,opt,name=stype,proto3,enum=secrets.SecretTypes,oneof" json:"stype,omitempty"` // contains filtered or unexported fields }
func (*SecretsStoreRequest) Descriptor
deprecated
func (*SecretsStoreRequest) Descriptor() ([]byte, []int)
Deprecated: Use SecretsStoreRequest.ProtoReflect.Descriptor instead.
func (*SecretsStoreRequest) GetData ¶
func (x *SecretsStoreRequest) GetData() []byte
func (*SecretsStoreRequest) GetName ¶
func (x *SecretsStoreRequest) GetName() string
func (*SecretsStoreRequest) GetNamespace ¶
func (x *SecretsStoreRequest) GetNamespace() string
func (*SecretsStoreRequest) GetStype ¶
func (x *SecretsStoreRequest) GetStype() SecretTypes
func (*SecretsStoreRequest) ProtoMessage ¶
func (*SecretsStoreRequest) ProtoMessage()
func (*SecretsStoreRequest) ProtoReflect ¶
func (x *SecretsStoreRequest) ProtoReflect() protoreflect.Message
func (*SecretsStoreRequest) Reset ¶
func (x *SecretsStoreRequest) Reset()
func (*SecretsStoreRequest) String ¶
func (x *SecretsStoreRequest) String() string
type UnimplementedSecretsServiceServer ¶
type UnimplementedSecretsServiceServer struct { }
UnimplementedSecretsServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedSecretsServiceServer) CreateBucket ¶
func (UnimplementedSecretsServiceServer) CreateBucket(context.Context, *SecretsCreateBucketRequest) (*SecretsCreateBucketResponse, error)
func (UnimplementedSecretsServiceServer) DeleteBucket ¶
func (UnimplementedSecretsServiceServer) DeleteBucket(context.Context, *SecretsDeleteBucketRequest) (*empty.Empty, error)
func (UnimplementedSecretsServiceServer) DeleteSecret ¶
func (UnimplementedSecretsServiceServer) DeleteSecret(context.Context, *SecretsDeleteRequest) (*SecretsDeleteResponse, error)
func (UnimplementedSecretsServiceServer) GetSecrets ¶
func (UnimplementedSecretsServiceServer) GetSecrets(context.Context, *GetSecretsRequest) (*GetSecretsResponse, error)
func (UnimplementedSecretsServiceServer) GetSecretsWithData ¶
func (UnimplementedSecretsServiceServer) GetSecretsWithData(context.Context, *GetSecretsRequest) (*GetSecretsDataResponse, error)
func (UnimplementedSecretsServiceServer) RetrieveSecret ¶
func (UnimplementedSecretsServiceServer) RetrieveSecret(context.Context, *SecretsRetrieveRequest) (*SecretsRetrieveResponse, error)
func (UnimplementedSecretsServiceServer) StoreSecret ¶
func (UnimplementedSecretsServiceServer) StoreSecret(context.Context, *SecretsStoreRequest) (*empty.Empty, error)
type UnsafeSecretsServiceServer ¶
type UnsafeSecretsServiceServer interface {
// contains filtered or unexported methods
}
UnsafeSecretsServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to SecretsServiceServer will result in compilation errors.