Documentation ¶
Overview ¶
Package abf contains generated bindings for API file abf.api.
Contents: - 2 structs - 10 messages
Index ¶
- Constants
- func AllMessages() []api.Message
- type AbfItfAttach
- type AbfItfAttachAddDel
- func (*AbfItfAttachAddDel) GetCrcString() string
- func (*AbfItfAttachAddDel) GetMessageName() string
- func (*AbfItfAttachAddDel) GetMessageType() api.MessageType
- func (m *AbfItfAttachAddDel) Marshal(b []byte) ([]byte, error)
- func (m *AbfItfAttachAddDel) Reset()
- func (m *AbfItfAttachAddDel) Size() (size int)
- func (m *AbfItfAttachAddDel) Unmarshal(b []byte) error
- type AbfItfAttachAddDelReply
- func (*AbfItfAttachAddDelReply) GetCrcString() string
- func (*AbfItfAttachAddDelReply) GetMessageName() string
- func (*AbfItfAttachAddDelReply) GetMessageType() api.MessageType
- func (m *AbfItfAttachAddDelReply) Marshal(b []byte) ([]byte, error)
- func (m *AbfItfAttachAddDelReply) Reset()
- func (m *AbfItfAttachAddDelReply) Size() (size int)
- func (m *AbfItfAttachAddDelReply) Unmarshal(b []byte) error
- type AbfItfAttachDetails
- func (*AbfItfAttachDetails) GetCrcString() string
- func (*AbfItfAttachDetails) GetMessageName() string
- func (*AbfItfAttachDetails) GetMessageType() api.MessageType
- func (m *AbfItfAttachDetails) Marshal(b []byte) ([]byte, error)
- func (m *AbfItfAttachDetails) Reset()
- func (m *AbfItfAttachDetails) Size() (size int)
- func (m *AbfItfAttachDetails) Unmarshal(b []byte) error
- type AbfItfAttachDump
- func (*AbfItfAttachDump) GetCrcString() string
- func (*AbfItfAttachDump) GetMessageName() string
- func (*AbfItfAttachDump) GetMessageType() api.MessageType
- func (m *AbfItfAttachDump) Marshal(b []byte) ([]byte, error)
- func (m *AbfItfAttachDump) Reset()
- func (m *AbfItfAttachDump) Size() (size int)
- func (m *AbfItfAttachDump) Unmarshal(b []byte) error
- type AbfPluginGetVersion
- func (*AbfPluginGetVersion) GetCrcString() string
- func (*AbfPluginGetVersion) GetMessageName() string
- func (*AbfPluginGetVersion) GetMessageType() api.MessageType
- func (m *AbfPluginGetVersion) Marshal(b []byte) ([]byte, error)
- func (m *AbfPluginGetVersion) Reset()
- func (m *AbfPluginGetVersion) Size() (size int)
- func (m *AbfPluginGetVersion) Unmarshal(b []byte) error
- type AbfPluginGetVersionReply
- func (*AbfPluginGetVersionReply) GetCrcString() string
- func (*AbfPluginGetVersionReply) GetMessageName() string
- func (*AbfPluginGetVersionReply) GetMessageType() api.MessageType
- func (m *AbfPluginGetVersionReply) Marshal(b []byte) ([]byte, error)
- func (m *AbfPluginGetVersionReply) Reset()
- func (m *AbfPluginGetVersionReply) Size() (size int)
- func (m *AbfPluginGetVersionReply) Unmarshal(b []byte) error
- type AbfPolicy
- type AbfPolicyAddDel
- func (*AbfPolicyAddDel) GetCrcString() string
- func (*AbfPolicyAddDel) GetMessageName() string
- func (*AbfPolicyAddDel) GetMessageType() api.MessageType
- func (m *AbfPolicyAddDel) Marshal(b []byte) ([]byte, error)
- func (m *AbfPolicyAddDel) Reset()
- func (m *AbfPolicyAddDel) Size() (size int)
- func (m *AbfPolicyAddDel) Unmarshal(b []byte) error
- type AbfPolicyAddDelReply
- func (*AbfPolicyAddDelReply) GetCrcString() string
- func (*AbfPolicyAddDelReply) GetMessageName() string
- func (*AbfPolicyAddDelReply) GetMessageType() api.MessageType
- func (m *AbfPolicyAddDelReply) Marshal(b []byte) ([]byte, error)
- func (m *AbfPolicyAddDelReply) Reset()
- func (m *AbfPolicyAddDelReply) Size() (size int)
- func (m *AbfPolicyAddDelReply) Unmarshal(b []byte) error
- type AbfPolicyDetails
- func (*AbfPolicyDetails) GetCrcString() string
- func (*AbfPolicyDetails) GetMessageName() string
- func (*AbfPolicyDetails) GetMessageType() api.MessageType
- func (m *AbfPolicyDetails) Marshal(b []byte) ([]byte, error)
- func (m *AbfPolicyDetails) Reset()
- func (m *AbfPolicyDetails) Size() (size int)
- func (m *AbfPolicyDetails) Unmarshal(b []byte) error
- type AbfPolicyDump
- func (*AbfPolicyDump) GetCrcString() string
- func (*AbfPolicyDump) GetMessageName() string
- func (*AbfPolicyDump) GetMessageType() api.MessageType
- func (m *AbfPolicyDump) Marshal(b []byte) ([]byte, error)
- func (m *AbfPolicyDump) Reset()
- func (m *AbfPolicyDump) Size() (size int)
- func (m *AbfPolicyDump) Unmarshal(b []byte) error
- type RPCService
- type RPCService_AbfItfAttachDumpClient
- type RPCService_AbfPolicyDumpClient
Constants ¶
const ( APIFile = "abf" APIVersion = "1.0.0" VersionCrc = 0xf2367b47 )
Variables ¶
This section is empty.
Functions ¶
func AllMessages ¶
Messages returns list of all messages in this module.
Types ¶
type AbfItfAttach ¶
type AbfItfAttach struct { PolicyID uint32 `binapi:"u32,name=policy_id" json:"policy_id,omitempty"` SwIfIndex interface_types.InterfaceIndex `binapi:"interface_index,name=sw_if_index" json:"sw_if_index,omitempty"` Priority uint32 `binapi:"u32,name=priority" json:"priority,omitempty"` IsIPv6 bool `binapi:"bool,name=is_ipv6" json:"is_ipv6,omitempty"` }
AbfItfAttach defines type 'abf_itf_attach'.
type AbfItfAttachAddDel ¶
type AbfItfAttachAddDel struct { IsAdd bool `binapi:"bool,name=is_add" json:"is_add,omitempty"` Attach AbfItfAttach `binapi:"abf_itf_attach,name=attach" json:"attach,omitempty"` }
AbfItfAttachAddDel defines message 'abf_itf_attach_add_del'. InProgress: the message form may change in the future versions
func (*AbfItfAttachAddDel) GetCrcString ¶
func (*AbfItfAttachAddDel) GetCrcString() string
func (*AbfItfAttachAddDel) GetMessageName ¶
func (*AbfItfAttachAddDel) GetMessageName() string
func (*AbfItfAttachAddDel) GetMessageType ¶
func (*AbfItfAttachAddDel) GetMessageType() api.MessageType
func (*AbfItfAttachAddDel) Reset ¶
func (m *AbfItfAttachAddDel) Reset()
func (*AbfItfAttachAddDel) Size ¶
func (m *AbfItfAttachAddDel) Size() (size int)
func (*AbfItfAttachAddDel) Unmarshal ¶
func (m *AbfItfAttachAddDel) Unmarshal(b []byte) error
type AbfItfAttachAddDelReply ¶
type AbfItfAttachAddDelReply struct {
Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"`
}
AbfItfAttachAddDelReply defines message 'abf_itf_attach_add_del_reply'. InProgress: the message form may change in the future versions
func (*AbfItfAttachAddDelReply) GetCrcString ¶
func (*AbfItfAttachAddDelReply) GetCrcString() string
func (*AbfItfAttachAddDelReply) GetMessageName ¶
func (*AbfItfAttachAddDelReply) GetMessageName() string
func (*AbfItfAttachAddDelReply) GetMessageType ¶
func (*AbfItfAttachAddDelReply) GetMessageType() api.MessageType
func (*AbfItfAttachAddDelReply) Marshal ¶
func (m *AbfItfAttachAddDelReply) Marshal(b []byte) ([]byte, error)
func (*AbfItfAttachAddDelReply) Reset ¶
func (m *AbfItfAttachAddDelReply) Reset()
func (*AbfItfAttachAddDelReply) Size ¶
func (m *AbfItfAttachAddDelReply) Size() (size int)
func (*AbfItfAttachAddDelReply) Unmarshal ¶
func (m *AbfItfAttachAddDelReply) Unmarshal(b []byte) error
type AbfItfAttachDetails ¶
type AbfItfAttachDetails struct {
Attach AbfItfAttach `binapi:"abf_itf_attach,name=attach" json:"attach,omitempty"`
}
AbfItfAttachDetails defines message 'abf_itf_attach_details'. InProgress: the message form may change in the future versions
func (*AbfItfAttachDetails) GetCrcString ¶
func (*AbfItfAttachDetails) GetCrcString() string
func (*AbfItfAttachDetails) GetMessageName ¶
func (*AbfItfAttachDetails) GetMessageName() string
func (*AbfItfAttachDetails) GetMessageType ¶
func (*AbfItfAttachDetails) GetMessageType() api.MessageType
func (*AbfItfAttachDetails) Marshal ¶
func (m *AbfItfAttachDetails) Marshal(b []byte) ([]byte, error)
func (*AbfItfAttachDetails) Reset ¶
func (m *AbfItfAttachDetails) Reset()
func (*AbfItfAttachDetails) Size ¶
func (m *AbfItfAttachDetails) Size() (size int)
func (*AbfItfAttachDetails) Unmarshal ¶
func (m *AbfItfAttachDetails) Unmarshal(b []byte) error
type AbfItfAttachDump ¶
type AbfItfAttachDump struct{}
AbfItfAttachDump defines message 'abf_itf_attach_dump'. InProgress: the message form may change in the future versions
func (*AbfItfAttachDump) GetCrcString ¶
func (*AbfItfAttachDump) GetCrcString() string
func (*AbfItfAttachDump) GetMessageName ¶
func (*AbfItfAttachDump) GetMessageName() string
func (*AbfItfAttachDump) GetMessageType ¶
func (*AbfItfAttachDump) GetMessageType() api.MessageType
func (*AbfItfAttachDump) Reset ¶
func (m *AbfItfAttachDump) Reset()
func (*AbfItfAttachDump) Size ¶
func (m *AbfItfAttachDump) Size() (size int)
func (*AbfItfAttachDump) Unmarshal ¶
func (m *AbfItfAttachDump) Unmarshal(b []byte) error
type AbfPluginGetVersion ¶
type AbfPluginGetVersion struct{}
AbfPluginGetVersion defines message 'abf_plugin_get_version'. InProgress: the message form may change in the future versions
func (*AbfPluginGetVersion) GetCrcString ¶
func (*AbfPluginGetVersion) GetCrcString() string
func (*AbfPluginGetVersion) GetMessageName ¶
func (*AbfPluginGetVersion) GetMessageName() string
func (*AbfPluginGetVersion) GetMessageType ¶
func (*AbfPluginGetVersion) GetMessageType() api.MessageType
func (*AbfPluginGetVersion) Marshal ¶
func (m *AbfPluginGetVersion) Marshal(b []byte) ([]byte, error)
func (*AbfPluginGetVersion) Reset ¶
func (m *AbfPluginGetVersion) Reset()
func (*AbfPluginGetVersion) Size ¶
func (m *AbfPluginGetVersion) Size() (size int)
func (*AbfPluginGetVersion) Unmarshal ¶
func (m *AbfPluginGetVersion) Unmarshal(b []byte) error
type AbfPluginGetVersionReply ¶
type AbfPluginGetVersionReply struct { Major uint32 `binapi:"u32,name=major" json:"major,omitempty"` Minor uint32 `binapi:"u32,name=minor" json:"minor,omitempty"` }
AbfPluginGetVersionReply defines message 'abf_plugin_get_version_reply'. InProgress: the message form may change in the future versions
func (*AbfPluginGetVersionReply) GetCrcString ¶
func (*AbfPluginGetVersionReply) GetCrcString() string
func (*AbfPluginGetVersionReply) GetMessageName ¶
func (*AbfPluginGetVersionReply) GetMessageName() string
func (*AbfPluginGetVersionReply) GetMessageType ¶
func (*AbfPluginGetVersionReply) GetMessageType() api.MessageType
func (*AbfPluginGetVersionReply) Marshal ¶
func (m *AbfPluginGetVersionReply) Marshal(b []byte) ([]byte, error)
func (*AbfPluginGetVersionReply) Reset ¶
func (m *AbfPluginGetVersionReply) Reset()
func (*AbfPluginGetVersionReply) Size ¶
func (m *AbfPluginGetVersionReply) Size() (size int)
func (*AbfPluginGetVersionReply) Unmarshal ¶
func (m *AbfPluginGetVersionReply) Unmarshal(b []byte) error
type AbfPolicy ¶
type AbfPolicy struct { PolicyID uint32 `binapi:"u32,name=policy_id" json:"policy_id,omitempty"` ACLIndex uint32 `binapi:"u32,name=acl_index" json:"acl_index,omitempty"` NPaths uint8 `binapi:"u8,name=n_paths" json:"-"` Paths []fib_types.FibPath `binapi:"fib_path[n_paths],name=paths" json:"paths,omitempty"` }
AbfPolicy defines type 'abf_policy'.
type AbfPolicyAddDel ¶
type AbfPolicyAddDel struct { IsAdd bool `binapi:"bool,name=is_add" json:"is_add,omitempty"` Policy AbfPolicy `binapi:"abf_policy,name=policy" json:"policy,omitempty"` }
AbfPolicyAddDel defines message 'abf_policy_add_del'. InProgress: the message form may change in the future versions
func (*AbfPolicyAddDel) GetCrcString ¶
func (*AbfPolicyAddDel) GetCrcString() string
func (*AbfPolicyAddDel) GetMessageName ¶
func (*AbfPolicyAddDel) GetMessageName() string
func (*AbfPolicyAddDel) GetMessageType ¶
func (*AbfPolicyAddDel) GetMessageType() api.MessageType
func (*AbfPolicyAddDel) Reset ¶
func (m *AbfPolicyAddDel) Reset()
func (*AbfPolicyAddDel) Size ¶
func (m *AbfPolicyAddDel) Size() (size int)
func (*AbfPolicyAddDel) Unmarshal ¶
func (m *AbfPolicyAddDel) Unmarshal(b []byte) error
type AbfPolicyAddDelReply ¶
type AbfPolicyAddDelReply struct {
Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"`
}
AbfPolicyAddDelReply defines message 'abf_policy_add_del_reply'. InProgress: the message form may change in the future versions
func (*AbfPolicyAddDelReply) GetCrcString ¶
func (*AbfPolicyAddDelReply) GetCrcString() string
func (*AbfPolicyAddDelReply) GetMessageName ¶
func (*AbfPolicyAddDelReply) GetMessageName() string
func (*AbfPolicyAddDelReply) GetMessageType ¶
func (*AbfPolicyAddDelReply) GetMessageType() api.MessageType
func (*AbfPolicyAddDelReply) Marshal ¶
func (m *AbfPolicyAddDelReply) Marshal(b []byte) ([]byte, error)
func (*AbfPolicyAddDelReply) Reset ¶
func (m *AbfPolicyAddDelReply) Reset()
func (*AbfPolicyAddDelReply) Size ¶
func (m *AbfPolicyAddDelReply) Size() (size int)
func (*AbfPolicyAddDelReply) Unmarshal ¶
func (m *AbfPolicyAddDelReply) Unmarshal(b []byte) error
type AbfPolicyDetails ¶
type AbfPolicyDetails struct {
Policy AbfPolicy `binapi:"abf_policy,name=policy" json:"policy,omitempty"`
}
AbfPolicyDetails defines message 'abf_policy_details'. InProgress: the message form may change in the future versions
func (*AbfPolicyDetails) GetCrcString ¶
func (*AbfPolicyDetails) GetCrcString() string
func (*AbfPolicyDetails) GetMessageName ¶
func (*AbfPolicyDetails) GetMessageName() string
func (*AbfPolicyDetails) GetMessageType ¶
func (*AbfPolicyDetails) GetMessageType() api.MessageType
func (*AbfPolicyDetails) Reset ¶
func (m *AbfPolicyDetails) Reset()
func (*AbfPolicyDetails) Size ¶
func (m *AbfPolicyDetails) Size() (size int)
func (*AbfPolicyDetails) Unmarshal ¶
func (m *AbfPolicyDetails) Unmarshal(b []byte) error
type AbfPolicyDump ¶
type AbfPolicyDump struct{}
AbfPolicyDump defines message 'abf_policy_dump'. InProgress: the message form may change in the future versions
func (*AbfPolicyDump) GetCrcString ¶
func (*AbfPolicyDump) GetCrcString() string
func (*AbfPolicyDump) GetMessageName ¶
func (*AbfPolicyDump) GetMessageName() string
func (*AbfPolicyDump) GetMessageType ¶
func (*AbfPolicyDump) GetMessageType() api.MessageType
func (*AbfPolicyDump) Reset ¶
func (m *AbfPolicyDump) Reset()
func (*AbfPolicyDump) Size ¶
func (m *AbfPolicyDump) Size() (size int)
func (*AbfPolicyDump) Unmarshal ¶
func (m *AbfPolicyDump) Unmarshal(b []byte) error
type RPCService ¶
type RPCService interface { AbfItfAttachAddDel(ctx context.Context, in *AbfItfAttachAddDel) (*AbfItfAttachAddDelReply, error) AbfItfAttachDump(ctx context.Context, in *AbfItfAttachDump) (RPCService_AbfItfAttachDumpClient, error) AbfPluginGetVersion(ctx context.Context, in *AbfPluginGetVersion) (*AbfPluginGetVersionReply, error) AbfPolicyAddDel(ctx context.Context, in *AbfPolicyAddDel) (*AbfPolicyAddDelReply, error) AbfPolicyDump(ctx context.Context, in *AbfPolicyDump) (RPCService_AbfPolicyDumpClient, error) }
RPCService defines RPC service abf.
func NewServiceClient ¶
func NewServiceClient(conn api.Connection) RPCService
type RPCService_AbfItfAttachDumpClient ¶
type RPCService_AbfItfAttachDumpClient interface { Recv() (*AbfItfAttachDetails, error) api.Stream }
type RPCService_AbfPolicyDumpClient ¶
type RPCService_AbfPolicyDumpClient interface { Recv() (*AbfPolicyDetails, error) api.Stream }