vpe

package
v3.5.0-alpha Latest Latest
Warning

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

Go to latest
Published: Jul 18, 2022 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package vpe contains generated bindings for API file vpe.api.

Contents:

 1 struct
26 messages

Index

Constants

View Source
const (
	APIFile    = "vpe"
	APIVersion = "1.6.1"
	VersionCrc = 0x40364e00
)

Variables

This section is empty.

Functions

func AllMessages

func AllMessages() []api.Message

Messages returns list of all messages in this module.

Types

type AddNodeNext

type AddNodeNext struct {
	NodeName string `binapi:"string[64],name=node_name" json:"node_name,omitempty"`
	NextName string `binapi:"string[64],name=next_name" json:"next_name,omitempty"`
}

AddNodeNext defines message 'add_node_next'.

func (*AddNodeNext) GetCrcString

func (*AddNodeNext) GetCrcString() string

func (*AddNodeNext) GetMessageName

func (*AddNodeNext) GetMessageName() string

func (*AddNodeNext) GetMessageType

func (*AddNodeNext) GetMessageType() api.MessageType

func (*AddNodeNext) Marshal

func (m *AddNodeNext) Marshal(b []byte) ([]byte, error)

func (*AddNodeNext) Reset

func (m *AddNodeNext) Reset()

func (*AddNodeNext) Size

func (m *AddNodeNext) Size() (size int)

func (*AddNodeNext) Unmarshal

func (m *AddNodeNext) Unmarshal(b []byte) error

type AddNodeNextReply

type AddNodeNextReply struct {
	Retval    int32  `binapi:"i32,name=retval" json:"retval,omitempty"`
	NextIndex uint32 `binapi:"u32,name=next_index" json:"next_index,omitempty"`
}

AddNodeNextReply defines message 'add_node_next_reply'.

func (*AddNodeNextReply) GetCrcString

func (*AddNodeNextReply) GetCrcString() string

func (*AddNodeNextReply) GetMessageName

func (*AddNodeNextReply) GetMessageName() string

func (*AddNodeNextReply) GetMessageType

func (*AddNodeNextReply) GetMessageType() api.MessageType

func (*AddNodeNextReply) Marshal

func (m *AddNodeNextReply) Marshal(b []byte) ([]byte, error)

func (*AddNodeNextReply) Reset

func (m *AddNodeNextReply) Reset()

func (*AddNodeNextReply) Size

func (m *AddNodeNextReply) Size() (size int)

func (*AddNodeNextReply) Unmarshal

func (m *AddNodeNextReply) Unmarshal(b []byte) error

type Cli

type Cli struct {
	CmdInShmem uint64 `binapi:"u64,name=cmd_in_shmem" json:"cmd_in_shmem,omitempty"`
}

Cli defines message 'cli'.

func (*Cli) GetCrcString

func (*Cli) GetCrcString() string

func (*Cli) GetMessageName

func (*Cli) GetMessageName() string

func (*Cli) GetMessageType

func (*Cli) GetMessageType() api.MessageType

func (*Cli) Marshal

func (m *Cli) Marshal(b []byte) ([]byte, error)

func (*Cli) Reset

func (m *Cli) Reset()

func (*Cli) Size

func (m *Cli) Size() (size int)

func (*Cli) Unmarshal

func (m *Cli) Unmarshal(b []byte) error

type CliInband

type CliInband struct {
	Cmd string `binapi:"string[],name=cmd" json:"cmd,omitempty"`
}

CliInband defines message 'cli_inband'.

func (*CliInband) GetCrcString

func (*CliInband) GetCrcString() string

func (*CliInband) GetMessageName

func (*CliInband) GetMessageName() string

func (*CliInband) GetMessageType

func (*CliInband) GetMessageType() api.MessageType

func (*CliInband) Marshal

func (m *CliInband) Marshal(b []byte) ([]byte, error)

func (*CliInband) Reset

func (m *CliInband) Reset()

func (*CliInband) Size

func (m *CliInband) Size() (size int)

func (*CliInband) Unmarshal

func (m *CliInband) Unmarshal(b []byte) error

type CliInbandReply

