Documentation ¶
Index ¶
- func RegisterManagerServer(s *grpc.Server, srv ManagerServer)
- type ClientKey
- func (*ClientKey) Descriptor() ([]byte, []int)
- func (m *ClientKey) GetGUID() string
- func (m *ClientKey) GetPrivateKey() []byte
- func (m *ClientKey) GetServiceAccountGUID() string
- func (*ClientKey) ProtoMessage()
- func (m *ClientKey) Reset()
- func (m *ClientKey) String() string
- func (m *ClientKey) XXX_DiscardUnknown()
- func (m *ClientKey) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ClientKey) XXX_Merge(src proto.Message)
- func (m *ClientKey) XXX_Size() int
- func (m *ClientKey) XXX_Unmarshal(b []byte) error
- type Complete
- func (*Complete) Descriptor() ([]byte, []int)
- func (m *Complete) GetIdentifier() *Identifier
- func (m *Complete) GetIncomplete() *Incomplete
- func (*Complete) ProtoMessage()
- func (m *Complete) Reset()
- func (m *Complete) String() string
- func (m *Complete) XXX_DiscardUnknown()
- func (m *Complete) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Complete) XXX_Merge(src proto.Message)
- func (m *Complete) XXX_Size() int
- func (m *Complete) XXX_Unmarshal(b []byte) error
- type Identifier
- func (*Identifier) Descriptor() ([]byte, []int)
- func (m *Identifier) GetGUID() string
- func (*Identifier) ProtoMessage()
- func (m *Identifier) Reset()
- func (m *Identifier) String() string
- func (m *Identifier) XXX_DiscardUnknown()
- func (m *Identifier) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Identifier) XXX_Merge(src proto.Message)
- func (m *Identifier) XXX_Size() int
- func (m *Identifier) XXX_Unmarshal(b []byte) error
- type Incomplete
- func (*Incomplete) Descriptor() ([]byte, []int)
- func (m *Incomplete) GetDescription() string
- func (m *Incomplete) GetName() string
- func (m *Incomplete) GetPublicKey() []byte
- func (m *Incomplete) GetServiceAccountGUID() string
- func (*Incomplete) ProtoMessage()
- func (m *Incomplete) Reset()
- func (m *Incomplete) String() string
- func (m *Incomplete) XXX_DiscardUnknown()
- func (m *Incomplete) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Incomplete) XXX_Merge(src proto.Message)
- func (m *Incomplete) XXX_Size() int
- func (m *Incomplete) XXX_Unmarshal(b []byte) error
- type ManagerClient
- type ManagerServer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterManagerServer ¶
func RegisterManagerServer(s *grpc.Server, srv ManagerServer)
Types ¶
type ClientKey ¶
type ClientKey struct { ServiceAccountGUID string `protobuf:"bytes,1,opt,name=ServiceAccountGUID,proto3" json:"ServiceAccountGUID,omitempty"` GUID string `protobuf:"bytes,2,opt,name=GUID,proto3" json:"GUID,omitempty"` PrivateKey []byte `protobuf:"bytes,3,opt,name=PrivateKey,proto3" json:"PrivateKey,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ClientKey) Descriptor ¶
func (*ClientKey) GetPrivateKey ¶
func (*ClientKey) GetServiceAccountGUID ¶
func (*ClientKey) ProtoMessage ¶
func (*ClientKey) ProtoMessage()
func (*ClientKey) XXX_DiscardUnknown ¶
func (m *ClientKey) XXX_DiscardUnknown()
func (*ClientKey) XXX_Marshal ¶
func (*ClientKey) XXX_Unmarshal ¶
type Complete ¶
type Complete struct { Identifier *Identifier `protobuf:"bytes,1,opt,name=Identifier,proto3" json:"Identifier,omitempty"` Incomplete *Incomplete `protobuf:"bytes,2,opt,name=Incomplete,proto3" json:"Incomplete,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Complete) Descriptor ¶
func (*Complete) GetIdentifier ¶
func (m *Complete) GetIdentifier() *Identifier
func (*Complete) GetIncomplete ¶
func (m *Complete) GetIncomplete() *Incomplete
func (*Complete) ProtoMessage ¶
func (*Complete) ProtoMessage()
func (*Complete) XXX_DiscardUnknown ¶
func (m *Complete) XXX_DiscardUnknown()
func (*Complete) XXX_Marshal ¶
func (*Complete) XXX_Unmarshal ¶
type Identifier ¶
type Identifier struct { GUID string `protobuf:"bytes,1,opt,name=GUID,proto3" json:"GUID,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Identifier) Descriptor ¶
func (*Identifier) Descriptor() ([]byte, []int)
func (*Identifier) GetGUID ¶
func (m *Identifier) GetGUID() string
func (*Identifier) ProtoMessage ¶
func (*Identifier) ProtoMessage()
func (*Identifier) Reset ¶
func (m *Identifier) Reset()
func (*Identifier) String ¶
func (m *Identifier) String() string
func (*Identifier) XXX_DiscardUnknown ¶
func (m *Identifier) XXX_DiscardUnknown()
func (*Identifier) XXX_Marshal ¶
func (m *Identifier) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Identifier) XXX_Merge ¶
func (m *Identifier) XXX_Merge(src proto.Message)
func (*Identifier) XXX_Size ¶
func (m *Identifier) XXX_Size() int
func (*Identifier) XXX_Unmarshal ¶
func (m *Identifier) XXX_Unmarshal(b []byte) error
type Incomplete ¶
type Incomplete struct { Name string `protobuf:"bytes,1,opt,name=Name,proto3" json:"Name,omitempty"` Description string `protobuf:"bytes,2,opt,name=Description,proto3" json:"Description,omitempty"` PublicKey []byte `protobuf:"bytes,3,opt,name=PublicKey,proto3" json:"PublicKey,omitempty"` ServiceAccountGUID string `protobuf:"bytes,4,opt,name=ServiceAccountGUID,proto3" json:"ServiceAccountGUID,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Incomplete) Descriptor ¶
func (*Incomplete) Descriptor() ([]byte, []int)
func (*Incomplete) GetDescription ¶
func (m *Incomplete) GetDescription() string
func (*Incomplete) GetName ¶
func (m *Incomplete) GetName() string
func (*Incomplete) GetPublicKey ¶
func (m *Incomplete) GetPublicKey() []byte
func (*Incomplete) GetServiceAccountGUID ¶
func (m *Incomplete) GetServiceAccountGUID() string
func (*Incomplete) ProtoMessage ¶
func (*Incomplete) ProtoMessage()
func (*Incomplete) Reset ¶
func (m *Incomplete) Reset()
func (*Incomplete) String ¶
func (m *Incomplete) String() string
func (*Incomplete) XXX_DiscardUnknown ¶
func (m *Incomplete) XXX_DiscardUnknown()
func (*Incomplete) XXX_Marshal ¶
func (m *Incomplete) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Incomplete) XXX_Merge ¶
func (m *Incomplete) XXX_Merge(src proto.Message)
func (*Incomplete) XXX_Size ¶
func (m *Incomplete) XXX_Size() int
func (*Incomplete) XXX_Unmarshal ¶
func (m *Incomplete) XXX_Unmarshal(b []byte) error
type ManagerClient ¶
type ManagerClient interface { Get(ctx context.Context, in *Identifier, opts ...grpc.CallOption) (*Complete, error) Create(ctx context.Context, in *Incomplete, opts ...grpc.CallOption) (*ClientKey, error) Update(ctx context.Context, in *Complete, opts ...grpc.CallOption) (*empty.Empty, error) Delete(ctx context.Context, in *Identifier, opts ...grpc.CallOption) (*empty.Empty, error) }
ManagerClient is the client API for Manager service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewManagerClient ¶
func NewManagerClient(cc *grpc.ClientConn) ManagerClient
type ManagerServer ¶
type ManagerServer interface { Get(context.Context, *Identifier) (*Complete, error) Create(context.Context, *Incomplete) (*ClientKey, error) Update(context.Context, *Complete) (*empty.Empty, error) Delete(context.Context, *Identifier) (*empty.Empty, error) }
ManagerServer is the server API for Manager service.
Click to show internal directories.
Click to hide internal directories.