Documentation
¶
Index ¶
- func RegisterINDIHubServer(s *grpc.Server, srv INDIHubServer)
- type INDIDriver
- func (*INDIDriver) Descriptor() ([]byte, []int)
- func (m *INDIDriver) GetBinary() string
- func (m *INDIDriver) GetCustom() bool
- func (m *INDIDriver) GetFamily() string
- func (m *INDIDriver) GetLabel() string
- func (m *INDIDriver) GetName() string
- func (m *INDIDriver) GetRole() string
- func (m *INDIDriver) GetVersion() string
- func (*INDIDriver) ProtoMessage()
- func (m *INDIDriver) Reset()
- func (m *INDIDriver) String() string
- func (m *INDIDriver) XXX_DiscardUnknown()
- func (m *INDIDriver) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *INDIDriver) XXX_Merge(src proto.Message)
- func (m *INDIDriver) XXX_Size() int
- func (m *INDIDriver) XXX_Unmarshal(b []byte) error
- type INDIHubClient
- type INDIHubHost
- func (*INDIHubHost) Descriptor() ([]byte, []int)
- func (m *INDIHubHost) GetAgentVersion() string
- func (m *INDIHubHost) GetArch() string
- func (m *INDIHubHost) GetDrivers() []*INDIDriver
- func (m *INDIHubHost) GetIsBroadcast() bool
- func (m *INDIHubHost) GetIsPHD2() bool
- func (m *INDIHubHost) GetIsRobotic() bool
- func (m *INDIHubHost) GetOs() string
- func (m *INDIHubHost) GetProfile() *INDIProfile
- func (m *INDIHubHost) GetSoloMode() bool
- func (m *INDIHubHost) GetToken() string
- func (*INDIHubHost) ProtoMessage()
- func (m *INDIHubHost) Reset()
- func (m *INDIHubHost) String() string
- func (m *INDIHubHost) XXX_DiscardUnknown()
- func (m *INDIHubHost) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *INDIHubHost) XXX_Merge(src proto.Message)
- func (m *INDIHubHost) XXX_Size() int
- func (m *INDIHubHost) XXX_Unmarshal(b []byte) error
- type INDIHubServer
- type INDIHub_INDIServerClient
- type INDIHub_INDIServerServer
- type INDIHub_PHD2ServerClient
- type INDIHub_PHD2ServerServer
- type INDIHub_SoloModeClient
- type INDIHub_SoloModeServer
- type INDIProfile
- func (*INDIProfile) Descriptor() ([]byte, []int)
- func (m *INDIProfile) GetAutoconnect() uint32
- func (m *INDIProfile) GetAutostart() uint32
- func (m *INDIProfile) GetId() uint32
- func (m *INDIProfile) GetName() string
- func (m *INDIProfile) GetPort() uint32
- func (*INDIProfile) ProtoMessage()
- func (m *INDIProfile) Reset()
- func (m *INDIProfile) String() string
- func (m *INDIProfile) XXX_DiscardUnknown()
- func (m *INDIProfile) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *INDIProfile) XXX_Merge(src proto.Message)
- func (m *INDIProfile) XXX_Size() int
- func (m *INDIProfile) XXX_Unmarshal(b []byte) error
- type RegisterInfo
- func (*RegisterInfo) Descriptor() ([]byte, []int)
- func (m *RegisterInfo) GetAgentVersion() string
- func (m *RegisterInfo) GetSessionID() uint64
- func (m *RegisterInfo) GetSessionIDPublic() string
- func (m *RegisterInfo) GetToken() string
- func (*RegisterInfo) ProtoMessage()
- func (m *RegisterInfo) Reset()
- func (m *RegisterInfo) String() string
- func (m *RegisterInfo) XXX_DiscardUnknown()
- func (m *RegisterInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RegisterInfo) XXX_Merge(src proto.Message)
- func (m *RegisterInfo) XXX_Size() int
- func (m *RegisterInfo) XXX_Unmarshal(b []byte) error
- type Request
- func (*Request) Descriptor() ([]byte, []int)
- func (m *Request) GetClosed() bool
- func (m *Request) GetConn() uint32
- func (m *Request) GetData() []byte
- func (*Request) ProtoMessage()
- func (m *Request) Reset()
- func (m *Request) String() string
- func (m *Request) XXX_DiscardUnknown()
- func (m *Request) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Request) XXX_Merge(src proto.Message)
- func (m *Request) XXX_Size() int
- func (m *Request) XXX_Unmarshal(b []byte) error
- type Response
- func (*Response) Descriptor() ([]byte, []int)
- func (m *Response) GetConn() uint32
- func (m *Response) GetData() []byte
- func (m *Response) GetSessionID() uint64
- func (m *Response) GetSessionToken() string
- func (*Response) ProtoMessage()
- func (m *Response) Reset()
- func (m *Response) String() string
- func (m *Response) XXX_DiscardUnknown()
- func (m *Response) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Response) XXX_Merge(src proto.Message)
- func (m *Response) XXX_Size() int
- func (m *Response) XXX_Unmarshal(b []byte) error
- type SoloSummary
- func (*SoloSummary) Descriptor() ([]byte, []int)
- func (m *SoloSummary) GetData() []byte
- func (m *SoloSummary) GetImagesNum() uint64
- func (*SoloSummary) ProtoMessage()
- func (m *SoloSummary) Reset()
- func (m *SoloSummary) String() string
- func (m *SoloSummary) XXX_DiscardUnknown()
- func (m *SoloSummary) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SoloSummary) XXX_Merge(src proto.Message)
- func (m *SoloSummary) XXX_Size() int
- func (m *SoloSummary) XXX_Unmarshal(b []byte) error
- type UnimplementedINDIHubServer
- func (*UnimplementedINDIHubServer) INDIServer(srv INDIHub_INDIServerServer) error
- func (*UnimplementedINDIHubServer) PHD2Server(srv INDIHub_PHD2ServerServer) error
- func (*UnimplementedINDIHubServer) RegisterHost(ctx context.Context, req *INDIHubHost) (*RegisterInfo, error)
- func (*UnimplementedINDIHubServer) SoloMode(srv INDIHub_SoloModeServer) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterINDIHubServer ¶
func RegisterINDIHubServer(s *grpc.Server, srv INDIHubServer)
Types ¶
type INDIDriver ¶
type INDIDriver struct { Binary string `protobuf:"bytes,1,opt,name=binary,proto3" json:"binary,omitempty"` Family string `protobuf:"bytes,2,opt,name=family,proto3" json:"family,omitempty"` Label string `protobuf:"bytes,3,opt,name=label,proto3" json:"label,omitempty"` Version string `protobuf:"bytes,4,opt,name=version,proto3" json:"version,omitempty"` Role string `protobuf:"bytes,5,opt,name=role,proto3" json:"role,omitempty"` Custom bool `protobuf:"varint,6,opt,name=custom,proto3" json:"custom,omitempty"` Name string `protobuf:"bytes,7,opt,name=name,proto3" json:"name,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*INDIDriver) Descriptor ¶
func (*INDIDriver) Descriptor() ([]byte, []int)
func (*INDIDriver) GetBinary ¶
func (m *INDIDriver) GetBinary() string
func (*INDIDriver) GetCustom ¶
func (m *INDIDriver) GetCustom() bool
func (*INDIDriver) GetFamily ¶
func (m *INDIDriver) GetFamily() string
func (*INDIDriver) GetLabel ¶
func (m *INDIDriver) GetLabel() string
func (*INDIDriver) GetName ¶
func (m *INDIDriver) GetName() string
func (*INDIDriver) GetRole ¶
func (m *INDIDriver) GetRole() string
func (*INDIDriver) GetVersion ¶
func (m *INDIDriver) GetVersion() string
func (*INDIDriver) ProtoMessage ¶
func (*INDIDriver) ProtoMessage()
func (*INDIDriver) Reset ¶
func (m *INDIDriver) Reset()
func (*INDIDriver) String ¶
func (m *INDIDriver) String() string
func (*INDIDriver) XXX_DiscardUnknown ¶
func (m *INDIDriver) XXX_DiscardUnknown()
func (*INDIDriver) XXX_Marshal ¶
func (m *INDIDriver) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*INDIDriver) XXX_Merge ¶
func (m *INDIDriver) XXX_Merge(src proto.Message)
func (*INDIDriver) XXX_Size ¶
func (m *INDIDriver) XXX_Size() int
func (*INDIDriver) XXX_Unmarshal ¶
func (m *INDIDriver) XXX_Unmarshal(b []byte) error
type INDIHubClient ¶
type INDIHubClient interface { RegisterHost(ctx context.Context, in *INDIHubHost, opts ...grpc.CallOption) (*RegisterInfo, error) INDIServer(ctx context.Context, opts ...grpc.CallOption) (INDIHub_INDIServerClient, error) PHD2Server(ctx context.Context, opts ...grpc.CallOption) (INDIHub_PHD2ServerClient, error) SoloMode(ctx context.Context, opts ...grpc.CallOption) (INDIHub_SoloModeClient, error) }
INDIHubClient is the client API for INDIHub service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewINDIHubClient ¶
func NewINDIHubClient(cc *grpc.ClientConn) INDIHubClient
type INDIHubHost ¶
type INDIHubHost struct { Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"` Profile *INDIProfile `protobuf:"bytes,2,opt,name=profile,proto3" json:"profile,omitempty"` Drivers []*INDIDriver `protobuf:"bytes,3,rep,name=drivers,proto3" json:"drivers,omitempty"` SoloMode bool `protobuf:"varint,4,opt,name=soloMode,proto3" json:"soloMode,omitempty"` IsPHD2 bool `protobuf:"varint,5,opt,name=isPHD2,proto3" json:"isPHD2,omitempty"` IsRobotic bool `protobuf:"varint,6,opt,name=isRobotic,proto3" json:"isRobotic,omitempty"` AgentVersion string `protobuf:"bytes,7,opt,name=agentVersion,proto3" json:"agentVersion,omitempty"` Os string `protobuf:"bytes,8,opt,name=os,proto3" json:"os,omitempty"` Arch string `protobuf:"bytes,9,opt,name=arch,proto3" json:"arch,omitempty"` IsBroadcast bool `protobuf:"varint,10,opt,name=isBroadcast,proto3" json:"isBroadcast,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*INDIHubHost) Descriptor ¶
func (*INDIHubHost) Descriptor() ([]byte, []int)
func (*INDIHubHost) GetAgentVersion ¶
func (m *INDIHubHost) GetAgentVersion() string
func (*INDIHubHost) GetArch ¶
func (m *INDIHubHost) GetArch() string
func (*INDIHubHost) GetDrivers ¶
func (m *INDIHubHost) GetDrivers() []*INDIDriver
func (*INDIHubHost) GetIsBroadcast ¶
func (m *INDIHubHost) GetIsBroadcast() bool
func (*INDIHubHost) GetIsPHD2 ¶
func (m *INDIHubHost) GetIsPHD2() bool
func (*INDIHubHost) GetIsRobotic ¶
func (m *INDIHubHost) GetIsRobotic() bool
func (*INDIHubHost) GetOs ¶
func (m *INDIHubHost) GetOs() string
func (*INDIHubHost) GetProfile ¶
func (m *INDIHubHost) GetProfile() *INDIProfile
func (*INDIHubHost) GetSoloMode ¶
func (m *INDIHubHost) GetSoloMode() bool
func (*INDIHubHost) GetToken ¶
func (m *INDIHubHost) GetToken() string
func (*INDIHubHost) ProtoMessage ¶
func (*INDIHubHost) ProtoMessage()
func (*INDIHubHost) Reset ¶
func (m *INDIHubHost) Reset()
func (*INDIHubHost) String ¶
func (m *INDIHubHost) String() string
func (*INDIHubHost) XXX_DiscardUnknown ¶
func (m *INDIHubHost) XXX_DiscardUnknown()
func (*INDIHubHost) XXX_Marshal ¶
func (m *INDIHubHost) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*INDIHubHost) XXX_Merge ¶
func (m *INDIHubHost) XXX_Merge(src proto.Message)
func (*INDIHubHost) XXX_Size ¶
func (m *INDIHubHost) XXX_Size() int
func (*INDIHubHost) XXX_Unmarshal ¶
func (m *INDIHubHost) XXX_Unmarshal(b []byte) error
type INDIHubServer ¶
type INDIHubServer interface { RegisterHost(context.Context, *INDIHubHost) (*RegisterInfo, error) INDIServer(INDIHub_INDIServerServer) error PHD2Server(INDIHub_PHD2ServerServer) error SoloMode(INDIHub_SoloModeServer) error }
INDIHubServer is the server API for INDIHub service.
type INDIHub_SoloModeClient ¶
type INDIHub_SoloModeClient interface { Send(*Response) error CloseAndRecv() (*SoloSummary, error) grpc.ClientStream }
type INDIHub_SoloModeServer ¶
type INDIHub_SoloModeServer interface { SendAndClose(*SoloSummary) error Recv() (*Response, error) grpc.ServerStream }
type INDIProfile ¶
type INDIProfile struct { Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Port uint32 `protobuf:"varint,3,opt,name=port,proto3" json:"port,omitempty"` Autostart uint32 `protobuf:"varint,4,opt,name=autostart,proto3" json:"autostart,omitempty"` Autoconnect uint32 `protobuf:"varint,5,opt,name=autoconnect,proto3" json:"autoconnect,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*INDIProfile) Descriptor ¶
func (*INDIProfile) Descriptor() ([]byte, []int)
func (*INDIProfile) GetAutoconnect ¶
func (m *INDIProfile) GetAutoconnect() uint32
func (*INDIProfile) GetAutostart ¶
func (m *INDIProfile) GetAutostart() uint32
func (*INDIProfile) GetId ¶
func (m *INDIProfile) GetId() uint32
func (*INDIProfile) GetName ¶
func (m *INDIProfile) GetName() string
func (*INDIProfile) GetPort ¶
func (m *INDIProfile) GetPort() uint32
func (*INDIProfile) ProtoMessage ¶
func (*INDIProfile) ProtoMessage()
func (*INDIProfile) Reset ¶
func (m *INDIProfile) Reset()
func (*INDIProfile) String ¶
func (m *INDIProfile) String() string
func (*INDIProfile) XXX_DiscardUnknown ¶
func (m *INDIProfile) XXX_DiscardUnknown()
func (*INDIProfile) XXX_Marshal ¶
func (m *INDIProfile) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*INDIProfile) XXX_Merge ¶
func (m *INDIProfile) XXX_Merge(src proto.Message)
func (*INDIProfile) XXX_Size ¶
func (m *INDIProfile) XXX_Size() int
func (*INDIProfile) XXX_Unmarshal ¶
func (m *INDIProfile) XXX_Unmarshal(b []byte) error
type RegisterInfo ¶
type RegisterInfo struct { Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"` SessionID uint64 `protobuf:"varint,2,opt,name=sessionID,proto3" json:"sessionID,omitempty"` SessionIDPublic string `protobuf:"bytes,3,opt,name=sessionIDPublic,proto3" json:"sessionIDPublic,omitempty"` AgentVersion string `protobuf:"bytes,4,opt,name=agentVersion,proto3" json:"agentVersion,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*RegisterInfo) Descriptor ¶
func (*RegisterInfo) Descriptor() ([]byte, []int)
func (*RegisterInfo) GetAgentVersion ¶
func (m *RegisterInfo) GetAgentVersion() string
func (*RegisterInfo) GetSessionID ¶
func (m *RegisterInfo) GetSessionID() uint64
func (*RegisterInfo) GetSessionIDPublic ¶
func (m *RegisterInfo) GetSessionIDPublic() string
func (*RegisterInfo) GetToken ¶
func (m *RegisterInfo) GetToken() string
func (*RegisterInfo) ProtoMessage ¶
func (*RegisterInfo) ProtoMessage()
func (*RegisterInfo) Reset ¶
func (m *RegisterInfo) Reset()
func (*RegisterInfo) String ¶
func (m *RegisterInfo) String() string
func (*RegisterInfo) XXX_DiscardUnknown ¶
func (m *RegisterInfo) XXX_DiscardUnknown()
func (*RegisterInfo) XXX_Marshal ¶
func (m *RegisterInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RegisterInfo) XXX_Merge ¶
func (m *RegisterInfo) XXX_Merge(src proto.Message)
func (*RegisterInfo) XXX_Size ¶
func (m *RegisterInfo) XXX_Size() int
func (*RegisterInfo) XXX_Unmarshal ¶
func (m *RegisterInfo) XXX_Unmarshal(b []byte) error
type Request ¶
type Request struct { Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` Conn uint32 `protobuf:"varint,2,opt,name=conn,proto3" json:"conn,omitempty"` Closed bool `protobuf:"varint,3,opt,name=closed,proto3" json:"closed,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Request) Descriptor ¶
func (*Request) ProtoMessage ¶
func (*Request) ProtoMessage()
func (*Request) XXX_DiscardUnknown ¶
func (m *Request) XXX_DiscardUnknown()
func (*Request) XXX_Marshal ¶
func (*Request) XXX_Unmarshal ¶
type Response ¶
type Response struct { Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` Conn uint32 `protobuf:"varint,2,opt,name=conn,proto3" json:"conn,omitempty"` SessionID uint64 `protobuf:"varint,3,opt,name=sessionID,proto3" json:"sessionID,omitempty"` SessionToken string `protobuf:"bytes,4,opt,name=sessionToken,proto3" json:"sessionToken,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Response) Descriptor ¶
func (*Response) GetSessionID ¶
func (*Response) GetSessionToken ¶
func (*Response) ProtoMessage ¶
func (*Response) ProtoMessage()
func (*Response) XXX_DiscardUnknown ¶
func (m *Response) XXX_DiscardUnknown()
func (*Response) XXX_Marshal ¶
func (*Response) XXX_Unmarshal ¶
type SoloSummary ¶
type SoloSummary struct { ImagesNum uint64 `protobuf:"varint,1,opt,name=imagesNum,proto3" json:"imagesNum,omitempty"` Data []byte `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*SoloSummary) Descriptor ¶
func (*SoloSummary) Descriptor() ([]byte, []int)
func (*SoloSummary) GetData ¶
func (m *SoloSummary) GetData() []byte
func (*SoloSummary) GetImagesNum ¶
func (m *SoloSummary) GetImagesNum() uint64
func (*SoloSummary) ProtoMessage ¶
func (*SoloSummary) ProtoMessage()
func (*SoloSummary) Reset ¶
func (m *SoloSummary) Reset()
func (*SoloSummary) String ¶
func (m *SoloSummary) String() string
func (*SoloSummary) XXX_DiscardUnknown ¶
func (m *SoloSummary) XXX_DiscardUnknown()
func (*SoloSummary) XXX_Marshal ¶
func (m *SoloSummary) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SoloSummary) XXX_Merge ¶
func (m *SoloSummary) XXX_Merge(src proto.Message)
func (*SoloSummary) XXX_Size ¶
func (m *SoloSummary) XXX_Size() int
func (*SoloSummary) XXX_Unmarshal ¶
func (m *SoloSummary) XXX_Unmarshal(b []byte) error
type UnimplementedINDIHubServer ¶
type UnimplementedINDIHubServer struct { }
UnimplementedINDIHubServer can be embedded to have forward compatible implementations.
func (*UnimplementedINDIHubServer) INDIServer ¶
func (*UnimplementedINDIHubServer) INDIServer(srv INDIHub_INDIServerServer) error
func (*UnimplementedINDIHubServer) PHD2Server ¶
func (*UnimplementedINDIHubServer) PHD2Server(srv INDIHub_PHD2ServerServer) error
func (*UnimplementedINDIHubServer) RegisterHost ¶
func (*UnimplementedINDIHubServer) RegisterHost(ctx context.Context, req *INDIHubHost) (*RegisterInfo, error)
func (*UnimplementedINDIHubServer) SoloMode ¶
func (*UnimplementedINDIHubServer) SoloMode(srv INDIHub_SoloModeServer) error
Click to show internal directories.
Click to hide internal directories.