type CliInbandReply struct {
	Retval int32  `binapi:"i32,name=retval" json:"retval,omitempty"`
	Reply  string `binapi:"string[],name=reply" json:"reply,omitempty"`
}

CliInbandReply defines message 'cli_inband_reply'.

func (*CliInbandReply) GetCrcString

func (*CliInbandReply) GetCrcString() string

func (*CliInbandReply) GetMessageName

func (*CliInbandReply) GetMessageName() string

func (*CliInbandReply) GetMessageType

func (*CliInbandReply) GetMessageType() api.MessageType

func (*CliInbandReply) Marshal

func (m *CliInbandReply) Marshal(b []byte) ([]byte, error)

func (*CliInbandReply) Reset

func (m *CliInbandReply) Reset()

func (*CliInbandReply) Size

func (m *CliInbandReply) Size() (size int)

func (*CliInbandReply) Unmarshal

func (m *CliInbandReply) Unmarshal(b []byte) error

type CliReply

type CliReply struct {
	Retval       int32  `binapi:"i32,name=retval" json:"retval,omitempty"`
	ReplyInShmem uint64 `binapi:"u64,name=reply_in_shmem" json:"reply_in_shmem,omitempty"`
}

CliReply defines message 'cli_reply'.

func (*CliReply) GetCrcString

func (*CliReply) GetCrcString() string

func (*CliReply) GetMessageName

func (*CliReply) GetMessageName() string

func (*CliReply) GetMessageType

func (*CliReply) GetMessageType() api.MessageType

func (*CliReply) Marshal

func (m *CliReply) Marshal(b []byte) ([]byte, error)

func (*CliReply) Reset

func (m *CliReply) Reset()

func (*CliReply) Size

func (m *CliReply) Size() (size int)

func (*CliReply) Unmarshal

func (m *CliReply) Unmarshal(b []byte) error

type ControlPing

type ControlPing struct{}

ControlPing defines message 'control_ping'.

func (*ControlPing) GetCrcString

func (*ControlPing) GetCrcString() string

func (*ControlPing) GetMessageName

func (*ControlPing) GetMessageName() string

func (*ControlPing) GetMessageType

func (*ControlPing) GetMessageType() api.MessageType

func (*ControlPing) Marshal

func (m *ControlPing) Marshal(b []byte) ([]byte, error)

func (*ControlPing) Reset

func (m *ControlPing) Reset()

func (*ControlPing) Size

func (m *ControlPing) Size() (size int)

func (*ControlPing) Unmarshal

func (m *ControlPing) Unmarshal(b []byte) error

type ControlPingReply

type ControlPingReply struct {
	Retval      int32  `binapi:"i32,name=retval" json:"retval,omitempty"`
	ClientIndex uint32 `binapi:"u32,name=client_index" json:"client_index,omitempty"`
	VpePID      uint32 `binapi:"u32,name=vpe_pid" json:"vpe_pid,omitempty"`
}

ControlPingReply defines message 'control_ping_reply'.

func (*ControlPingReply) GetCrcString

func (*ControlPingReply) GetCrcString() string

func (*ControlPingReply) GetMessageName

func (*ControlPingReply) GetMessageName() string

func (*ControlPingReply) GetMessageType

func (*ControlPingReply) GetMessageType() api.MessageType

func (*ControlPingReply) Marshal

func (m *ControlPingReply) Marshal(b []byte) ([]byte, error)

func (*ControlPingReply) Reset

func (m *ControlPingReply) Reset()

func (*ControlPingReply) Size

func (m *ControlPingReply) Size() (size int)

func (*ControlPingReply) Unmarshal

func (m *ControlPingReply) Unmarshal(b []byte) error

type GetF64EndianValue

type GetF64EndianValue struct {
	F64One float64 `binapi:"f64,name=f64_one,default=1" json:"f64_one,omitempty"`
}

GetF64EndianValue defines message 'get_f64_endian_value'.

func (*GetF64EndianValue) GetCrcString

func (*GetF64EndianValue) GetCrcString() string

func (*GetF64EndianValue) GetMessageName

func (*GetF64EndianValue) GetMessageName() string

func (*GetF64EndianValue) GetMessageType

func (*GetF64EndianValue) GetMessageType() api.MessageType

