Documentation ¶
Overview ¶
Package dslite contains generated bindings for API file dslite.api.
Contents:
12 messages
Index ¶
- Constants
- func AllMessages() []api.Message
- type DsliteAddDelPoolAddrRange
- func (*DsliteAddDelPoolAddrRange) GetCrcString() string
- func (*DsliteAddDelPoolAddrRange) GetMessageName() string
- func (*DsliteAddDelPoolAddrRange) GetMessageType() api.MessageType
- func (m *DsliteAddDelPoolAddrRange) Marshal(b []byte) ([]byte, error)
- func (m *DsliteAddDelPoolAddrRange) Reset()
- func (m *DsliteAddDelPoolAddrRange) Size() (size int)
- func (m *DsliteAddDelPoolAddrRange) Unmarshal(b []byte) error
- type DsliteAddDelPoolAddrRangeReply
- func (*DsliteAddDelPoolAddrRangeReply) GetCrcString() string
- func (*DsliteAddDelPoolAddrRangeReply) GetMessageName() string
- func (*DsliteAddDelPoolAddrRangeReply) GetMessageType() api.MessageType
- func (m *DsliteAddDelPoolAddrRangeReply) Marshal(b []byte) ([]byte, error)
- func (m *DsliteAddDelPoolAddrRangeReply) Reset()
- func (m *DsliteAddDelPoolAddrRangeReply) Size() (size int)
- func (m *DsliteAddDelPoolAddrRangeReply) Unmarshal(b []byte) error
- type DsliteAddressDetails
- func (*DsliteAddressDetails) GetCrcString() string
- func (*DsliteAddressDetails) GetMessageName() string
- func (*DsliteAddressDetails) GetMessageType() api.MessageType
- func (m *DsliteAddressDetails) Marshal(b []byte) ([]byte, error)
- func (m *DsliteAddressDetails) Reset()
- func (m *DsliteAddressDetails) Size() (size int)
- func (m *DsliteAddressDetails) Unmarshal(b []byte) error
- type DsliteAddressDump
- func (*DsliteAddressDump) GetCrcString() string
- func (*DsliteAddressDump) GetMessageName() string
- func (*DsliteAddressDump) GetMessageType() api.MessageType
- func (m *DsliteAddressDump) Marshal(b []byte) ([]byte, error)
- func (m *DsliteAddressDump) Reset()
- func (m *DsliteAddressDump) Size() (size int)
- func (m *DsliteAddressDump) Unmarshal(b []byte) error
- type DsliteGetAftrAddr
- func (*DsliteGetAftrAddr) GetCrcString() string
- func (*DsliteGetAftrAddr) GetMessageName() string
- func (*DsliteGetAftrAddr) GetMessageType() api.MessageType
- func (m *DsliteGetAftrAddr) Marshal(b []byte) ([]byte, error)
- func (m *DsliteGetAftrAddr) Reset()
- func (m *DsliteGetAftrAddr) Size() (size int)
- func (m *DsliteGetAftrAddr) Unmarshal(b []byte) error
- type DsliteGetAftrAddrReply
- func (*DsliteGetAftrAddrReply) GetCrcString() string
- func (*DsliteGetAftrAddrReply) GetMessageName() string
- func (*DsliteGetAftrAddrReply) GetMessageType() api.MessageType
- func (m *DsliteGetAftrAddrReply) Marshal(b []byte) ([]byte, error)
- func (m *DsliteGetAftrAddrReply) Reset()
- func (m *DsliteGetAftrAddrReply) Size() (size int)
- func (m *DsliteGetAftrAddrReply) Unmarshal(b []byte) error
- type DsliteGetB4Addr
- func (*DsliteGetB4Addr) GetCrcString() string
- func (*DsliteGetB4Addr) GetMessageName() string
- func (*DsliteGetB4Addr) GetMessageType() api.MessageType
- func (m *DsliteGetB4Addr) Marshal(b []byte) ([]byte, error)
- func (m *DsliteGetB4Addr) Reset()
- func (m *DsliteGetB4Addr) Size() (size int)
- func (m *DsliteGetB4Addr) Unmarshal(b []byte) error
- type DsliteGetB4AddrReply
- func (*DsliteGetB4AddrReply) GetCrcString() string
- func (*DsliteGetB4AddrReply) GetMessageName() string
- func (*DsliteGetB4AddrReply) GetMessageType() api.MessageType
- func (m *DsliteGetB4AddrReply) Marshal(b []byte) ([]byte, error)
- func (m *DsliteGetB4AddrReply) Reset()
- func (m *DsliteGetB4AddrReply) Size() (size int)
- func (m *DsliteGetB4AddrReply) Unmarshal(b []byte) error
- type DsliteSetAftrAddr
- func (*DsliteSetAftrAddr) GetCrcString() string
- func (*DsliteSetAftrAddr) GetMessageName() string
- func (*DsliteSetAftrAddr) GetMessageType() api.MessageType
- func (m *DsliteSetAftrAddr) Marshal(b []byte) ([]byte, error)
- func (m *DsliteSetAftrAddr) Reset()
- func (m *DsliteSetAftrAddr) Size() (size int)
- func (m *DsliteSetAftrAddr) Unmarshal(b []byte) error
- type DsliteSetAftrAddrReply
- func (*DsliteSetAftrAddrReply) GetCrcString() string
- func (*DsliteSetAftrAddrReply) GetMessageName() string
- func (*DsliteSetAftrAddrReply) GetMessageType() api.MessageType
- func (m *DsliteSetAftrAddrReply) Marshal(b []byte) ([]byte, error)
- func (m *DsliteSetAftrAddrReply) Reset()
- func (m *DsliteSetAftrAddrReply) Size() (size int)
- func (m *DsliteSetAftrAddrReply) Unmarshal(b []byte) error
- type DsliteSetB4Addr
- func (*DsliteSetB4Addr) GetCrcString() string
- func (*DsliteSetB4Addr) GetMessageName() string
- func (*DsliteSetB4Addr) GetMessageType() api.MessageType
- func (m *DsliteSetB4Addr) Marshal(b []byte) ([]byte, error)
- func (m *DsliteSetB4Addr) Reset()
- func (m *DsliteSetB4Addr) Size() (size int)
- func (m *DsliteSetB4Addr) Unmarshal(b []byte) error
- type DsliteSetB4AddrReply
- func (*DsliteSetB4AddrReply) GetCrcString() string
- func (*DsliteSetB4AddrReply) GetMessageName() string
- func (*DsliteSetB4AddrReply) GetMessageType() api.MessageType
- func (m *DsliteSetB4AddrReply) Marshal(b []byte) ([]byte, error)
- func (m *DsliteSetB4AddrReply) Reset()
- func (m *DsliteSetB4AddrReply) Size() (size int)
- func (m *DsliteSetB4AddrReply) Unmarshal(b []byte) error
- type RPCService
- type RPCService_DsliteAddressDumpClient
Constants ¶
const ( APIFile = "dslite" APIVersion = "1.0.0" VersionCrc = 0x1afa049b )
Variables ¶
This section is empty.
Functions ¶
func AllMessages ¶
Messages returns list of all messages in this module.
Types ¶
type DsliteAddDelPoolAddrRange ¶
type DsliteAddDelPoolAddrRange struct { StartAddr ip_types.IP4Address `binapi:"ip4_address,name=start_addr" json:"start_addr,omitempty"` EndAddr ip_types.IP4Address `binapi:"ip4_address,name=end_addr" json:"end_addr,omitempty"` IsAdd bool `binapi:"bool,name=is_add" json:"is_add,omitempty"` }
DsliteAddDelPoolAddrRange defines message 'dslite_add_del_pool_addr_range'.
func (*DsliteAddDelPoolAddrRange) GetCrcString ¶
func (*DsliteAddDelPoolAddrRange) GetCrcString() string
func (*DsliteAddDelPoolAddrRange) GetMessageName ¶
func (*DsliteAddDelPoolAddrRange) GetMessageName() string
func (*DsliteAddDelPoolAddrRange) GetMessageType ¶
func (*DsliteAddDelPoolAddrRange) GetMessageType() api.MessageType
func (*DsliteAddDelPoolAddrRange) Marshal ¶
func (m *DsliteAddDelPoolAddrRange) Marshal(b []byte) ([]byte, error)
func (*DsliteAddDelPoolAddrRange) Reset ¶
func (m *DsliteAddDelPoolAddrRange) Reset()
func (*DsliteAddDelPoolAddrRange) Size ¶
func (m *DsliteAddDelPoolAddrRange) Size() (size int)
func (*DsliteAddDelPoolAddrRange) Unmarshal ¶
func (m *DsliteAddDelPoolAddrRange) Unmarshal(b []byte) error
type DsliteAddDelPoolAddrRangeReply ¶
type DsliteAddDelPoolAddrRangeReply struct {
Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"`
}
DsliteAddDelPoolAddrRangeReply defines message 'dslite_add_del_pool_addr_range_reply'.
func (*DsliteAddDelPoolAddrRangeReply) GetCrcString ¶
func (*DsliteAddDelPoolAddrRangeReply) GetCrcString() string
func (*DsliteAddDelPoolAddrRangeReply) GetMessageName ¶
func (*DsliteAddDelPoolAddrRangeReply) GetMessageName() string
func (*DsliteAddDelPoolAddrRangeReply) GetMessageType ¶
func (*DsliteAddDelPoolAddrRangeReply) GetMessageType() api.MessageType
func (*DsliteAddDelPoolAddrRangeReply) Marshal ¶
func (m *DsliteAddDelPoolAddrRangeReply) Marshal(b []byte) ([]byte, error)
func (*DsliteAddDelPoolAddrRangeReply) Reset ¶
func (m *DsliteAddDelPoolAddrRangeReply) Reset()
func (*DsliteAddDelPoolAddrRangeReply) Size ¶
func (m *DsliteAddDelPoolAddrRangeReply) Size() (size int)
func (*DsliteAddDelPoolAddrRangeReply) Unmarshal ¶
func (m *DsliteAddDelPoolAddrRangeReply) Unmarshal(b []byte) error
type DsliteAddressDetails ¶
type DsliteAddressDetails struct {
IPAddress ip_types.IP4Address `binapi:"ip4_address,name=ip_address" json:"ip_address,omitempty"`
}
DsliteAddressDetails defines message 'dslite_address_details'.
func (*DsliteAddressDetails) GetCrcString ¶
func (*DsliteAddressDetails) GetCrcString() string
func (*DsliteAddressDetails) GetMessageName ¶
func (*DsliteAddressDetails) GetMessageName() string
func (*DsliteAddressDetails) GetMessageType ¶
func (*DsliteAddressDetails) GetMessageType() api.MessageType
func (*DsliteAddressDetails) Marshal ¶
func (m *DsliteAddressDetails) Marshal(b []byte) ([]byte, error)
func (*DsliteAddressDetails) Reset ¶
func (m *DsliteAddressDetails) Reset()
func (*DsliteAddressDetails) Size ¶
func (m *DsliteAddressDetails) Size() (size int)
func (*DsliteAddressDetails) Unmarshal ¶
func (m *DsliteAddressDetails) Unmarshal(b []byte) error
type DsliteAddressDump ¶
type DsliteAddressDump struct{}
DsliteAddressDump defines message 'dslite_address_dump'.
func (*DsliteAddressDump) GetCrcString ¶
func (*DsliteAddressDump) GetCrcString() string
func (*DsliteAddressDump) GetMessageName ¶
func (*DsliteAddressDump) GetMessageName() string
func (*DsliteAddressDump) GetMessageType ¶
func (*DsliteAddressDump) GetMessageType() api.MessageType
func (*DsliteAddressDump) Reset ¶
func (m *DsliteAddressDump) Reset()
func (*DsliteAddressDump) Size ¶
func (m *DsliteAddressDump) Size() (size int)
func (*DsliteAddressDump) Unmarshal ¶
func (m *DsliteAddressDump) Unmarshal(b []byte) error
type DsliteGetAftrAddr ¶
type DsliteGetAftrAddr struct{}
DsliteGetAftrAddr defines message 'dslite_get_aftr_addr'.
func (*DsliteGetAftrAddr) GetCrcString ¶
func (*DsliteGetAftrAddr) GetCrcString() string
func (*DsliteGetAftrAddr) GetMessageName ¶
func (*DsliteGetAftrAddr) GetMessageName() string
func (*DsliteGetAftrAddr) GetMessageType ¶
func (*DsliteGetAftrAddr) GetMessageType() api.MessageType
func (*DsliteGetAftrAddr) Reset ¶
func (m *DsliteGetAftrAddr) Reset()
func (*DsliteGetAftrAddr) Size ¶
func (m *DsliteGetAftrAddr) Size() (size int)
func (*DsliteGetAftrAddr) Unmarshal ¶
func (m *DsliteGetAftrAddr) Unmarshal(b []byte) error
type DsliteGetAftrAddrReply ¶
type DsliteGetAftrAddrReply struct { Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"` IP4Addr ip_types.IP4Address `binapi:"ip4_address,name=ip4_addr" json:"ip4_addr,omitempty"` IP6Addr ip_types.IP6Address `binapi:"ip6_address,name=ip6_addr" json:"ip6_addr,omitempty"` }
DsliteGetAftrAddrReply defines message 'dslite_get_aftr_addr_reply'.
func (*DsliteGetAftrAddrReply) GetCrcString ¶
func (*DsliteGetAftrAddrReply) GetCrcString() string
func (*DsliteGetAftrAddrReply) GetMessageName ¶
func (*DsliteGetAftrAddrReply) GetMessageName() string
func (*DsliteGetAftrAddrReply) GetMessageType ¶
func (*DsliteGetAftrAddrReply) GetMessageType() api.MessageType
func (*DsliteGetAftrAddrReply) Marshal ¶
func (m *DsliteGetAftrAddrReply) Marshal(b []byte) ([]byte, error)
func (*DsliteGetAftrAddrReply) Reset ¶
func (m *DsliteGetAftrAddrReply) Reset()
func (*DsliteGetAftrAddrReply) Size ¶
func (m *DsliteGetAftrAddrReply) Size() (size int)
func (*DsliteGetAftrAddrReply) Unmarshal ¶
func (m *DsliteGetAftrAddrReply) Unmarshal(b []byte) error
type DsliteGetB4Addr ¶
type DsliteGetB4Addr struct{}
DsliteGetB4Addr defines message 'dslite_get_b4_addr'.
func (*DsliteGetB4Addr) GetCrcString ¶
func (*DsliteGetB4Addr) GetCrcString() string
func (*DsliteGetB4Addr) GetMessageName ¶
func (*DsliteGetB4Addr) GetMessageName() string
func (*DsliteGetB4Addr) GetMessageType ¶
func (*DsliteGetB4Addr) GetMessageType() api.MessageType
func (*DsliteGetB4Addr) Reset ¶
func (m *DsliteGetB4Addr) Reset()
func (*DsliteGetB4Addr) Size ¶
func (m *DsliteGetB4Addr) Size() (size int)
func (*DsliteGetB4Addr) Unmarshal ¶
func (m *DsliteGetB4Addr) Unmarshal(b []byte) error
type DsliteGetB4AddrReply ¶
type DsliteGetB4AddrReply struct { Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"` IP4Addr ip_types.IP4Address `binapi:"ip4_address,name=ip4_addr" json:"ip4_addr,omitempty"` IP6Addr ip_types.IP6Address `binapi:"ip6_address,name=ip6_addr" json:"ip6_addr,omitempty"` }
DsliteGetB4AddrReply defines message 'dslite_get_b4_addr_reply'.
func (*DsliteGetB4AddrReply) GetCrcString ¶
func (*DsliteGetB4AddrReply) GetCrcString() string
func (*DsliteGetB4AddrReply) GetMessageName ¶
func (*DsliteGetB4AddrReply) GetMessageName() string
func (*DsliteGetB4AddrReply) GetMessageType ¶
func (*DsliteGetB4AddrReply) GetMessageType() api.MessageType
func (*DsliteGetB4AddrReply) Marshal ¶
func (m *DsliteGetB4AddrReply) Marshal(b []byte) ([]byte, error)
func (*DsliteGetB4AddrReply) Reset ¶
func (m *DsliteGetB4AddrReply) Reset()
func (*DsliteGetB4AddrReply) Size ¶
func (m *DsliteGetB4AddrReply) Size() (size int)
func (*DsliteGetB4AddrReply) Unmarshal ¶
func (m *DsliteGetB4AddrReply) Unmarshal(b []byte) error
type DsliteSetAftrAddr ¶
type DsliteSetAftrAddr struct { IP4Addr ip_types.IP4Address `binapi:"ip4_address,name=ip4_addr" json:"ip4_addr,omitempty"` IP6Addr ip_types.IP6Address `binapi:"ip6_address,name=ip6_addr" json:"ip6_addr,omitempty"` }
DsliteSetAftrAddr defines message 'dslite_set_aftr_addr'.
func (*DsliteSetAftrAddr) GetCrcString ¶
func (*DsliteSetAftrAddr) GetCrcString() string
func (*DsliteSetAftrAddr) GetMessageName ¶
func (*DsliteSetAftrAddr) GetMessageName() string
func (*DsliteSetAftrAddr) GetMessageType ¶
func (*DsliteSetAftrAddr) GetMessageType() api.MessageType
func (*DsliteSetAftrAddr) Reset ¶
func (m *DsliteSetAftrAddr) Reset()
func (*DsliteSetAftrAddr) Size ¶
func (m *DsliteSetAftrAddr) Size() (size int)
func (*DsliteSetAftrAddr) Unmarshal ¶
func (m *DsliteSetAftrAddr) Unmarshal(b []byte) error
type DsliteSetAftrAddrReply ¶
type DsliteSetAftrAddrReply struct {
Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"`
}
DsliteSetAftrAddrReply defines message 'dslite_set_aftr_addr_reply'.
func (*DsliteSetAftrAddrReply) GetCrcString ¶
func (*DsliteSetAftrAddrReply) GetCrcString() string
func (*DsliteSetAftrAddrReply) GetMessageName ¶
func (*DsliteSetAftrAddrReply) GetMessageName() string
func (*DsliteSetAftrAddrReply) GetMessageType ¶
func (*DsliteSetAftrAddrReply) GetMessageType() api.MessageType
func (*DsliteSetAftrAddrReply) Marshal ¶
func (m *DsliteSetAftrAddrReply) Marshal(b []byte) ([]byte, error)
func (*DsliteSetAftrAddrReply) Reset ¶
func (m *DsliteSetAftrAddrReply) Reset()
func (*DsliteSetAftrAddrReply) Size ¶
func (m *DsliteSetAftrAddrReply) Size() (size int)
func (*DsliteSetAftrAddrReply) Unmarshal ¶
func (m *DsliteSetAftrAddrReply) Unmarshal(b []byte) error
type DsliteSetB4Addr ¶
type DsliteSetB4Addr struct { IP4Addr ip_types.IP4Address `binapi:"ip4_address,name=ip4_addr" json:"ip4_addr,omitempty"` IP6Addr ip_types.IP6Address `binapi:"ip6_address,name=ip6_addr" json:"ip6_addr,omitempty"` }
DsliteSetB4Addr defines message 'dslite_set_b4_addr'.
func (*DsliteSetB4Addr) GetCrcString ¶
func (*DsliteSetB4Addr) GetCrcString() string
func (*DsliteSetB4Addr) GetMessageName ¶
func (*DsliteSetB4Addr) GetMessageName() string
func (*DsliteSetB4Addr) GetMessageType ¶
func (*DsliteSetB4Addr) GetMessageType() api.MessageType
func (*DsliteSetB4Addr) Reset ¶
func (m *DsliteSetB4Addr) Reset()
func (*DsliteSetB4Addr) Size ¶
func (m *DsliteSetB4Addr) Size() (size int)
func (*DsliteSetB4Addr) Unmarshal ¶
func (m *DsliteSetB4Addr) Unmarshal(b []byte) error
type DsliteSetB4AddrReply ¶
type DsliteSetB4AddrReply struct {
Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"`
}
DsliteSetB4AddrReply defines message 'dslite_set_b4_addr_reply'.
func (*DsliteSetB4AddrReply) GetCrcString ¶
func (*DsliteSetB4AddrReply) GetCrcString() string
func (*DsliteSetB4AddrReply) GetMessageName ¶
func (*DsliteSetB4AddrReply) GetMessageName() string
func (*DsliteSetB4AddrReply) GetMessageType ¶
func (*DsliteSetB4AddrReply) GetMessageType() api.MessageType
func (*DsliteSetB4AddrReply) Marshal ¶
func (m *DsliteSetB4AddrReply) Marshal(b []byte) ([]byte, error)
func (*DsliteSetB4AddrReply) Reset ¶
func (m *DsliteSetB4AddrReply) Reset()
func (*DsliteSetB4AddrReply) Size ¶
func (m *DsliteSetB4AddrReply) Size() (size int)
func (*DsliteSetB4AddrReply) Unmarshal ¶
func (m *DsliteSetB4AddrReply) Unmarshal(b []byte) error
type RPCService ¶
type RPCService interface { DsliteAddDelPoolAddrRange(ctx context.Context, in *DsliteAddDelPoolAddrRange) (*DsliteAddDelPoolAddrRangeReply, error) DsliteAddressDump(ctx context.Context, in *DsliteAddressDump) (RPCService_DsliteAddressDumpClient, error) DsliteGetAftrAddr(ctx context.Context, in *DsliteGetAftrAddr) (*DsliteGetAftrAddrReply, error) DsliteGetB4Addr(ctx context.Context, in *DsliteGetB4Addr) (*DsliteGetB4AddrReply, error) DsliteSetAftrAddr(ctx context.Context, in *DsliteSetAftrAddr) (*DsliteSetAftrAddrReply, error) DsliteSetB4Addr(ctx context.Context, in *DsliteSetB4Addr) (*DsliteSetB4AddrReply, error) }
RPCService defines RPC service dslite.
func NewServiceClient ¶
func NewServiceClient(conn api.Connection) RPCService
type RPCService_DsliteAddressDumpClient ¶
type RPCService_DsliteAddressDumpClient interface { Recv() (*DsliteAddressDetails, error) api.Stream }