Documentation ¶
Index ¶
- func RegisterQueryTargetServer(s *grpc.Server, srv QueryTargetServer)
- type GetTargetsRequest
- func (*GetTargetsRequest) Descriptor() ([]byte, []int)
- func (m *GetTargetsRequest) GetNodeKey() string
- func (*GetTargetsRequest) ProtoMessage()
- func (m *GetTargetsRequest) Reset()
- func (m *GetTargetsRequest) String() string
- func (m *GetTargetsRequest) XXX_DiscardUnknown()
- func (m *GetTargetsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetTargetsRequest) XXX_Merge(src proto.Message)
- func (m *GetTargetsRequest) XXX_Size() int
- func (m *GetTargetsRequest) XXX_Unmarshal(b []byte) error
- type GetTargetsResponse
- func (*GetTargetsResponse) Descriptor() ([]byte, []int)
- func (m *GetTargetsResponse) GetTargets() []*Target
- func (*GetTargetsResponse) ProtoMessage()
- func (m *GetTargetsResponse) Reset()
- func (m *GetTargetsResponse) String() string
- func (m *GetTargetsResponse) XXX_DiscardUnknown()
- func (m *GetTargetsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetTargetsResponse) XXX_Merge(src proto.Message)
- func (m *GetTargetsResponse) XXX_Size() int
- func (m *GetTargetsResponse) XXX_Unmarshal(b []byte) error
- type QueryTargetClient
- type QueryTargetServer
- type Target
- func (*Target) Descriptor() ([]byte, []int)
- func (m *Target) GetId() string
- func (*Target) ProtoMessage()
- func (m *Target) Reset()
- func (m *Target) String() string
- func (m *Target) XXX_DiscardUnknown()
- func (m *Target) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Target) XXX_Merge(src proto.Message)
- func (m *Target) XXX_Size() int
- func (m *Target) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterQueryTargetServer ¶
func RegisterQueryTargetServer(s *grpc.Server, srv QueryTargetServer)
Types ¶
type GetTargetsRequest ¶
type GetTargetsRequest struct { NodeKey string `protobuf:"bytes,1,opt,name=node_key,json=nodeKey,proto3" json:"node_key,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetTargetsRequest) Descriptor ¶
func (*GetTargetsRequest) Descriptor() ([]byte, []int)
func (*GetTargetsRequest) GetNodeKey ¶
func (m *GetTargetsRequest) GetNodeKey() string
func (*GetTargetsRequest) ProtoMessage ¶
func (*GetTargetsRequest) ProtoMessage()
func (*GetTargetsRequest) Reset ¶
func (m *GetTargetsRequest) Reset()
func (*GetTargetsRequest) String ¶
func (m *GetTargetsRequest) String() string
func (*GetTargetsRequest) XXX_DiscardUnknown ¶
func (m *GetTargetsRequest) XXX_DiscardUnknown()
func (*GetTargetsRequest) XXX_Marshal ¶
func (m *GetTargetsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetTargetsRequest) XXX_Merge ¶
func (m *GetTargetsRequest) XXX_Merge(src proto.Message)
func (*GetTargetsRequest) XXX_Size ¶
func (m *GetTargetsRequest) XXX_Size() int
func (*GetTargetsRequest) XXX_Unmarshal ¶
func (m *GetTargetsRequest) XXX_Unmarshal(b []byte) error
type GetTargetsResponse ¶
type GetTargetsResponse struct { Targets []*Target `protobuf:"bytes,1,rep,name=targets,proto3" json:"targets,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetTargetsResponse) Descriptor ¶
func (*GetTargetsResponse) Descriptor() ([]byte, []int)
func (*GetTargetsResponse) GetTargets ¶
func (m *GetTargetsResponse) GetTargets() []*Target
func (*GetTargetsResponse) ProtoMessage ¶
func (*GetTargetsResponse) ProtoMessage()
func (*GetTargetsResponse) Reset ¶
func (m *GetTargetsResponse) Reset()
func (*GetTargetsResponse) String ¶
func (m *GetTargetsResponse) String() string
func (*GetTargetsResponse) XXX_DiscardUnknown ¶
func (m *GetTargetsResponse) XXX_DiscardUnknown()
func (*GetTargetsResponse) XXX_Marshal ¶
func (m *GetTargetsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetTargetsResponse) XXX_Merge ¶
func (m *GetTargetsResponse) XXX_Merge(src proto.Message)
func (*GetTargetsResponse) XXX_Size ¶
func (m *GetTargetsResponse) XXX_Size() int
func (*GetTargetsResponse) XXX_Unmarshal ¶
func (m *GetTargetsResponse) XXX_Unmarshal(b []byte) error
type QueryTargetClient ¶
type QueryTargetClient interface {
GetTargets(ctx context.Context, in *GetTargetsRequest, opts ...grpc.CallOption) (*GetTargetsResponse, error)
}
QueryTargetClient is the client API for QueryTarget service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewQueryTargetClient ¶
func NewQueryTargetClient(cc *grpc.ClientConn) QueryTargetClient
type QueryTargetServer ¶
type QueryTargetServer interface {
GetTargets(context.Context, *GetTargetsRequest) (*GetTargetsResponse, error)
}
QueryTargetServer is the server API for QueryTarget service.
type Target ¶
type Target struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Target) Descriptor ¶
func (*Target) ProtoMessage ¶
func (*Target) ProtoMessage()
func (*Target) XXX_DiscardUnknown ¶
func (m *Target) XXX_DiscardUnknown()
func (*Target) XXX_Marshal ¶
func (*Target) XXX_Unmarshal ¶
Click to show internal directories.
Click to hide internal directories.