Documentation
¶
Overview ¶
Package raw provides raw client APIs.
Index ¶
- type ATEAPIs
- 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) gpb.GNMIClient
- func (r *DUTAPIs) GNOI(t testing.TB) binding.GNOIClients
- func (r *DUTAPIs) GNSI(t testing.TB) binding.GNSIClients
- func (r *DUTAPIs) GRIBI(t testing.TB) grpb.GRIBIClient
- func (r *DUTAPIs) P4RT(t testing.TB) p4pb.P4RuntimeClient
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ATEAPIs ¶
type ATEAPIs struct {
// contains filtered or unexported fields
}
ATEAPIs provides access to raw ATE protocol APIs.
func NewATEAPIs ¶
NewATEAPIs returns a new instance of raw ATE APIs. Tests must not call this directly.
func (*ATEAPIs) BindingATE ¶ added in v0.3.0
BindingATE returns the underlying binding.ATE.
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) GNMI ¶
func (r *DUTAPIs) GNMI(t testing.TB) gpb.GNMIClient
GNMI returns the default gNMI client for the dut.
func (*DUTAPIs) GNOI ¶
func (r *DUTAPIs) GNOI(t testing.TB) binding.GNOIClients
GNOI returns the default gNOI clients 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 clients for the dut.
Click to show internal directories.
Click to hide internal directories.