pot

package
v0.0.0-...-f91f7f2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 14, 2020 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package pot is a generated VPP binary API for 'pot' module.

It consists of:

8 messages
4 services

Index

Constants

View Source
const (
	// ModuleName is the name of this module.
	ModuleName = "pot"
	// VersionCrc is the CRC of this module.
	VersionCrc = 0xa9d8e55c
)

Variables

This section is empty.

Functions

func AllMessages

func AllMessages() []api.Message

Messages returns list of all messages in this module.

Types

type PotProfileActivate

type PotProfileActivate struct {
	ID              uint8
	XXX_ListNameLen uint32 `struc:"sizeof=ListName"`
	ListName        string
}

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
	SecretShare      uint64
	Prime            uint64
	MaxBits          uint8
	Lpc              uint64
	PolynomialPublic uint64
	XXX_ListNameLen  uint32 `struc:"sizeof=ListName"`
	ListName         string
}

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

type PotProfileDel struct {
	XXX_ListNameLen uint32 `struc:"sizeof=ListName"`
	ListName        string
}

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
	SecretShare      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)
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL