localtlw

package
v0.0.0-...-e560ebb Latest Latest
Warning

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

Go to latest
Published: Jul 13, 2021 License: BSD-3-Clause Imports: 22 Imported by: 0

Documentation

Overview

Package localtlw provides local implementation of TLW Access.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(ufs UFSClient, csac CSAClient) (tlw.Access, error)

New build new local TLW Access instance.

Types

type CSAClient

type CSAClient interface {
	GetStableVersion(ctx context.Context, in *fleet.GetStableVersionRequest, opts ...grpc.CallOption) (*fleet.GetStableVersionResponse, error)
}

CSAClient is a client that knows how to respond to the GetStableVersion RPC call.

type UFSClient

type UFSClient interface {
	GetSchedulingUnit(ctx context.Context, req *ufsAPI.GetSchedulingUnitRequest, opts ...grpc.CallOption) (rsp *ufspb.SchedulingUnit, err error)
	GetChromeOSDeviceData(ctx context.Context, req *ufsAPI.GetChromeOSDeviceDataRequest, opts ...grpc.CallOption) (rsp *ufspb.ChromeOSDeviceData, err error)
}

UFSClient is a client that knows how to work with UFS RPC methods.

Directories

Path Synopsis
Package dutinfo provides help function to work with DUT info.
Package dutinfo provides help function to work with DUT info.
Package servod provides functions to manage connection and communication with servod daemon on servo-host.
Package servod provides functions to manage connection and communication with servod daemon on servo-host.
Package xmlrpc implements the XML-RPC client library.
Package xmlrpc implements the XML-RPC client library.

Jump to

Keyboard shortcuts

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