Versions in this module Expand all Collapse all v1 v1.0.2 Feb 22, 2024 v1.0.1 Feb 22, 2024 Changes in this version + var HostState_name = map[int32]string + var HostState_value = map[string]int32 + func RegisterMocHostAgentServer(s *grpc.Server, srv MocHostAgentServer) + type Host struct + AuthorizerPort int32 + Certificate string + Id string + Name string + Port int32 + RunningState HostState + Status *common.Status + Tags *common.Tags + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*Host) Descriptor() ([]byte, []int) + func (*Host) ProtoMessage() + func (m *Host) GetAuthorizerPort() int32 + func (m *Host) GetCertificate() string + func (m *Host) GetId() string + func (m *Host) GetName() string + func (m *Host) GetPort() int32 + func (m *Host) GetRunningState() HostState + func (m *Host) GetStatus() *common.Status + func (m *Host) GetTags() *common.Tags + func (m *Host) Reset() + func (m *Host) String() string + func (m *Host) XXX_DiscardUnknown() + func (m *Host) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *Host) XXX_Merge(src proto.Message) + func (m *Host) XXX_Size() int + func (m *Host) XXX_Unmarshal(b []byte) error + type HostRequest struct + Host *Host + OperationType common.Operation + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*HostRequest) Descriptor() ([]byte, []int) + func (*HostRequest) ProtoMessage() + func (m *HostRequest) GetHost() *Host + func (m *HostRequest) GetOperationType() common.Operation + func (m *HostRequest) Reset() + func (m *HostRequest) String() string + func (m *HostRequest) XXX_DiscardUnknown() + func (m *HostRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *HostRequest) XXX_Merge(src proto.Message) + func (m *HostRequest) XXX_Size() int + func (m *HostRequest) XXX_Unmarshal(b []byte) error + type HostResponse struct + Error string + Host *Host + IntermediateCACertificate string + Result *wrappers.BoolValue + RootCACertificate string + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*HostResponse) Descriptor() ([]byte, []int) + func (*HostResponse) ProtoMessage() + func (m *HostResponse) GetError() string + func (m *HostResponse) GetHost() *Host + func (m *HostResponse) GetIntermediateCACertificate() string + func (m *HostResponse) GetResult() *wrappers.BoolValue + func (m *HostResponse) GetRootCACertificate() string + func (m *HostResponse) Reset() + func (m *HostResponse) String() string + func (m *HostResponse) XXX_DiscardUnknown() + func (m *HostResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *HostResponse) XXX_Merge(src proto.Message) + func (m *HostResponse) XXX_Size() int + func (m *HostResponse) XXX_Unmarshal(b []byte) error + type HostState int32 + const HostState_Active + const HostState_Inactive + const HostState_Poweroff + const HostState_Unknown + func (HostState) EnumDescriptor() ([]byte, []int) + func (x HostState) String() string + type MocHostAgentClient interface + Invoke func(ctx context.Context, in *HostRequest, opts ...grpc.CallOption) (*HostResponse, error) + func NewMocHostAgentClient(cc *grpc.ClientConn) MocHostAgentClient + type MocHostAgentServer interface + Invoke func(context.Context, *HostRequest) (*HostResponse, error) + type UnimplementedMocHostAgentServer struct + func (*UnimplementedMocHostAgentServer) Invoke(ctx context.Context, req *HostRequest) (*HostResponse, error)