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 (*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 (dst *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 (*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 (dst *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
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrInvalidLengthSecrets = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowSecrets = fmt.Errorf("proto: integer overflow") )
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) 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 ¶ added in v0.4.0
func (m *GetSecretRequest) XXX_DiscardUnknown()
func (*GetSecretRequest) XXX_Marshal ¶ added in v0.4.0
func (m *GetSecretRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetSecretRequest) XXX_Merge ¶ added in v0.4.0
func (dst *GetSecretRequest) XXX_Merge(src proto.Message)
func (*GetSecretRequest) XXX_Size ¶ added in v0.4.0
func (m *GetSecretRequest) XXX_Size() int
func (*GetSecretRequest) XXX_Unmarshal ¶ added in v0.4.0
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) 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 ¶ added in v0.4.0
func (m *GetSecretResponse) XXX_DiscardUnknown()
func (*GetSecretResponse) XXX_Marshal ¶ added in v0.4.0
func (m *GetSecretResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetSecretResponse) XXX_Merge ¶ added in v0.4.0
func (dst *GetSecretResponse) XXX_Merge(src proto.Message)
func (*GetSecretResponse) XXX_Size ¶ added in v0.4.0
func (m *GetSecretResponse) XXX_Size() int
func (*GetSecretResponse) XXX_Unmarshal ¶ added in v0.4.0
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.
Click to show internal directories.
Click to hide internal directories.