Versions in this module Expand all Collapse all v0 v0.8.0 Jul 23, 2020retracted Changes in this version + func RegisterAgentHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error + func RegisterAgentHandlerClient(ctx context.Context, mux *runtime.ServeMux, client AgentClient) error + func RegisterAgentHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error) + func RegisterAgentHandlerServer(ctx context.Context, mux *runtime.ServeMux, server AgentServer) error + func RegisterAgentServer(s *grpc.Server, srv AgentServer) + type AgentClient interface + GetHostname func(ctx context.Context, in *HostnameRequest, opts ...grpc.CallOption) (*HostnameReply, error) + func NewAgentClient(cc *grpc.ClientConn) AgentClient + type AgentServer interface + GetHostname func(context.Context, *HostnameRequest) (*HostnameReply, error) + type HostnameReply struct + Hostname string + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*HostnameReply) Descriptor() ([]byte, []int) + func (*HostnameReply) ProtoMessage() + func (m *HostnameReply) GetHostname() string + func (m *HostnameReply) Reset() + func (m *HostnameReply) String() string + func (m *HostnameReply) XXX_DiscardUnknown() + func (m *HostnameReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *HostnameReply) XXX_Merge(src proto.Message) + func (m *HostnameReply) XXX_Size() int + func (m *HostnameReply) XXX_Unmarshal(b []byte) error + type HostnameRequest struct + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*HostnameRequest) Descriptor() ([]byte, []int) + func (*HostnameRequest) ProtoMessage() + func (m *HostnameRequest) Reset() + func (m *HostnameRequest) String() string + func (m *HostnameRequest) XXX_DiscardUnknown() + func (m *HostnameRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *HostnameRequest) XXX_Merge(src proto.Message) + func (m *HostnameRequest) XXX_Size() int + func (m *HostnameRequest) XXX_Unmarshal(b []byte) error + type UnimplementedAgentServer struct + func (*UnimplementedAgentServer) GetHostname(ctx context.Context, req *HostnameRequest) (*HostnameReply, error)