Documentation ¶
Index ¶
- Constants
- func HaRTPushHandler(routerContext *router.Context)
- func InstallHandlers(r *router.Router, mc router.MiddlewareChain)
- func InstallServices(apiServer *prpc.Server)
- type FleetServerImpl
- func (fs *FleetServerImpl) BatchGetChromePlatforms(ctx context.Context, req *ufsAPI.BatchGetChromePlatformsRequest) (rsp *ufsAPI.BatchGetChromePlatformsResponse, err error)
- func (fs *FleetServerImpl) BatchGetDHCPConfigs(ctx context.Context, req *ufsAPI.BatchGetDHCPConfigsRequest) (rsp *ufsAPI.BatchGetDHCPConfigsResponse, err error)
- func (fs *FleetServerImpl) BatchGetDracs(ctx context.Context, req *ufsAPI.BatchGetDracsRequest) (rsp *ufsAPI.BatchGetDracsResponse, err error)
- func (fs *FleetServerImpl) BatchGetKVMs(ctx context.Context, req *ufsAPI.BatchGetKVMsRequest) (rsp *ufsAPI.BatchGetKVMsResponse, err error)
- func (fs *FleetServerImpl) BatchGetMachineLSEDeployments(ctx context.Context, req *ufsAPI.BatchGetMachineLSEDeploymentsRequest) (resp *ufsAPI.BatchGetMachineLSEDeploymentsResponse, err error)
- func (fs *FleetServerImpl) BatchGetMachineLSEPrototypes(ctx context.Context, req *ufsAPI.BatchGetMachineLSEPrototypesRequest) (rsp *ufsAPI.BatchGetMachineLSEPrototypesResponse, err error)
- func (fs *FleetServerImpl) BatchGetMachineLSEs(ctx context.Context, req *ufsAPI.BatchGetMachineLSEsRequest) (rsp *ufsAPI.BatchGetMachineLSEsResponse, err error)
- func (fs *FleetServerImpl) BatchGetMachines(ctx context.Context, req *ufsAPI.BatchGetMachinesRequest) (rsp *ufsAPI.BatchGetMachinesResponse, err error)
- func (fs *FleetServerImpl) BatchGetNics(ctx context.Context, req *ufsAPI.BatchGetNicsRequest) (rsp *ufsAPI.BatchGetNicsResponse, err error)
- func (fs *FleetServerImpl) BatchGetRPMs(ctx context.Context, req *ufsAPI.BatchGetRPMsRequest) (rsp *ufsAPI.BatchGetRPMsResponse, err error)
- func (fs *FleetServerImpl) BatchGetRackLSEPrototypes(ctx context.Context, req *ufsAPI.BatchGetRackLSEPrototypesRequest) (rsp *ufsAPI.BatchGetRackLSEPrototypesResponse, err error)
- func (fs *FleetServerImpl) BatchGetRacks(ctx context.Context, req *ufsAPI.BatchGetRacksRequest) (rsp *ufsAPI.BatchGetRacksResponse, err error)
- func (fs *FleetServerImpl) BatchGetSwitches(ctx context.Context, req *ufsAPI.BatchGetSwitchesRequest) (rsp *ufsAPI.BatchGetSwitchesResponse, err error)
- func (fs *FleetServerImpl) BatchGetVMs(ctx context.Context, req *ufsAPI.BatchGetVMsRequest) (rsp *ufsAPI.BatchGetVMsResponse, err error)
- func (fs *FleetServerImpl) BatchGetVlans(ctx context.Context, req *ufsAPI.BatchGetVlansRequest) (rsp *ufsAPI.BatchGetVlansResponse, err error)
- func (fs *FleetServerImpl) BatchUpdateMachineLSEDeployment(ctx context.Context, req *ufsAPI.BatchUpdateMachineLSEDeploymentRequest) (resp *ufsAPI.BatchUpdateMachineLSEDeploymentResponse, err error)
- func (fs *FleetServerImpl) CreateAsset(ctx context.Context, req *ufsAPI.CreateAssetRequest) (response *ufspb.Asset, err error)
- func (fs *FleetServerImpl) CreateCachingService(ctx context.Context, req *ufsAPI.CreateCachingServiceRequest) (rsp *ufspb.CachingService, err error)
- func (fs *FleetServerImpl) CreateChromePlatform(ctx context.Context, req *ufsAPI.CreateChromePlatformRequest) (rsp *ufspb.ChromePlatform, err error)
- func (fs *FleetServerImpl) CreateDrac(ctx context.Context, req *ufsAPI.CreateDracRequest) (rsp *ufspb.Drac, err error)
- func (fs *FleetServerImpl) CreateKVM(ctx context.Context, req *ufsAPI.CreateKVMRequest) (rsp *ufspb.KVM, err error)
- func (fs *FleetServerImpl) CreateMachineLSE(ctx context.Context, req *ufsAPI.CreateMachineLSERequest) (rsp *ufspb.MachineLSE, err error)
- func (fs *FleetServerImpl) CreateMachineLSEPrototype(ctx context.Context, req *ufsAPI.CreateMachineLSEPrototypeRequest) (rsp *ufspb.MachineLSEPrototype, err error)
- func (fs *FleetServerImpl) CreateNic(ctx context.Context, req *ufsAPI.CreateNicRequest) (rsp *ufspb.Nic, err error)
- func (fs *FleetServerImpl) CreateRPM(ctx context.Context, req *ufsAPI.CreateRPMRequest) (rsp *ufspb.RPM, err error)
- func (fs *FleetServerImpl) CreateRackLSE(ctx context.Context, req *ufsAPI.CreateRackLSERequest) (rsp *ufspb.RackLSE, err error)
- func (fs *FleetServerImpl) CreateRackLSEPrototype(ctx context.Context, req *ufsAPI.CreateRackLSEPrototypeRequest) (rsp *ufspb.RackLSEPrototype, err error)
- func (fs *FleetServerImpl) CreateSchedulingUnit(ctx context.Context, req *ufsAPI.CreateSchedulingUnitRequest) (rsp *ufspb.SchedulingUnit, err error)
- func (fs *FleetServerImpl) CreateSwitch(ctx context.Context, req *ufsAPI.CreateSwitchRequest) (rsp *ufspb.Switch, err error)
- func (fs *FleetServerImpl) CreateVM(ctx context.Context, req *ufsAPI.CreateVMRequest) (rsp *ufspb.VM, err error)
- func (fs *FleetServerImpl) CreateVlan(ctx context.Context, req *ufsAPI.CreateVlanRequest) (rsp *ufspb.Vlan, err error)
- func (fs *FleetServerImpl) DeleteAsset(ctx context.Context, req *ufsAPI.DeleteAssetRequest) (rsp *empty.Empty, err error)
- func (fs *FleetServerImpl) DeleteCachingService(ctx context.Context, req *ufsAPI.DeleteCachingServiceRequest) (rsp *empty.Empty, err error)
- func (fs *FleetServerImpl) DeleteChromePlatform(ctx context.Context, req *ufsAPI.DeleteChromePlatformRequest) (rsp *empty.Empty, err error)
- func (fs *FleetServerImpl) DeleteDrac(ctx context.Context, req *ufsAPI.DeleteDracRequest) (rsp *empty.Empty, err error)
- func (fs *FleetServerImpl) DeleteKVM(ctx context.Context, req *ufsAPI.DeleteKVMRequest) (rsp *empty.Empty, err error)
- func (fs *FleetServerImpl) DeleteMachine(ctx context.Context, req *ufsAPI.DeleteMachineRequest) (rsp *empty.Empty, err error)
- func (fs *FleetServerImpl) DeleteMachineLSE(ctx context.Context, req *ufsAPI.DeleteMachineLSERequest) (rsp *empty.Empty, err error)
- func (fs *FleetServerImpl) DeleteMachineLSEPrototype(ctx context.Context, req *ufsAPI.DeleteMachineLSEPrototypeRequest) (rsp *empty.Empty, err error)
- func (fs *FleetServerImpl) DeleteNic(ctx context.Context, req *ufsAPI.DeleteNicRequest) (rsp *empty.Empty, err error)
- func (fs *FleetServerImpl) DeleteRPM(ctx context.Context, req *ufsAPI.DeleteRPMRequest) (rsp *empty.Empty, err error)
- func (fs *FleetServerImpl) DeleteRack(ctx context.Context, req *ufsAPI.DeleteRackRequest) (rsp *empty.Empty, err error)
- func (fs *FleetServerImpl) DeleteRackLSE(ctx context.Context, req *ufsAPI.DeleteRackLSERequest) (rsp *empty.Empty, err error)
- func (fs *FleetServerImpl) DeleteRackLSEPrototype(ctx context.Context, req *ufsAPI.DeleteRackLSEPrototypeRequest) (rsp *empty.Empty, err error)
- func (fs *FleetServerImpl) DeleteSchedulingUnit(ctx context.Context, req *ufsAPI.DeleteSchedulingUnitRequest) (rsp *empty.Empty, err error)
- func (fs *FleetServerImpl) DeleteSwitch(ctx context.Context, req *ufsAPI.DeleteSwitchRequest) (rsp *empty.Empty, err error)
- func (fs *FleetServerImpl) DeleteVM(ctx context.Context, req *ufsAPI.DeleteVMRequest) (rsp *empty.Empty, err error)
- func (fs *FleetServerImpl) DeleteVlan(ctx context.Context, req *ufsAPI.DeleteVlanRequest) (rsp *empty.Empty, err error)
- func (fs *FleetServerImpl) GetAsset(ctx context.Context, req *ufsAPI.GetAssetRequest) (rsp *ufspb.Asset, err error)
- func (fs *FleetServerImpl) GetCachingService(ctx context.Context, req *ufsAPI.GetCachingServiceRequest) (rsp *ufspb.CachingService, err error)
- func (fs *FleetServerImpl) GetChromeOSDeviceData(ctx context.Context, req *ufsAPI.GetChromeOSDeviceDataRequest) (rsp *ufspb.ChromeOSDeviceData, err error)
- func (fs *FleetServerImpl) GetChromePlatform(ctx context.Context, req *ufsAPI.GetChromePlatformRequest) (rsp *ufspb.ChromePlatform, err error)
- func (fs *FleetServerImpl) GetDHCPConfig(ctx context.Context, req *ufsAPI.GetDHCPConfigRequest) (rsp *ufspb.DHCPConfig, err error)
- func (fs *FleetServerImpl) GetDrac(ctx context.Context, req *ufsAPI.GetDracRequest) (rsp *ufspb.Drac, err error)
- func (fs *FleetServerImpl) GetDutState(ctx context.Context, req *api.GetDutStateRequest) (rsp *chromeosLab.DutState, err error)
- func (fs *FleetServerImpl) GetKVM(ctx context.Context, req *ufsAPI.GetKVMRequest) (rsp *ufspb.KVM, err error)
- func (fs *FleetServerImpl) GetMachine(ctx context.Context, req *ufsAPI.GetMachineRequest) (rsp *ufspb.Machine, err error)
- func (fs *FleetServerImpl) GetMachineLSE(ctx context.Context, req *ufsAPI.GetMachineLSERequest) (rsp *ufspb.MachineLSE, err error)
- func (fs *FleetServerImpl) GetMachineLSEDeployment(ctx context.Context, req *ufsAPI.GetMachineLSEDeploymentRequest) (resp *ufspb.MachineLSEDeployment, err error)
- func (fs *FleetServerImpl) GetMachineLSEPrototype(ctx context.Context, req *ufsAPI.GetMachineLSEPrototypeRequest) (rsp *ufspb.MachineLSEPrototype, err error)
- func (fs *FleetServerImpl) GetNic(ctx context.Context, req *ufsAPI.GetNicRequest) (rsp *ufspb.Nic, err error)
- func (fs *FleetServerImpl) GetRPM(ctx context.Context, req *ufsAPI.GetRPMRequest) (rsp *ufspb.RPM, err error)
- func (fs *FleetServerImpl) GetRack(ctx context.Context, req *ufsAPI.GetRackRequest) (rsp *ufspb.Rack, err error)
- func (fs *FleetServerImpl) GetRackLSE(ctx context.Context, req *ufsAPI.GetRackLSERequest) (rsp *ufspb.RackLSE, err error)
- func (fs *FleetServerImpl) GetRackLSEPrototype(ctx context.Context, req *ufsAPI.GetRackLSEPrototypeRequest) (rsp *ufspb.RackLSEPrototype, err error)
- func (fs *FleetServerImpl) GetSchedulingUnit(ctx context.Context, req *ufsAPI.GetSchedulingUnitRequest) (rsp *ufspb.SchedulingUnit, err error)
- func (fs *FleetServerImpl) GetState(ctx context.Context, req *api.GetStateRequest) (response *ufspb.StateRecord, err error)
- func (fs *FleetServerImpl) GetSwitch(ctx context.Context, req *ufsAPI.GetSwitchRequest) (rsp *ufspb.Switch, err error)
- func (fs *FleetServerImpl) GetVM(ctx context.Context, req *ufsAPI.GetVMRequest) (rsp *ufspb.VM, err error)
- func (fs *FleetServerImpl) GetVlan(ctx context.Context, req *ufsAPI.GetVlanRequest) (rsp *ufspb.Vlan, err error)
- func (fs *FleetServerImpl) ImportChromePlatforms(ctx context.Context, req *ufsAPI.ImportChromePlatformsRequest) (response *status.Status, err error)
- func (fs *FleetServerImpl) ImportDatacenters(ctx context.Context, req *ufsAPI.ImportDatacentersRequest) (response *status.Status, err error)
- func (fs *FleetServerImpl) ImportMachineLSEs(ctx context.Context, req *ufsAPI.ImportMachineLSEsRequest) (response *status.Status, err error)
- func (fs *FleetServerImpl) ImportMachines(ctx context.Context, req *ufsAPI.ImportMachinesRequest) (rsp *status.Status, err error)
- func (fs *FleetServerImpl) ImportNics(ctx context.Context, req *ufsAPI.ImportNicsRequest) (response *status.Status, err error)
- func (fs *FleetServerImpl) ImportOSMachineLSEs(ctx context.Context, req *ufsAPI.ImportOSMachineLSEsRequest) (response *status.Status, err error)
- func (fs *FleetServerImpl) ImportOSVersions(ctx context.Context, req *ufsAPI.ImportOSVersionsRequest) (response *status.Status, err error)
- func (fs *FleetServerImpl) ImportOSVlans(ctx context.Context, req *ufsAPI.ImportOSVlansRequest) (response *status.Status, err error)
- func (fs *FleetServerImpl) ImportStates(ctx context.Context, req *api.ImportStatesRequest) (response *status.Status, err error)
- func (fs *FleetServerImpl) ImportVlans(ctx context.Context, req *ufsAPI.ImportVlansRequest) (response *status.Status, err error)
- func (fs *FleetServerImpl) ListAssets(ctx context.Context, req *ufsAPI.ListAssetsRequest) (rsp *ufsAPI.ListAssetsResponse, err error)
- func (fs *FleetServerImpl) ListCachingServices(ctx context.Context, req *ufsAPI.ListCachingServicesRequest) (rsp *ufsAPI.ListCachingServicesResponse, err error)
- func (fs *FleetServerImpl) ListChromePlatforms(ctx context.Context, req *ufsAPI.ListChromePlatformsRequest) (rsp *ufsAPI.ListChromePlatformsResponse, err error)
- func (fs *FleetServerImpl) ListDracs(ctx context.Context, req *ufsAPI.ListDracsRequest) (rsp *ufsAPI.ListDracsResponse, err error)
- func (fs *FleetServerImpl) ListDutStates(ctx context.Context, req *api.ListDutStatesRequest) (rsp *api.ListDutStatesResponse, err error)
- func (fs *FleetServerImpl) ListKVMs(ctx context.Context, req *ufsAPI.ListKVMsRequest) (rsp *ufsAPI.ListKVMsResponse, err error)
- func (fs *FleetServerImpl) ListMachineLSEDeployments(ctx context.Context, req *ufsAPI.ListMachineLSEDeploymentsRequest) (resp *ufsAPI.ListMachineLSEDeploymentsResponse, err error)
- func (fs *FleetServerImpl) ListMachineLSEPrototypes(ctx context.Context, req *ufsAPI.ListMachineLSEPrototypesRequest) (rsp *ufsAPI.ListMachineLSEPrototypesResponse, err error)
- func (fs *FleetServerImpl) ListMachineLSEs(ctx context.Context, req *ufsAPI.ListMachineLSEsRequest) (rsp *ufsAPI.ListMachineLSEsResponse, err error)
- func (fs *FleetServerImpl) ListMachines(ctx context.Context, req *ufsAPI.ListMachinesRequest) (rsp *ufsAPI.ListMachinesResponse, err error)
- func (fs *FleetServerImpl) ListNics(ctx context.Context, req *ufsAPI.ListNicsRequest) (rsp *ufsAPI.ListNicsResponse, err error)
- func (fs *FleetServerImpl) ListOSVersions(ctx context.Context, req *ufsAPI.ListOSVersionsRequest) (response *ufsAPI.ListOSVersionsResponse, err error)
- func (fs *FleetServerImpl) ListRPMs(ctx context.Context, req *ufsAPI.ListRPMsRequest) (rsp *ufsAPI.ListRPMsResponse, err error)
- func (fs *FleetServerImpl) ListRackLSEPrototypes(ctx context.Context, req *ufsAPI.ListRackLSEPrototypesRequest) (rsp *ufsAPI.ListRackLSEPrototypesResponse, err error)
- func (fs *FleetServerImpl) ListRackLSEs(ctx context.Context, req *ufsAPI.ListRackLSEsRequest) (rsp *ufsAPI.ListRackLSEsResponse, err error)
- func (fs *FleetServerImpl) ListRacks(ctx context.Context, req *ufsAPI.ListRacksRequest) (rsp *ufsAPI.ListRacksResponse, err error)
- func (fs *FleetServerImpl) ListSchedulingUnits(ctx context.Context, req *ufsAPI.ListSchedulingUnitsRequest) (rsp *ufsAPI.ListSchedulingUnitsResponse, err error)
- func (fs *FleetServerImpl) ListSwitches(ctx context.Context, req *ufsAPI.ListSwitchesRequest) (rsp *ufsAPI.ListSwitchesResponse, err error)
- func (fs *FleetServerImpl) ListVMs(ctx context.Context, req *ufsAPI.ListVMsRequest) (rsp *ufsAPI.ListVMsResponse, err error)
- func (fs *FleetServerImpl) ListVlans(ctx context.Context, req *ufsAPI.ListVlansRequest) (rsp *ufsAPI.ListVlansResponse, err error)
- func (fs *FleetServerImpl) MachineRegistration(ctx context.Context, req *ufsAPI.MachineRegistrationRequest) (rsp *ufspb.Machine, err error)
- func (fs *FleetServerImpl) RackRegistration(ctx context.Context, req *ufsAPI.RackRegistrationRequest) (rsp *ufspb.Rack, err error)
- func (fs *FleetServerImpl) RenameAsset(ctx context.Context, req *ufsAPI.RenameAssetRequest) (rsp *ufspb.Asset, err error)
- func (fs *FleetServerImpl) RenameMachine(ctx context.Context, req *ufsAPI.RenameMachineRequest) (rsp *ufspb.Machine, err error)
- func (fs *FleetServerImpl) RenameMachineLSE(ctx context.Context, req *ufsAPI.RenameMachineLSERequest) (lse *ufspb.MachineLSE, err error)
- func (fs *FleetServerImpl) RenameNic(ctx context.Context, req *ufsAPI.RenameNicRequest) (rsp *ufspb.Nic, err error)
- func (fs *FleetServerImpl) RenameSwitch(ctx context.Context, req *ufsAPI.RenameSwitchRequest) (rsp *ufspb.Switch, err error)
- func (fs *FleetServerImpl) UpdateAsset(ctx context.Context, req *ufsAPI.UpdateAssetRequest) (rsp *ufspb.Asset, err error)
- func (fs *FleetServerImpl) UpdateCachingService(ctx context.Context, req *ufsAPI.UpdateCachingServiceRequest) (rsp *ufspb.CachingService, err error)
- func (fs *FleetServerImpl) UpdateChromePlatform(ctx context.Context, req *ufsAPI.UpdateChromePlatformRequest) (rsp *ufspb.ChromePlatform, err error)
- func (fs *FleetServerImpl) UpdateConfigBundle(ctx context.Context, req *ufsAPI.UpdateConfigBundleRequest) (rsp *ufsAPI.UpdateConfigBundleResponse, err error)
- func (fs *FleetServerImpl) UpdateDrac(ctx context.Context, req *ufsAPI.UpdateDracRequest) (rsp *ufspb.Drac, err error)
- func (fs *FleetServerImpl) UpdateDutState(ctx context.Context, req *api.UpdateDutStateRequest) (response *chromeosLab.DutState, err error)
- func (fs *FleetServerImpl) UpdateKVM(ctx context.Context, req *ufsAPI.UpdateKVMRequest) (rsp *ufspb.KVM, err error)
- func (fs *FleetServerImpl) UpdateMachine(ctx context.Context, req *ufsAPI.UpdateMachineRequest) (rsp *ufspb.Machine, err error)
- func (fs *FleetServerImpl) UpdateMachineLSE(ctx context.Context, req *ufsAPI.UpdateMachineLSERequest) (rsp *ufspb.MachineLSE, err error)
- func (fs *FleetServerImpl) UpdateMachineLSEDeployment(ctx context.Context, req *ufsAPI.UpdateMachineLSEDeploymentRequest) (resp *ufspb.MachineLSEDeployment, err error)
- func (fs *FleetServerImpl) UpdateMachineLSEPrototype(ctx context.Context, req *ufsAPI.UpdateMachineLSEPrototypeRequest) (rsp *ufspb.MachineLSEPrototype, err error)
- func (fs *FleetServerImpl) UpdateNic(ctx context.Context, req *ufsAPI.UpdateNicRequest) (rsp *ufspb.Nic, err error)
- func (fs *FleetServerImpl) UpdateRPM(ctx context.Context, req *ufsAPI.UpdateRPMRequest) (rsp *ufspb.RPM, err error)
- func (fs *FleetServerImpl) UpdateRack(ctx context.Context, req *ufsAPI.UpdateRackRequest) (rsp *ufspb.Rack, err error)
- func (fs *FleetServerImpl) UpdateRackLSE(ctx context.Context, req *ufsAPI.UpdateRackLSERequest) (rsp *ufspb.RackLSE, err error)
- func (fs *FleetServerImpl) UpdateRackLSEPrototype(ctx context.Context, req *ufsAPI.UpdateRackLSEPrototypeRequest) (rsp *ufspb.RackLSEPrototype, err error)
- func (fs *FleetServerImpl) UpdateSchedulingUnit(ctx context.Context, req *ufsAPI.UpdateSchedulingUnitRequest) (rsp *ufspb.SchedulingUnit, err error)
- func (fs *FleetServerImpl) UpdateState(ctx context.Context, req *api.UpdateStateRequest) (response *ufspb.StateRecord, err error)
- func (fs *FleetServerImpl) UpdateSwitch(ctx context.Context, req *ufsAPI.UpdateSwitchRequest) (rsp *ufspb.Switch, err error)
- func (fs *FleetServerImpl) UpdateVM(ctx context.Context, req *ufsAPI.UpdateVMRequest) (rsp *ufspb.VM, err error)
- func (fs *FleetServerImpl) UpdateVlan(ctx context.Context, req *ufsAPI.UpdateVlanRequest) (rsp *ufspb.Vlan, err error)
Constants ¶
const ( // DefaultMachineDBService indicates the default machineDB host for importing // TODO(xixuan): rename this variable in the following CL DefaultMachineDBService string = "machine-db" // ProdMachineDBService indicates the prod machine db service name ProdMachineDBService string = "machine-db.appspot.com" )
Variables ¶
This section is empty.
Functions ¶
func HaRTPushHandler ¶
HaRTPushHandler handles the pubsub push responses from HaRT pubsub
Decodes the response sent by PubSub and updates datastore. It doesn't return anything as required by https://cloud.google.com/pubsub/docs/push, this is because by default the return is 200 OK for http POST requests. It does return a http error if the datastore update fails.
func InstallHandlers ¶
func InstallHandlers(r *router.Router, mc router.MiddlewareChain)
InstallHandlers installs non PRPC handlers
Types ¶
type FleetServerImpl ¶
type FleetServerImpl struct {
// contains filtered or unexported fields
}
FleetServerImpl implements the configuration server interfaces.
func (*FleetServerImpl) BatchGetChromePlatforms ¶
func (fs *FleetServerImpl) BatchGetChromePlatforms(ctx context.Context, req *ufsAPI.BatchGetChromePlatformsRequest) (rsp *ufsAPI.BatchGetChromePlatformsResponse, err error)
BatchGetChromePlatforms gets chrome platforms from database.
func (*FleetServerImpl) BatchGetDHCPConfigs ¶
func (fs *FleetServerImpl) BatchGetDHCPConfigs(ctx context.Context, req *ufsAPI.BatchGetDHCPConfigsRequest) (rsp *ufsAPI.BatchGetDHCPConfigsResponse, err error)
BatchGetDHCPConfigs gets a batch of dhcp records from database.
func (*FleetServerImpl) BatchGetDracs ¶
func (fs *FleetServerImpl) BatchGetDracs(ctx context.Context, req *ufsAPI.BatchGetDracsRequest) (rsp *ufsAPI.BatchGetDracsResponse, err error)
BatchGetDracs gets a batch of dracs in batch from database.
func (*FleetServerImpl) BatchGetKVMs ¶
func (fs *FleetServerImpl) BatchGetKVMs(ctx context.Context, req *ufsAPI.BatchGetKVMsRequest) (rsp *ufsAPI.BatchGetKVMsResponse, err error)
BatchGetKVMs gets the kvm information in batch from database.
func (*FleetServerImpl) BatchGetMachineLSEDeployments ¶
func (fs *FleetServerImpl) BatchGetMachineLSEDeployments(ctx context.Context, req *ufsAPI.BatchGetMachineLSEDeploymentsRequest) (resp *ufsAPI.BatchGetMachineLSEDeploymentsResponse, err error)
BatchGetMachineLSEDeployments retrieves a batch of deployment records for hosts
func (*FleetServerImpl) BatchGetMachineLSEPrototypes ¶
func (fs *FleetServerImpl) BatchGetMachineLSEPrototypes(ctx context.Context, req *ufsAPI.BatchGetMachineLSEPrototypesRequest) (rsp *ufsAPI.BatchGetMachineLSEPrototypesResponse, err error)
BatchGetMachineLSEPrototypes gets machine lse prototypes from database.
func (*FleetServerImpl) BatchGetMachineLSEs ¶
func (fs *FleetServerImpl) BatchGetMachineLSEs(ctx context.Context, req *ufsAPI.BatchGetMachineLSEsRequest) (rsp *ufsAPI.BatchGetMachineLSEsResponse, err error)
BatchGetMachineLSEs gets a batch of machineLSE information from database.
func (*FleetServerImpl) BatchGetMachines ¶
func (fs *FleetServerImpl) BatchGetMachines(ctx context.Context, req *ufsAPI.BatchGetMachinesRequest) (rsp *ufsAPI.BatchGetMachinesResponse, err error)
BatchGetMachines gets a batch of machines in batch from database.
func (*FleetServerImpl) BatchGetNics ¶
func (fs *FleetServerImpl) BatchGetNics(ctx context.Context, req *ufsAPI.BatchGetNicsRequest) (rsp *ufsAPI.BatchGetNicsResponse, err error)
BatchGetNics gets nics in batch from database.
func (*FleetServerImpl) BatchGetRPMs ¶
func (fs *FleetServerImpl) BatchGetRPMs(ctx context.Context, req *ufsAPI.BatchGetRPMsRequest) (rsp *ufsAPI.BatchGetRPMsResponse, err error)
BatchGetRPMs gets rpms in batch from database.
func (*FleetServerImpl) BatchGetRackLSEPrototypes ¶
func (fs *FleetServerImpl) BatchGetRackLSEPrototypes(ctx context.Context, req *ufsAPI.BatchGetRackLSEPrototypesRequest) (rsp *ufsAPI.BatchGetRackLSEPrototypesResponse, err error)
BatchGetRackLSEPrototypes gets rack lse prototypes from database.
func (*FleetServerImpl) BatchGetRacks ¶
func (fs *FleetServerImpl) BatchGetRacks(ctx context.Context, req *ufsAPI.BatchGetRacksRequest) (rsp *ufsAPI.BatchGetRacksResponse, err error)
BatchGetRacks gets racks in batch from database.
func (*FleetServerImpl) BatchGetSwitches ¶
func (fs *FleetServerImpl) BatchGetSwitches(ctx context.Context, req *ufsAPI.BatchGetSwitchesRequest) (rsp *ufsAPI.BatchGetSwitchesResponse, err error)
BatchGetSwitches gets switches in batch from database.
func (*FleetServerImpl) BatchGetVMs ¶
func (fs *FleetServerImpl) BatchGetVMs(ctx context.Context, req *ufsAPI.BatchGetVMsRequest) (rsp *ufsAPI.BatchGetVMsResponse, err error)
BatchGetVMs gets a batch of vms from database.
func (*FleetServerImpl) BatchGetVlans ¶
func (fs *FleetServerImpl) BatchGetVlans(ctx context.Context, req *ufsAPI.BatchGetVlansRequest) (rsp *ufsAPI.BatchGetVlansResponse, err error)
BatchGetVlans gets a batch of vlans from database.
func (*FleetServerImpl) BatchUpdateMachineLSEDeployment ¶
func (fs *FleetServerImpl) BatchUpdateMachineLSEDeployment(ctx context.Context, req *ufsAPI.BatchUpdateMachineLSEDeploymentRequest) (resp *ufsAPI.BatchUpdateMachineLSEDeploymentResponse, err error)
BatchUpdateMachineLSEDeployment updates the deployment record for a batch of hosts
func (*FleetServerImpl) CreateAsset ¶
func (fs *FleetServerImpl) CreateAsset(ctx context.Context, req *ufsAPI.CreateAssetRequest) (response *ufspb.Asset, err error)
CreateAsset creates an asset entry in database.
func (*FleetServerImpl) CreateCachingService ¶
func (fs *FleetServerImpl) CreateCachingService(ctx context.Context, req *ufsAPI.CreateCachingServiceRequest) (rsp *ufspb.CachingService, err error)
CreateCachingService creates CachingService entry in database.
func (*FleetServerImpl) CreateChromePlatform ¶
func (fs *FleetServerImpl) CreateChromePlatform(ctx context.Context, req *ufsAPI.CreateChromePlatformRequest) (rsp *ufspb.ChromePlatform, err error)
CreateChromePlatform creates chromeplatform entry in database.
func (*FleetServerImpl) CreateDrac ¶
func (fs *FleetServerImpl) CreateDrac(ctx context.Context, req *ufsAPI.CreateDracRequest) (rsp *ufspb.Drac, err error)
CreateDrac creates drac entry in database.
func (*FleetServerImpl) CreateKVM ¶
func (fs *FleetServerImpl) CreateKVM(ctx context.Context, req *ufsAPI.CreateKVMRequest) (rsp *ufspb.KVM, err error)
CreateKVM creates kvm entry in database.
func (*FleetServerImpl) CreateMachineLSE ¶
func (fs *FleetServerImpl) CreateMachineLSE(ctx context.Context, req *ufsAPI.CreateMachineLSERequest) (rsp *ufspb.MachineLSE, err error)
CreateMachineLSE creates machineLSE entry in database.
func (*FleetServerImpl) CreateMachineLSEPrototype ¶
func (fs *FleetServerImpl) CreateMachineLSEPrototype(ctx context.Context, req *ufsAPI.CreateMachineLSEPrototypeRequest) (rsp *ufspb.MachineLSEPrototype, err error)
CreateMachineLSEPrototype creates machinelseprototype entry in database.
func (*FleetServerImpl) CreateNic ¶
func (fs *FleetServerImpl) CreateNic(ctx context.Context, req *ufsAPI.CreateNicRequest) (rsp *ufspb.Nic, err error)
CreateNic creates nic entry in database.
func (*FleetServerImpl) CreateRPM ¶
func (fs *FleetServerImpl) CreateRPM(ctx context.Context, req *ufsAPI.CreateRPMRequest) (rsp *ufspb.RPM, err error)
CreateRPM creates rpm entry in database.
func (*FleetServerImpl) CreateRackLSE ¶
func (fs *FleetServerImpl) CreateRackLSE(ctx context.Context, req *ufsAPI.CreateRackLSERequest) (rsp *ufspb.RackLSE, err error)
CreateRackLSE creates rackLSE entry in database.
func (*FleetServerImpl) CreateRackLSEPrototype ¶
func (fs *FleetServerImpl) CreateRackLSEPrototype(ctx context.Context, req *ufsAPI.CreateRackLSEPrototypeRequest) (rsp *ufspb.RackLSEPrototype, err error)
CreateRackLSEPrototype creates racklseprototype entry in database.
func (*FleetServerImpl) CreateSchedulingUnit ¶
func (fs *FleetServerImpl) CreateSchedulingUnit(ctx context.Context, req *ufsAPI.CreateSchedulingUnitRequest) (rsp *ufspb.SchedulingUnit, err error)
CreateSchedulingUnit creates SchedulingUnit entry in database.
func (*FleetServerImpl) CreateSwitch ¶
func (fs *FleetServerImpl) CreateSwitch(ctx context.Context, req *ufsAPI.CreateSwitchRequest) (rsp *ufspb.Switch, err error)
CreateSwitch creates switch entry in database.
func (*FleetServerImpl) CreateVM ¶
func (fs *FleetServerImpl) CreateVM(ctx context.Context, req *ufsAPI.CreateVMRequest) (rsp *ufspb.VM, err error)
CreateVM creates a vm entry in database.
func (*FleetServerImpl) CreateVlan ¶
func (fs *FleetServerImpl) CreateVlan(ctx context.Context, req *ufsAPI.CreateVlanRequest) (rsp *ufspb.Vlan, err error)
CreateVlan creates vlan entry in database.
func (*FleetServerImpl) DeleteAsset ¶
func (fs *FleetServerImpl) DeleteAsset(ctx context.Context, req *ufsAPI.DeleteAssetRequest) (rsp *empty.Empty, err error)
DeleteAsset deletes the asset from database.
func (*FleetServerImpl) DeleteCachingService ¶
func (fs *FleetServerImpl) DeleteCachingService(ctx context.Context, req *ufsAPI.DeleteCachingServiceRequest) (rsp *empty.Empty, err error)
DeleteCachingService deletes the CachingService from database.
func (*FleetServerImpl) DeleteChromePlatform ¶
func (fs *FleetServerImpl) DeleteChromePlatform(ctx context.Context, req *ufsAPI.DeleteChromePlatformRequest) (rsp *empty.Empty, err error)
DeleteChromePlatform deletes the chromeplatform from database.
func (*FleetServerImpl) DeleteDrac ¶
func (fs *FleetServerImpl) DeleteDrac(ctx context.Context, req *ufsAPI.DeleteDracRequest) (rsp *empty.Empty, err error)
DeleteDrac deletes the drac from database.
func (*FleetServerImpl) DeleteKVM ¶
func (fs *FleetServerImpl) DeleteKVM(ctx context.Context, req *ufsAPI.DeleteKVMRequest) (rsp *empty.Empty, err error)
DeleteKVM deletes the kvm from database.
func (*FleetServerImpl) DeleteMachine ¶
func (fs *FleetServerImpl) DeleteMachine(ctx context.Context, req *ufsAPI.DeleteMachineRequest) (rsp *empty.Empty, err error)
DeleteMachine deletes the machine from database.
func (*FleetServerImpl) DeleteMachineLSE ¶
func (fs *FleetServerImpl) DeleteMachineLSE(ctx context.Context, req *ufsAPI.DeleteMachineLSERequest) (rsp *empty.Empty, err error)
DeleteMachineLSE deletes the machineLSE from database.
func (*FleetServerImpl) DeleteMachineLSEPrototype ¶
func (fs *FleetServerImpl) DeleteMachineLSEPrototype(ctx context.Context, req *ufsAPI.DeleteMachineLSEPrototypeRequest) (rsp *empty.Empty, err error)
DeleteMachineLSEPrototype deletes the machinelseprototype from database.
func (*FleetServerImpl) DeleteNic ¶
func (fs *FleetServerImpl) DeleteNic(ctx context.Context, req *ufsAPI.DeleteNicRequest) (rsp *empty.Empty, err error)
DeleteNic deletes the nic from database.
func (*FleetServerImpl) DeleteRPM ¶
func (fs *FleetServerImpl) DeleteRPM(ctx context.Context, req *ufsAPI.DeleteRPMRequest) (rsp *empty.Empty, err error)
DeleteRPM deletes the rpm from database.
func (*FleetServerImpl) DeleteRack ¶
func (fs *FleetServerImpl) DeleteRack(ctx context.Context, req *ufsAPI.DeleteRackRequest) (rsp *empty.Empty, err error)
DeleteRack deletes the rack from database.
func (*FleetServerImpl) DeleteRackLSE ¶
func (fs *FleetServerImpl) DeleteRackLSE(ctx context.Context, req *ufsAPI.DeleteRackLSERequest) (rsp *empty.Empty, err error)
DeleteRackLSE deletes the rackLSE from database.
func (*FleetServerImpl) DeleteRackLSEPrototype ¶
func (fs *FleetServerImpl) DeleteRackLSEPrototype(ctx context.Context, req *ufsAPI.DeleteRackLSEPrototypeRequest) (rsp *empty.Empty, err error)
DeleteRackLSEPrototype deletes the racklseprototype from database.
func (*FleetServerImpl) DeleteSchedulingUnit ¶
func (fs *FleetServerImpl) DeleteSchedulingUnit(ctx context.Context, req *ufsAPI.DeleteSchedulingUnitRequest) (rsp *empty.Empty, err error)
DeleteSchedulingUnit deletes the SchedulingUnit from database.
func (*FleetServerImpl) DeleteSwitch ¶
func (fs *FleetServerImpl) DeleteSwitch(ctx context.Context, req *ufsAPI.DeleteSwitchRequest) (rsp *empty.Empty, err error)
DeleteSwitch deletes the switch from database.
func (*FleetServerImpl) DeleteVM ¶
func (fs *FleetServerImpl) DeleteVM(ctx context.Context, req *ufsAPI.DeleteVMRequest) (rsp *empty.Empty, err error)
DeleteVM deletes a VM from database.
func (*FleetServerImpl) DeleteVlan ¶
func (fs *FleetServerImpl) DeleteVlan(ctx context.Context, req *ufsAPI.DeleteVlanRequest) (rsp *empty.Empty, err error)
DeleteVlan deletes the vlan from database.
func (*FleetServerImpl) GetAsset ¶
func (fs *FleetServerImpl) GetAsset(ctx context.Context, req *ufsAPI.GetAssetRequest) (rsp *ufspb.Asset, err error)
GetAsset gets the asset information from database.
func (*FleetServerImpl) GetCachingService ¶
func (fs *FleetServerImpl) GetCachingService(ctx context.Context, req *ufsAPI.GetCachingServiceRequest) (rsp *ufspb.CachingService, err error)
GetCachingService gets the CachingService information from database.
func (*FleetServerImpl) GetChromeOSDeviceData ¶
func (fs *FleetServerImpl) GetChromeOSDeviceData(ctx context.Context, req *ufsAPI.GetChromeOSDeviceDataRequest) (rsp *ufspb.ChromeOSDeviceData, err error)
GetChromeOSDeviceData gets the ChromeOSDeviceData(MachineLSE, Machine, Device config, Manufacturing config, Dutstate and Hwid data)
func (*FleetServerImpl) GetChromePlatform ¶
func (fs *FleetServerImpl) GetChromePlatform(ctx context.Context, req *ufsAPI.GetChromePlatformRequest) (rsp *ufspb.ChromePlatform, err error)
GetChromePlatform gets the chromeplatform information from database.
func (*FleetServerImpl) GetDHCPConfig ¶
func (fs *FleetServerImpl) GetDHCPConfig(ctx context.Context, req *ufsAPI.GetDHCPConfigRequest) (rsp *ufspb.DHCPConfig, err error)
GetDHCPConfig gets a dhcp record from database.
func (*FleetServerImpl) GetDrac ¶
func (fs *FleetServerImpl) GetDrac(ctx context.Context, req *ufsAPI.GetDracRequest) (rsp *ufspb.Drac, err error)
GetDrac gets the drac information from database.
func (*FleetServerImpl) GetDutState ¶
func (fs *FleetServerImpl) GetDutState(ctx context.Context, req *api.GetDutStateRequest) (rsp *chromeosLab.DutState, err error)
GetDutState gets the ChromeOS device DutState.
func (*FleetServerImpl) GetKVM ¶
func (fs *FleetServerImpl) GetKVM(ctx context.Context, req *ufsAPI.GetKVMRequest) (rsp *ufspb.KVM, err error)
GetKVM gets the kvm information from database.
func (*FleetServerImpl) GetMachine ¶
func (fs *FleetServerImpl) GetMachine(ctx context.Context, req *ufsAPI.GetMachineRequest) (rsp *ufspb.Machine, err error)
GetMachine gets the machine information from database.
func (*FleetServerImpl) GetMachineLSE ¶
func (fs *FleetServerImpl) GetMachineLSE(ctx context.Context, req *ufsAPI.GetMachineLSERequest) (rsp *ufspb.MachineLSE, err error)
GetMachineLSE gets the machineLSE information from database.
func (*FleetServerImpl) GetMachineLSEDeployment ¶
func (fs *FleetServerImpl) GetMachineLSEDeployment(ctx context.Context, req *ufsAPI.GetMachineLSEDeploymentRequest) (resp *ufspb.MachineLSEDeployment, err error)
GetMachineLSEDeployment retrieves the deployment record for a host
func (*FleetServerImpl) GetMachineLSEPrototype ¶
func (fs *FleetServerImpl) GetMachineLSEPrototype(ctx context.Context, req *ufsAPI.GetMachineLSEPrototypeRequest) (rsp *ufspb.MachineLSEPrototype, err error)
GetMachineLSEPrototype gets the machinelseprototype information from database.
func (*FleetServerImpl) GetNic ¶
func (fs *FleetServerImpl) GetNic(ctx context.Context, req *ufsAPI.GetNicRequest) (rsp *ufspb.Nic, err error)
GetNic gets the nic information from database.
func (*FleetServerImpl) GetRPM ¶
func (fs *FleetServerImpl) GetRPM(ctx context.Context, req *ufsAPI.GetRPMRequest) (rsp *ufspb.RPM, err error)
GetRPM gets the rpm information from database.
func (*FleetServerImpl) GetRack ¶
func (fs *FleetServerImpl) GetRack(ctx context.Context, req *ufsAPI.GetRackRequest) (rsp *ufspb.Rack, err error)
GetRack gets the rack information from database.
func (*FleetServerImpl) GetRackLSE ¶
func (fs *FleetServerImpl) GetRackLSE(ctx context.Context, req *ufsAPI.GetRackLSERequest) (rsp *ufspb.RackLSE, err error)
GetRackLSE gets the rackLSE information from database.
func (*FleetServerImpl) GetRackLSEPrototype ¶
func (fs *FleetServerImpl) GetRackLSEPrototype(ctx context.Context, req *ufsAPI.GetRackLSEPrototypeRequest) (rsp *ufspb.RackLSEPrototype, err error)
GetRackLSEPrototype gets the racklseprototype information from database.
func (*FleetServerImpl) GetSchedulingUnit ¶
func (fs *FleetServerImpl) GetSchedulingUnit(ctx context.Context, req *ufsAPI.GetSchedulingUnitRequest) (rsp *ufspb.SchedulingUnit, err error)
GetSchedulingUnit gets the SchedulingUnit information from database.
func (*FleetServerImpl) GetState ¶
func (fs *FleetServerImpl) GetState(ctx context.Context, req *api.GetStateRequest) (response *ufspb.StateRecord, err error)
GetState returns the state for a resource.
func (*FleetServerImpl) GetSwitch ¶
func (fs *FleetServerImpl) GetSwitch(ctx context.Context, req *ufsAPI.GetSwitchRequest) (rsp *ufspb.Switch, err error)
GetSwitch gets the switch information from database.
func (*FleetServerImpl) GetVM ¶
func (fs *FleetServerImpl) GetVM(ctx context.Context, req *ufsAPI.GetVMRequest) (rsp *ufspb.VM, err error)
GetVM gets the VM information from database.
func (*FleetServerImpl) GetVlan ¶
func (fs *FleetServerImpl) GetVlan(ctx context.Context, req *ufsAPI.GetVlanRequest) (rsp *ufspb.Vlan, err error)
GetVlan gets the vlan information from database.
func (*FleetServerImpl) ImportChromePlatforms ¶
func (fs *FleetServerImpl) ImportChromePlatforms(ctx context.Context, req *ufsAPI.ImportChromePlatformsRequest) (response *status.Status, err error)
ImportChromePlatforms imports the Chrome Platform in batch.
func (*FleetServerImpl) ImportDatacenters ¶
func (fs *FleetServerImpl) ImportDatacenters(ctx context.Context, req *ufsAPI.ImportDatacentersRequest) (response *status.Status, err error)
ImportDatacenters imports the datacenter and its related info in batch.
func (*FleetServerImpl) ImportMachineLSEs ¶
func (fs *FleetServerImpl) ImportMachineLSEs(ctx context.Context, req *ufsAPI.ImportMachineLSEsRequest) (response *status.Status, err error)
ImportMachineLSEs imports browser machines' LSE & related infos (e.g. IP)
func (*FleetServerImpl) ImportMachines ¶
func (fs *FleetServerImpl) ImportMachines(ctx context.Context, req *ufsAPI.ImportMachinesRequest) (rsp *status.Status, err error)
ImportMachines imports the machines from parent sources.
func (*FleetServerImpl) ImportNics ¶
func (fs *FleetServerImpl) ImportNics(ctx context.Context, req *ufsAPI.ImportNicsRequest) (response *status.Status, err error)
ImportNics imports the nics info in batch.
func (*FleetServerImpl) ImportOSMachineLSEs ¶
func (fs *FleetServerImpl) ImportOSMachineLSEs(ctx context.Context, req *ufsAPI.ImportOSMachineLSEsRequest) (response *status.Status, err error)
ImportOSMachineLSEs imports chromeos devices machine lses
func (*FleetServerImpl) ImportOSVersions ¶
func (fs *FleetServerImpl) ImportOSVersions(ctx context.Context, req *ufsAPI.ImportOSVersionsRequest) (response *status.Status, err error)
ImportOSVersions imports the Chrome OSVersion in batch.
func (*FleetServerImpl) ImportOSVlans ¶
func (fs *FleetServerImpl) ImportOSVlans(ctx context.Context, req *ufsAPI.ImportOSVlansRequest) (response *status.Status, err error)
ImportOSVlans imports the ChromeOS vlans, ips and dhcp configs.
func (*FleetServerImpl) ImportStates ¶
func (fs *FleetServerImpl) ImportStates(ctx context.Context, req *api.ImportStatesRequest) (response *status.Status, err error)
ImportStates imports states of crimson objects.
func (*FleetServerImpl) ImportVlans ¶
func (fs *FleetServerImpl) ImportVlans(ctx context.Context, req *ufsAPI.ImportVlansRequest) (response *status.Status, err error)
ImportVlans imports vlans & all IP-related infos.
func (*FleetServerImpl) ListAssets ¶
func (fs *FleetServerImpl) ListAssets(ctx context.Context, req *ufsAPI.ListAssetsRequest) (rsp *ufsAPI.ListAssetsResponse, err error)
ListAssets list the assets information from database.
func (*FleetServerImpl) ListCachingServices ¶
func (fs *FleetServerImpl) ListCachingServices(ctx context.Context, req *ufsAPI.ListCachingServicesRequest) (rsp *ufsAPI.ListCachingServicesResponse, err error)
ListCachingServices list the CachingServices information from database.
func (*FleetServerImpl) ListChromePlatforms ¶
func (fs *FleetServerImpl) ListChromePlatforms(ctx context.Context, req *ufsAPI.ListChromePlatformsRequest) (rsp *ufsAPI.ListChromePlatformsResponse, err error)
ListChromePlatforms list the chromeplatforms information from database.
func (*FleetServerImpl) ListDracs ¶
func (fs *FleetServerImpl) ListDracs(ctx context.Context, req *ufsAPI.ListDracsRequest) (rsp *ufsAPI.ListDracsResponse, err error)
ListDracs list the dracs information from database.
func (*FleetServerImpl) ListDutStates ¶
func (fs *FleetServerImpl) ListDutStates(ctx context.Context, req *api.ListDutStatesRequest) (rsp *api.ListDutStatesResponse, err error)
ListDutStates list the DutStates information from database.
func (*FleetServerImpl) ListKVMs ¶
func (fs *FleetServerImpl) ListKVMs(ctx context.Context, req *ufsAPI.ListKVMsRequest) (rsp *ufsAPI.ListKVMsResponse, err error)
ListKVMs list the kvms information from database.
func (*FleetServerImpl) ListMachineLSEDeployments ¶
func (fs *FleetServerImpl) ListMachineLSEDeployments(ctx context.Context, req *ufsAPI.ListMachineLSEDeploymentsRequest) (resp *ufsAPI.ListMachineLSEDeploymentsResponse, err error)
ListMachineLSEDeployments retrieves a list of deployment records
func (*FleetServerImpl) ListMachineLSEPrototypes ¶
func (fs *FleetServerImpl) ListMachineLSEPrototypes(ctx context.Context, req *ufsAPI.ListMachineLSEPrototypesRequest) (rsp *ufsAPI.ListMachineLSEPrototypesResponse, err error)
ListMachineLSEPrototypes list the machinelseprototypes information from database.
func (*FleetServerImpl) ListMachineLSEs ¶
func (fs *FleetServerImpl) ListMachineLSEs(ctx context.Context, req *ufsAPI.ListMachineLSEsRequest) (rsp *ufsAPI.ListMachineLSEsResponse, err error)
ListMachineLSEs list the machineLSEs information from database.
func (*FleetServerImpl) ListMachines ¶
func (fs *FleetServerImpl) ListMachines(ctx context.Context, req *ufsAPI.ListMachinesRequest) (rsp *ufsAPI.ListMachinesResponse, err error)
ListMachines list the machines information from database.
func (*FleetServerImpl) ListNics ¶
func (fs *FleetServerImpl) ListNics(ctx context.Context, req *ufsAPI.ListNicsRequest) (rsp *ufsAPI.ListNicsResponse, err error)
ListNics list the nics information from database.
func (*FleetServerImpl) ListOSVersions ¶
func (fs *FleetServerImpl) ListOSVersions(ctx context.Context, req *ufsAPI.ListOSVersionsRequest) (response *ufsAPI.ListOSVersionsResponse, err error)
ListOSVersions lists the chrome os versions in batch.
func (*FleetServerImpl) ListRPMs ¶
func (fs *FleetServerImpl) ListRPMs(ctx context.Context, req *ufsAPI.ListRPMsRequest) (rsp *ufsAPI.ListRPMsResponse, err error)
ListRPMs list the rpms information from database.
func (*FleetServerImpl) ListRackLSEPrototypes ¶
func (fs *FleetServerImpl) ListRackLSEPrototypes(ctx context.Context, req *ufsAPI.ListRackLSEPrototypesRequest) (rsp *ufsAPI.ListRackLSEPrototypesResponse, err error)
ListRackLSEPrototypes list the racklseprototypes information from database.
func (*FleetServerImpl) ListRackLSEs ¶
func (fs *FleetServerImpl) ListRackLSEs(ctx context.Context, req *ufsAPI.ListRackLSEsRequest) (rsp *ufsAPI.ListRackLSEsResponse, err error)
ListRackLSEs list the rackLSEs information from database.
func (*FleetServerImpl) ListRacks ¶
func (fs *FleetServerImpl) ListRacks(ctx context.Context, req *ufsAPI.ListRacksRequest) (rsp *ufsAPI.ListRacksResponse, err error)
ListRacks list the racks information from database.
func (*FleetServerImpl) ListSchedulingUnits ¶
func (fs *FleetServerImpl) ListSchedulingUnits(ctx context.Context, req *ufsAPI.ListSchedulingUnitsRequest) (rsp *ufsAPI.ListSchedulingUnitsResponse, err error)
ListSchedulingUnits list the SchedulingUnits information from database.
func (*FleetServerImpl) ListSwitches ¶
func (fs *FleetServerImpl) ListSwitches(ctx context.Context, req *ufsAPI.ListSwitchesRequest) (rsp *ufsAPI.ListSwitchesResponse, err error)
ListSwitches list the switches information from database.
func (*FleetServerImpl) ListVMs ¶
func (fs *FleetServerImpl) ListVMs(ctx context.Context, req *ufsAPI.ListVMsRequest) (rsp *ufsAPI.ListVMsResponse, err error)
ListVMs list the vms information from database.
func (*FleetServerImpl) ListVlans ¶
func (fs *FleetServerImpl) ListVlans(ctx context.Context, req *ufsAPI.ListVlansRequest) (rsp *ufsAPI.ListVlansResponse, err error)
ListVlans list the vlans information from database.
func (*FleetServerImpl) MachineRegistration ¶
func (fs *FleetServerImpl) MachineRegistration(ctx context.Context, req *ufsAPI.MachineRegistrationRequest) (rsp *ufspb.Machine, err error)
MachineRegistration creates machine/nics/drac entry in database.
func (*FleetServerImpl) RackRegistration ¶
func (fs *FleetServerImpl) RackRegistration(ctx context.Context, req *ufsAPI.RackRegistrationRequest) (rsp *ufspb.Rack, err error)
RackRegistration creates rack, switches, kvms, rpms in database.
func (*FleetServerImpl) RenameAsset ¶
func (fs *FleetServerImpl) RenameAsset(ctx context.Context, req *ufsAPI.RenameAssetRequest) (rsp *ufspb.Asset, err error)
RenameAsset renames the asset from database.
func (*FleetServerImpl) RenameMachine ¶
func (fs *FleetServerImpl) RenameMachine(ctx context.Context, req *ufsAPI.RenameMachineRequest) (rsp *ufspb.Machine, err error)
RenameMachine renames the machine in database.
func (*FleetServerImpl) RenameMachineLSE ¶
func (fs *FleetServerImpl) RenameMachineLSE(ctx context.Context, req *ufsAPI.RenameMachineLSERequest) (lse *ufspb.MachineLSE, err error)
RenameMachineLSE renames the machinelse in database.
func (*FleetServerImpl) RenameNic ¶
func (fs *FleetServerImpl) RenameNic(ctx context.Context, req *ufsAPI.RenameNicRequest) (rsp *ufspb.Nic, err error)
RenameNic renames the nic in database.
func (*FleetServerImpl) RenameSwitch ¶
func (fs *FleetServerImpl) RenameSwitch(ctx context.Context, req *ufsAPI.RenameSwitchRequest) (rsp *ufspb.Switch, err error)
RenameSwitch renames the switch in database.
func (*FleetServerImpl) UpdateAsset ¶
func (fs *FleetServerImpl) UpdateAsset(ctx context.Context, req *ufsAPI.UpdateAssetRequest) (rsp *ufspb.Asset, err error)
UpdateAsset updates the asset information in database.
func (*FleetServerImpl) UpdateCachingService ¶
func (fs *FleetServerImpl) UpdateCachingService(ctx context.Context, req *ufsAPI.UpdateCachingServiceRequest) (rsp *ufspb.CachingService, err error)
UpdateCachingService updates the CachingService information in database.
func (*FleetServerImpl) UpdateChromePlatform ¶
func (fs *FleetServerImpl) UpdateChromePlatform(ctx context.Context, req *ufsAPI.UpdateChromePlatformRequest) (rsp *ufspb.ChromePlatform, err error)
UpdateChromePlatform updates the chromeplatform information in database.
func (*FleetServerImpl) UpdateConfigBundle ¶
func (fs *FleetServerImpl) UpdateConfigBundle(ctx context.Context, req *ufsAPI.UpdateConfigBundleRequest) (rsp *ufsAPI.UpdateConfigBundleResponse, err error)
UpdateConfigBundle creates or updates the ConfigBundle from datastore.
func (*FleetServerImpl) UpdateDrac ¶
func (fs *FleetServerImpl) UpdateDrac(ctx context.Context, req *ufsAPI.UpdateDracRequest) (rsp *ufspb.Drac, err error)
UpdateDrac updates the drac information in database.
func (*FleetServerImpl) UpdateDutState ¶
func (fs *FleetServerImpl) UpdateDutState(ctx context.Context, req *api.UpdateDutStateRequest) (response *chromeosLab.DutState, err error)
UpdateDutState updates DUT state for a DUT.
func (*FleetServerImpl) UpdateKVM ¶
func (fs *FleetServerImpl) UpdateKVM(ctx context.Context, req *ufsAPI.UpdateKVMRequest) (rsp *ufspb.KVM, err error)
UpdateKVM updates the kvm information in database.
func (*FleetServerImpl) UpdateMachine ¶
func (fs *FleetServerImpl) UpdateMachine(ctx context.Context, req *ufsAPI.UpdateMachineRequest) (rsp *ufspb.Machine, err error)
UpdateMachine updates the machine information in database.
func (*FleetServerImpl) UpdateMachineLSE ¶
func (fs *FleetServerImpl) UpdateMachineLSE(ctx context.Context, req *ufsAPI.UpdateMachineLSERequest) (rsp *ufspb.MachineLSE, err error)
UpdateMachineLSE updates the machineLSE information in database.
func (*FleetServerImpl) UpdateMachineLSEDeployment ¶
func (fs *FleetServerImpl) UpdateMachineLSEDeployment(ctx context.Context, req *ufsAPI.UpdateMachineLSEDeploymentRequest) (resp *ufspb.MachineLSEDeployment, err error)
UpdateMachineLSEDeployment updates the deployment record for a host
func (*FleetServerImpl) UpdateMachineLSEPrototype ¶
func (fs *FleetServerImpl) UpdateMachineLSEPrototype(ctx context.Context, req *ufsAPI.UpdateMachineLSEPrototypeRequest) (rsp *ufspb.MachineLSEPrototype, err error)
UpdateMachineLSEPrototype updates the machinelseprototype information in database.
func (*FleetServerImpl) UpdateNic ¶
func (fs *FleetServerImpl) UpdateNic(ctx context.Context, req *ufsAPI.UpdateNicRequest) (rsp *ufspb.Nic, err error)
UpdateNic updates the nic information in database.
func (*FleetServerImpl) UpdateRPM ¶
func (fs *FleetServerImpl) UpdateRPM(ctx context.Context, req *ufsAPI.UpdateRPMRequest) (rsp *ufspb.RPM, err error)
UpdateRPM updates the rpm information in database.
func (*FleetServerImpl) UpdateRack ¶
func (fs *FleetServerImpl) UpdateRack(ctx context.Context, req *ufsAPI.UpdateRackRequest) (rsp *ufspb.Rack, err error)
UpdateRack updates the rack information in database.
func (*FleetServerImpl) UpdateRackLSE ¶
func (fs *FleetServerImpl) UpdateRackLSE(ctx context.Context, req *ufsAPI.UpdateRackLSERequest) (rsp *ufspb.RackLSE, err error)
UpdateRackLSE updates the rackLSE information in database.
func (*FleetServerImpl) UpdateRackLSEPrototype ¶
func (fs *FleetServerImpl) UpdateRackLSEPrototype(ctx context.Context, req *ufsAPI.UpdateRackLSEPrototypeRequest) (rsp *ufspb.RackLSEPrototype, err error)
UpdateRackLSEPrototype updates the racklseprototype information in database.
func (*FleetServerImpl) UpdateSchedulingUnit ¶
func (fs *FleetServerImpl) UpdateSchedulingUnit(ctx context.Context, req *ufsAPI.UpdateSchedulingUnitRequest) (rsp *ufspb.SchedulingUnit, err error)
UpdateSchedulingUnit updates the SchedulingUnit information in database.
func (*FleetServerImpl) UpdateState ¶
func (fs *FleetServerImpl) UpdateState(ctx context.Context, req *api.UpdateStateRequest) (response *ufspb.StateRecord, err error)
UpdateState updates the state for a resource.
func (*FleetServerImpl) UpdateSwitch ¶
func (fs *FleetServerImpl) UpdateSwitch(ctx context.Context, req *ufsAPI.UpdateSwitchRequest) (rsp *ufspb.Switch, err error)
UpdateSwitch updates the switch information in database.
func (*FleetServerImpl) UpdateVM ¶
func (fs *FleetServerImpl) UpdateVM(ctx context.Context, req *ufsAPI.UpdateVMRequest) (rsp *ufspb.VM, err error)
UpdateVM updates the vm information in database.
func (*FleetServerImpl) UpdateVlan ¶
func (fs *FleetServerImpl) UpdateVlan(ctx context.Context, req *ufsAPI.UpdateVlanRequest) (rsp *ufspb.Vlan, err error)
UpdateVlan updates the vlan information in database.