Documentation ¶
Overview ¶
Package oddbuf contains generated bindings for API file oddbuf.api.
Contents:
2 messages
Index ¶
- Constants
- func AllMessages() []api.Message
- type OddbufEnableDisable
- func (*OddbufEnableDisable) GetCrcString() string
- func (*OddbufEnableDisable) GetMessageName() string
- func (*OddbufEnableDisable) GetMessageType() api.MessageType
- func (m *OddbufEnableDisable) Marshal(b []byte) ([]byte, error)
- func (m *OddbufEnableDisable) Reset()
- func (m *OddbufEnableDisable) Size() (size int)
- func (m *OddbufEnableDisable) Unmarshal(b []byte) error
- type OddbufEnableDisableReply
- func (*OddbufEnableDisableReply) GetCrcString() string
- func (*OddbufEnableDisableReply) GetMessageName() string
- func (*OddbufEnableDisableReply) GetMessageType() api.MessageType
- func (m *OddbufEnableDisableReply) Marshal(b []byte) ([]byte, error)
- func (m *OddbufEnableDisableReply) Reset()
- func (m *OddbufEnableDisableReply) Size() (size int)
- func (m *OddbufEnableDisableReply) Unmarshal(b []byte) error
- type RPCService
Constants ¶
View Source
const ( APIFile = "oddbuf" APIVersion = "0.1.0" VersionCrc = 0x3a1a2c50 )
Variables ¶
This section is empty.
Functions ¶
func AllMessages ¶
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
Click to show internal directories.
Click to hide internal directories.