raw

package
v0.3.2 Latest Latest
Warning

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

Go to latest
Published: Sep 22, 2023 License: Apache-2.0 Imports: 8 Imported by: 1

Documentation

Overview

Package raw provides raw client APIs.

Index

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

func NewATEAPIs(ate binding.ATE) *ATEAPIs

NewATEAPIs returns a new instance of raw ATE APIs. Tests must not call this directly.

func (*ATEAPIs) BindingATE added in v0.3.0

func (r *ATEAPIs) BindingATE() binding.ATE

BindingATE returns the underlying binding.ATE.

func (*ATEAPIs) GNMI

func (r *ATEAPIs) GNMI(t testing.TB) gpb.GNMIClient

GNMI returns the default gNMI client for the ATE.

type DUTAPIs

type DUTAPIs struct {
	// contains filtered or unexported fields
}

DUTAPIs provides access to raw DUT protocol APIs.

func NewDUTAPIs

func NewDUTAPIs(dut binding.DUT) *DUTAPIs

NewDUTAPIs returns a new instance of raw DUT APIs. Tests must not call this directly.

func (*DUTAPIs) BindingDUT added in v0.2.8

func (r *DUTAPIs) BindingDUT() binding.DUT

BindingDUT returns the underlying binding.DUT.

func (*DUTAPIs) CLI

func (r *DUTAPIs) CLI(t testing.TB) binding.CLIClient

CLI returns a new streaming CLI client for the 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.

func (*DUTAPIs) GRIBI

func (r *DUTAPIs) GRIBI(t testing.TB) grpb.GRIBIClient

GRIBI returns the default gRIBI client for the dut.

func (*DUTAPIs) P4RT

func (r *DUTAPIs) P4RT(t testing.TB) p4pb.P4RuntimeClient

P4RT returns the default P4RT client for the dut.

Jump to

Keyboard shortcuts

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