Documentation
¶
Overview ¶
Package abx contains generated bindings for API file abx.api.
Contents: - 2 structs - 10 messages
Index ¶
- Constants
- func AllMessages() []api.Message
- type AbxInterfaceAttach
- type AbxInterfaceAttachDetach
- func (*AbxInterfaceAttachDetach) GetCrcString() string
- func (*AbxInterfaceAttachDetach) GetMessageName() string
- func (*AbxInterfaceAttachDetach) GetMessageType() api.MessageType
- func (m *AbxInterfaceAttachDetach) Marshal(b []byte) ([]byte, error)
- func (m *AbxInterfaceAttachDetach) Reset()
- func (m *AbxInterfaceAttachDetach) Size() (size int)
- func (m *AbxInterfaceAttachDetach) Unmarshal(b []byte) error
- type AbxInterfaceAttachDetachReply
- func (*AbxInterfaceAttachDetachReply) GetCrcString() string
- func (*AbxInterfaceAttachDetachReply) GetMessageName() string
- func (*AbxInterfaceAttachDetachReply) GetMessageType() api.MessageType
- func (m *AbxInterfaceAttachDetachReply) Marshal(b []byte) ([]byte, error)
- func (m *AbxInterfaceAttachDetachReply) Reset()
- func (m *AbxInterfaceAttachDetachReply) Size() (size int)
- func (m *AbxInterfaceAttachDetachReply) Unmarshal(b []byte) error
- type AbxInterfaceAttachDetails
- func (*AbxInterfaceAttachDetails) GetCrcString() string
- func (*AbxInterfaceAttachDetails) GetMessageName() string
- func (*AbxInterfaceAttachDetails) GetMessageType() api.MessageType
- func (m *AbxInterfaceAttachDetails) Marshal(b []byte) ([]byte, error)
- func (m *AbxInterfaceAttachDetails) Reset()
- func (m *AbxInterfaceAttachDetails) Size() (size int)
- func (m *AbxInterfaceAttachDetails) Unmarshal(b []byte) error
- type AbxInterfaceAttachDump
- func (*AbxInterfaceAttachDump) GetCrcString() string
- func (*AbxInterfaceAttachDump) GetMessageName() string
- func (*AbxInterfaceAttachDump) GetMessageType() api.MessageType
- func (m *AbxInterfaceAttachDump) Marshal(b []byte) ([]byte, error)
- func (m *AbxInterfaceAttachDump) Reset()
- func (m *AbxInterfaceAttachDump) Size() (size int)
- func (m *AbxInterfaceAttachDump) Unmarshal(b []byte) error
- type AbxPluginGetVersion
- func (*AbxPluginGetVersion) GetCrcString() string
- func (*AbxPluginGetVersion) GetMessageName() string
- func (*AbxPluginGetVersion) GetMessageType() api.MessageType
- func (m *AbxPluginGetVersion) Marshal(b []byte) ([]byte, error)
- func (m *AbxPluginGetVersion) Reset()
- func (m *AbxPluginGetVersion) Size() (size int)
- func (m *AbxPluginGetVersion) Unmarshal(b []byte) error
- type AbxPluginGetVersionReply
- func (*AbxPluginGetVersionReply) GetCrcString() string
- func (*AbxPluginGetVersionReply) GetMessageName() string
- func (*AbxPluginGetVersionReply) GetMessageType() api.MessageType
- func (m *AbxPluginGetVersionReply) Marshal(b []byte) ([]byte, error)
- func (m *AbxPluginGetVersionReply) Reset()
- func (m *AbxPluginGetVersionReply) Size() (size int)
- func (m *AbxPluginGetVersionReply) Unmarshal(b []byte) error
- type AbxPolicy
- type AbxPolicyAddDel
- func (*AbxPolicyAddDel) GetCrcString() string
- func (*AbxPolicyAddDel) GetMessageName() string
- func (*AbxPolicyAddDel) GetMessageType() api.MessageType
- func (m *AbxPolicyAddDel) Marshal(b []byte) ([]byte, error)
- func (m *AbxPolicyAddDel) Reset()
- func (m *AbxPolicyAddDel) Size() (size int)
- func (m *AbxPolicyAddDel) Unmarshal(b []byte) error
- type AbxPolicyAddDelReply
- func (*AbxPolicyAddDelReply) GetCrcString() string
- func (*AbxPolicyAddDelReply) GetMessageName() string
- func (*AbxPolicyAddDelReply) GetMessageType() api.MessageType
- func (m *AbxPolicyAddDelReply) Marshal(b []byte) ([]byte, error)
- func (m *AbxPolicyAddDelReply) Reset()
- func (m *AbxPolicyAddDelReply) Size() (size int)
- func (m *AbxPolicyAddDelReply) Unmarshal(b []byte) error
- type AbxPolicyDetails
- func (*AbxPolicyDetails) GetCrcString() string
- func (*AbxPolicyDetails) GetMessageName() string
- func (*AbxPolicyDetails) GetMessageType() api.MessageType
- func (m *AbxPolicyDetails) Marshal(b []byte) ([]byte, error)
- func (m *AbxPolicyDetails) Reset()
- func (m *AbxPolicyDetails) Size() (size int)
- func (m *AbxPolicyDetails) Unmarshal(b []byte) error
- type AbxPolicyDump
- func (*AbxPolicyDump) GetCrcString() string
- func (*AbxPolicyDump) GetMessageName() string
- func (*AbxPolicyDump) GetMessageType() api.MessageType
- func (m *AbxPolicyDump) Marshal(b []byte) ([]byte, error)
- func (m *AbxPolicyDump) Reset()
- func (m *AbxPolicyDump) Size() (size int)
- func (m *AbxPolicyDump) Unmarshal(b []byte) error
- type RPCService
- type RPCService_AbxInterfaceAttachDumpClient
- type RPCService_AbxPolicyDumpClient
Constants ¶
const ( APIFile = "abx" APIVersion = "0.1.0" VersionCrc = 0x558e384 )
Variables ¶
This section is empty.
Functions ¶
func AllMessages ¶
Messages returns list of all messages in this module.
Types ¶
type AbxInterfaceAttach ¶
type AbxInterfaceAttach struct { PolicyID uint32 `binapi:"u32,name=policy_id" json:"policy_id,omitempty"` Priority uint32 `binapi:"u32,name=priority" json:"priority,omitempty"` RxSwIfIndex uint32 `binapi:"u32,name=rx_sw_if_index" json:"rx_sw_if_index,omitempty"` }
AbxInterfaceAttach defines type 'abx_interface_attach'.
type AbxInterfaceAttachDetach ¶
type AbxInterfaceAttachDetach struct { IsAttach uint8 `binapi:"u8,name=is_attach" json:"is_attach,omitempty"` Attach AbxInterfaceAttach `binapi:"abx_interface_attach,name=attach" json:"attach,omitempty"` }
AbxInterfaceAttachDetach defines message 'abx_interface_attach_detach'.
func (*AbxInterfaceAttachDetach) GetCrcString ¶
func (*AbxInterfaceAttachDetach) GetCrcString() string
func (*AbxInterfaceAttachDetach) GetMessageName ¶
func (*AbxInterfaceAttachDetach) GetMessageName() string
func (*AbxInterfaceAttachDetach) GetMessageType ¶
func (*AbxInterfaceAttachDetach) GetMessageType() api.MessageType
func (*AbxInterfaceAttachDetach) Marshal ¶
func (m *AbxInterfaceAttachDetach) Marshal(b []byte) ([]byte, error)
func (*AbxInterfaceAttachDetach) Reset ¶
func (m *AbxInterfaceAttachDetach) Reset()
func (*AbxInterfaceAttachDetach) Size ¶
func (m *AbxInterfaceAttachDetach) Size() (size int)
func (*AbxInterfaceAttachDetach) Unmarshal ¶
func (m *AbxInterfaceAttachDetach) Unmarshal(b []byte) error
type AbxInterfaceAttachDetachReply ¶
type AbxInterfaceAttachDetachReply struct {
Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"`
}
AbxInterfaceAttachDetachReply defines message 'abx_interface_attach_detach_reply'.
func (*AbxInterfaceAttachDetachReply) GetCrcString ¶
func (*AbxInterfaceAttachDetachReply) GetCrcString() string
func (*AbxInterfaceAttachDetachReply) GetMessageName ¶
func (*AbxInterfaceAttachDetachReply) GetMessageName() string
func (*AbxInterfaceAttachDetachReply) GetMessageType ¶
func (*AbxInterfaceAttachDetachReply) GetMessageType() api.MessageType
func (*AbxInterfaceAttachDetachReply) Marshal ¶
func (m *AbxInterfaceAttachDetachReply) Marshal(b []byte) ([]byte, error)
func (*AbxInterfaceAttachDetachReply) Reset ¶
func (m *AbxInterfaceAttachDetachReply) Reset()
func (*AbxInterfaceAttachDetachReply) Size ¶
func (m *AbxInterfaceAttachDetachReply) Size() (size int)
func (*AbxInterfaceAttachDetachReply) Unmarshal ¶
func (m *AbxInterfaceAttachDetachReply) Unmarshal(b []byte) error
type AbxInterfaceAttachDetails ¶
type AbxInterfaceAttachDetails struct {
Attach AbxInterfaceAttach `binapi:"abx_interface_attach,name=attach" json:"attach,omitempty"`
}
AbxInterfaceAttachDetails defines message 'abx_interface_attach_details'.
func (*AbxInterfaceAttachDetails) GetCrcString ¶
func (*AbxInterfaceAttachDetails) GetCrcString() string
func (*AbxInterfaceAttachDetails) GetMessageName ¶
func (*AbxInterfaceAttachDetails) GetMessageName() string
func (*AbxInterfaceAttachDetails) GetMessageType ¶
func (*AbxInterfaceAttachDetails) GetMessageType() api.MessageType
func (*AbxInterfaceAttachDetails) Marshal ¶
func (m *AbxInterfaceAttachDetails) Marshal(b []byte) ([]byte, error)
func (*AbxInterfaceAttachDetails) Reset ¶
func (m *AbxInterfaceAttachDetails) Reset()
func (*AbxInterfaceAttachDetails) Size ¶
func (m *AbxInterfaceAttachDetails) Size() (size int)
func (*AbxInterfaceAttachDetails) Unmarshal ¶
func (m *AbxInterfaceAttachDetails) Unmarshal(b []byte) error
type AbxInterfaceAttachDump ¶
type AbxInterfaceAttachDump struct{}
AbxInterfaceAttachDump defines message 'abx_interface_attach_dump'.
func (*AbxInterfaceAttachDump) GetCrcString ¶
func (*AbxInterfaceAttachDump) GetCrcString() string
func (*AbxInterfaceAttachDump) GetMessageName ¶
func (*AbxInterfaceAttachDump) GetMessageName() string
func (*AbxInterfaceAttachDump) GetMessageType ¶
func (*AbxInterfaceAttachDump) GetMessageType() api.MessageType
func (*AbxInterfaceAttachDump) Marshal ¶
func (m *AbxInterfaceAttachDump) Marshal(b []byte) ([]byte, error)
func (*AbxInterfaceAttachDump) Reset ¶
func (m *AbxInterfaceAttachDump) Reset()
func (*AbxInterfaceAttachDump) Size ¶
func (m *AbxInterfaceAttachDump) Size() (size int)
func (*AbxInterfaceAttachDump) Unmarshal ¶
func (m *AbxInterfaceAttachDump) Unmarshal(b []byte) error
type AbxPluginGetVersion ¶
type AbxPluginGetVersion struct{}
AbxPluginGetVersion defines message 'abx_plugin_get_version'.
func (*AbxPluginGetVersion) GetCrcString ¶
func (*AbxPluginGetVersion) GetCrcString() string
func (*AbxPluginGetVersion) GetMessageName ¶
func (*AbxPluginGetVersion) GetMessageName() string
func (*AbxPluginGetVersion) GetMessageType ¶
func (*AbxPluginGetVersion) GetMessageType() api.MessageType
func (*AbxPluginGetVersion) Marshal ¶
func (m *AbxPluginGetVersion) Marshal(b []byte) ([]byte, error)
func (*AbxPluginGetVersion) Reset ¶
func (m *AbxPluginGetVersion) Reset()
func (*AbxPluginGetVersion) Size ¶
func (m *AbxPluginGetVersion) Size() (size int)
func (*AbxPluginGetVersion) Unmarshal ¶
func (m *AbxPluginGetVersion) Unmarshal(b []byte) error
type AbxPluginGetVersionReply ¶
type AbxPluginGetVersionReply struct { Major uint32 `binapi:"u32,name=major" json:"major,omitempty"` Minor uint32 `binapi:"u32,name=minor" json:"minor,omitempty"` }
AbxPluginGetVersionReply defines message 'abx_plugin_get_version_reply'.
func (*AbxPluginGetVersionReply) GetCrcString ¶
func (*AbxPluginGetVersionReply) GetCrcString() string
func (*AbxPluginGetVersionReply) GetMessageName ¶
func (*AbxPluginGetVersionReply) GetMessageName() string
func (*AbxPluginGetVersionReply) GetMessageType ¶
func (*AbxPluginGetVersionReply) GetMessageType() api.MessageType
func (*AbxPluginGetVersionReply) Marshal ¶
func (m *AbxPluginGetVersionReply) Marshal(b []byte) ([]byte, error)
func (*AbxPluginGetVersionReply) Reset ¶
func (m *AbxPluginGetVersionReply) Reset()
func (*AbxPluginGetVersionReply) Size ¶
func (m *AbxPluginGetVersionReply) Size() (size int)
func (*AbxPluginGetVersionReply) Unmarshal ¶
func (m *AbxPluginGetVersionReply) Unmarshal(b []byte) error
type AbxPolicy ¶
type AbxPolicy struct { PolicyID uint32 `binapi:"u32,name=policy_id" json:"policy_id,omitempty"` ACLIndex uint32 `binapi:"u32,name=acl_index" json:"acl_index,omitempty"` TxSwIfIndex uint32 `binapi:"u32,name=tx_sw_if_index" json:"tx_sw_if_index,omitempty"` DstMac ethernet_types.MacAddress `binapi:"mac_address,name=dst_mac" json:"dst_mac,omitempty"` }
AbxPolicy defines type 'abx_policy'.
type AbxPolicyAddDel ¶
type AbxPolicyAddDel struct { IsAdd uint8 `binapi:"u8,name=is_add" json:"is_add,omitempty"` Policy AbxPolicy `binapi:"abx_policy,name=policy" json:"policy,omitempty"` }
AbxPolicyAddDel defines message 'abx_policy_add_del'.
func (*AbxPolicyAddDel) GetCrcString ¶
func (*AbxPolicyAddDel) GetCrcString() string
func (*AbxPolicyAddDel) GetMessageName ¶
func (*AbxPolicyAddDel) GetMessageName() string
func (*AbxPolicyAddDel) GetMessageType ¶
func (*AbxPolicyAddDel) GetMessageType() api.MessageType
func (*AbxPolicyAddDel) Reset ¶
func (m *AbxPolicyAddDel) Reset()
func (*AbxPolicyAddDel) Size ¶
func (m *AbxPolicyAddDel) Size() (size int)
func (*AbxPolicyAddDel) Unmarshal ¶
func (m *AbxPolicyAddDel) Unmarshal(b []byte) error
type AbxPolicyAddDelReply ¶
type AbxPolicyAddDelReply struct {
Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"`
}
AbxPolicyAddDelReply defines message 'abx_policy_add_del_reply'.
func (*AbxPolicyAddDelReply) GetCrcString ¶
func (*AbxPolicyAddDelReply) GetCrcString() string
func (*AbxPolicyAddDelReply) GetMessageName ¶
func (*AbxPolicyAddDelReply) GetMessageName() string
func (*AbxPolicyAddDelReply) GetMessageType ¶
func (*AbxPolicyAddDelReply) GetMessageType() api.MessageType
func (*AbxPolicyAddDelReply) Marshal ¶
func (m *AbxPolicyAddDelReply) Marshal(b []byte) ([]byte, error)
func (*AbxPolicyAddDelReply) Reset ¶
func (m *AbxPolicyAddDelReply) Reset()
func (*AbxPolicyAddDelReply) Size ¶
func (m *AbxPolicyAddDelReply) Size() (size int)
func (*AbxPolicyAddDelReply) Unmarshal ¶
func (m *AbxPolicyAddDelReply) Unmarshal(b []byte) error
type AbxPolicyDetails ¶
type AbxPolicyDetails struct {
Policy AbxPolicy `binapi:"abx_policy,name=policy" json:"policy,omitempty"`
}
AbxPolicyDetails defines message 'abx_policy_details'.
func (*AbxPolicyDetails) GetCrcString ¶
func (*AbxPolicyDetails) GetCrcString() string
func (*AbxPolicyDetails) GetMessageName ¶
func (*AbxPolicyDetails) GetMessageName() string
func (*AbxPolicyDetails) GetMessageType ¶
func (*AbxPolicyDetails) GetMessageType() api.MessageType
func (*AbxPolicyDetails) Reset ¶
func (m *AbxPolicyDetails) Reset()
func (*AbxPolicyDetails) Size ¶
func (m *AbxPolicyDetails) Size() (size int)
func (*AbxPolicyDetails) Unmarshal ¶
func (m *AbxPolicyDetails) Unmarshal(b []byte) error
type AbxPolicyDump ¶
type AbxPolicyDump struct{}
AbxPolicyDump defines message 'abx_policy_dump'.
func (*AbxPolicyDump) GetCrcString ¶
func (*AbxPolicyDump) GetCrcString() string
func (*AbxPolicyDump) GetMessageName ¶
func (*AbxPolicyDump) GetMessageName() string
func (*AbxPolicyDump) GetMessageType ¶
func (*AbxPolicyDump) GetMessageType() api.MessageType
func (*AbxPolicyDump) Reset ¶
func (m *AbxPolicyDump) Reset()
func (*AbxPolicyDump) Size ¶
func (m *AbxPolicyDump) Size() (size int)
func (*AbxPolicyDump) Unmarshal ¶
func (m *AbxPolicyDump) Unmarshal(b []byte) error
type RPCService ¶
type RPCService interface { AbxInterfaceAttachDetach(ctx context.Context, in *AbxInterfaceAttachDetach) (*AbxInterfaceAttachDetachReply, error) AbxInterfaceAttachDump(ctx context.Context, in *AbxInterfaceAttachDump) (RPCService_AbxInterfaceAttachDumpClient, error) AbxPluginGetVersion(ctx context.Context, in *AbxPluginGetVersion) (*AbxPluginGetVersionReply, error) AbxPolicyAddDel(ctx context.Context, in *AbxPolicyAddDel) (*AbxPolicyAddDelReply, error) AbxPolicyDump(ctx context.Context, in *AbxPolicyDump) (RPCService_AbxPolicyDumpClient, error) }
RPCService defines RPC service abx.
func NewServiceClient ¶
func NewServiceClient(conn api.Connection) RPCService
type RPCService_AbxInterfaceAttachDumpClient ¶
type RPCService_AbxInterfaceAttachDumpClient interface { Recv() (*AbxInterfaceAttachDetails, error) api.Stream }
type RPCService_AbxPolicyDumpClient ¶
type RPCService_AbxPolicyDumpClient interface { Recv() (*AbxPolicyDetails, error) api.Stream }