Documentation
¶
Overview ¶
Package device contains helper functions for fleet devices.
Package device contains library functions that help manipulate UFS device data for different Fleet services.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetOSResourceDims ¶
func GetOSResourceDims(ctx context.Context, client ufsAPI.FleetClient, r swarming.ReportFunc, name string) (swarming.Dimensions, error)
GetOSResourceDims gets the dimensions of a fleet resource to present to the scheduling layer.
Types ¶
type GetPoolsClient ¶
type GetPoolsClient interface { GetMachineLSE(ctx context.Context, in *ufsAPI.GetMachineLSERequest, opts ...grpc.CallOption) (*ufspb.MachineLSE, error) GetDeviceData(ctx context.Context, in *ufsAPI.GetDeviceDataRequest, opts ...grpc.CallOption) (*ufsAPI.GetDeviceDataResponse, error) }
GetPoolsClient exposes the subset of the UFS client API for GetPools.
Directories
¶
Path | Synopsis |
---|---|
Package attacheddevice contains library functions that help manipulate UFS Attached Device data for different Fleet services.
|
Package attacheddevice contains library functions that help manipulate UFS Attached Device data for different Fleet services. |
Package dut contains library functions that help manipulate UFS DUT data for different Fleet services.
|
Package dut contains library functions that help manipulate UFS DUT data for different Fleet services. |
Package schedulingunit contains library functions that help manipulate UFS scheduling unit data for different Fleet services.
|
Package schedulingunit contains library functions that help manipulate UFS scheduling unit data for different Fleet services. |
Click to show internal directories.
Click to hide internal directories.