Documentation ¶
Index ¶
- func RegisterSecretManagerServer(s *grpc.Server, srv SecretManagerServer)
- type RequestForSecret
- func (*RequestForSecret) Descriptor() ([]byte, []int)
- func (m *RequestForSecret) GetPath() string
- func (m *RequestForSecret) GetToken() string
- func (*RequestForSecret) ProtoMessage()
- func (m *RequestForSecret) Reset()
- func (m *RequestForSecret) String() string
- func (m *RequestForSecret) XXX_DiscardUnknown()
- func (m *RequestForSecret) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RequestForSecret) XXX_Merge(src proto.Message)
- func (m *RequestForSecret) XXX_Size() int
- func (m *RequestForSecret) XXX_Unmarshal(b []byte) error
- type Secret
- func (*Secret) Descriptor() ([]byte, []int)
- func (m *Secret) GetKey() string
- func (m *Secret) GetValue() string
- func (*Secret) ProtoMessage()
- func (m *Secret) Reset()
- func (m *Secret) String() string
- func (m *Secret) XXX_DiscardUnknown()
- func (m *Secret) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Secret) XXX_Merge(src proto.Message)
- func (m *Secret) XXX_Size() int
- func (m *Secret) XXX_Unmarshal(b []byte) error
- type SecretManagerClient
- type SecretManagerServer
- type Secrets
- func (*Secrets) Descriptor() ([]byte, []int)
- func (m *Secrets) GetData() []*Secret
- func (*Secrets) ProtoMessage()
- func (m *Secrets) Reset()
- func (m *Secrets) String() string
- func (m *Secrets) XXX_DiscardUnknown()
- func (m *Secrets) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Secrets) XXX_Merge(src proto.Message)
- func (m *Secrets) XXX_Size() int
- func (m *Secrets) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterSecretManagerServer ¶
func RegisterSecretManagerServer(s *grpc.Server, srv SecretManagerServer)
Types ¶
type RequestForSecret ¶
type RequestForSecret struct { Token string `protobuf:"bytes,1,opt,name=Token,proto3" json:"Token,omitempty"` Path string `protobuf:"bytes,2,opt,name=Path,proto3" json:"Path,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*RequestForSecret) Descriptor ¶
func (*RequestForSecret) Descriptor() ([]byte, []int)
func (*RequestForSecret) GetPath ¶
func (m *RequestForSecret) GetPath() string
func (*RequestForSecret) GetToken ¶
func (m *RequestForSecret) GetToken() string
func (*RequestForSecret) ProtoMessage ¶
func (*RequestForSecret) ProtoMessage()
func (*RequestForSecret) Reset ¶
func (m *RequestForSecret) Reset()
func (*RequestForSecret) String ¶
func (m *RequestForSecret) String() string
func (*RequestForSecret) XXX_DiscardUnknown ¶
func (m *RequestForSecret) XXX_DiscardUnknown()
func (*RequestForSecret) XXX_Marshal ¶
func (m *RequestForSecret) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RequestForSecret) XXX_Merge ¶
func (m *RequestForSecret) XXX_Merge(src proto.Message)
func (*RequestForSecret) XXX_Size ¶
func (m *RequestForSecret) XXX_Size() int
func (*RequestForSecret) XXX_Unmarshal ¶
func (m *RequestForSecret) XXX_Unmarshal(b []byte) error
type Secret ¶
type Secret struct { Key string `protobuf:"bytes,1,opt,name=Key,proto3" json:"Key,omitempty"` Value string `protobuf:"bytes,2,opt,name=Value,proto3" json:"Value,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Secret) Descriptor ¶
func (*Secret) ProtoMessage ¶
func (*Secret) ProtoMessage()
func (*Secret) XXX_DiscardUnknown ¶
func (m *Secret) XXX_DiscardUnknown()
func (*Secret) XXX_Marshal ¶
func (*Secret) XXX_Unmarshal ¶
type SecretManagerClient ¶
type SecretManagerClient interface {
Read(ctx context.Context, in *RequestForSecret, opts ...grpc.CallOption) (*Secrets, error)
}
SecretManagerClient is the client API for SecretManager service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewSecretManagerClient ¶
func NewSecretManagerClient(cc *grpc.ClientConn) SecretManagerClient
type SecretManagerServer ¶
type SecretManagerServer interface {
Read(context.Context, *RequestForSecret) (*Secrets, error)
}
SecretManagerServer is the server API for SecretManager service.
type Secrets ¶
type Secrets struct { Data []*Secret `protobuf:"bytes,1,rep,name=Data,proto3" json:"Data,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Secrets) Descriptor ¶
func (*Secrets) ProtoMessage ¶
func (*Secrets) ProtoMessage()
func (*Secrets) XXX_DiscardUnknown ¶
func (m *Secrets) XXX_DiscardUnknown()
func (*Secrets) XXX_Marshal ¶
func (*Secrets) XXX_Unmarshal ¶
Click to show internal directories.
Click to hide internal directories.