Documentation ¶
Overview ¶
Package pot is a generated VPP binary API for 'pot' module.
It consists of:
8 messages 4 services
Index ¶
- Constants
- func AllMessages() []api.Message
- type PotProfileActivate
- type PotProfileActivateReply
- type PotProfileAdd
- type PotProfileAddReply
- type PotProfileDel
- type PotProfileDelReply
- type PotProfileShowConfigDetails
- type PotProfileShowConfigDump
- type RPCService
- type RPCService_DumpPotProfileShowConfigClient
Constants ¶
const ( // ModuleName is the name of this module. ModuleName = "pot" // APIVersion is the API version of this module. APIVersion = "1.0.0" // VersionCrc is the CRC of this module. VersionCrc = 0x98eccbe7 )
Variables ¶
This section is empty.
Functions ¶
func AllMessages ¶
Messages returns list of all messages in this module.
Types ¶
type PotProfileActivate ¶
type PotProfileActivate struct { ID uint8 ListNameLen uint8 `struc:"sizeof=ListName"` ListName []byte }
PotProfileActivate represents VPP binary API message 'pot_profile_activate'.
func (*PotProfileActivate) GetCrcString ¶
func (*PotProfileActivate) GetCrcString() string
func (*PotProfileActivate) GetMessageName ¶
func (*PotProfileActivate) GetMessageName() string
func (*PotProfileActivate) GetMessageType ¶
func (*PotProfileActivate) GetMessageType() api.MessageType
func (*PotProfileActivate) Reset ¶
func (m *PotProfileActivate) Reset()
type PotProfileActivateReply ¶
type PotProfileActivateReply struct {
Retval int32
}
PotProfileActivateReply represents VPP binary API message 'pot_profile_activate_reply'.
func (*PotProfileActivateReply) GetCrcString ¶
func (*PotProfileActivateReply) GetCrcString() string
func (*PotProfileActivateReply) GetMessageName ¶
func (*PotProfileActivateReply) GetMessageName() string
func (*PotProfileActivateReply) GetMessageType ¶
func (*PotProfileActivateReply) GetMessageType() api.MessageType
func (*PotProfileActivateReply) Reset ¶
func (m *PotProfileActivateReply) Reset()
type PotProfileAdd ¶
type PotProfileAdd struct { ID uint8 Validator uint8 SecretKey uint64 Prime uint64 MaxBits uint8 Lpc uint64 PolynomialPublic uint64 ListNameLen uint8 `struc:"sizeof=ListName"` ListName []byte }
PotProfileAdd represents VPP binary API message 'pot_profile_add'.
func (*PotProfileAdd) GetCrcString ¶
func (*PotProfileAdd) GetCrcString() string
func (*PotProfileAdd) GetMessageName ¶
func (*PotProfileAdd) GetMessageName() string
func (*PotProfileAdd) GetMessageType ¶
func (*PotProfileAdd) GetMessageType() api.MessageType
func (*PotProfileAdd) Reset ¶
func (m *PotProfileAdd) Reset()
type PotProfileAddReply ¶
type PotProfileAddReply struct {
Retval int32
}
PotProfileAddReply represents VPP binary API message 'pot_profile_add_reply'.
func (*PotProfileAddReply) GetCrcString ¶
func (*PotProfileAddReply) GetCrcString() string
func (*PotProfileAddReply) GetMessageName ¶
func (*PotProfileAddReply) GetMessageName() string
func (*PotProfileAddReply) GetMessageType ¶
func (*PotProfileAddReply) GetMessageType() api.MessageType
func (*PotProfileAddReply) Reset ¶
func (m *PotProfileAddReply) Reset()
type PotProfileDel ¶
PotProfileDel represents VPP binary API message 'pot_profile_del'.
func (*PotProfileDel) GetCrcString ¶
func (*PotProfileDel) GetCrcString() string
func (*PotProfileDel) GetMessageName ¶
func (*PotProfileDel) GetMessageName() string
func (*PotProfileDel) GetMessageType ¶
func (*PotProfileDel) GetMessageType() api.MessageType
func (*PotProfileDel) Reset ¶
func (m *PotProfileDel) Reset()
type PotProfileDelReply ¶
type PotProfileDelReply struct {
Retval int32
}
PotProfileDelReply represents VPP binary API message 'pot_profile_del_reply'.
func (*PotProfileDelReply) GetCrcString ¶
func (*PotProfileDelReply) GetCrcString() string
func (*PotProfileDelReply) GetMessageName ¶
func (*PotProfileDelReply) GetMessageName() string
func (*PotProfileDelReply) GetMessageType ¶
func (*PotProfileDelReply) GetMessageType() api.MessageType
func (*PotProfileDelReply) Reset ¶
func (m *PotProfileDelReply) Reset()
type PotProfileShowConfigDetails ¶
type PotProfileShowConfigDetails struct { Retval int32 ID uint8 Validator uint8 SecretKey uint64 Prime uint64 BitMask uint64 Lpc uint64 PolynomialPublic uint64 }
PotProfileShowConfigDetails represents VPP binary API message 'pot_profile_show_config_details'.
func (*PotProfileShowConfigDetails) GetCrcString ¶
func (*PotProfileShowConfigDetails) GetCrcString() string
func (*PotProfileShowConfigDetails) GetMessageName ¶
func (*PotProfileShowConfigDetails) GetMessageName() string
func (*PotProfileShowConfigDetails) GetMessageType ¶
func (*PotProfileShowConfigDetails) GetMessageType() api.MessageType
func (*PotProfileShowConfigDetails) Reset ¶
func (m *PotProfileShowConfigDetails) Reset()
type PotProfileShowConfigDump ¶
type PotProfileShowConfigDump struct {
ID uint8
}
PotProfileShowConfigDump represents VPP binary API message 'pot_profile_show_config_dump'.
func (*PotProfileShowConfigDump) GetCrcString ¶
func (*PotProfileShowConfigDump) GetCrcString() string
func (*PotProfileShowConfigDump) GetMessageName ¶
func (*PotProfileShowConfigDump) GetMessageName() string
func (*PotProfileShowConfigDump) GetMessageType ¶
func (*PotProfileShowConfigDump) GetMessageType() api.MessageType
func (*PotProfileShowConfigDump) Reset ¶
func (m *PotProfileShowConfigDump) Reset()
type RPCService ¶
type RPCService interface { DumpPotProfileShowConfig(ctx context.Context, in *PotProfileShowConfigDump) (RPCService_DumpPotProfileShowConfigClient, error) PotProfileActivate(ctx context.Context, in *PotProfileActivate) (*PotProfileActivateReply, error) PotProfileAdd(ctx context.Context, in *PotProfileAdd) (*PotProfileAddReply, error) PotProfileDel(ctx context.Context, in *PotProfileDel) (*PotProfileDelReply, error) }
RPCService represents RPC service API for pot module.
func NewServiceClient ¶
func NewServiceClient(ch api.Channel) RPCService
type RPCService_DumpPotProfileShowConfigClient ¶
type RPCService_DumpPotProfileShowConfigClient interface {
Recv() (*PotProfileShowConfigDetails, error)
}