Versions in this module Expand all Collapse all v0 v0.5.0 Jul 29, 2022 v0.4.0 Jan 17, 2022 Changes in this version + const APIFile + const APIVersion + const VersionCrc + func AllMessages() []api.Message + type PolicerAddDel struct + Cb uint64 + Cir uint32 + ColorAware bool + ConformAction policer_types.Sse2QosAction + Eb uint64 + Eir uint32 + ExceedAction policer_types.Sse2QosAction + IsAdd bool + Name string + RateType policer_types.Sse2QosRateType + RoundType policer_types.Sse2QosRoundType + Type policer_types.Sse2QosPolicerType + ViolateAction policer_types.Sse2QosAction + func (*PolicerAddDel) GetCrcString() string + func (*PolicerAddDel) GetMessageName() string + func (*PolicerAddDel) GetMessageType() api.MessageType + func (m *PolicerAddDel) Marshal(b []byte) ([]byte, error) + func (m *PolicerAddDel) Reset() + func (m *PolicerAddDel) Size() (size int) + func (m *PolicerAddDel) Unmarshal(b []byte) error + type PolicerAddDelReply struct + PolicerIndex uint32 + Retval int32 + func (*PolicerAddDelReply) GetCrcString() string + func (*PolicerAddDelReply) GetMessageName() string + func (*PolicerAddDelReply) GetMessageType() api.MessageType + func (m *PolicerAddDelReply) Marshal(b []byte) ([]byte, error) + func (m *PolicerAddDelReply) Reset() + func (m *PolicerAddDelReply) Size() (size int) + func (m *PolicerAddDelReply) Unmarshal(b []byte) error + type PolicerBind struct + BindEnable bool + Name string + WorkerIndex uint32 + func (*PolicerBind) GetCrcString() string + func (*PolicerBind) GetMessageName() string + func (*PolicerBind) GetMessageType() api.MessageType + func (m *PolicerBind) Marshal(b []byte) ([]byte, error) + func (m *PolicerBind) Reset() + func (m *PolicerBind) Size() (size int) + func (m *PolicerBind) Unmarshal(b []byte) error + type PolicerBindReply struct + Retval int32 + func (*PolicerBindReply) GetCrcString() string + func (*PolicerBindReply) GetMessageName() string + func (*PolicerBindReply) GetMessageType() api.MessageType + func (m *PolicerBindReply) Marshal(b []byte) ([]byte, error) + func (m *PolicerBindReply) Reset() + func (m *PolicerBindReply) Size() (size int) + func (m *PolicerBindReply) Unmarshal(b []byte) error + type PolicerDetails struct + Cb uint64 + Cir uint32 + CirTokensPerPeriod uint32 + ColorAware bool + ConformAction policer_types.Sse2QosAction + CurrentBucket uint32 + CurrentLimit uint32 + Eb uint64 + Eir uint32 + ExceedAction policer_types.Sse2QosAction + ExtendedBucket uint32 + ExtendedLimit uint32 + LastUpdateTime uint64 + Name string + PirTokensPerPeriod uint32 + RateType policer_types.Sse2QosRateType + RoundType policer_types.Sse2QosRoundType + Scale uint32 + SingleRate bool + Type policer_types.Sse2QosPolicerType + ViolateAction policer_types.Sse2QosAction + func (*PolicerDetails) GetCrcString() string + func (*PolicerDetails) GetMessageName() string + func (*PolicerDetails) GetMessageType() api.MessageType + func (m *PolicerDetails) Marshal(b []byte) ([]byte, error) + func (m *PolicerDetails) Reset() + func (m *PolicerDetails) Size() (size int) + func (m *PolicerDetails) Unmarshal(b []byte) error + type PolicerDump struct + MatchName string + MatchNameValid bool + func (*PolicerDump) GetCrcString() string + func (*PolicerDump) GetMessageName() string + func (*PolicerDump) GetMessageType() api.MessageType + func (m *PolicerDump) Marshal(b []byte) ([]byte, error) + func (m *PolicerDump) Reset() + func (m *PolicerDump) Size() (size int) + func (m *PolicerDump) Unmarshal(b []byte) error + type PolicerInput struct + Apply bool + Name string + SwIfIndex interface_types.InterfaceIndex + func (*PolicerInput) GetCrcString() string + func (*PolicerInput) GetMessageName() string + func (*PolicerInput) GetMessageType() api.MessageType + func (m *PolicerInput) Marshal(b []byte) ([]byte, error) + func (m *PolicerInput) Reset() + func (m *PolicerInput) Size() (size int) + func (m *PolicerInput) Unmarshal(b []byte) error + type PolicerInputReply struct + Retval int32 + func (*PolicerInputReply) GetCrcString() string + func (*PolicerInputReply) GetMessageName() string + func (*PolicerInputReply) GetMessageType() api.MessageType + func (m *PolicerInputReply) Marshal(b []byte) ([]byte, error) + func (m *PolicerInputReply) Reset() + func (m *PolicerInputReply) Size() (size int) + func (m *PolicerInputReply) Unmarshal(b []byte) error + type RPCService interface + PolicerAddDel func(ctx context.Context, in *PolicerAddDel) (*PolicerAddDelReply, error) + PolicerBind func(ctx context.Context, in *PolicerBind) (*PolicerBindReply, error) + PolicerDump func(ctx context.Context, in *PolicerDump) (RPCService_PolicerDumpClient, error) + PolicerInput func(ctx context.Context, in *PolicerInput) (*PolicerInputReply, error) + func NewServiceClient(conn api.Connection) RPCService + type RPCService_PolicerDumpClient interface + Recv func() (*PolicerDetails, error)