Documentation ¶
Overview ¶
Package introspect provides an API to introspect grpc binding connections.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Dialer ¶ added in v0.4.7
type Dialer struct { DialFunc func(context.Context, string, ...grpc.DialOption) (*grpc.ClientConn, error) DialTarget string DialOpts []grpc.DialOption DevicePort int }
Dialer is capable of dialing grpc endpoints.
func ATEDialer ¶ added in v0.4.7
ATEDialer returns the grpc dialer for the specified ATE service. It fails if the device does not meet the Introspector interface or if the connection details cannot be retrieved.
func DUTDialer ¶ added in v0.4.7
DUTDialer returns the grpc dialer for the specified DUT service. It fails if the device does not meet the Introspector interface or if the connection details cannot be retrieved.
func (*Dialer) Dial ¶ added in v0.4.7
func (d *Dialer) Dial(ctx context.Context, opts ...grpc.DialOption) (*grpc.ClientConn, error)
Dial dials a gRPC connection using the provided connection details.
type Introspector ¶
Introspector is an interface to introspect grpc service dialers.
Click to show internal directories.
Click to hide internal directories.