Documentation ¶
Index ¶
- Variables
- func GetSecret(ctx context.Context, c session.Caller, id string) ([]byte, error)
- func RegisterSecretsServer(s *grpc.Server, srv SecretsServer)
- type GetSecretRequest
- func (*GetSecretRequest) Descriptor() ([]byte, []int)
- func (this *GetSecretRequest) Equal(that interface{}) bool
- func (m *GetSecretRequest) GetAnnotations() map[string]string
- func (m *GetSecretRequest) GetID() string
- func (this *GetSecretRequest) GoString() string
- func (m *GetSecretRequest) Marshal() (dAtA []byte, err error)
- func (m *GetSecretRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *GetSecretRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*GetSecretRequest) ProtoMessage()
- func (m *GetSecretRequest) Reset()
- func (m *GetSecretRequest) Size() (n int)
- func (this *GetSecretRequest) String() string
- func (m *GetSecretRequest) Unmarshal(dAtA []byte) error
- func (m *GetSecretRequest) XXX_DiscardUnknown()
- func (m *GetSecretRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetSecretRequest) XXX_Merge(src proto.Message)
- func (m *GetSecretRequest) XXX_Size() int
- func (m *GetSecretRequest) XXX_Unmarshal(b []byte) error
- type GetSecretResponse
- func (*GetSecretResponse) Descriptor() ([]byte, []int)
- func (this *GetSecretResponse) Equal(that interface{}) bool
- func (m *GetSecretResponse) GetData() []byte
- func (this *GetSecretResponse) GoString() string
- func (m *GetSecretResponse) Marshal() (dAtA []byte, err error)
- func (m *GetSecretResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *GetSecretResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*GetSecretResponse) ProtoMessage()
- func (m *GetSecretResponse) Reset()
- func (m *GetSecretResponse) Size() (n int)
- func (this *GetSecretResponse) String() string
- func (m *GetSecretResponse) Unmarshal(dAtA []byte) error
- func (m *GetSecretResponse) XXX_DiscardUnknown()
- func (m *GetSecretResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetSecretResponse) XXX_Merge(src proto.Message)
- func (m *GetSecretResponse) XXX_Size() int
- func (m *GetSecretResponse) XXX_Unmarshal(b []byte) error
- type SecretStore
- type SecretsClient
- type SecretsServer
- type UnimplementedSecretsServer
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrInvalidLengthSecrets = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowSecrets = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupSecrets = fmt.Errorf("proto: unexpected end of group") )
View Source
var ErrNotFound = errors.Errorf("not found")
Functions ¶
func RegisterSecretsServer ¶
func RegisterSecretsServer(s *grpc.Server, srv SecretsServer)
Types ¶
type GetSecretRequest ¶
type GetSecretRequest struct { ID string `protobuf:"bytes,1,opt,name=ID,proto3" json:"ID,omitempty"` Annotations map[string]string `` /* 163-byte string literal not displayed */ }
func (*GetSecretRequest) Descriptor ¶
func (*GetSecretRequest) Descriptor() ([]byte, []int)
func (*GetSecretRequest) Equal ¶
func (this *GetSecretRequest) Equal(that interface{}) bool
func (*GetSecretRequest) GetAnnotations ¶
func (m *GetSecretRequest) GetAnnotations() map[string]string
func (*GetSecretRequest) GetID ¶
func (m *GetSecretRequest) GetID() string
func (*GetSecretRequest) GoString ¶
func (this *GetSecretRequest) GoString() string
func (*GetSecretRequest) Marshal ¶
func (m *GetSecretRequest) Marshal() (dAtA []byte, err error)
func (*GetSecretRequest) MarshalToSizedBuffer ¶
func (m *GetSecretRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*GetSecretRequest) ProtoMessage ¶
func (*GetSecretRequest) ProtoMessage()
func (*GetSecretRequest) Reset ¶
func (m *GetSecretRequest) Reset()
func (*GetSecretRequest) Size ¶
func (m *GetSecretRequest) Size() (n int)
func (*GetSecretRequest) String ¶
func (this *GetSecretRequest) String() string
func (*GetSecretRequest) Unmarshal ¶
func (m *GetSecretRequest) Unmarshal(dAtA []byte) error
func (*GetSecretRequest) XXX_DiscardUnknown ¶
func (m *GetSecretRequest) XXX_DiscardUnknown()
func (*GetSecretRequest) XXX_Marshal ¶
func (m *GetSecretRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetSecretRequest) XXX_Merge ¶
func (m *GetSecretRequest) XXX_Merge(src proto.Message)
func (*GetSecretRequest) XXX_Size ¶
func (m *GetSecretRequest) XXX_Size() int
func (*GetSecretRequest) XXX_Unmarshal ¶
func (m *GetSecretRequest) XXX_Unmarshal(b []byte) error
type GetSecretResponse ¶
type GetSecretResponse struct {
Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
}
func (*GetSecretResponse) Descriptor ¶
func (*GetSecretResponse) Descriptor() ([]byte, []int)
func (*GetSecretResponse) Equal ¶
func (this *GetSecretResponse) Equal(that interface{}) bool
func (*GetSecretResponse) GetData ¶
func (m *GetSecretResponse) GetData() []byte
func (*GetSecretResponse) GoString ¶
func (this *GetSecretResponse) GoString() string
func (*GetSecretResponse) Marshal ¶
func (m *GetSecretResponse) Marshal() (dAtA []byte, err error)
func (*GetSecretResponse) MarshalTo ¶
func (m *GetSecretResponse) MarshalTo(dAtA []byte) (int, error)
func (*GetSecretResponse) MarshalToSizedBuffer ¶
func (m *GetSecretResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*GetSecretResponse) ProtoMessage ¶
func (*GetSecretResponse) ProtoMessage()
func (*GetSecretResponse) Reset ¶
func (m *GetSecretResponse) Reset()
func (*GetSecretResponse) Size ¶
func (m *GetSecretResponse) Size() (n int)
func (*GetSecretResponse) String ¶
func (this *GetSecretResponse) String() string
func (*GetSecretResponse) Unmarshal ¶
func (m *GetSecretResponse) Unmarshal(dAtA []byte) error
func (*GetSecretResponse) XXX_DiscardUnknown ¶
func (m *GetSecretResponse) XXX_DiscardUnknown()
func (*GetSecretResponse) XXX_Marshal ¶
func (m *GetSecretResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetSecretResponse) XXX_Merge ¶
func (m *GetSecretResponse) XXX_Merge(src proto.Message)
func (*GetSecretResponse) XXX_Size ¶
func (m *GetSecretResponse) XXX_Size() int
func (*GetSecretResponse) XXX_Unmarshal ¶
func (m *GetSecretResponse) XXX_Unmarshal(b []byte) error
type SecretStore ¶
type SecretsClient ¶
type SecretsClient interface {
GetSecret(ctx context.Context, in *GetSecretRequest, opts ...grpc.CallOption) (*GetSecretResponse, error)
}
SecretsClient is the client API for Secrets service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewSecretsClient ¶
func NewSecretsClient(cc *grpc.ClientConn) SecretsClient
type SecretsServer ¶
type SecretsServer interface {
GetSecret(context.Context, *GetSecretRequest) (*GetSecretResponse, error)
}
SecretsServer is the server API for Secrets service.
type UnimplementedSecretsServer ¶
type UnimplementedSecretsServer struct { }
UnimplementedSecretsServer can be embedded to have forward compatible implementations.
func (*UnimplementedSecretsServer) GetSecret ¶
func (*UnimplementedSecretsServer) GetSecret(ctx context.Context, req *GetSecretRequest) (*GetSecretResponse, error)
Click to show internal directories.
Click to hide internal directories.