func (*GetF64EndianValue) Marshal

func (m *GetF64EndianValue) Marshal(b []byte) ([]byte, error)

func (*GetF64EndianValue) Reset

func (m *GetF64EndianValue) Reset()

func (*GetF64EndianValue) Size

func (m *GetF64EndianValue) Size() (size int)

func (*GetF64EndianValue) Unmarshal

func (m *GetF64EndianValue) Unmarshal(b []byte) error

type GetF64EndianValueReply

type GetF64EndianValueReply struct {
	Retval       uint32  `binapi:"u32,name=retval" json:"retval,omitempty"`
	F64OneResult float64 `binapi:"f64,name=f64_one_result" json:"f64_one_result,omitempty"`
}

GetF64EndianValueReply defines message 'get_f64_endian_value_reply'.

func (*GetF64EndianValueReply) GetCrcString

func (*GetF64EndianValueReply) GetCrcString() string

func (*GetF64EndianValueReply) GetMessageName

func (*GetF64EndianValueReply) GetMessageName() string

func (*GetF64EndianValueReply) GetMessageType

func (*GetF64EndianValueReply) GetMessageType() api.MessageType

func (*GetF64EndianValueReply) Marshal

func (m *GetF64EndianValueReply) Marshal(b []byte) ([]byte, error)

func (*GetF64EndianValueReply) Reset

func (m *GetF64EndianValueReply) Reset()

func (*GetF64EndianValueReply) Size

func (m *GetF64EndianValueReply) Size() (size int)

func (*GetF64EndianValueReply) Unmarshal

func (m *GetF64EndianValueReply) Unmarshal(b []byte) error

type GetF64IncrementByOne

type GetF64IncrementByOne struct {
	F64Value float64 `binapi:"f64,name=f64_value,default=1" json:"f64_value,omitempty"`
}

GetF64IncrementByOne defines message 'get_f64_increment_by_one'.

func (*GetF64IncrementByOne) GetCrcString

func (*GetF64IncrementByOne) GetCrcString() string

func (*GetF64IncrementByOne) GetMessageName

func (*GetF64IncrementByOne) GetMessageName() string

func (*GetF64IncrementByOne) GetMessageType

func (*GetF64IncrementByOne) GetMessageType() api.MessageType

func (*GetF64IncrementByOne) Marshal

func (m *GetF64IncrementByOne) Marshal(b []byte) ([]byte, error)

func (*GetF64IncrementByOne) Reset

func (m *GetF64IncrementByOne) Reset()

func (*GetF64IncrementByOne) Size

func (m *GetF64IncrementByOne) Size() (size int)

func (*GetF64IncrementByOne) Unmarshal

func (m *GetF64IncrementByOne) Unmarshal(b []byte) error

type GetF64IncrementByOneReply

type GetF64IncrementByOneReply struct {
	Retval   uint32  `binapi:"u32,name=retval" json:"retval,omitempty"`
	F64Value float64 `binapi:"f64,name=f64_value" json:"f64_value,omitempty"`
}

GetF64IncrementByOneReply defines message 'get_f64_increment_by_one_reply'.

func (*GetF64IncrementByOneReply) GetCrcString

func (*GetF64IncrementByOneReply) GetCrcString() string

func (*GetF64IncrementByOneReply) GetMessageName

func (*GetF64IncrementByOneReply) GetMessageName() string

func (*GetF64IncrementByOneReply) GetMessageType

func (*GetF64IncrementByOneReply) GetMessageType() api.MessageType

func (*GetF64IncrementByOneReply) Marshal

func (m *GetF64IncrementByOneReply) Marshal(b []byte) ([]byte, error)

func (*GetF64IncrementByOneReply) Reset

func (m *GetF64IncrementByOneReply) Reset()

func (*GetF64IncrementByOneReply) Size

func (m *GetF64IncrementByOneReply) Size() (size int)

func (*GetF64IncrementByOneReply) Unmarshal

func (m *GetF64IncrementByOneReply) Unmarshal(b []byte) error

type GetNextIndex

type GetNextIndex struct {
	NodeName string `binapi:"string[64],name=node_name" json:"node_name,omitempty"`
	NextName string `binapi:"string[64],name=next_name" json:"next_name,omitempty"`
}

