oddbuf

package
v0.5.0 Latest Latest
Warning

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

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

Documentation

Overview

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

Contents:

2 messages

Index

Constants

View Source
const (
	APIFile    = "oddbuf"
	APIVersion = "0.1.0"
	VersionCrc = 0x3a1a2c50
)

Variables

This section is empty.

Functions

func AllMessages

func AllMessages() []api.Message

Messages returns list of all messages in this module.

Types

type OddbufEnableDisable

type OddbufEnableDisable struct {
	EnableDisable bool                           `binapi:"bool,name=enable_disable" json:"enable_disable,omitempty"`
	SwIfIndex     interface_types.InterfaceIndex `binapi:"interface_index,name=sw_if_index" json:"sw_if_index,omitempty"`
}

OddbufEnableDisable defines message 'oddbuf_enable_disable'. InProgress: the message form may change in the future versions

func (*OddbufEnableDisable) GetCrcString

func (*OddbufEnableDisable) GetCrcString() string

func (*OddbufEnableDisable) GetMessageName

func (*OddbufEnableDisable) GetMessageName() string

func (*OddbufEnableDisable) GetMessageType

func (*OddbufEnableDisable) GetMessageType() api.MessageType

func (*OddbufEnableDisable) Marshal

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

func (*OddbufEnableDisable) Reset

func (m *OddbufEnableDisable) Reset()

func (*OddbufEnableDisable) Size

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

func (*OddbufEnableDisable) Unmarshal

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

type OddbufEnableDisableReply

type OddbufEnableDisableReply struct {
	Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"`
}

OddbufEnableDisableReply defines message 'oddbuf_enable_disable_reply'. InProgress: the message form may change in the future versions

func (*OddbufEnableDisableReply) GetCrcString

func (*OddbufEnableDisableReply) GetCrcString() string

func (*OddbufEnableDisableReply) GetMessageName

func (*OddbufEnableDisableReply) GetMessageName() string

func (*OddbufEnableDisableReply) GetMessageType

func (*OddbufEnableDisableReply) GetMessageType() api.MessageType

func (*OddbufEnableDisableReply) Marshal

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

func (*OddbufEnableDisableReply) Reset

func (m *OddbufEnableDisableReply) Reset()

func (*OddbufEnableDisableReply) Size

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

func (*OddbufEnableDisableReply) Unmarshal

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

type RPCService

type RPCService interface {
	OddbufEnableDisable(ctx context.Context, in *OddbufEnableDisable) (*OddbufEnableDisableReply, error)
}

RPCService defines RPC service oddbuf.

func NewServiceClient

func NewServiceClient(conn api.Connection) RPCService

Jump to

Keyboard shortcuts

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