Documentation
¶
Overview ¶
Package raw provides raw client APIs.
Index ¶
- type DUTAPIs
- func (r *DUTAPIs) BindingDUT() binding.DUT
- func (r *DUTAPIs) CLI(t testing.TB) binding.CLIClient
- func (r *DUTAPIs) Console(t testing.TB) binding.ConsoleClient
- func (r *DUTAPIs) GNMI(t ...testing.TB) *GNMIAPI
- func (r *DUTAPIs) GNOI(t ...testing.TB) *GNOIAPI
- func (r *DUTAPIs) GNSI(t testing.TB) binding.GNSIClients
- func (r *DUTAPIs) GRIBI(t ...testing.TB) *GRIBIAPI
- func (r *DUTAPIs) P4RT(t ...testing.TB) *P4RTAPI
- type GNMIAPI
- type GNOI
- type GNOIAPI
- type GRIBIAPI
- type P4RTAPI
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DUTAPIs ¶
type DUTAPIs struct {
// contains filtered or unexported fields
}
DUTAPIs provides access to raw DUT protocol APIs.
func NewDUTAPIs ¶
NewDUTAPIs returns a new instance of raw DUT APIs. Tests must not call this directly.
func (*DUTAPIs) BindingDUT ¶ added in v0.2.8
BindingDUT returns the underlying binding.DUT.
func (*DUTAPIs) Console ¶
func (r *DUTAPIs) Console(t testing.TB) binding.ConsoleClient
Console returns a new Console client for the DUT.
func (*DUTAPIs) GNSI ¶ added in v0.2.1
func (r *DUTAPIs) GNSI(t testing.TB) binding.GNSIClients
GNSI returns the default gNSI client for the dut.
type GNMIAPI ¶
type GNMIAPI struct {
gpb.GNMIClient
// contains filtered or unexported fields
}
GNMIAPI provides access for creating a default or new gNMI client on the DUT.
type GNOI ¶
type GNOI binding.GNOIClients
GNOI stores APIs to GNOI services. Deprecated: Use binding.GNOIClients instead.
type GNOIAPI ¶
type GNOIAPI struct {
binding.GNOIClients
// contains filtered or unexported fields
}
GNOIAPI provides access to creating raw gNOI clients for the dut.
type GRIBIAPI ¶
type GRIBIAPI struct {
grpb.GRIBIClient
// contains filtered or unexported fields
}
GRIBIAPI provides access to creating raw gRIBI clients for the DUT.
type P4RTAPI ¶
type P4RTAPI struct {
p4pb.P4RuntimeClient
// contains filtered or unexported fields
}
P4RTAPI provides access for creating a default or new GRIBI client on the DUT.