GetNextIndex defines message 'get_next_index'.

func (*GetNextIndex) GetCrcString

func (*GetNextIndex) GetCrcString() string

func (*GetNextIndex) GetMessageName

func (*GetNextIndex) GetMessageName() string

func (*GetNextIndex) GetMessageType

func (*GetNextIndex) GetMessageType() api.MessageType

func (*GetNextIndex) Marshal

func (m *GetNextIndex) Marshal(b []byte) ([]byte, error)

func (*GetNextIndex) Reset

func (m *GetNextIndex) Reset()

func (*GetNextIndex) Size

func (m *GetNextIndex) Size() (size int)

func (*GetNextIndex) Unmarshal

func (m *GetNextIndex) Unmarshal(b []byte) error

type GetNextIndexReply

type GetNextIndexReply struct {
	Retval    int32  `binapi:"i32,name=retval" json:"retval,omitempty"`
	NextIndex uint32 `binapi:"u32,name=next_index" json:"next_index,omitempty"`
}

GetNextIndexReply defines message 'get_next_index_reply'.

func (*GetNextIndexReply) GetCrcString

func (*GetNextIndexReply) GetCrcString() string

func (*GetNextIndexReply) GetMessageName

func (*GetNextIndexReply) GetMessageName() string

func (*GetNextIndexReply) GetMessageType

func (*GetNextIndexReply) GetMessageType() api.MessageType

func (*GetNextIndexReply) Marshal

func (m *GetNextIndexReply) Marshal(b []byte) ([]byte, error)

func (*GetNextIndexReply) Reset

func (m *GetNextIndexReply) Reset()

func (*GetNextIndexReply) Size

func (m *GetNextIndexReply) Size() (size int)

func (*GetNextIndexReply) Unmarshal

func (m *GetNextIndexReply) Unmarshal(b []byte) error

type GetNodeGraph

type GetNodeGraph struct{}

GetNodeGraph defines message 'get_node_graph'.

func (*GetNodeGraph) GetCrcString

func (*GetNodeGraph) GetCrcString() string

func (*GetNodeGraph) GetMessageName

func (*GetNodeGraph) GetMessageName() string

func (*GetNodeGraph) GetMessageType

func (*GetNodeGraph) GetMessageType() api.MessageType

func (*GetNodeGraph) Marshal

func (m *GetNodeGraph) Marshal(b []byte) ([]byte, error)

func (*GetNodeGraph) Reset

func (m *GetNodeGraph) Reset()

func (*GetNodeGraph) Size

func (m *GetNodeGraph) Size() (size int)

func (*GetNodeGraph) Unmarshal

func (m *GetNodeGraph) Unmarshal(b []byte) error

type GetNodeGraphReply

type GetNodeGraphReply struct {
	Retval       int32  `binapi:"i32,name=retval" json:"retval,omitempty"`
	ReplyInShmem uint64 `binapi:"u64,name=reply_in_shmem" json:"reply_in_shmem,omitempty"`
}

GetNodeGraphReply defines message 'get_node_graph_reply'.

func (*GetNodeGraphReply) GetCrcString

func (*GetNodeGraphReply) GetCrcString() string

func (*GetNodeGraphReply) GetMessageName

func (*GetNodeGraphReply) GetMessageName() string

func (*GetNodeGraphReply) GetMessageType

func (*GetNodeGraphReply) GetMessageType() api.MessageType

func (*GetNodeGraphReply) Marshal

func (m *GetNodeGraphReply) Marshal(b []byte) ([]byte, error)

func (*GetNodeGraphReply) Reset

func (m *GetNodeGraphReply) Reset()

func (*GetNodeGraphReply) Size

func (m *GetNodeGraphReply) Size() (size int)

func (*GetNodeGraphReply) Unmarshal

func (m *GetNodeGraphReply) Unmarshal(b []byte) error

type GetNodeIndex

type GetNodeIndex struct {
	NodeName string `binapi:"string[64],name=node_name" json:"node_name,omitempty"`
}

GetNodeIndex defines message 'get_node_index'.

func (*GetNodeIndex) GetCrcString

