querytarget

package
v0.11.22 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 27, 2021 License: MIT Imports: 5 Imported by: 0

Documentation

Index

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) Descriptor() ([]byte, []int)

func (*Target) GetId

func (m *Target) GetId() string

func (*Target) ProtoMessage

func (*Target) ProtoMessage()

func (*Target) Reset

func (m *Target) Reset()

func (*Target) String

func (m *Target) String() string

func (*Target) XXX_DiscardUnknown

func (m *Target) XXX_DiscardUnknown()

func (*Target) XXX_Marshal

func (m *Target) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Target) XXX_Merge

func (m *Target) XXX_Merge(src proto.Message)

func (*Target) XXX_Size

func (m *Target) XXX_Size() int

func (*Target) XXX_Unmarshal

func (m *Target) XXX_Unmarshal(b []byte) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL