Documentation ¶
Index ¶
- type GoVPPMux
- func (p *GoVPPMux) Close()
- func (p *GoVPPMux) DumpStats(patterns ...string) ([]*adapter.StatEntry, error)
- func (p *GoVPPMux) ListStats(patterns ...string) ([]string, error)
- func (p *GoVPPMux) MockStats(stats []*adapter.StatEntry) error
- func (p *GoVPPMux) NewAPIChannel() (govppapi.Channel, error)
- func (p *GoVPPMux) NewAPIChannelBuffered(reqChanBufSize, replyChanBufSize int) (govppapi.Channel, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GoVPPMux ¶
type GoVPPMux struct {
// contains filtered or unexported fields
}
GoVPPMux implements GoVPP Mux API with stats
func NewMockGoVPPMux ¶
func NewMockGoVPPMux(ctx *vppcallmock.TestCtx) (*GoVPPMux, error)
NewMockGoVPPMux prepares new mock of GoVPP multiplexor with given context
func (*GoVPPMux) MockStats ¶
MockStats allows to set required stats which are then returned by 'ListStats' or 'DumpStats'
func (*GoVPPMux) NewAPIChannel ¶
NewAPIChannel calls the same method from connection
Click to show internal directories.
Click to hide internal directories.