func (*GetNodeIndex) GetCrcString() string

func (*GetNodeIndex) GetMessageName

func (*GetNodeIndex) GetMessageName() string

func (*GetNodeIndex) GetMessageType

func (*GetNodeIndex) GetMessageType() api.MessageType

func (*GetNodeIndex) Marshal

func (m *GetNodeIndex) Marshal(b []byte) ([]byte, error)

func (*GetNodeIndex) Reset

func (m *GetNodeIndex) Reset()

func (*GetNodeIndex) Size

func (m *GetNodeIndex) Size() (size int)

func (*GetNodeIndex) Unmarshal

func (m *GetNodeIndex) Unmarshal(b []byte) error

type GetNodeIndexReply

type GetNodeIndexReply struct {
	Retval    int32  `binapi:"i32,name=retval" json:"retval,omitempty"`
	NodeIndex uint32 `binapi:"u32,name=node_index" json:"node_index,omitempty"`
}

GetNodeIndexReply defines message 'get_node_index_reply'.

func (*GetNodeIndexReply) GetCrcString

func (*GetNodeIndexReply) GetCrcString() string

func (*GetNodeIndexReply) GetMessageName

func (*GetNodeIndexReply) GetMessageName() string

func (*GetNodeIndexReply) GetMessageType

func (*GetNodeIndexReply) GetMessageType() api.MessageType

func (*GetNodeIndexReply) Marshal

func (m *GetNodeIndexReply) Marshal(b []byte) ([]byte, error)

func (*GetNodeIndexReply) Reset

func (m *GetNodeIndexReply) Reset()

func (*GetNodeIndexReply) Size

func (m *GetNodeIndexReply) Size() (size int)

func (*GetNodeIndexReply) Unmarshal

func (m *GetNodeIndexReply) Unmarshal(b []byte) error

type LogDetails

type LogDetails struct {
	Timestamp vpe_types.Timestamp `binapi:"timestamp,name=timestamp" json:"timestamp,omitempty"`
	Level     vpe_types.LogLevel  `binapi:"log_level,name=level" json:"level,omitempty"`
	MsgClass  string              `binapi:"string[32],name=msg_class" json:"msg_class,omitempty"`
	Message   string              `binapi:"string[256],name=message" json:"message,omitempty"`
}

LogDetails defines message 'log_details'.

func (*LogDetails) GetCrcString

func (*LogDetails) GetCrcString() string

func (*LogDetails) GetMessageName

func (*LogDetails) GetMessageName() string

func (*LogDetails) GetMessageType

func (*LogDetails) GetMessageType() api.MessageType

func (*LogDetails) Marshal

func (m *LogDetails) Marshal(b []byte) ([]byte, error)

func (*LogDetails) Reset

func (m *LogDetails) Reset()

func (*LogDetails) Size

func (m *LogDetails) Size() (size int)

func (*LogDetails) Unmarshal

func (m *LogDetails) Unmarshal(b []byte) error

type LogDump

type LogDump struct {
	StartTimestamp vpe_types.Timestamp `binapi:"timestamp,name=start_timestamp" json:"start_timestamp,omitempty"`
}

LogDump defines message 'log_dump'.

func (*LogDump) GetCrcString

func (*LogDump) GetCrcString() string

func (*LogDump) GetMessageName

func (*LogDump) GetMessageName() string

func (*LogDump) GetMessageType

func (*LogDump) GetMessageType() api.MessageType

func (*LogDump) Marshal

func (m *LogDump) Marshal(b []byte) ([]byte, error)

func (*LogDump) Reset

func (m *LogDump) Reset()

func (*LogDump) Size

func (m *LogDump) Size() (size int)

func (*LogDump) Unmarshal

func (m *LogDump) Unmarshal(b []byte) error

type RPCService

