Documentation ¶
Overview ¶
Package api is a generated protocol buffer package.
It is generated from these files:
pubkeystore.proto
It has these top-level messages:
SSHKey GetKeysRequest GetKeysReply
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterPubkeyStoreServer ¶
func RegisterPubkeyStoreServer(s *grpc.Server, srv PubkeyStoreServer)
Types ¶
type GetKeysReply ¶
type GetKeysReply struct {
Keys []*SSHKey `protobuf:"bytes,1,rep,name=keys" json:"keys,omitempty"`
}
func (*GetKeysReply) Descriptor ¶
func (*GetKeysReply) Descriptor() ([]byte, []int)
func (*GetKeysReply) GetKeys ¶
func (m *GetKeysReply) GetKeys() []*SSHKey
func (*GetKeysReply) ProtoMessage ¶
func (*GetKeysReply) ProtoMessage()
func (*GetKeysReply) Reset ¶
func (m *GetKeysReply) Reset()
func (*GetKeysReply) String ¶
func (m *GetKeysReply) String() string
type GetKeysRequest ¶
type GetKeysRequest struct {
VmName string `protobuf:"bytes,1,opt,name=vm_name,json=vmName" json:"vm_name,omitempty"`
}
func (*GetKeysRequest) Descriptor ¶
func (*GetKeysRequest) Descriptor() ([]byte, []int)
func (*GetKeysRequest) GetVmName ¶
func (m *GetKeysRequest) GetVmName() string
func (*GetKeysRequest) ProtoMessage ¶
func (*GetKeysRequest) ProtoMessage()
func (*GetKeysRequest) Reset ¶
func (m *GetKeysRequest) Reset()
func (*GetKeysRequest) String ¶
func (m *GetKeysRequest) String() string
type PubkeyStoreClient ¶
type PubkeyStoreClient interface {
GetKeys(ctx context.Context, in *GetKeysRequest, opts ...grpc.CallOption) (*GetKeysReply, error)
}
func NewPubkeyStoreClient ¶
func NewPubkeyStoreClient(cc *grpc.ClientConn) PubkeyStoreClient
type PubkeyStoreServer ¶
type PubkeyStoreServer interface {
GetKeys(context.Context, *GetKeysRequest) (*GetKeysReply, error)
}
type SSHKey ¶
type SSHKey struct { Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"` Algo string `protobuf:"bytes,2,opt,name=algo" json:"algo,omitempty"` Pubkey string `protobuf:"bytes,3,opt,name=pubkey" json:"pubkey,omitempty"` Comment string `protobuf:"bytes,4,opt,name=comment" json:"comment,omitempty"` }
func (*SSHKey) Descriptor ¶
func (*SSHKey) GetComment ¶
func (*SSHKey) ProtoMessage ¶
func (*SSHKey) ProtoMessage()
Click to show internal directories.
Click to hide internal directories.