Documentation ¶
Index ¶
- Variables
- func RegisterSecretsServiceServer(s grpc.ServiceRegistrar, srv SecretsServiceServer)
- type DeleteSecretsRequest
- func (*DeleteSecretsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteSecretsRequest) GetNamespace() string
- func (*DeleteSecretsRequest) ProtoMessage()
- func (x *DeleteSecretsRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteSecretsRequest) Reset()
- func (x *DeleteSecretsRequest) String() string
- type GetSecretsRequest
- 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 SecretsDeleteRequest
- func (*SecretsDeleteRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SecretsDeleteRequest) GetName() string
- func (x *SecretsDeleteRequest) GetNamespace() string
- 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 (*SecretsStoreRequest) ProtoMessage()
- func (x *SecretsStoreRequest) ProtoReflect() protoreflect.Message
- func (x *SecretsStoreRequest) Reset()
- func (x *SecretsStoreRequest) String() string
- type UnimplementedSecretsServiceServer
- func (UnimplementedSecretsServiceServer) DeleteSecret(context.Context, *SecretsDeleteRequest) (*empty.Empty, error)
- func (UnimplementedSecretsServiceServer) DeleteSecrets(context.Context, *DeleteSecretsRequest) (*empty.Empty, error)
- func (UnimplementedSecretsServiceServer) GetSecrets(context.Context, *GetSecretsRequest) (*GetSecretsResponse, 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 File_pkg_secrets_grpc_protocol_proto protoreflect.FileDescriptor
var File_pkg_secrets_grpc_secrets_proto protoreflect.FileDescriptor
var SecretsService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "grpc.SecretsService", HandlerType: (*SecretsServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "StoreSecret", Handler: _SecretsService_StoreSecret_Handler, }, { MethodName: "RetrieveSecret", Handler: _SecretsService_RetrieveSecret_Handler, }, { MethodName: "DeleteSecret", Handler: _SecretsService_DeleteSecret_Handler, }, { MethodName: "DeleteSecrets", Handler: _SecretsService_DeleteSecrets_Handler, }, { MethodName: "GetSecrets", Handler: _SecretsService_GetSecrets_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "pkg/secrets/grpc/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 DeleteSecretsRequest ¶
type DeleteSecretsRequest struct { Namespace *string `protobuf:"bytes,1,opt,name=namespace,proto3,oneof" json:"namespace,omitempty"` // contains filtered or unexported fields }
func (*DeleteSecretsRequest) Descriptor
deprecated
func (*DeleteSecretsRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteSecretsRequest.ProtoReflect.Descriptor instead.
func (*DeleteSecretsRequest) GetNamespace ¶
func (x *DeleteSecretsRequest) GetNamespace() string
func (*DeleteSecretsRequest) ProtoMessage ¶
func (*DeleteSecretsRequest) ProtoMessage()
func (*DeleteSecretsRequest) ProtoReflect ¶
func (x *DeleteSecretsRequest) ProtoReflect() protoreflect.Message
func (*DeleteSecretsRequest) Reset ¶
func (x *DeleteSecretsRequest) Reset()
func (*DeleteSecretsRequest) String ¶
func (x *DeleteSecretsRequest) String() string
type GetSecretsRequest ¶
type GetSecretsRequest struct { Namespace *string `protobuf:"bytes,1,opt,name=namespace,proto3,oneof" json:"namespace,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) 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 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"` // 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) 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 { 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) (*empty.Empty, error) DeleteSecrets(ctx context.Context, in *DeleteSecretsRequest, opts ...grpc.CallOption) (*empty.Empty, error) GetSecrets(ctx context.Context, in *GetSecretsRequest, opts ...grpc.CallOption) (*GetSecretsResponse, 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 { StoreSecret(context.Context, *SecretsStoreRequest) (*empty.Empty, error) RetrieveSecret(context.Context, *SecretsRetrieveRequest) (*SecretsRetrieveResponse, error) DeleteSecret(context.Context, *SecretsDeleteRequest) (*empty.Empty, error) DeleteSecrets(context.Context, *DeleteSecretsRequest) (*empty.Empty, error) GetSecrets(context.Context, *GetSecretsRequest) (*GetSecretsResponse, 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"` // 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) 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) DeleteSecret ¶
func (UnimplementedSecretsServiceServer) DeleteSecret(context.Context, *SecretsDeleteRequest) (*empty.Empty, error)
func (UnimplementedSecretsServiceServer) DeleteSecrets ¶
func (UnimplementedSecretsServiceServer) DeleteSecrets(context.Context, *DeleteSecretsRequest) (*empty.Empty, error)
func (UnimplementedSecretsServiceServer) GetSecrets ¶
func (UnimplementedSecretsServiceServer) GetSecrets(context.Context, *GetSecretsRequest) (*GetSecretsResponse, 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.