type RPCService interface {
	AddNodeNext(ctx context.Context, in *AddNodeNext) (*AddNodeNextReply, error)
	Cli(ctx context.Context, in *Cli) (*CliReply, error)
	CliInband(ctx context.Context, in *CliInband) (*CliInbandReply, error)
	ControlPing(ctx context.Context, in *ControlPing) (*ControlPingReply, error)
	GetF64EndianValue(ctx context.Context, in *GetF64EndianValue) (*GetF64EndianValueReply, error)
	GetF64IncrementByOne(ctx context.Context, in *GetF64IncrementByOne) (*GetF64IncrementByOneReply, error)
	GetNextIndex(ctx context.Context, in *GetNextIndex) (*GetNextIndexReply, error)
	GetNodeGraph(ctx context.Context, in *GetNodeGraph) (*GetNodeGraphReply, error)
	GetNodeIndex(ctx context.Context, in *GetNodeIndex) (*GetNodeIndexReply, error)
	LogDump(ctx context.Context, in *LogDump) (RPCService_LogDumpClient, error)
	ShowThreads(ctx context.Context, in *ShowThreads) (*ShowThreadsReply, error)
	ShowVersion(ctx context.Context, in *ShowVersion) (*ShowVersionReply, error)
	ShowVpeSystemTime(ctx context.Context, in *ShowVpeSystemTime) (*ShowVpeSystemTimeReply, error)
}

RPCService defines RPC service vpe.

func NewServiceClient

func NewServiceClient(conn api.Connection) RPCService

type RPCService_LogDumpClient

type RPCService_LogDumpClient interface {
	Recv() (*LogDetails, error)
	api.Stream
}

type ShowThreads

type ShowThreads struct{}

ShowThreads defines message 'show_threads'.

func (*ShowThreads) GetCrcString

func (*ShowThreads) GetCrcString() string

func (*ShowThreads) GetMessageName

func (*ShowThreads) GetMessageName() string

func (*ShowThreads) GetMessageType

func (*ShowThreads) GetMessageType() api.MessageType

func (*ShowThreads) Marshal

func (m *ShowThreads) Marshal(b []byte) ([]byte, error)

func (*ShowThreads) Reset

func (m *ShowThreads) Reset()

func (*ShowThreads) Size

func (m *ShowThreads) Size() (size int)

func (*ShowThreads) Unmarshal

func (m *ShowThreads) Unmarshal(b []byte) error

type ShowThreadsReply

type ShowThreadsReply struct {
	Retval     int32        `binapi:"i32,name=retval" json:"retval,omitempty"`
	Count      uint32       `binapi:"u32,name=count" json:"-"`
	ThreadData []ThreadData `binapi:"thread_data[count],name=thread_data" json:"thread_data,omitempty"`
}

ShowThreadsReply defines message 'show_threads_reply'.

func (*ShowThreadsReply) GetCrcString

func (*ShowThreadsReply) GetCrcString() string

func (*ShowThreadsReply) GetMessageName

func (*ShowThreadsReply) GetMessageName() string

func (*ShowThreadsReply) GetMessageType

func (*ShowThreadsReply) GetMessageType() api.MessageType

func (*ShowThreadsReply) Marshal

func (m *ShowThreadsReply) Marshal(b []byte) ([]byte, error)

func (*ShowThreadsReply) Reset

func (m *ShowThreadsReply) Reset()

func (*ShowThreadsReply) Size

func (m *ShowThreadsReply) Size() (size int)

func (*ShowThreadsReply) Unmarshal

func (m *ShowThreadsReply) Unmarshal(b []byte) error

type ShowVersion

type ShowVersion struct{}

ShowVersion defines message 'show_version'.

func (*ShowVersion) GetCrcString

func (*ShowVersion) GetCrcString() string

func (*ShowVersion) GetMessageName

func (*ShowVersion) GetMessageName() string

func (*ShowVersion) GetMessageType

func (*ShowVersion) GetMessageType() api.MessageType

func (*ShowVersion) Marshal

func (m *ShowVersion) Marshal(b []byte) ([]byte, error)

func (*ShowVersion) Reset

func (m *ShowVersion) Reset()

func (*ShowVersion) Size

func (m *ShowVersion) Size() (size int)

func (*ShowVersion) Unmarshal

func (m *ShowVersion) Unmarshal(b []byte) error

type ShowVersionReply

