Documentation ¶
Overview ¶
Package svs contains generated bindings for API file svs.api.
Contents:
10 messages
Index ¶
- Constants
- func AllMessages() []api.Message
- type RPCService
- type RPCService_SvsDumpClient
- type SvsDetails
- func (*SvsDetails) GetCrcString() string
- func (*SvsDetails) GetMessageName() string
- func (*SvsDetails) GetMessageType() api.MessageType
- func (m *SvsDetails) Marshal(b []byte) ([]byte, error)
- func (m *SvsDetails) Reset()
- func (m *SvsDetails) Size() (size int)
- func (m *SvsDetails) Unmarshal(b []byte) error
- type SvsDump
- type SvsEnableDisable
- func (*SvsEnableDisable) GetCrcString() string
- func (*SvsEnableDisable) GetMessageName() string
- func (*SvsEnableDisable) GetMessageType() api.MessageType
- func (m *SvsEnableDisable) Marshal(b []byte) ([]byte, error)
- func (m *SvsEnableDisable) Reset()
- func (m *SvsEnableDisable) Size() (size int)
- func (m *SvsEnableDisable) Unmarshal(b []byte) error
- type SvsEnableDisableReply
- func (*SvsEnableDisableReply) GetCrcString() string
- func (*SvsEnableDisableReply) GetMessageName() string
- func (*SvsEnableDisableReply) GetMessageType() api.MessageType
- func (m *SvsEnableDisableReply) Marshal(b []byte) ([]byte, error)
- func (m *SvsEnableDisableReply) Reset()
- func (m *SvsEnableDisableReply) Size() (size int)
- func (m *SvsEnableDisableReply) Unmarshal(b []byte) error
- type SvsPluginGetVersion
- func (*SvsPluginGetVersion) GetCrcString() string
- func (*SvsPluginGetVersion) GetMessageName() string
- func (*SvsPluginGetVersion) GetMessageType() api.MessageType
- func (m *SvsPluginGetVersion) Marshal(b []byte) ([]byte, error)
- func (m *SvsPluginGetVersion) Reset()
- func (m *SvsPluginGetVersion) Size() (size int)
- func (m *SvsPluginGetVersion) Unmarshal(b []byte) error
- type SvsPluginGetVersionReply
- func (*SvsPluginGetVersionReply) GetCrcString() string
- func (*SvsPluginGetVersionReply) GetMessageName() string
- func (*SvsPluginGetVersionReply) GetMessageType() api.MessageType
- func (m *SvsPluginGetVersionReply) Marshal(b []byte) ([]byte, error)
- func (m *SvsPluginGetVersionReply) Reset()
- func (m *SvsPluginGetVersionReply) Size() (size int)
- func (m *SvsPluginGetVersionReply) Unmarshal(b []byte) error
- type SvsRouteAddDel
- func (*SvsRouteAddDel) GetCrcString() string
- func (*SvsRouteAddDel) GetMessageName() string
- func (*SvsRouteAddDel) GetMessageType() api.MessageType
- func (m *SvsRouteAddDel) Marshal(b []byte) ([]byte, error)
- func (m *SvsRouteAddDel) Reset()
- func (m *SvsRouteAddDel) Size() (size int)
- func (m *SvsRouteAddDel) Unmarshal(b []byte) error
- type SvsRouteAddDelReply
- func (*SvsRouteAddDelReply) GetCrcString() string
- func (*SvsRouteAddDelReply) GetMessageName() string
- func (*SvsRouteAddDelReply) GetMessageType() api.MessageType
- func (m *SvsRouteAddDelReply) Marshal(b []byte) ([]byte, error)
- func (m *SvsRouteAddDelReply) Reset()
- func (m *SvsRouteAddDelReply) Size() (size int)
- func (m *SvsRouteAddDelReply) Unmarshal(b []byte) error
- type SvsTableAddDel
- func (*SvsTableAddDel) GetCrcString() string
- func (*SvsTableAddDel) GetMessageName() string
- func (*SvsTableAddDel) GetMessageType() api.MessageType
- func (m *SvsTableAddDel) Marshal(b []byte) ([]byte, error)
- func (m *SvsTableAddDel) Reset()
- func (m *SvsTableAddDel) Size() (size int)
- func (m *SvsTableAddDel) Unmarshal(b []byte) error
- type SvsTableAddDelReply
- func (*SvsTableAddDelReply) GetCrcString() string
- func (*SvsTableAddDelReply) GetMessageName() string
- func (*SvsTableAddDelReply) GetMessageType() api.MessageType
- func (m *SvsTableAddDelReply) Marshal(b []byte) ([]byte, error)
- func (m *SvsTableAddDelReply) Reset()
- func (m *SvsTableAddDelReply) Size() (size int)
- func (m *SvsTableAddDelReply) Unmarshal(b []byte) error
Constants ¶
const ( APIFile = "svs" APIVersion = "1.0.0" VersionCrc = 0x816cf275 )
Variables ¶
This section is empty.
Functions ¶
func AllMessages ¶
Messages returns list of all messages in this module.
Types ¶
type RPCService ¶
type RPCService interface { SvsDump(ctx context.Context, in *SvsDump) (RPCService_SvsDumpClient, error) SvsEnableDisable(ctx context.Context, in *SvsEnableDisable) (*SvsEnableDisableReply, error) SvsPluginGetVersion(ctx context.Context, in *SvsPluginGetVersion) (*SvsPluginGetVersionReply, error) SvsRouteAddDel(ctx context.Context, in *SvsRouteAddDel) (*SvsRouteAddDelReply, error) SvsTableAddDel(ctx context.Context, in *SvsTableAddDel) (*SvsTableAddDelReply, error) }
RPCService defines RPC service svs.
func NewServiceClient ¶
func NewServiceClient(conn api.Connection) RPCService
type RPCService_SvsDumpClient ¶
type RPCService_SvsDumpClient interface { Recv() (*SvsDetails, error) api.Stream }
type SvsDetails ¶
type SvsDetails struct { TableID uint32 `binapi:"u32,name=table_id" json:"table_id,omitempty"` SwIfIndex interface_types.InterfaceIndex `binapi:"interface_index,name=sw_if_index" json:"sw_if_index,omitempty"` Af ip_types.AddressFamily `binapi:"address_family,name=af" json:"af,omitempty"` }
SvsDetails defines message 'svs_details'.
func (*SvsDetails) GetCrcString ¶
func (*SvsDetails) GetCrcString() string
func (*SvsDetails) GetMessageName ¶
func (*SvsDetails) GetMessageName() string
func (*SvsDetails) GetMessageType ¶
func (*SvsDetails) GetMessageType() api.MessageType
func (*SvsDetails) Reset ¶
func (m *SvsDetails) Reset()
func (*SvsDetails) Size ¶
func (m *SvsDetails) Size() (size int)
func (*SvsDetails) Unmarshal ¶
func (m *SvsDetails) Unmarshal(b []byte) error
type SvsDump ¶
type SvsDump struct{}
SvsDump defines message 'svs_dump'.
func (*SvsDump) GetCrcString ¶
func (*SvsDump) GetMessageName ¶
func (*SvsDump) GetMessageType ¶
func (*SvsDump) GetMessageType() api.MessageType
type SvsEnableDisable ¶
type SvsEnableDisable struct { IsEnable bool `binapi:"bool,name=is_enable" json:"is_enable,omitempty"` Af ip_types.AddressFamily `binapi:"address_family,name=af" json:"af,omitempty"` TableID uint32 `binapi:"u32,name=table_id" json:"table_id,omitempty"` SwIfIndex interface_types.InterfaceIndex `binapi:"interface_index,name=sw_if_index" json:"sw_if_index,omitempty"` }
SvsEnableDisable defines message 'svs_enable_disable'.
func (*SvsEnableDisable) GetCrcString ¶
func (*SvsEnableDisable) GetCrcString() string
func (*SvsEnableDisable) GetMessageName ¶
func (*SvsEnableDisable) GetMessageName() string
func (*SvsEnableDisable) GetMessageType ¶
func (*SvsEnableDisable) GetMessageType() api.MessageType
func (*SvsEnableDisable) Reset ¶
func (m *SvsEnableDisable) Reset()
func (*SvsEnableDisable) Size ¶
func (m *SvsEnableDisable) Size() (size int)
func (*SvsEnableDisable) Unmarshal ¶
func (m *SvsEnableDisable) Unmarshal(b []byte) error
type SvsEnableDisableReply ¶
type SvsEnableDisableReply struct {
Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"`
}
SvsEnableDisableReply defines message 'svs_enable_disable_reply'.
func (*SvsEnableDisableReply) GetCrcString ¶
func (*SvsEnableDisableReply) GetCrcString() string
func (*SvsEnableDisableReply) GetMessageName ¶
func (*SvsEnableDisableReply) GetMessageName() string
func (*SvsEnableDisableReply) GetMessageType ¶
func (*SvsEnableDisableReply) GetMessageType() api.MessageType
func (*SvsEnableDisableReply) Marshal ¶
func (m *SvsEnableDisableReply) Marshal(b []byte) ([]byte, error)
func (*SvsEnableDisableReply) Reset ¶
func (m *SvsEnableDisableReply) Reset()
func (*SvsEnableDisableReply) Size ¶
func (m *SvsEnableDisableReply) Size() (size int)
func (*SvsEnableDisableReply) Unmarshal ¶
func (m *SvsEnableDisableReply) Unmarshal(b []byte) error
type SvsPluginGetVersion ¶
type SvsPluginGetVersion struct{}
SvsPluginGetVersion defines message 'svs_plugin_get_version'.
func (*SvsPluginGetVersion) GetCrcString ¶
func (*SvsPluginGetVersion) GetCrcString() string
func (*SvsPluginGetVersion) GetMessageName ¶
func (*SvsPluginGetVersion) GetMessageName() string
func (*SvsPluginGetVersion) GetMessageType ¶
func (*SvsPluginGetVersion) GetMessageType() api.MessageType
func (*SvsPluginGetVersion) Marshal ¶
func (m *SvsPluginGetVersion) Marshal(b []byte) ([]byte, error)
func (*SvsPluginGetVersion) Reset ¶
func (m *SvsPluginGetVersion) Reset()
func (*SvsPluginGetVersion) Size ¶
func (m *SvsPluginGetVersion) Size() (size int)
func (*SvsPluginGetVersion) Unmarshal ¶
func (m *SvsPluginGetVersion) Unmarshal(b []byte) error
type SvsPluginGetVersionReply ¶
type SvsPluginGetVersionReply struct { Major uint32 `binapi:"u32,name=major" json:"major,omitempty"` Minor uint32 `binapi:"u32,name=minor" json:"minor,omitempty"` }
SvsPluginGetVersionReply defines message 'svs_plugin_get_version_reply'.
func (*SvsPluginGetVersionReply) GetCrcString ¶
func (*SvsPluginGetVersionReply) GetCrcString() string
func (*SvsPluginGetVersionReply) GetMessageName ¶
func (*SvsPluginGetVersionReply) GetMessageName() string
func (*SvsPluginGetVersionReply) GetMessageType ¶
func (*SvsPluginGetVersionReply) GetMessageType() api.MessageType
func (*SvsPluginGetVersionReply) Marshal ¶
func (m *SvsPluginGetVersionReply) Marshal(b []byte) ([]byte, error)
func (*SvsPluginGetVersionReply) Reset ¶
func (m *SvsPluginGetVersionReply) Reset()
func (*SvsPluginGetVersionReply) Size ¶
func (m *SvsPluginGetVersionReply) Size() (size int)
func (*SvsPluginGetVersionReply) Unmarshal ¶
func (m *SvsPluginGetVersionReply) Unmarshal(b []byte) error
type SvsRouteAddDel ¶
type SvsRouteAddDel struct { IsAdd bool `binapi:"bool,name=is_add" json:"is_add,omitempty"` Prefix ip_types.Prefix `binapi:"prefix,name=prefix" json:"prefix,omitempty"` TableID uint32 `binapi:"u32,name=table_id" json:"table_id,omitempty"` SourceTableID uint32 `binapi:"u32,name=source_table_id" json:"source_table_id,omitempty"` }
SvsRouteAddDel defines message 'svs_route_add_del'.
func (*SvsRouteAddDel) GetCrcString ¶
func (*SvsRouteAddDel) GetCrcString() string
func (*SvsRouteAddDel) GetMessageName ¶
func (*SvsRouteAddDel) GetMessageName() string
func (*SvsRouteAddDel) GetMessageType ¶
func (*SvsRouteAddDel) GetMessageType() api.MessageType
func (*SvsRouteAddDel) Reset ¶
func (m *SvsRouteAddDel) Reset()
func (*SvsRouteAddDel) Size ¶
func (m *SvsRouteAddDel) Size() (size int)
func (*SvsRouteAddDel) Unmarshal ¶
func (m *SvsRouteAddDel) Unmarshal(b []byte) error
type SvsRouteAddDelReply ¶
type SvsRouteAddDelReply struct {
Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"`
}
SvsRouteAddDelReply defines message 'svs_route_add_del_reply'.
func (*SvsRouteAddDelReply) GetCrcString ¶
func (*SvsRouteAddDelReply) GetCrcString() string
func (*SvsRouteAddDelReply) GetMessageName ¶
func (*SvsRouteAddDelReply) GetMessageName() string
func (*SvsRouteAddDelReply) GetMessageType ¶
func (*SvsRouteAddDelReply) GetMessageType() api.MessageType
func (*SvsRouteAddDelReply) Marshal ¶
func (m *SvsRouteAddDelReply) Marshal(b []byte) ([]byte, error)
func (*SvsRouteAddDelReply) Reset ¶
func (m *SvsRouteAddDelReply) Reset()
func (*SvsRouteAddDelReply) Size ¶
func (m *SvsRouteAddDelReply) Size() (size int)
func (*SvsRouteAddDelReply) Unmarshal ¶
func (m *SvsRouteAddDelReply) Unmarshal(b []byte) error
type SvsTableAddDel ¶
type SvsTableAddDel struct { IsAdd bool `binapi:"bool,name=is_add" json:"is_add,omitempty"` Af ip_types.AddressFamily `binapi:"address_family,name=af" json:"af,omitempty"` TableID uint32 `binapi:"u32,name=table_id" json:"table_id,omitempty"` }
SvsTableAddDel defines message 'svs_table_add_del'.
func (*SvsTableAddDel) GetCrcString ¶
func (*SvsTableAddDel) GetCrcString() string
func (*SvsTableAddDel) GetMessageName ¶
func (*SvsTableAddDel) GetMessageName() string
func (*SvsTableAddDel) GetMessageType ¶
func (*SvsTableAddDel) GetMessageType() api.MessageType
func (*SvsTableAddDel) Reset ¶
func (m *SvsTableAddDel) Reset()
func (*SvsTableAddDel) Size ¶
func (m *SvsTableAddDel) Size() (size int)
func (*SvsTableAddDel) Unmarshal ¶
func (m *SvsTableAddDel) Unmarshal(b []byte) error
type SvsTableAddDelReply ¶
type SvsTableAddDelReply struct {
Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"`
}
SvsTableAddDelReply defines message 'svs_table_add_del_reply'.
func (*SvsTableAddDelReply) GetCrcString ¶
func (*SvsTableAddDelReply) GetCrcString() string
func (*SvsTableAddDelReply) GetMessageName ¶
func (*SvsTableAddDelReply) GetMessageName() string
func (*SvsTableAddDelReply) GetMessageType ¶
func (*SvsTableAddDelReply) GetMessageType() api.MessageType
func (*SvsTableAddDelReply) Marshal ¶
func (m *SvsTableAddDelReply) Marshal(b []byte) ([]byte, error)
func (*SvsTableAddDelReply) Reset ¶
func (m *SvsTableAddDelReply) Reset()
func (*SvsTableAddDelReply) Size ¶
func (m *SvsTableAddDelReply) Size() (size int)
func (*SvsTableAddDelReply) Unmarshal ¶
func (m *SvsTableAddDelReply) Unmarshal(b []byte) error