Documentation
¶
Overview ¶
Package devicemanagerclient is the client lib for device manager.
Index ¶
Constants ¶
View Source
const ( // DMDevURL is the URL of the dev leasing service. DMDevURL = client.DMDevURL // DMProdURL is the URL of the prod leasing service. DMProdURL = client.DMProdURL // DMLeasesPort is the port to use to lease stuff. DMLeasesPort = client.DMLeasesPort )
Variables ¶
This section is empty.
Functions ¶
func ListDevicesIter ¶
func ListDevicesIter(ctx context.Context, leaser api.DeviceLeaseServiceClient, request *api.ListDevicesRequest) iter.Seq2[*api.Device, error]
ListDevicesIter lists devices.
func MapDevices ¶
func MapDevices(devices []*api.Device) []*fleetconsolerpc.Device
Types ¶
Click to show internal directories.
Click to hide internal directories.