type ShowVersionReply struct {
	Retval         int32  `binapi:"i32,name=retval" json:"retval,omitempty"`
	Program        string `binapi:"string[32],name=program" json:"program,omitempty"`
	Version        string `binapi:"string[32],name=version" json:"version,omitempty"`
	BuildDate      string `binapi:"string[32],name=build_date" json:"build_date,omitempty"`
	BuildDirectory string `binapi:"string[256],name=build_directory" json:"build_directory,omitempty"`
}

ShowVersionReply defines message 'show_version_reply'.

func (*ShowVersionReply) GetCrcString

func (*ShowVersionReply) GetCrcString() string

func (*ShowVersionReply) GetMessageName

func (*ShowVersionReply) GetMessageName() string

func (*ShowVersionReply) GetMessageType

func (*ShowVersionReply) GetMessageType() api.MessageType

func (*ShowVersionReply) Marshal

func (m *ShowVersionReply) Marshal(b []byte) ([]byte, error)

func (*ShowVersionReply) Reset

func (m *ShowVersionReply) Reset()

func (*ShowVersionReply) Size

func (m *ShowVersionReply) Size() (size int)

func (*ShowVersionReply) Unmarshal

func (m *ShowVersionReply) Unmarshal(b []byte) error

type ShowVpeSystemTime

type ShowVpeSystemTime struct{}

ShowVpeSystemTime defines message 'show_vpe_system_time'.

func (*ShowVpeSystemTime) GetCrcString

func (*ShowVpeSystemTime) GetCrcString() string

func (*ShowVpeSystemTime) GetMessageName

func (*ShowVpeSystemTime) GetMessageName() string

func (*ShowVpeSystemTime) GetMessageType

func (*ShowVpeSystemTime) GetMessageType() api.MessageType

func (*ShowVpeSystemTime) Marshal

func (m *ShowVpeSystemTime) Marshal(b []byte) ([]byte, error)

func (*ShowVpeSystemTime) Reset

func (m *ShowVpeSystemTime) Reset()

func (*ShowVpeSystemTime) Size

func (m *ShowVpeSystemTime) Size() (size int)

func (*ShowVpeSystemTime) Unmarshal

func (m *ShowVpeSystemTime) Unmarshal(b []byte) error

type ShowVpeSystemTimeReply

type ShowVpeSystemTimeReply struct {
	Retval        int32               `binapi:"i32,name=retval" json:"retval,omitempty"`
	VpeSystemTime vpe_types.Timestamp `binapi:"timestamp,name=vpe_system_time" json:"vpe_system_time,omitempty"`
}

ShowVpeSystemTimeReply defines message 'show_vpe_system_time_reply'.

func (*ShowVpeSystemTimeReply) GetCrcString

func (*ShowVpeSystemTimeReply) GetCrcString() string

func (*ShowVpeSystemTimeReply) GetMessageName

func (*ShowVpeSystemTimeReply) GetMessageName() string

func (*ShowVpeSystemTimeReply) GetMessageType

func (*ShowVpeSystemTimeReply) GetMessageType() api.MessageType

func (*ShowVpeSystemTimeReply) Marshal

func (m *ShowVpeSystemTimeReply) Marshal(b []byte) ([]byte, error)

func (*ShowVpeSystemTimeReply) Reset

func (m *ShowVpeSystemTimeReply) Reset()

func (*ShowVpeSystemTimeReply) Size

func (m *ShowVpeSystemTimeReply) Size() (size int)

func (*ShowVpeSystemTimeReply) Unmarshal

func (m *ShowVpeSystemTimeReply) Unmarshal(b []byte) error

type ThreadData

type ThreadData struct {
	ID        uint32 `binapi:"u32,name=id" json:"id,omitempty"`
	Name      string `binapi:"string[64],name=name" json:"name,omitempty"`
	Type      string `binapi:"string[64],name=type" json:"type,omitempty"`
	PID       uint32 `binapi:"u32,name=pid" json:"pid,omitempty"`
	CPUID     uint32 `binapi:"u32,name=cpu_id" json:"cpu_id,omitempty"`
	Core      uint32 `binapi:"u32,name=core" json:"core,omitempty"`
	CPUSocket uint32 `binapi:"u32,name=cpu_socket" json:"cpu_socket,omitempty"`
}

ThreadData defines type 'thread_data'.

Jump to

Keyboard shortcuts

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