Versions in this module Expand all Collapse all v0 v0.5.0 Jul 29, 2022 v0.4.0 Jan 17, 2022 Changes in this version + const APIFile + const APIVersion + const VersionCrc + func AllMessages() []api.Message + func HTTPHandler(rpc RPCService) http.Handler + type AddNodeNext struct + NextName string + NodeName string + func (*AddNodeNext) GetCrcString() string + func (*AddNodeNext) GetMessageName() string + func (*AddNodeNext) GetMessageType() api.MessageType + func (m *AddNodeNext) Marshal(b []byte) ([]byte, error) + func (m *AddNodeNext) Reset() + func (m *AddNodeNext) Size() (size int) + func (m *AddNodeNext) Unmarshal(b []byte) error + type AddNodeNextReply struct + NextIndex uint32 + Retval int32 + func (*AddNodeNextReply) GetCrcString() string + func (*AddNodeNextReply) GetMessageName() string + func (*AddNodeNextReply) GetMessageType() api.MessageType + func (m *AddNodeNextReply) Marshal(b []byte) ([]byte, error) + func (m *AddNodeNextReply) Reset() + func (m *AddNodeNextReply) Size() (size int) + func (m *AddNodeNextReply) Unmarshal(b []byte) error + type Cli struct + CmdInShmem uint64 + func (*Cli) GetCrcString() string + func (*Cli) GetMessageName() string + func (*Cli) GetMessageType() api.MessageType + func (m *Cli) Marshal(b []byte) ([]byte, error) + func (m *Cli) Reset() + func (m *Cli) Size() (size int) + func (m *Cli) Unmarshal(b []byte) error + type CliInband struct + Cmd string + func (*CliInband) GetCrcString() string + func (*CliInband) GetMessageName() string + func (*CliInband) GetMessageType() api.MessageType + func (m *CliInband) Marshal(b []byte) ([]byte, error) + func (m *CliInband) Reset() + func (m *CliInband) Size() (size int) + func (m *CliInband) Unmarshal(b []byte) error + type CliInbandReply struct + Reply string + Retval int32 + func (*CliInbandReply) GetCrcString() string + func (*CliInbandReply) GetMessageName() string + func (*CliInbandReply) GetMessageType() api.MessageType + func (m *CliInbandReply) Marshal(b []byte) ([]byte, error) + func (m *CliInbandReply) Reset() + func (m *CliInbandReply) Size() (size int) + func (m *CliInbandReply) Unmarshal(b []byte) error + type CliReply struct + ReplyInShmem uint64 + Retval int32 + func (*CliReply) GetCrcString() string + func (*CliReply) GetMessageName() string + func (*CliReply) GetMessageType() api.MessageType + func (m *CliReply) Marshal(b []byte) ([]byte, error) + func (m *CliReply) Reset() + func (m *CliReply) Size() (size int) + func (m *CliReply) Unmarshal(b []byte) error + type ControlPing struct + func (*ControlPing) GetCrcString() string + func (*ControlPing) GetMessageName() string + func (*ControlPing) GetMessageType() api.MessageType + func (m *ControlPing) Marshal(b []byte) ([]byte, error) + func (m *ControlPing) Reset() + func (m *ControlPing) Size() (size int) + func (m *ControlPing) Unmarshal(b []byte) error + type ControlPingReply struct + ClientIndex uint32 + Retval int32 + VpePID uint32 + func (*ControlPingReply) GetCrcString() string + func (*ControlPingReply) GetMessageName() string + func (*ControlPingReply) GetMessageType() api.MessageType + func (m *ControlPingReply) Marshal(b []byte) ([]byte, error) + func (m *ControlPingReply) Reset() + func (m *ControlPingReply) Size() (size int) + func (m *ControlPingReply) Unmarshal(b []byte) error + type GetF64EndianValue struct + F64One float64 + func (*GetF64EndianValue) GetCrcString() string + func (*GetF64EndianValue) GetMessageName() string + func (*GetF64EndianValue) GetMessageType() api.MessageType + func (m *GetF64EndianValue) Marshal(b []byte) ([]byte, error) + func (m *GetF64EndianValue) Reset() + func (m *GetF64EndianValue) Size() (size int) + func (m *GetF64EndianValue) Unmarshal(b []byte) error + type GetF64EndianValueReply struct + F64OneResult float64 + Retval uint32 + func (*GetF64EndianValueReply) GetCrcString() string + func (*GetF64EndianValueReply) GetMessageName() string + func (*GetF64EndianValueReply) GetMessageType() api.MessageType + func (m *GetF64EndianValueReply) Marshal(b []byte) ([]byte, error) + func (m *GetF64EndianValueReply) Reset() + func (m *GetF64EndianValueReply) Size() (size int) + func (m *GetF64EndianValueReply) Unmarshal(b []byte) error + type GetF64IncrementByOne struct + F64Value float64 + func (*GetF64IncrementByOne) GetCrcString() string + func (*GetF64IncrementByOne) GetMessageName() string + func (*GetF64IncrementByOne) GetMessageType() api.MessageType + func (m *GetF64IncrementByOne) Marshal(b []byte) ([]byte, error) + func (m *GetF64IncrementByOne) Reset() + func (m *GetF64IncrementByOne) Size() (size int) + func (m *GetF64IncrementByOne) Unmarshal(b []byte) error + type GetF64IncrementByOneReply struct + F64Value float64 + Retval uint32 + func (*GetF64IncrementByOneReply) GetCrcString() string + func (*GetF64IncrementByOneReply) GetMessageName() string + func (*GetF64IncrementByOneReply) GetMessageType() api.MessageType + func (m *GetF64IncrementByOneReply) Marshal(b []byte) ([]byte, error) + func (m *GetF64IncrementByOneReply) Reset() + func (m *GetF64IncrementByOneReply) Size() (size int) + func (m *GetF64IncrementByOneReply) Unmarshal(b []byte) error + type GetNextIndex struct + NextName string + NodeName string + func (*GetNextIndex) GetCrcString() string + func (*GetNextIndex) GetMessageName() string + func (*GetNextIndex) GetMessageType() api.MessageType + func (m *GetNextIndex) Marshal(b []byte) ([]byte, error) + func (m *GetNextIndex) Reset() + func (m *GetNextIndex) Size() (size int) + func (m *GetNextIndex) Unmarshal(b []byte) error + type GetNextIndexReply struct + NextIndex uint32 + Retval int32 + func (*GetNextIndexReply) GetCrcString() string + func (*GetNextIndexReply) GetMessageName() string + func (*GetNextIndexReply) GetMessageType() api.MessageType + func (m *GetNextIndexReply) Marshal(b []byte) ([]byte, error) + func (m *GetNextIndexReply) Reset() + func (m *GetNextIndexReply) Size() (size int) + func (m *GetNextIndexReply) Unmarshal(b []byte) error + type GetNodeGraph struct + func (*GetNodeGraph) GetCrcString() string + func (*GetNodeGraph) GetMessageName() string + func (*GetNodeGraph) GetMessageType() api.MessageType + func (m *GetNodeGraph) Marshal(b []byte) ([]byte, error) + func (m *GetNodeGraph) Reset() + func (m *GetNodeGraph) Size() (size int) + func (m *GetNodeGraph) Unmarshal(b []byte) error + type GetNodeGraphReply struct + ReplyInShmem uint64 + Retval int32 + func (*GetNodeGraphReply) GetCrcString() string + func (*GetNodeGraphReply) GetMessageName() string + func (*GetNodeGraphReply) GetMessageType() api.MessageType + func (m *GetNodeGraphReply) Marshal(b []byte) ([]byte, error) + func (m *GetNodeGraphReply) Reset() + func (m *GetNodeGraphReply) Size() (size int) + func (m *GetNodeGraphReply) Unmarshal(b []byte) error + type GetNodeIndex struct + NodeName string + func (*GetNodeIndex) GetCrcString() string + func (*GetNodeIndex) GetMessageName() string + func (*GetNodeIndex) GetMessageType() api.MessageType + func (m *GetNodeIndex) Marshal(b []byte) ([]byte, error) + func (m *GetNodeIndex) Reset() + func (m *GetNodeIndex) Size() (size int) + func (m *GetNodeIndex) Unmarshal(b []byte) error + type GetNodeIndexReply struct + NodeIndex uint32 + Retval int32 + func (*GetNodeIndexReply) GetCrcString() string + func (*GetNodeIndexReply) GetMessageName() string + func (*GetNodeIndexReply) GetMessageType() api.MessageType + func (m *GetNodeIndexReply) Marshal(b []byte) ([]byte, error) + func (m *GetNodeIndexReply) Reset() + func (m *GetNodeIndexReply) Size() (size int) + func (m *GetNodeIndexReply) Unmarshal(b []byte) error + type LogDetails struct + Level vpe_types.LogLevel + Message string + MsgClass string + Timestamp vpe_types.Timestamp + func (*LogDetails) GetCrcString() string + func (*LogDetails) GetMessageName() string + func (*LogDetails) GetMessageType() api.MessageType + func (m *LogDetails) Marshal(b []byte) ([]byte, error) + func (m *LogDetails) Reset() + func (m *LogDetails) Size() (size int) + func (m *LogDetails) Unmarshal(b []byte) error + type LogDump struct + StartTimestamp vpe_types.Timestamp + func (*LogDump) GetCrcString() string + func (*LogDump) GetMessageName() string + func (*LogDump) GetMessageType() api.MessageType + func (m *LogDump) Marshal(b []byte) ([]byte, error) + func (m *LogDump) Reset() + func (m *LogDump) Size() (size int) + func (m *LogDump) Unmarshal(b []byte) error + type RPCService interface + AddNodeNext func(ctx context.Context, in *AddNodeNext) (*AddNodeNextReply, error) + Cli func(ctx context.Context, in *Cli) (*CliReply, error) + CliInband func(ctx context.Context, in *CliInband) (*CliInbandReply, error) + ControlPing func(ctx context.Context, in *ControlPing) (*ControlPingReply, error) + GetF64EndianValue func(ctx context.Context, in *GetF64EndianValue) (*GetF64EndianValueReply, error) + GetF64IncrementByOne func(ctx context.Context, in *GetF64IncrementByOne) (*GetF64IncrementByOneReply, error) + GetNextIndex func(ctx context.Context, in *GetNextIndex) (*GetNextIndexReply, error) + GetNodeGraph func(ctx context.Context, in *GetNodeGraph) (*GetNodeGraphReply, error) + GetNodeIndex func(ctx context.Context, in *GetNodeIndex) (*GetNodeIndexReply, error) + LogDump func(ctx context.Context, in *LogDump) (RPCService_LogDumpClient, error) + ShowThreads func(ctx context.Context, in *ShowThreads) (*ShowThreadsReply, error) + ShowVersion func(ctx context.Context, in *ShowVersion) (*ShowVersionReply, error) + ShowVpeSystemTime func(ctx context.Context, in *ShowVpeSystemTime) (*ShowVpeSystemTimeReply, error) + func NewServiceClient(conn api.Connection) RPCService + type RPCService_LogDumpClient interface + Recv func() (*LogDetails, error) + type ShowThreads struct + func (*ShowThreads) GetCrcString() string + func (*ShowThreads) GetMessageName() string + func (*ShowThreads) GetMessageType() api.MessageType + func (m *ShowThreads) Marshal(b []byte) ([]byte, error) + func (m *ShowThreads) Reset() + func (m *ShowThreads) Size() (size int) + func (m *ShowThreads) Unmarshal(b []byte) error + type ShowThreadsReply struct + Count uint32 + Retval int32 + ThreadData []ThreadData + func (*ShowThreadsReply) GetCrcString() string + func (*ShowThreadsReply) GetMessageName() string + func (*ShowThreadsReply) GetMessageType() api.MessageType + func (m *ShowThreadsReply) Marshal(b []byte) ([]byte, error) + func (m *ShowThreadsReply) Reset() + func (m *ShowThreadsReply) Size() (size int) + func (m *ShowThreadsReply) Unmarshal(b []byte) error + type ShowVersion struct + func (*ShowVersion) GetCrcString() string + func (*ShowVersion) GetMessageName() string + func (*ShowVersion) GetMessageType() api.MessageType + func (m *ShowVersion) Marshal(b []byte) ([]byte, error) + func (m *ShowVersion) Reset() + func (m *ShowVersion) Size() (size int) + func (m *ShowVersion) Unmarshal(b []byte) error + type ShowVersionReply struct + BuildDate string + BuildDirectory string + Program string + Retval int32 + Version string + func (*ShowVersionReply) GetCrcString() string + func (*ShowVersionReply) GetMessageName() string + func (*ShowVersionReply) GetMessageType() api.MessageType + func (m *ShowVersionReply) Marshal(b []byte) ([]byte, error) + func (m *ShowVersionReply) Reset() + func (m *ShowVersionReply) Size() (size int) + func (m *ShowVersionReply) Unmarshal(b []byte) error + type ShowVpeSystemTime struct + func (*ShowVpeSystemTime) GetCrcString() string + func (*ShowVpeSystemTime) GetMessageName() string + func (*ShowVpeSystemTime) GetMessageType() api.MessageType + func (m *ShowVpeSystemTime) Marshal(b []byte) ([]byte, error) + func (m *ShowVpeSystemTime) Reset() + func (m *ShowVpeSystemTime) Size() (size int) + func (m *ShowVpeSystemTime) Unmarshal(b []byte) error + type ShowVpeSystemTimeReply struct + Retval int32 + VpeSystemTime vpe_types.Timestamp + func (*ShowVpeSystemTimeReply) GetCrcString() string + func (*ShowVpeSystemTimeReply) GetMessageName() string + func (*ShowVpeSystemTimeReply) GetMessageType() api.MessageType + func (m *ShowVpeSystemTimeReply) Marshal(b []byte) ([]byte, error) + func (m *ShowVpeSystemTimeReply) Reset() + func (m *ShowVpeSystemTimeReply) Size() (size int) + func (m *ShowVpeSystemTimeReply) Unmarshal(b []byte) error + type ThreadData struct + CPUID uint32 + CPUSocket uint32 + Core uint32 + ID uint32 + Name string + PID uint32 + Type string