Documentation ¶
Overview ¶
Package secrets is a generated protocol buffer package.
It is generated from these files:
secrets.proto
It has these top-level messages:
GetSecretRequest GetSecretResponse
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
- 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
- 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 `` /* 156-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
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
type SecretStore ¶
type SecretsClient ¶
type SecretsClient interface {
GetSecret(ctx context.Context, in *GetSecretRequest, opts ...grpc.CallOption) (*GetSecretResponse, error)
}
func NewSecretsClient ¶
func NewSecretsClient(cc *grpc.ClientConn) SecretsClient
type SecretsServer ¶
type SecretsServer interface {
GetSecret(context.Context, *GetSecretRequest) (*GetSecretResponse, error)
}
Click to show internal directories.
Click to hide internal directories.