Documentation ¶
Overview ¶
Package fleet contains service definitions for fleet management in crosskylabadmin.
Package fleet is a generated GoMock package.
Package fleet is a generated GoMock package.
Index ¶
- Variables
- func FileDescriptorSet() *descriptorpb.FileDescriptorSet
- func RegisterInventoryServer(s prpc.Registrar, srv InventoryServer)
- func RegisterTrackerServer(s prpc.Registrar, srv TrackerServer)
- type AssignDutsToDronesRequest
- func (*AssignDutsToDronesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AssignDutsToDronesRequest) GetAssignments() []*AssignDutsToDronesRequest_Item
- func (*AssignDutsToDronesRequest) ProtoMessage()
- func (x *AssignDutsToDronesRequest) ProtoReflect() protoreflect.Message
- func (x *AssignDutsToDronesRequest) Reset()
- func (x *AssignDutsToDronesRequest) String() string
- func (r *AssignDutsToDronesRequest) Validate() error
- type AssignDutsToDronesRequest_Item
- func (*AssignDutsToDronesRequest_Item) Descriptor() ([]byte, []int)deprecated
- func (x *AssignDutsToDronesRequest_Item) GetDroneHostname() stringdeprecated
- func (x *AssignDutsToDronesRequest_Item) GetDutHostname() string
- func (x *AssignDutsToDronesRequest_Item) GetDutId() string
- func (*AssignDutsToDronesRequest_Item) ProtoMessage()
- func (x *AssignDutsToDronesRequest_Item) ProtoReflect() protoreflect.Message
- func (x *AssignDutsToDronesRequest_Item) Reset()
- func (x *AssignDutsToDronesRequest_Item) String() string
- type AssignDutsToDronesResponse
- func (*AssignDutsToDronesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *AssignDutsToDronesResponse) GetAssigned() []*AssignDutsToDronesResponse_Item
- func (x *AssignDutsToDronesResponse) GetUrl() string
- func (*AssignDutsToDronesResponse) ProtoMessage()
- func (x *AssignDutsToDronesResponse) ProtoReflect() protoreflect.Message
- func (x *AssignDutsToDronesResponse) Reset()
- func (x *AssignDutsToDronesResponse) String() string
- type AssignDutsToDronesResponse_Item
- func (*AssignDutsToDronesResponse_Item) Descriptor() ([]byte, []int)deprecated
- func (x *AssignDutsToDronesResponse_Item) GetDroneHostname() string
- func (x *AssignDutsToDronesResponse_Item) GetDutId() string
- func (*AssignDutsToDronesResponse_Item) ProtoMessage()
- func (x *AssignDutsToDronesResponse_Item) ProtoReflect() protoreflect.Message
- func (x *AssignDutsToDronesResponse_Item) Reset()
- func (x *AssignDutsToDronesResponse_Item) String() string
- type AuditTask
- type BalancePoolsRequest
- func (*BalancePoolsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *BalancePoolsRequest) GetDutSelector() *DutSelector
- func (x *BalancePoolsRequest) GetMaxUnhealthyDuts() int32
- func (x *BalancePoolsRequest) GetOptions() *BalancePoolsRequest_Options
- func (x *BalancePoolsRequest) GetSparePool() string
- func (x *BalancePoolsRequest) GetTargetPool() string
- func (*BalancePoolsRequest) ProtoMessage()
- func (x *BalancePoolsRequest) ProtoReflect() protoreflect.Message
- func (x *BalancePoolsRequest) Reset()
- func (x *BalancePoolsRequest) String() string
- func (r *BalancePoolsRequest) Validate() error
- type BalancePoolsRequest_Options
- func (*BalancePoolsRequest_Options) Descriptor() ([]byte, []int)deprecated
- func (x *BalancePoolsRequest_Options) GetDryrun() bool
- func (*BalancePoolsRequest_Options) ProtoMessage()
- func (x *BalancePoolsRequest_Options) ProtoReflect() protoreflect.Message
- func (x *BalancePoolsRequest_Options) Reset()
- func (x *BalancePoolsRequest_Options) String() string
- type BalancePoolsResponse
- func (*BalancePoolsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *BalancePoolsResponse) GetGeneratedChangeUrl() string
- func (x *BalancePoolsResponse) GetModelResult() map[string]*EnsurePoolHealthyResponse
- func (*BalancePoolsResponse) ProtoMessage()
- func (x *BalancePoolsResponse) ProtoReflect() protoreflect.Message
- func (x *BalancePoolsResponse) Reset()
- func (x *BalancePoolsResponse) String() string
- type BatchUpdateDutsRequest
- func (*BatchUpdateDutsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *BatchUpdateDutsRequest) GetDutProperties() []*DutProperty
- func (x *BatchUpdateDutsRequest) GetHostnames() []stringdeprecated
- func (x *BatchUpdateDutsRequest) GetPool() stringdeprecated
- func (*BatchUpdateDutsRequest) ProtoMessage()
- func (x *BatchUpdateDutsRequest) ProtoReflect() protoreflect.Message
- func (x *BatchUpdateDutsRequest) Reset()
- func (x *BatchUpdateDutsRequest) String() string
- type BatchUpdateDutsResponse
- func (*BatchUpdateDutsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *BatchUpdateDutsResponse) GetUrl() string
- func (*BatchUpdateDutsResponse) ProtoMessage()
- func (x *BatchUpdateDutsResponse) ProtoReflect() protoreflect.Message
- func (x *BatchUpdateDutsResponse) Reset()
- func (x *BatchUpdateDutsResponse) String() string
- type BotDimensions
- func (*BotDimensions) Descriptor() ([]byte, []int)deprecated
- func (x *BotDimensions) GetDutName() string
- func (x *BotDimensions) GetModel() string
- func (x *BotDimensions) GetPools() []string
- func (*BotDimensions) ProtoMessage()
- func (x *BotDimensions) ProtoReflect() protoreflect.Message
- func (x *BotDimensions) Reset()
- func (x *BotDimensions) String() string
- type BotSelector
- func (*BotSelector) Descriptor() ([]byte, []int)deprecated
- func (x *BotSelector) GetDimensions() *BotDimensions
- func (x *BotSelector) GetDutId() string
- func (*BotSelector) ProtoMessage()
- func (x *BotSelector) ProtoReflect() protoreflect.Message
- func (x *BotSelector) Reset()
- func (x *BotSelector) String() string
- type DecoratedInventory
- func (s *DecoratedInventory) AssignDutsToDrones(ctx context.Context, req *AssignDutsToDronesRequest) (rsp *AssignDutsToDronesResponse, err error)
- func (s *DecoratedInventory) BalancePools(ctx context.Context, req *BalancePoolsRequest) (rsp *BalancePoolsResponse, err error)
- func (s *DecoratedInventory) BatchUpdateDuts(ctx context.Context, req *BatchUpdateDutsRequest) (rsp *BatchUpdateDutsResponse, err error)
- func (s *DecoratedInventory) DeleteDuts(ctx context.Context, req *DeleteDutsRequest) (rsp *DeleteDutsResponse, err error)
- func (s *DecoratedInventory) DeployDut(ctx context.Context, req *DeployDutRequest) (rsp *DeployDutResponse, err error)
- func (s *DecoratedInventory) DumpStableVersionToDatastore(ctx context.Context, req *DumpStableVersionToDatastoreRequest) (rsp *DumpStableVersionToDatastoreResponse, err error)
- func (s *DecoratedInventory) GetDeploymentStatus(ctx context.Context, req *GetDeploymentStatusRequest) (rsp *GetDeploymentStatusResponse, err error)
- func (s *DecoratedInventory) GetDroneConfig(ctx context.Context, req *GetDroneConfigRequest) (rsp *GetDroneConfigResponse, err error)
- func (s *DecoratedInventory) GetDutInfo(ctx context.Context, req *GetDutInfoRequest) (rsp *GetDutInfoResponse, err error)
- func (s *DecoratedInventory) GetStableVersion(ctx context.Context, req *GetStableVersionRequest) (rsp *GetStableVersionResponse, err error)
- func (s *DecoratedInventory) ListRemovedDuts(ctx context.Context, req *ListRemovedDutsRequest) (rsp *ListRemovedDutsResponse, err error)
- func (s *DecoratedInventory) ListServers(ctx context.Context, req *ListServersRequest) (rsp *ListServersResponse, err error)
- func (s *DecoratedInventory) PushInventoryToQueen(ctx context.Context, req *PushInventoryToQueenRequest) (rsp *PushInventoryToQueenResponse, err error)
- func (s *DecoratedInventory) RedeployDut(ctx context.Context, req *RedeployDutRequest) (rsp *RedeployDutResponse, err error)
- func (s *DecoratedInventory) RemoveDutsFromDrones(ctx context.Context, req *RemoveDutsFromDronesRequest) (rsp *RemoveDutsFromDronesResponse, err error)
- func (s *DecoratedInventory) ReportInventory(ctx context.Context, req *ReportInventoryRequest) (rsp *ReportInventoryResponse, err error)
- func (s *DecoratedInventory) ResizePool(ctx context.Context, req *ResizePoolRequest) (rsp *ResizePoolResponse, err error)
- func (s *DecoratedInventory) UpdateCachedInventory(ctx context.Context, req *UpdateCachedInventoryRequest) (rsp *UpdateCachedInventoryResponse, err error)
- func (s *DecoratedInventory) UpdateDeviceConfig(ctx context.Context, req *UpdateDeviceConfigRequest) (rsp *UpdateDeviceConfigResponse, err error)
- func (s *DecoratedInventory) UpdateDutLabels(ctx context.Context, req *UpdateDutLabelsRequest) (rsp *UpdateDutLabelsResponse, err error)
- func (s *DecoratedInventory) UpdateManufacturingConfig(ctx context.Context, req *UpdateManufacturingConfigRequest) (rsp *UpdateManufacturingConfigResponse, err error)
- type DecoratedTracker
- func (s *DecoratedTracker) PushBotsForAdminAuditTasks(ctx context.Context, req *PushBotsForAdminAuditTasksRequest) (rsp *PushBotsForAdminAuditTasksResponse, err error)
- func (s *DecoratedTracker) PushBotsForAdminTasks(ctx context.Context, req *PushBotsForAdminTasksRequest) (rsp *PushBotsForAdminTasksResponse, err error)
- func (s *DecoratedTracker) PushRepairJobsForLabstations(ctx context.Context, req *PushRepairJobsForLabstationsRequest) (rsp *PushRepairJobsForLabstationsResponse, err error)
- func (s *DecoratedTracker) ReportBots(ctx context.Context, req *ReportBotsRequest) (rsp *ReportBotsResponse, err error)
- type DeleteDutsRequest
- func (*DeleteDutsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteDutsRequest) GetHostnames() []string
- func (*DeleteDutsRequest) ProtoMessage()
- func (x *DeleteDutsRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteDutsRequest) Reset()
- func (x *DeleteDutsRequest) String() string
- func (r *DeleteDutsRequest) Validate() error
- type DeleteDutsResponse
- func (*DeleteDutsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteDutsResponse) GetChangeUrl() string
- func (x *DeleteDutsResponse) GetIds() []string
- func (*DeleteDutsResponse) ProtoMessage()
- func (x *DeleteDutsResponse) ProtoReflect() protoreflect.Message
- func (x *DeleteDutsResponse) Reset()
- func (x *DeleteDutsResponse) String() string
- type DeployDutRequest
- func (*DeployDutRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeployDutRequest) GetActions() *DutDeploymentActions
- func (x *DeployDutRequest) GetNewSpecs() [][]byte
- func (x *DeployDutRequest) GetOptions() *DutDeploymentOptions
- func (*DeployDutRequest) ProtoMessage()
- func (x *DeployDutRequest) ProtoReflect() protoreflect.Message
- func (x *DeployDutRequest) Reset()
- func (x *DeployDutRequest) String() string
- func (r *DeployDutRequest) Validate() error
- type DeployDutResponse
- func (*DeployDutResponse) Descriptor() ([]byte, []int)deprecated
- func (x *DeployDutResponse) GetDeploymentId() string
- func (*DeployDutResponse) ProtoMessage()
- func (x *DeployDutResponse) ProtoReflect() protoreflect.Message
- func (x *DeployDutResponse) Reset()
- func (x *DeployDutResponse) String() string
- type DumpStableVersionToDatastoreRequest
- func (*DumpStableVersionToDatastoreRequest) Descriptor() ([]byte, []int)deprecated
- func (*DumpStableVersionToDatastoreRequest) ProtoMessage()
- func (x *DumpStableVersionToDatastoreRequest) ProtoReflect() protoreflect.Message
- func (x *DumpStableVersionToDatastoreRequest) Reset()
- func (x *DumpStableVersionToDatastoreRequest) String() string
- type DumpStableVersionToDatastoreResponse
- func (*DumpStableVersionToDatastoreResponse) Descriptor() ([]byte, []int)deprecated
- func (*DumpStableVersionToDatastoreResponse) ProtoMessage()
- func (x *DumpStableVersionToDatastoreResponse) ProtoReflect() protoreflect.Message
- func (x *DumpStableVersionToDatastoreResponse) Reset()
- func (x *DumpStableVersionToDatastoreResponse) String() string
- type DutDeploymentActions
- func (*DutDeploymentActions) Descriptor() ([]byte, []int)deprecated
- func (x *DutDeploymentActions) GetInstallFirmware() bool
- func (x *DutDeploymentActions) GetInstallTestImage() bool
- func (x *DutDeploymentActions) GetRunPreDeployVerification() bool
- func (x *DutDeploymentActions) GetServoVerification() bool
- func (x *DutDeploymentActions) GetSetupLabstation() bool
- func (x *DutDeploymentActions) GetSkipDeployment() bool
- func (x *DutDeploymentActions) GetStageImageToUsb() bool
- func (*DutDeploymentActions) ProtoMessage()
- func (x *DutDeploymentActions) ProtoReflect() protoreflect.Message
- func (x *DutDeploymentActions) Reset()
- func (x *DutDeploymentActions) String() string
- type DutDeploymentOptions
- func (*DutDeploymentOptions) Descriptor() ([]byte, []int)deprecated
- func (x *DutDeploymentOptions) GetAssignServoPortIfMissing() bool
- func (*DutDeploymentOptions) ProtoMessage()
- func (x *DutDeploymentOptions) ProtoReflect() protoreflect.Message
- func (x *DutDeploymentOptions) Reset()
- func (x *DutDeploymentOptions) String() string
- type DutProperty
- func (*DutProperty) Descriptor() ([]byte, []int)deprecated
- func (x *DutProperty) GetHostname() string
- func (x *DutProperty) GetPool() string
- func (x *DutProperty) GetRpm() *DutProperty_Rpm
- func (*DutProperty) ProtoMessage()
- func (x *DutProperty) ProtoReflect() protoreflect.Message
- func (x *DutProperty) Reset()
- func (x *DutProperty) String() string
- type DutProperty_Rpm
- func (*DutProperty_Rpm) Descriptor() ([]byte, []int)deprecated
- func (x *DutProperty_Rpm) GetPowerunitHostname() string
- func (x *DutProperty_Rpm) GetPowerunitOutlet() string
- func (*DutProperty_Rpm) ProtoMessage()
- func (x *DutProperty_Rpm) ProtoReflect() protoreflect.Message
- func (x *DutProperty_Rpm) Reset()
- func (x *DutProperty_Rpm) String() string
- type DutSelector
- func (*DutSelector) Descriptor() ([]byte, []int)deprecated
- func (x *DutSelector) GetHostname() string
- func (x *DutSelector) GetId() string
- func (x *DutSelector) GetModel() string
- func (*DutSelector) ProtoMessage()
- func (x *DutSelector) ProtoReflect() protoreflect.Message
- func (x *DutSelector) Reset()
- func (x *DutSelector) String() string
- func (r *DutSelector) Validate() error
- type DutState
- type EnsurePoolHealthyForAllModelsRequestdeprecated
- func (*EnsurePoolHealthyForAllModelsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *EnsurePoolHealthyForAllModelsRequest) GetMaxUnhealthyDuts() int32
- func (x *EnsurePoolHealthyForAllModelsRequest) GetSparePool() string
- func (x *EnsurePoolHealthyForAllModelsRequest) GetTargetPool() string
- func (*EnsurePoolHealthyForAllModelsRequest) ProtoMessage()
- func (x *EnsurePoolHealthyForAllModelsRequest) ProtoReflect() protoreflect.Message
- func (x *EnsurePoolHealthyForAllModelsRequest) Reset()
- func (x *EnsurePoolHealthyForAllModelsRequest) String() string
- func (r *EnsurePoolHealthyForAllModelsRequest) Validate() error
- type EnsurePoolHealthyForAllModelsResponsedeprecated
- func (*EnsurePoolHealthyForAllModelsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *EnsurePoolHealthyForAllModelsResponse) GetModelResult() map[string]*EnsurePoolHealthyResponse
- func (*EnsurePoolHealthyForAllModelsResponse) ProtoMessage()
- func (x *EnsurePoolHealthyForAllModelsResponse) ProtoReflect() protoreflect.Message
- func (x *EnsurePoolHealthyForAllModelsResponse) Reset()
- func (x *EnsurePoolHealthyForAllModelsResponse) String() string
- type EnsurePoolHealthyRequestdeprecated
- func (*EnsurePoolHealthyRequest) Descriptor() ([]byte, []int)deprecated
- func (x *EnsurePoolHealthyRequest) GetDutSelector() *DutSelector
- func (x *EnsurePoolHealthyRequest) GetMaxUnhealthyDuts() int32
- func (x *EnsurePoolHealthyRequest) GetOptions() *EnsurePoolHealthyRequest_Options
- func (x *EnsurePoolHealthyRequest) GetSparePool() string
- func (x *EnsurePoolHealthyRequest) GetTargetPool() string
- func (*EnsurePoolHealthyRequest) ProtoMessage()
- func (x *EnsurePoolHealthyRequest) ProtoReflect() protoreflect.Message
- func (x *EnsurePoolHealthyRequest) Reset()
- func (x *EnsurePoolHealthyRequest) String() string
- func (r *EnsurePoolHealthyRequest) Validate() error
- type EnsurePoolHealthyRequest_Options
- func (*EnsurePoolHealthyRequest_Options) Descriptor() ([]byte, []int)deprecated
- func (x *EnsurePoolHealthyRequest_Options) GetDryrun() bool
- func (*EnsurePoolHealthyRequest_Options) ProtoMessage()
- func (x *EnsurePoolHealthyRequest_Options) ProtoReflect() protoreflect.Message
- func (x *EnsurePoolHealthyRequest_Options) Reset()
- func (x *EnsurePoolHealthyRequest_Options) String() string
- type EnsurePoolHealthyResponse
- func (*EnsurePoolHealthyResponse) Descriptor() ([]byte, []int)deprecated
- func (x *EnsurePoolHealthyResponse) GetChanges() []*PoolChange
- func (x *EnsurePoolHealthyResponse) GetFailures() []EnsurePoolHealthyResponse_Failure
- func (x *EnsurePoolHealthyResponse) GetSparePoolStatus() *PoolStatus
- func (x *EnsurePoolHealthyResponse) GetTargetPoolStatus() *PoolStatus
- func (x *EnsurePoolHealthyResponse) GetUrl() string
- func (*EnsurePoolHealthyResponse) ProtoMessage()
- func (x *EnsurePoolHealthyResponse) ProtoReflect() protoreflect.Message
- func (x *EnsurePoolHealthyResponse) Reset()
- func (x *EnsurePoolHealthyResponse) String() string
- type EnsurePoolHealthyResponse_Failure
- func (EnsurePoolHealthyResponse_Failure) Descriptor() protoreflect.EnumDescriptor
- func (x EnsurePoolHealthyResponse_Failure) Enum() *EnsurePoolHealthyResponse_Failure
- func (EnsurePoolHealthyResponse_Failure) EnumDescriptor() ([]byte, []int)deprecated
- func (x EnsurePoolHealthyResponse_Failure) Number() protoreflect.EnumNumber
- func (x EnsurePoolHealthyResponse_Failure) String() string
- func (EnsurePoolHealthyResponse_Failure) Type() protoreflect.EnumType
- type GetDeploymentStatusRequest
- func (*GetDeploymentStatusRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetDeploymentStatusRequest) GetDeploymentId() string
- func (*GetDeploymentStatusRequest) ProtoMessage()
- func (x *GetDeploymentStatusRequest) ProtoReflect() protoreflect.Message
- func (x *GetDeploymentStatusRequest) Reset()
- func (x *GetDeploymentStatusRequest) String() string
- func (r *GetDeploymentStatusRequest) Validate() error
- type GetDeploymentStatusResponse
- func (*GetDeploymentStatusResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetDeploymentStatusResponse) GetChangeUrl() string
- func (x *GetDeploymentStatusResponse) GetMessage() string
- func (x *GetDeploymentStatusResponse) GetStatus() GetDeploymentStatusResponse_Status
- func (x *GetDeploymentStatusResponse) GetTaskUrl() string
- func (*GetDeploymentStatusResponse) ProtoMessage()
- func (x *GetDeploymentStatusResponse) ProtoReflect() protoreflect.Message
- func (x *GetDeploymentStatusResponse) Reset()
- func (x *GetDeploymentStatusResponse) String() string
- type GetDeploymentStatusResponse_Status
- func (GetDeploymentStatusResponse_Status) Descriptor() protoreflect.EnumDescriptor
- func (x GetDeploymentStatusResponse_Status) Enum() *GetDeploymentStatusResponse_Status
- func (GetDeploymentStatusResponse_Status) EnumDescriptor() ([]byte, []int)deprecated
- func (x GetDeploymentStatusResponse_Status) Number() protoreflect.EnumNumber
- func (x GetDeploymentStatusResponse_Status) String() string
- func (GetDeploymentStatusResponse_Status) Type() protoreflect.EnumType
- type GetDroneConfigRequest
- func (*GetDroneConfigRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetDroneConfigRequest) GetHostname() string
- func (*GetDroneConfigRequest) ProtoMessage()
- func (x *GetDroneConfigRequest) ProtoReflect() protoreflect.Message
- func (x *GetDroneConfigRequest) Reset()
- func (x *GetDroneConfigRequest) String() string
- type GetDroneConfigResponse
- func (*GetDroneConfigResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetDroneConfigResponse) GetDuts() []*GetDroneConfigResponse_Dut
- func (*GetDroneConfigResponse) ProtoMessage()
- func (x *GetDroneConfigResponse) ProtoReflect() protoreflect.Message
- func (x *GetDroneConfigResponse) Reset()
- func (x *GetDroneConfigResponse) String() string
- type GetDroneConfigResponse_Dut
- func (*GetDroneConfigResponse_Dut) Descriptor() ([]byte, []int)deprecated
- func (x *GetDroneConfigResponse_Dut) GetHostname() string
- func (x *GetDroneConfigResponse_Dut) GetId() string
- func (*GetDroneConfigResponse_Dut) ProtoMessage()
- func (x *GetDroneConfigResponse_Dut) ProtoReflect() protoreflect.Message
- func (x *GetDroneConfigResponse_Dut) Reset()
- func (x *GetDroneConfigResponse_Dut) String() string
- type GetDutInfoRequest
- func (*GetDutInfoRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetDutInfoRequest) GetHostname() string
- func (x *GetDutInfoRequest) GetId() string
- func (x *GetDutInfoRequest) GetMustFromV1() bool
- func (*GetDutInfoRequest) ProtoMessage()
- func (x *GetDutInfoRequest) ProtoReflect() protoreflect.Message
- func (x *GetDutInfoRequest) Reset()
- func (x *GetDutInfoRequest) String() string
- func (r *GetDutInfoRequest) Validate() error
- type GetDutInfoResponse
- func (*GetDutInfoResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetDutInfoResponse) GetSpec() []byte
- func (x *GetDutInfoResponse) GetUpdated() *timestamppb.Timestamp
- func (*GetDutInfoResponse) ProtoMessage()
- func (x *GetDutInfoResponse) ProtoReflect() protoreflect.Message
- func (x *GetDutInfoResponse) Reset()
- func (x *GetDutInfoResponse) String() string
- type GetStableVersionRequest
- func (*GetStableVersionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetStableVersionRequest) GetBuildTarget() string
- func (x *GetStableVersionRequest) GetHostname() string
- func (x *GetStableVersionRequest) GetModel() string
- func (*GetStableVersionRequest) ProtoMessage()
- func (x *GetStableVersionRequest) ProtoReflect() protoreflect.Message
- func (x *GetStableVersionRequest) Reset()
- func (x *GetStableVersionRequest) String() string
- type GetStableVersionResponse
- func (*GetStableVersionResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetStableVersionResponse) GetCrosVersion() string
- func (x *GetStableVersionResponse) GetFaftVersion() string
- func (x *GetStableVersionResponse) GetFirmwareVersion() string
- func (x *GetStableVersionResponse) GetServoCrosVersion() string
- func (*GetStableVersionResponse) ProtoMessage()
- func (x *GetStableVersionResponse) ProtoReflect() protoreflect.Message
- func (x *GetStableVersionResponse) Reset()
- func (x *GetStableVersionResponse) String() string
- type Health
- type InventoryClient
- type InventoryServer
- type ListRemovedDutsRequest
- type ListRemovedDutsResponse
- func (*ListRemovedDutsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListRemovedDutsResponse) GetDuts() []*ListRemovedDutsResponse_Dut
- func (*ListRemovedDutsResponse) ProtoMessage()
- func (x *ListRemovedDutsResponse) ProtoReflect() protoreflect.Message
- func (x *ListRemovedDutsResponse) Reset()
- func (x *ListRemovedDutsResponse) String() string
- type ListRemovedDutsResponse_Dut
- func (*ListRemovedDutsResponse_Dut) Descriptor() ([]byte, []int)deprecated
- func (x *ListRemovedDutsResponse_Dut) GetBug() string
- func (x *ListRemovedDutsResponse_Dut) GetComment() string
- func (x *ListRemovedDutsResponse_Dut) GetExpireTime() *timestamppb.Timestamp
- func (x *ListRemovedDutsResponse_Dut) GetHostname() string
- func (x *ListRemovedDutsResponse_Dut) GetId() string
- func (x *ListRemovedDutsResponse_Dut) GetModel() string
- func (*ListRemovedDutsResponse_Dut) ProtoMessage()
- func (x *ListRemovedDutsResponse_Dut) ProtoReflect() protoreflect.Message
- func (x *ListRemovedDutsResponse_Dut) Reset()
- func (x *ListRemovedDutsResponse_Dut) String() string
- type ListServersRequest
- func (*ListServersRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListServersRequest) GetFilter() *ListServersRequest_Filter
- func (*ListServersRequest) ProtoMessage()
- func (x *ListServersRequest) ProtoReflect() protoreflect.Message
- func (x *ListServersRequest) Reset()
- func (x *ListServersRequest) String() string
- type ListServersRequest_Filter
- func (*ListServersRequest_Filter) Descriptor() ([]byte, []int)deprecated
- func (x *ListServersRequest_Filter) GetRole() ServerRole
- func (*ListServersRequest_Filter) ProtoMessage()
- func (x *ListServersRequest_Filter) ProtoReflect() protoreflect.Message
- func (x *ListServersRequest_Filter) Reset()
- func (x *ListServersRequest_Filter) String() string
- type ListServersResponse
- func (*ListServersResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListServersResponse) GetServers() []*Server
- func (*ListServersResponse) ProtoMessage()
- func (x *ListServersResponse) ProtoReflect() protoreflect.Message
- func (x *ListServersResponse) Reset()
- func (x *ListServersResponse) String() string
- type MockInventoryClient
- func (m *MockInventoryClient) AssignDutsToDrones(ctx context.Context, in *AssignDutsToDronesRequest, opts ...grpc.CallOption) (*AssignDutsToDronesResponse, error)
- func (m *MockInventoryClient) BalancePools(ctx context.Context, in *BalancePoolsRequest, opts ...grpc.CallOption) (*BalancePoolsResponse, error)
- func (m *MockInventoryClient) BatchUpdateDuts(ctx context.Context, in *BatchUpdateDutsRequest, opts ...grpc.CallOption) (*BatchUpdateDutsResponse, error)
- func (m *MockInventoryClient) DeleteDuts(ctx context.Context, in *DeleteDutsRequest, opts ...grpc.CallOption) (*DeleteDutsResponse, error)
- func (m *MockInventoryClient) DeployDut(ctx context.Context, in *DeployDutRequest, opts ...grpc.CallOption) (*DeployDutResponse, error)
- func (m *MockInventoryClient) DumpStableVersionToDatastore(ctx context.Context, in *DumpStableVersionToDatastoreRequest, ...) (*DumpStableVersionToDatastoreResponse, error)
- func (m *MockInventoryClient) EXPECT() *MockInventoryClientMockRecorder
- func (m *MockInventoryClient) GetDeploymentStatus(ctx context.Context, in *GetDeploymentStatusRequest, opts ...grpc.CallOption) (*GetDeploymentStatusResponse, error)
- func (m *MockInventoryClient) GetDroneConfig(ctx context.Context, in *GetDroneConfigRequest, opts ...grpc.CallOption) (*GetDroneConfigResponse, error)
- func (m *MockInventoryClient) GetDutInfo(ctx context.Context, in *GetDutInfoRequest, opts ...grpc.CallOption) (*GetDutInfoResponse, error)
- func (m *MockInventoryClient) GetStableVersion(ctx context.Context, in *GetStableVersionRequest, opts ...grpc.CallOption) (*GetStableVersionResponse, error)
- func (m *MockInventoryClient) ListRemovedDuts(ctx context.Context, in *ListRemovedDutsRequest, opts ...grpc.CallOption) (*ListRemovedDutsResponse, error)
- func (m *MockInventoryClient) ListServers(ctx context.Context, in *ListServersRequest, opts ...grpc.CallOption) (*ListServersResponse, error)
- func (m *MockInventoryClient) PushInventoryToQueen(ctx context.Context, in *PushInventoryToQueenRequest, opts ...grpc.CallOption) (*PushInventoryToQueenResponse, error)
- func (m *MockInventoryClient) RedeployDut(ctx context.Context, in *RedeployDutRequest, opts ...grpc.CallOption) (*RedeployDutResponse, error)
- func (m *MockInventoryClient) RemoveDutsFromDrones(ctx context.Context, in *RemoveDutsFromDronesRequest, opts ...grpc.CallOption) (*RemoveDutsFromDronesResponse, error)
- func (m *MockInventoryClient) ReportInventory(ctx context.Context, in *ReportInventoryRequest, opts ...grpc.CallOption) (*ReportInventoryResponse, error)
- func (m *MockInventoryClient) ResizePool(ctx context.Context, in *ResizePoolRequest, opts ...grpc.CallOption) (*ResizePoolResponse, error)
- func (m *MockInventoryClient) UpdateCachedInventory(ctx context.Context, in *UpdateCachedInventoryRequest, opts ...grpc.CallOption) (*UpdateCachedInventoryResponse, error)
- func (m *MockInventoryClient) UpdateDeviceConfig(ctx context.Context, in *UpdateDeviceConfigRequest, opts ...grpc.CallOption) (*UpdateDeviceConfigResponse, error)
- func (m *MockInventoryClient) UpdateDutLabels(ctx context.Context, in *UpdateDutLabelsRequest, opts ...grpc.CallOption) (*UpdateDutLabelsResponse, error)
- func (m *MockInventoryClient) UpdateManufacturingConfig(ctx context.Context, in *UpdateManufacturingConfigRequest, ...) (*UpdateManufacturingConfigResponse, error)
- type MockInventoryClientMockRecorder
- func (mr *MockInventoryClientMockRecorder) AssignDutsToDrones(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockInventoryClientMockRecorder) BalancePools(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockInventoryClientMockRecorder) BatchUpdateDuts(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockInventoryClientMockRecorder) DeleteDuts(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockInventoryClientMockRecorder) DeployDut(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockInventoryClientMockRecorder) DumpStableVersionToDatastore(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockInventoryClientMockRecorder) GetDeploymentStatus(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockInventoryClientMockRecorder) GetDroneConfig(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockInventoryClientMockRecorder) GetDutInfo(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockInventoryClientMockRecorder) GetStableVersion(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockInventoryClientMockRecorder) ListRemovedDuts(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockInventoryClientMockRecorder) ListServers(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockInventoryClientMockRecorder) PushInventoryToQueen(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockInventoryClientMockRecorder) RedeployDut(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockInventoryClientMockRecorder) RemoveDutsFromDrones(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockInventoryClientMockRecorder) ReportInventory(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockInventoryClientMockRecorder) ResizePool(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockInventoryClientMockRecorder) UpdateCachedInventory(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockInventoryClientMockRecorder) UpdateDeviceConfig(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockInventoryClientMockRecorder) UpdateDutLabels(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockInventoryClientMockRecorder) UpdateManufacturingConfig(ctx, in interface{}, opts ...interface{}) *gomock.Call
- type MockInventoryServer
- func (m *MockInventoryServer) AssignDutsToDrones(arg0 context.Context, arg1 *AssignDutsToDronesRequest) (*AssignDutsToDronesResponse, error)
- func (m *MockInventoryServer) BalancePools(arg0 context.Context, arg1 *BalancePoolsRequest) (*BalancePoolsResponse, error)
- func (m *MockInventoryServer) BatchUpdateDuts(arg0 context.Context, arg1 *BatchUpdateDutsRequest) (*BatchUpdateDutsResponse, error)
- func (m *MockInventoryServer) DeleteDuts(arg0 context.Context, arg1 *DeleteDutsRequest) (*DeleteDutsResponse, error)
- func (m *MockInventoryServer) DeployDut(arg0 context.Context, arg1 *DeployDutRequest) (*DeployDutResponse, error)
- func (m *MockInventoryServer) DumpStableVersionToDatastore(arg0 context.Context, arg1 *DumpStableVersionToDatastoreRequest) (*DumpStableVersionToDatastoreResponse, error)
- func (m *MockInventoryServer) EXPECT() *MockInventoryServerMockRecorder
- func (m *MockInventoryServer) GetDeploymentStatus(arg0 context.Context, arg1 *GetDeploymentStatusRequest) (*GetDeploymentStatusResponse, error)
- func (m *MockInventoryServer) GetDroneConfig(arg0 context.Context, arg1 *GetDroneConfigRequest) (*GetDroneConfigResponse, error)
- func (m *MockInventoryServer) GetDutInfo(arg0 context.Context, arg1 *GetDutInfoRequest) (*GetDutInfoResponse, error)
- func (m *MockInventoryServer) GetStableVersion(arg0 context.Context, arg1 *GetStableVersionRequest) (*GetStableVersionResponse, error)
- func (m *MockInventoryServer) ListRemovedDuts(arg0 context.Context, arg1 *ListRemovedDutsRequest) (*ListRemovedDutsResponse, error)
- func (m *MockInventoryServer) ListServers(arg0 context.Context, arg1 *ListServersRequest) (*ListServersResponse, error)
- func (m *MockInventoryServer) PushInventoryToQueen(arg0 context.Context, arg1 *PushInventoryToQueenRequest) (*PushInventoryToQueenResponse, error)
- func (m *MockInventoryServer) RedeployDut(arg0 context.Context, arg1 *RedeployDutRequest) (*RedeployDutResponse, error)
- func (m *MockInventoryServer) RemoveDutsFromDrones(arg0 context.Context, arg1 *RemoveDutsFromDronesRequest) (*RemoveDutsFromDronesResponse, error)
- func (m *MockInventoryServer) ReportInventory(arg0 context.Context, arg1 *ReportInventoryRequest) (*ReportInventoryResponse, error)
- func (m *MockInventoryServer) ResizePool(arg0 context.Context, arg1 *ResizePoolRequest) (*ResizePoolResponse, error)
- func (m *MockInventoryServer) UpdateCachedInventory(arg0 context.Context, arg1 *UpdateCachedInventoryRequest) (*UpdateCachedInventoryResponse, error)
- func (m *MockInventoryServer) UpdateDeviceConfig(arg0 context.Context, arg1 *UpdateDeviceConfigRequest) (*UpdateDeviceConfigResponse, error)
- func (m *MockInventoryServer) UpdateDutLabels(arg0 context.Context, arg1 *UpdateDutLabelsRequest) (*UpdateDutLabelsResponse, error)
- func (m *MockInventoryServer) UpdateManufacturingConfig(arg0 context.Context, arg1 *UpdateManufacturingConfigRequest) (*UpdateManufacturingConfigResponse, error)
- type MockInventoryServerMockRecorder
- func (mr *MockInventoryServerMockRecorder) AssignDutsToDrones(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockInventoryServerMockRecorder) BalancePools(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockInventoryServerMockRecorder) BatchUpdateDuts(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockInventoryServerMockRecorder) DeleteDuts(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockInventoryServerMockRecorder) DeployDut(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockInventoryServerMockRecorder) DumpStableVersionToDatastore(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockInventoryServerMockRecorder) GetDeploymentStatus(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockInventoryServerMockRecorder) GetDroneConfig(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockInventoryServerMockRecorder) GetDutInfo(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockInventoryServerMockRecorder) GetStableVersion(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockInventoryServerMockRecorder) ListRemovedDuts(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockInventoryServerMockRecorder) ListServers(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockInventoryServerMockRecorder) PushInventoryToQueen(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockInventoryServerMockRecorder) RedeployDut(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockInventoryServerMockRecorder) RemoveDutsFromDrones(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockInventoryServerMockRecorder) ReportInventory(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockInventoryServerMockRecorder) ResizePool(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockInventoryServerMockRecorder) UpdateCachedInventory(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockInventoryServerMockRecorder) UpdateDeviceConfig(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockInventoryServerMockRecorder) UpdateDutLabels(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockInventoryServerMockRecorder) UpdateManufacturingConfig(arg0, arg1 interface{}) *gomock.Call
- type MockTrackerClient
- func (m *MockTrackerClient) EXPECT() *MockTrackerClientMockRecorder
- func (m *MockTrackerClient) PushBotsForAdminAuditTasks(ctx context.Context, in *PushBotsForAdminAuditTasksRequest, ...) (*PushBotsForAdminAuditTasksResponse, error)
- func (m *MockTrackerClient) PushBotsForAdminTasks(ctx context.Context, in *PushBotsForAdminTasksRequest, opts ...grpc.CallOption) (*PushBotsForAdminTasksResponse, error)
- func (m *MockTrackerClient) PushRepairJobsForLabstations(ctx context.Context, in *PushRepairJobsForLabstationsRequest, ...) (*PushRepairJobsForLabstationsResponse, error)
- func (m *MockTrackerClient) ReportBots(ctx context.Context, in *ReportBotsRequest, opts ...grpc.CallOption) (*ReportBotsResponse, error)
- type MockTrackerClientMockRecorder
- func (mr *MockTrackerClientMockRecorder) PushBotsForAdminAuditTasks(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockTrackerClientMockRecorder) PushBotsForAdminTasks(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockTrackerClientMockRecorder) PushRepairJobsForLabstations(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockTrackerClientMockRecorder) ReportBots(ctx, in interface{}, opts ...interface{}) *gomock.Call
- type MockTrackerServer
- func (m *MockTrackerServer) EXPECT() *MockTrackerServerMockRecorder
- func (m *MockTrackerServer) PushBotsForAdminAuditTasks(arg0 context.Context, arg1 *PushBotsForAdminAuditTasksRequest) (*PushBotsForAdminAuditTasksResponse, error)
- func (m *MockTrackerServer) PushBotsForAdminTasks(arg0 context.Context, arg1 *PushBotsForAdminTasksRequest) (*PushBotsForAdminTasksResponse, error)
- func (m *MockTrackerServer) PushRepairJobsForLabstations(arg0 context.Context, arg1 *PushRepairJobsForLabstationsRequest) (*PushRepairJobsForLabstationsResponse, error)
- func (m *MockTrackerServer) ReportBots(arg0 context.Context, arg1 *ReportBotsRequest) (*ReportBotsResponse, error)
- type MockTrackerServerMockRecorder
- func (mr *MockTrackerServerMockRecorder) PushBotsForAdminAuditTasks(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockTrackerServerMockRecorder) PushBotsForAdminTasks(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockTrackerServerMockRecorder) PushRepairJobsForLabstations(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockTrackerServerMockRecorder) ReportBots(arg0, arg1 interface{}) *gomock.Call
- type PoolChange
- func (*PoolChange) Descriptor() ([]byte, []int)deprecated
- func (x *PoolChange) GetDutId() string
- func (x *PoolChange) GetNewPool() string
- func (x *PoolChange) GetOldPool() string
- func (*PoolChange) ProtoMessage()
- func (x *PoolChange) ProtoReflect() protoreflect.Message
- func (x *PoolChange) Reset()
- func (x *PoolChange) String() string
- type PoolStatus
- type PushBotsForAdminAuditTasksRequest
- func (*PushBotsForAdminAuditTasksRequest) Descriptor() ([]byte, []int)deprecated
- func (x *PushBotsForAdminAuditTasksRequest) GetTask() AuditTask
- func (*PushBotsForAdminAuditTasksRequest) ProtoMessage()
- func (x *PushBotsForAdminAuditTasksRequest) ProtoReflect() protoreflect.Message
- func (x *PushBotsForAdminAuditTasksRequest) Reset()
- func (x *PushBotsForAdminAuditTasksRequest) String() string
- type PushBotsForAdminAuditTasksResponse
- func (*PushBotsForAdminAuditTasksResponse) Descriptor() ([]byte, []int)deprecated
- func (*PushBotsForAdminAuditTasksResponse) ProtoMessage()
- func (x *PushBotsForAdminAuditTasksResponse) ProtoReflect() protoreflect.Message
- func (x *PushBotsForAdminAuditTasksResponse) Reset()
- func (x *PushBotsForAdminAuditTasksResponse) String() string
- type PushBotsForAdminTasksRequest
- func (*PushBotsForAdminTasksRequest) Descriptor() ([]byte, []int)deprecated
- func (x *PushBotsForAdminTasksRequest) GetTargetDutState() DutState
- func (*PushBotsForAdminTasksRequest) ProtoMessage()
- func (x *PushBotsForAdminTasksRequest) ProtoReflect() protoreflect.Message
- func (x *PushBotsForAdminTasksRequest) Reset()
- func (x *PushBotsForAdminTasksRequest) String() string
- type PushBotsForAdminTasksResponse
- func (*PushBotsForAdminTasksResponse) Descriptor() ([]byte, []int)deprecated
- func (*PushBotsForAdminTasksResponse) ProtoMessage()
- func (x *PushBotsForAdminTasksResponse) ProtoReflect() protoreflect.Message
- func (x *PushBotsForAdminTasksResponse) Reset()
- func (x *PushBotsForAdminTasksResponse) String() string
- type PushInventoryToQueenRequest
- type PushInventoryToQueenResponse
- func (*PushInventoryToQueenResponse) Descriptor() ([]byte, []int)deprecated
- func (*PushInventoryToQueenResponse) ProtoMessage()
- func (x *PushInventoryToQueenResponse) ProtoReflect() protoreflect.Message
- func (x *PushInventoryToQueenResponse) Reset()
- func (x *PushInventoryToQueenResponse) String() string
- type PushRepairJobsForLabstationsRequest
- func (*PushRepairJobsForLabstationsRequest) Descriptor() ([]byte, []int)deprecated
- func (*PushRepairJobsForLabstationsRequest) ProtoMessage()
- func (x *PushRepairJobsForLabstationsRequest) ProtoReflect() protoreflect.Message
- func (x *PushRepairJobsForLabstationsRequest) Reset()
- func (x *PushRepairJobsForLabstationsRequest) String() string
- type PushRepairJobsForLabstationsResponse
- func (*PushRepairJobsForLabstationsResponse) Descriptor() ([]byte, []int)deprecated
- func (*PushRepairJobsForLabstationsResponse) ProtoMessage()
- func (x *PushRepairJobsForLabstationsResponse) ProtoReflect() protoreflect.Message
- func (x *PushRepairJobsForLabstationsResponse) Reset()
- func (x *PushRepairJobsForLabstationsResponse) String() string
- type RedeployDutRequest
- func (*RedeployDutRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RedeployDutRequest) GetActions() *DutDeploymentActions
- func (x *RedeployDutRequest) GetNewSpecs() []byte
- func (x *RedeployDutRequest) GetOldSpecs() []byte
- func (x *RedeployDutRequest) GetOptions() *DutDeploymentOptions
- func (*RedeployDutRequest) ProtoMessage()
- func (x *RedeployDutRequest) ProtoReflect() protoreflect.Message
- func (x *RedeployDutRequest) Reset()
- func (x *RedeployDutRequest) String() string
- func (r *RedeployDutRequest) Validate() error
- type RedeployDutResponse
- func (*RedeployDutResponse) Descriptor() ([]byte, []int)deprecated
- func (x *RedeployDutResponse) GetDeploymentId() string
- func (*RedeployDutResponse) ProtoMessage()
- func (x *RedeployDutResponse) ProtoReflect() protoreflect.Message
- func (x *RedeployDutResponse) Reset()
- func (x *RedeployDutResponse) String() string
- type RemoveDutsFromDronesRequest
- func (*RemoveDutsFromDronesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RemoveDutsFromDronesRequest) GetRemovals() []*RemoveDutsFromDronesRequest_Item
- func (*RemoveDutsFromDronesRequest) ProtoMessage()
- func (x *RemoveDutsFromDronesRequest) ProtoReflect() protoreflect.Message
- func (x *RemoveDutsFromDronesRequest) Reset()
- func (x *RemoveDutsFromDronesRequest) String() string
- func (r *RemoveDutsFromDronesRequest) Validate() error
- type RemoveDutsFromDronesRequest_Item
- func (*RemoveDutsFromDronesRequest_Item) Descriptor() ([]byte, []int)deprecated
- func (x *RemoveDutsFromDronesRequest_Item) GetDroneHostname() string
- func (x *RemoveDutsFromDronesRequest_Item) GetDutHostname() string
- func (x *RemoveDutsFromDronesRequest_Item) GetDutId() string
- func (x *RemoveDutsFromDronesRequest_Item) GetRemovalReason() []byte
- func (*RemoveDutsFromDronesRequest_Item) ProtoMessage()
- func (x *RemoveDutsFromDronesRequest_Item) ProtoReflect() protoreflect.Message
- func (x *RemoveDutsFromDronesRequest_Item) Reset()
- func (x *RemoveDutsFromDronesRequest_Item) String() string
- type RemoveDutsFromDronesResponse
- func (*RemoveDutsFromDronesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *RemoveDutsFromDronesResponse) GetRemoved() []*RemoveDutsFromDronesResponse_Item
- func (x *RemoveDutsFromDronesResponse) GetUrl() string
- func (*RemoveDutsFromDronesResponse) ProtoMessage()
- func (x *RemoveDutsFromDronesResponse) ProtoReflect() protoreflect.Message
- func (x *RemoveDutsFromDronesResponse) Reset()
- func (x *RemoveDutsFromDronesResponse) String() string
- type RemoveDutsFromDronesResponse_Item
- func (*RemoveDutsFromDronesResponse_Item) Descriptor() ([]byte, []int)deprecated
- func (x *RemoveDutsFromDronesResponse_Item) GetDroneHostname() string
- func (x *RemoveDutsFromDronesResponse_Item) GetDutId() string
- func (*RemoveDutsFromDronesResponse_Item) ProtoMessage()
- func (x *RemoveDutsFromDronesResponse_Item) ProtoReflect() protoreflect.Message
- func (x *RemoveDutsFromDronesResponse_Item) Reset()
- func (x *RemoveDutsFromDronesResponse_Item) String() string
- type ReportBotsRequest
- type ReportBotsResponse
- type ReportInventoryRequest
- func (*ReportInventoryRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ReportInventoryRequest) GetSkipInventoryMetrics() bool
- func (*ReportInventoryRequest) ProtoMessage()
- func (x *ReportInventoryRequest) ProtoReflect() protoreflect.Message
- func (x *ReportInventoryRequest) Reset()
- func (x *ReportInventoryRequest) String() string
- type ReportInventoryResponse
- type ResizePoolRequest
- func (*ResizePoolRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ResizePoolRequest) GetDutSelector() *DutSelector
- func (x *ResizePoolRequest) GetSparePool() string
- func (x *ResizePoolRequest) GetTargetPool() string
- func (x *ResizePoolRequest) GetTargetPoolSize() int32
- func (*ResizePoolRequest) ProtoMessage()
- func (x *ResizePoolRequest) ProtoReflect() protoreflect.Message
- func (x *ResizePoolRequest) Reset()
- func (x *ResizePoolRequest) String() string
- func (r *ResizePoolRequest) Validate() error
- type ResizePoolResponse
- func (*ResizePoolResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ResizePoolResponse) GetChanges() []*PoolChange
- func (x *ResizePoolResponse) GetUrl() string
- func (*ResizePoolResponse) ProtoMessage()
- func (x *ResizePoolResponse) ProtoReflect() protoreflect.Message
- func (x *ResizePoolResponse) Reset()
- func (x *ResizePoolResponse) String() string
- type Server
- func (*Server) Descriptor() ([]byte, []int)deprecated
- func (x *Server) GetDutUids() []string
- func (x *Server) GetHostname() string
- func (x *Server) GetRoles() []ServerRole
- func (*Server) ProtoMessage()
- func (x *Server) ProtoReflect() protoreflect.Message
- func (x *Server) Reset()
- func (x *Server) String() string
- type ServerRole
- type TaskType
- type TrackerClient
- type TrackerServer
- type UnimplementedInventoryServer
- func (*UnimplementedInventoryServer) AssignDutsToDrones(context.Context, *AssignDutsToDronesRequest) (*AssignDutsToDronesResponse, error)
- func (*UnimplementedInventoryServer) BalancePools(context.Context, *BalancePoolsRequest) (*BalancePoolsResponse, error)
- func (*UnimplementedInventoryServer) BatchUpdateDuts(context.Context, *BatchUpdateDutsRequest) (*BatchUpdateDutsResponse, error)
- func (*UnimplementedInventoryServer) DeleteDuts(context.Context, *DeleteDutsRequest) (*DeleteDutsResponse, error)
- func (*UnimplementedInventoryServer) DeployDut(context.Context, *DeployDutRequest) (*DeployDutResponse, error)
- func (*UnimplementedInventoryServer) DumpStableVersionToDatastore(context.Context, *DumpStableVersionToDatastoreRequest) (*DumpStableVersionToDatastoreResponse, error)
- func (*UnimplementedInventoryServer) GetDeploymentStatus(context.Context, *GetDeploymentStatusRequest) (*GetDeploymentStatusResponse, error)
- func (*UnimplementedInventoryServer) GetDroneConfig(context.Context, *GetDroneConfigRequest) (*GetDroneConfigResponse, error)
- func (*UnimplementedInventoryServer) GetDutInfo(context.Context, *GetDutInfoRequest) (*GetDutInfoResponse, error)
- func (*UnimplementedInventoryServer) GetStableVersion(context.Context, *GetStableVersionRequest) (*GetStableVersionResponse, error)
- func (*UnimplementedInventoryServer) ListRemovedDuts(context.Context, *ListRemovedDutsRequest) (*ListRemovedDutsResponse, error)
- func (*UnimplementedInventoryServer) ListServers(context.Context, *ListServersRequest) (*ListServersResponse, error)
- func (*UnimplementedInventoryServer) PushInventoryToQueen(context.Context, *PushInventoryToQueenRequest) (*PushInventoryToQueenResponse, error)
- func (*UnimplementedInventoryServer) RedeployDut(context.Context, *RedeployDutRequest) (*RedeployDutResponse, error)
- func (*UnimplementedInventoryServer) RemoveDutsFromDrones(context.Context, *RemoveDutsFromDronesRequest) (*RemoveDutsFromDronesResponse, error)
- func (*UnimplementedInventoryServer) ReportInventory(context.Context, *ReportInventoryRequest) (*ReportInventoryResponse, error)
- func (*UnimplementedInventoryServer) ResizePool(context.Context, *ResizePoolRequest) (*ResizePoolResponse, error)
- func (*UnimplementedInventoryServer) UpdateCachedInventory(context.Context, *UpdateCachedInventoryRequest) (*UpdateCachedInventoryResponse, error)
- func (*UnimplementedInventoryServer) UpdateDeviceConfig(context.Context, *UpdateDeviceConfigRequest) (*UpdateDeviceConfigResponse, error)
- func (*UnimplementedInventoryServer) UpdateDutLabels(context.Context, *UpdateDutLabelsRequest) (*UpdateDutLabelsResponse, error)
- func (*UnimplementedInventoryServer) UpdateManufacturingConfig(context.Context, *UpdateManufacturingConfigRequest) (*UpdateManufacturingConfigResponse, error)
- type UnimplementedTrackerServer
- func (*UnimplementedTrackerServer) PushBotsForAdminAuditTasks(context.Context, *PushBotsForAdminAuditTasksRequest) (*PushBotsForAdminAuditTasksResponse, error)
- func (*UnimplementedTrackerServer) PushBotsForAdminTasks(context.Context, *PushBotsForAdminTasksRequest) (*PushBotsForAdminTasksResponse, error)
- func (*UnimplementedTrackerServer) PushRepairJobsForLabstations(context.Context, *PushRepairJobsForLabstationsRequest) (*PushRepairJobsForLabstationsResponse, error)
- func (*UnimplementedTrackerServer) ReportBots(context.Context, *ReportBotsRequest) (*ReportBotsResponse, error)
- type UpdateCachedInventoryRequest
- func (*UpdateCachedInventoryRequest) Descriptor() ([]byte, []int)deprecated
- func (*UpdateCachedInventoryRequest) ProtoMessage()
- func (x *UpdateCachedInventoryRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateCachedInventoryRequest) Reset()
- func (x *UpdateCachedInventoryRequest) String() string
- type UpdateCachedInventoryResponse
- func (*UpdateCachedInventoryResponse) Descriptor() ([]byte, []int)deprecated
- func (*UpdateCachedInventoryResponse) ProtoMessage()
- func (x *UpdateCachedInventoryResponse) ProtoReflect() protoreflect.Message
- func (x *UpdateCachedInventoryResponse) Reset()
- func (x *UpdateCachedInventoryResponse) String() string
- type UpdateDeviceConfigRequest
- type UpdateDeviceConfigResponse
- type UpdateDutLabelsRequest
- func (*UpdateDutLabelsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateDutLabelsRequest) GetDutId() string
- func (x *UpdateDutLabelsRequest) GetLabels() []byte
- func (x *UpdateDutLabelsRequest) GetOldLabels() []byte
- func (x *UpdateDutLabelsRequest) GetReason() string
- func (*UpdateDutLabelsRequest) ProtoMessage()
- func (x *UpdateDutLabelsRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateDutLabelsRequest) Reset()
- func (x *UpdateDutLabelsRequest) String() string
- type UpdateDutLabelsResponse
- func (*UpdateDutLabelsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateDutLabelsResponse) GetUrl() string
- func (*UpdateDutLabelsResponse) ProtoMessage()
- func (x *UpdateDutLabelsResponse) ProtoReflect() protoreflect.Message
- func (x *UpdateDutLabelsResponse) Reset()
- func (x *UpdateDutLabelsResponse) String() string
- type UpdateManufacturingConfigRequest
- func (*UpdateManufacturingConfigRequest) Descriptor() ([]byte, []int)deprecated
- func (*UpdateManufacturingConfigRequest) ProtoMessage()
- func (x *UpdateManufacturingConfigRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateManufacturingConfigRequest) Reset()
- func (x *UpdateManufacturingConfigRequest) String() string
- type UpdateManufacturingConfigResponse
- func (*UpdateManufacturingConfigResponse) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateManufacturingConfigResponse) GetChangeUrl() string
- func (*UpdateManufacturingConfigResponse) ProtoMessage()
- func (x *UpdateManufacturingConfigResponse) ProtoReflect() protoreflect.Message
- func (x *UpdateManufacturingConfigResponse) Reset()
- func (x *UpdateManufacturingConfigResponse) String() string
Constants ¶
This section is empty.
Variables ¶
var ( ServerRole_name = map[int32]string{ 0: "ROLE_INVALID", 2: "ROLE_CRASH_SERVER", 5: "ROLE_DEVSERVER", 12: "ROLE_SUITE_SCHEDULER", 13: "ROLE_SKYLAB_DRONE", 14: "ROLE_SKYLAB_SUITE_PROXY", 15: "ROLE_RPMSERVER", } ServerRole_value = map[string]int32{ "ROLE_INVALID": 0, "ROLE_CRASH_SERVER": 2, "ROLE_DEVSERVER": 5, "ROLE_SUITE_SCHEDULER": 12, "ROLE_SKYLAB_DRONE": 13, "ROLE_SKYLAB_SUITE_PROXY": 14, "ROLE_RPMSERVER": 15, } )
Enum value maps for ServerRole.
var ( GetDeploymentStatusResponse_Status_name = map[int32]string{ 0: "DUT_DEPLOYMENT_STATUS_INVALID", 1: "DUT_DEPLOYMENT_STATUS_IN_PROGRESS", 2: "DUT_DEPLOYMENT_STATUS_SUCCEEDED", 3: "DUT_DEPLOYMENT_STATUS_FAILED", } GetDeploymentStatusResponse_Status_value = map[string]int32{ "DUT_DEPLOYMENT_STATUS_INVALID": 0, "DUT_DEPLOYMENT_STATUS_IN_PROGRESS": 1, "DUT_DEPLOYMENT_STATUS_SUCCEEDED": 2, "DUT_DEPLOYMENT_STATUS_FAILED": 3, } )
Enum value maps for GetDeploymentStatusResponse_Status.
var ( EnsurePoolHealthyResponse_Failure_name = map[int32]string{ 0: "FAILURE_INVALID", 1: "TOO_MANY_UNHEALTHY_DUTS", 2: "NOT_ENOUGH_HEALTHY_SPARES", } EnsurePoolHealthyResponse_Failure_value = map[string]int32{ "FAILURE_INVALID": 0, "TOO_MANY_UNHEALTHY_DUTS": 1, "NOT_ENOUGH_HEALTHY_SPARES": 2, } )
Enum value maps for EnsurePoolHealthyResponse_Failure.
var ( DutState_name = map[int32]string{ 0: "DutStateInvalid", 1: "Ready", 2: "NeedsCleanup", 3: "NeedsRepair", 4: "NeedsReset", 5: "RepairFailed", 6: "NeedsReplacement", 7: "NeedsManualRepair", 8: "NeedsDeploy", } DutState_value = map[string]int32{ "DutStateInvalid": 0, "Ready": 1, "NeedsCleanup": 2, "NeedsRepair": 3, "NeedsReset": 4, "RepairFailed": 5, "NeedsReplacement": 6, "NeedsManualRepair": 7, "NeedsDeploy": 8, } )
Enum value maps for DutState.
var ( AuditTask_name = map[int32]string{ 0: "TaskInvalid", 1: "ServoUSBKey", 2: "DUTStorage", 3: "RPMConfig", } AuditTask_value = map[string]int32{ "TaskInvalid": 0, "ServoUSBKey": 1, "DUTStorage": 2, "RPMConfig": 3, } )
Enum value maps for AuditTask.
var ( Health_name = map[int32]string{ 0: "HealthInvalid", 1: "Healthy", 2: "Unhealthy", } Health_value = map[string]int32{ "HealthInvalid": 0, "Healthy": 1, "Unhealthy": 2, } )
Enum value maps for Health.
var ( TaskType_name = map[int32]string{ 0: "Invalid", 1: "Reset", 2: "Cleanup", 3: "Repair", } TaskType_value = map[string]int32{ "Invalid": 0, "Reset": 1, "Cleanup": 2, "Repair": 3, } )
Enum value maps for TaskType.
var File_infra_appengine_crosskylabadmin_api_fleet_v1_common_proto protoreflect.FileDescriptor
var File_infra_appengine_crosskylabadmin_api_fleet_v1_inventory_proto protoreflect.FileDescriptor
var File_infra_appengine_crosskylabadmin_api_fleet_v1_tracker_proto protoreflect.FileDescriptor
Functions ¶
func FileDescriptorSet ¶
func FileDescriptorSet() *descriptorpb.FileDescriptorSet
FileDescriptorSet returns a descriptor set for this proto package, which includes all defined services, and all transitive dependencies.
Will not return nil.
Do NOT modify the returned descriptor.
func RegisterInventoryServer ¶
func RegisterInventoryServer(s prpc.Registrar, srv InventoryServer)
func RegisterTrackerServer ¶
func RegisterTrackerServer(s prpc.Registrar, srv TrackerServer)
Types ¶
type AssignDutsToDronesRequest ¶
type AssignDutsToDronesRequest struct { // assignments is the set of Duts to assign. Assignments []*AssignDutsToDronesRequest_Item `protobuf:"bytes,1,rep,name=assignments,proto3" json:"assignments,omitempty"` // contains filtered or unexported fields }
func (*AssignDutsToDronesRequest) Descriptor
deprecated
func (*AssignDutsToDronesRequest) Descriptor() ([]byte, []int)
Deprecated: Use AssignDutsToDronesRequest.ProtoReflect.Descriptor instead.
func (*AssignDutsToDronesRequest) GetAssignments ¶
func (x *AssignDutsToDronesRequest) GetAssignments() []*AssignDutsToDronesRequest_Item
func (*AssignDutsToDronesRequest) ProtoMessage ¶
func (*AssignDutsToDronesRequest) ProtoMessage()
func (*AssignDutsToDronesRequest) ProtoReflect ¶
func (x *AssignDutsToDronesRequest) ProtoReflect() protoreflect.Message
func (*AssignDutsToDronesRequest) Reset ¶
func (x *AssignDutsToDronesRequest) Reset()
func (*AssignDutsToDronesRequest) String ¶
func (x *AssignDutsToDronesRequest) String() string
func (*AssignDutsToDronesRequest) Validate ¶
func (r *AssignDutsToDronesRequest) Validate() error
Validate returns an error if r is invalid.
type AssignDutsToDronesRequest_Item ¶
type AssignDutsToDronesRequest_Item struct { // dut_id is the id of a DUT to assign to a drone. // // Exactly one of dut_id or hostname must be provided. DutId string `protobuf:"bytes,1,opt,name=dut_id,json=dutId,proto3" json:"dut_id,omitempty"` // dut_hostname is the hostname of the DUT to assign to the drone. // // Exactly one of dut_id or hostname must be provided. DutHostname string `protobuf:"bytes,3,opt,name=dut_hostname,json=dutHostname,proto3" json:"dut_hostname,omitempty"` // drone_hostname is deprecated and does nothing. // // Deprecated: Do not use. DroneHostname string `protobuf:"bytes,2,opt,name=drone_hostname,json=droneHostname,proto3" json:"drone_hostname,omitempty"` // contains filtered or unexported fields }
NEXT TAG: 4
func (*AssignDutsToDronesRequest_Item) Descriptor
deprecated
func (*AssignDutsToDronesRequest_Item) Descriptor() ([]byte, []int)
Deprecated: Use AssignDutsToDronesRequest_Item.ProtoReflect.Descriptor instead.
func (*AssignDutsToDronesRequest_Item) GetDroneHostname
deprecated
func (x *AssignDutsToDronesRequest_Item) GetDroneHostname() string
Deprecated: Do not use.
func (*AssignDutsToDronesRequest_Item) GetDutHostname ¶
func (x *AssignDutsToDronesRequest_Item) GetDutHostname() string
func (*AssignDutsToDronesRequest_Item) GetDutId ¶
func (x *AssignDutsToDronesRequest_Item) GetDutId() string
func (*AssignDutsToDronesRequest_Item) ProtoMessage ¶
func (*AssignDutsToDronesRequest_Item) ProtoMessage()
func (*AssignDutsToDronesRequest_Item) ProtoReflect ¶
func (x *AssignDutsToDronesRequest_Item) ProtoReflect() protoreflect.Message
func (*AssignDutsToDronesRequest_Item) Reset ¶
func (x *AssignDutsToDronesRequest_Item) Reset()
func (*AssignDutsToDronesRequest_Item) String ¶
func (x *AssignDutsToDronesRequest_Item) String() string
type AssignDutsToDronesResponse ¶
type AssignDutsToDronesResponse struct { // assigned is the set of Duts that were removed. Assigned []*AssignDutsToDronesResponse_Item `protobuf:"bytes,1,rep,name=assigned,proto3" json:"assigned,omitempty"` // url is an opaque URL for this inventory change. // // It is intended to be the gerrit CL corresponding to the change, or the // gitiles path for a committed changelist for the change. Url string `protobuf:"bytes,2,opt,name=url,proto3" json:"url,omitempty"` // contains filtered or unexported fields }
func (*AssignDutsToDronesResponse) Descriptor
deprecated
func (*AssignDutsToDronesResponse) Descriptor() ([]byte, []int)
Deprecated: Use AssignDutsToDronesResponse.ProtoReflect.Descriptor instead.
func (*AssignDutsToDronesResponse) GetAssigned ¶
func (x *AssignDutsToDronesResponse) GetAssigned() []*AssignDutsToDronesResponse_Item
func (*AssignDutsToDronesResponse) GetUrl ¶
func (x *AssignDutsToDronesResponse) GetUrl() string
func (*AssignDutsToDronesResponse) ProtoMessage ¶
func (*AssignDutsToDronesResponse) ProtoMessage()
func (*AssignDutsToDronesResponse) ProtoReflect ¶
func (x *AssignDutsToDronesResponse) ProtoReflect() protoreflect.Message
func (*AssignDutsToDronesResponse) Reset ¶
func (x *AssignDutsToDronesResponse) Reset()
func (*AssignDutsToDronesResponse) String ¶
func (x *AssignDutsToDronesResponse) String() string
type AssignDutsToDronesResponse_Item ¶
type AssignDutsToDronesResponse_Item struct { // dut_id is the id of a dut that was assigned to a drone. DutId string `protobuf:"bytes,1,opt,name=dut_id,json=dutId,proto3" json:"dut_id,omitempty"` // drone_hostname is the drone the dut was assigned to. DroneHostname string `protobuf:"bytes,2,opt,name=drone_hostname,json=droneHostname,proto3" json:"drone_hostname,omitempty"` // contains filtered or unexported fields }
func (*AssignDutsToDronesResponse_Item) Descriptor
deprecated
func (*AssignDutsToDronesResponse_Item) Descriptor() ([]byte, []int)
Deprecated: Use AssignDutsToDronesResponse_Item.ProtoReflect.Descriptor instead.
func (*AssignDutsToDronesResponse_Item) GetDroneHostname ¶
func (x *AssignDutsToDronesResponse_Item) GetDroneHostname() string
func (*AssignDutsToDronesResponse_Item) GetDutId ¶
func (x *AssignDutsToDronesResponse_Item) GetDutId() string
func (*AssignDutsToDronesResponse_Item) ProtoMessage ¶
func (*AssignDutsToDronesResponse_Item) ProtoMessage()
func (*AssignDutsToDronesResponse_Item) ProtoReflect ¶
func (x *AssignDutsToDronesResponse_Item) ProtoReflect() protoreflect.Message
func (*AssignDutsToDronesResponse_Item) Reset ¶
func (x *AssignDutsToDronesResponse_Item) Reset()
func (*AssignDutsToDronesResponse_Item) String ¶
func (x *AssignDutsToDronesResponse_Item) String() string
type AuditTask ¶
type AuditTask int32
func (AuditTask) Descriptor ¶
func (AuditTask) Descriptor() protoreflect.EnumDescriptor
func (AuditTask) EnumDescriptor
deprecated
func (AuditTask) Number ¶
func (x AuditTask) Number() protoreflect.EnumNumber
func (AuditTask) Type ¶
func (AuditTask) Type() protoreflect.EnumType
type BalancePoolsRequest ¶
type BalancePoolsRequest struct { // dut_selectors filters the set of DUTs considered by EnsurePoolHealthy. // // It can be empty, but it would allow DUT reallocation between pools // for all models. DutSelector *DutSelector `protobuf:"bytes,1,opt,name=dut_selector,json=dutSelector,proto3" json:"dut_selector,omitempty"` // target_pool is the pool that should contain healthy DUTs. TargetPool string `protobuf:"bytes,2,opt,name=target_pool,json=targetPool,proto3" json:"target_pool,omitempty"` // spare_pool is the pool from which healthy DUTs will be swapped into // target_pool. SparePool string `protobuf:"bytes,3,opt,name=spare_pool,json=sparePool,proto3" json:"spare_pool,omitempty"` // max_unhealthy_duts is the maximum number of DUTs that may be unhealthy in // the target pool before any action is taken. // // max_unhealthy_duts is meaningful only when it has a positive value (> 0). // // If the total number of unhealthy DUTs is above this threshold, // EnsurePoolHealthy does not change DUT pools and returns a // NOT_ENOUGH_HEALTHY_SPARES failure. MaxUnhealthyDuts int32 `protobuf:"varint,4,opt,name=max_unhealthy_duts,json=maxUnhealthyDuts,proto3" json:"max_unhealthy_duts,omitempty"` Options *BalancePoolsRequest_Options `protobuf:"bytes,5,opt,name=options,proto3" json:"options,omitempty"` // contains filtered or unexported fields }
func (*BalancePoolsRequest) Descriptor
deprecated
func (*BalancePoolsRequest) Descriptor() ([]byte, []int)
Deprecated: Use BalancePoolsRequest.ProtoReflect.Descriptor instead.
func (*BalancePoolsRequest) GetDutSelector ¶
func (x *BalancePoolsRequest) GetDutSelector() *DutSelector
func (*BalancePoolsRequest) GetMaxUnhealthyDuts ¶
func (x *BalancePoolsRequest) GetMaxUnhealthyDuts() int32
func (*BalancePoolsRequest) GetOptions ¶
func (x *BalancePoolsRequest) GetOptions() *BalancePoolsRequest_Options
func (*BalancePoolsRequest) GetSparePool ¶
func (x *BalancePoolsRequest) GetSparePool() string
func (*BalancePoolsRequest) GetTargetPool ¶
func (x *BalancePoolsRequest) GetTargetPool() string
func (*BalancePoolsRequest) ProtoMessage ¶
func (*BalancePoolsRequest) ProtoMessage()
func (*BalancePoolsRequest) ProtoReflect ¶
func (x *BalancePoolsRequest) ProtoReflect() protoreflect.Message
func (*BalancePoolsRequest) Reset ¶
func (x *BalancePoolsRequest) Reset()
func (*BalancePoolsRequest) String ¶
func (x *BalancePoolsRequest) String() string
func (*BalancePoolsRequest) Validate ¶
func (r *BalancePoolsRequest) Validate() error
Validate returns an error if r is invalid.
type BalancePoolsRequest_Options ¶
type BalancePoolsRequest_Options struct { // If dryrun is true, no inventory changes are made. Proposed changes are // returned. Dryrun bool `protobuf:"varint,1,opt,name=dryrun,proto3" json:"dryrun,omitempty"` // contains filtered or unexported fields }
func (*BalancePoolsRequest_Options) Descriptor
deprecated
func (*BalancePoolsRequest_Options) Descriptor() ([]byte, []int)
Deprecated: Use BalancePoolsRequest_Options.ProtoReflect.Descriptor instead.
func (*BalancePoolsRequest_Options) GetDryrun ¶
func (x *BalancePoolsRequest_Options) GetDryrun() bool
func (*BalancePoolsRequest_Options) ProtoMessage ¶
func (*BalancePoolsRequest_Options) ProtoMessage()
func (*BalancePoolsRequest_Options) ProtoReflect ¶
func (x *BalancePoolsRequest_Options) ProtoReflect() protoreflect.Message
func (*BalancePoolsRequest_Options) Reset ¶
func (x *BalancePoolsRequest_Options) Reset()
func (*BalancePoolsRequest_Options) String ¶
func (x *BalancePoolsRequest_Options) String() string
type BalancePoolsResponse ¶
type BalancePoolsResponse struct { // model_result maps a model to the EnsurePoolHealthyResponse for that model. ModelResult map[string]*EnsurePoolHealthyResponse `` /* 182-byte string literal not displayed */ // generated_change_url is an opaque URL for this inventory change. // // It is intended to be the gerrit CL corresponding to the change, or the // gitiles path for a committed changelist for the change. Example CL: // https://crrev.com/i/1814710 // // generated_change_url is empty in dryrun mode. GeneratedChangeUrl string `protobuf:"bytes,2,opt,name=generated_change_url,json=generatedChangeUrl,proto3" json:"generated_change_url,omitempty"` // contains filtered or unexported fields }
func (*BalancePoolsResponse) Descriptor
deprecated
func (*BalancePoolsResponse) Descriptor() ([]byte, []int)
Deprecated: Use BalancePoolsResponse.ProtoReflect.Descriptor instead.
func (*BalancePoolsResponse) GetGeneratedChangeUrl ¶
func (x *BalancePoolsResponse) GetGeneratedChangeUrl() string
func (*BalancePoolsResponse) GetModelResult ¶
func (x *BalancePoolsResponse) GetModelResult() map[string]*EnsurePoolHealthyResponse
func (*BalancePoolsResponse) ProtoMessage ¶
func (*BalancePoolsResponse) ProtoMessage()
func (*BalancePoolsResponse) ProtoReflect ¶
func (x *BalancePoolsResponse) ProtoReflect() protoreflect.Message
func (*BalancePoolsResponse) Reset ¶
func (x *BalancePoolsResponse) Reset()
func (*BalancePoolsResponse) String ¶
func (x *BalancePoolsResponse) String() string
type BatchUpdateDutsRequest ¶
type BatchUpdateDutsRequest struct { // Deprecated: Do not use. Hostnames []string `protobuf:"bytes,1,rep,name=hostnames,proto3" json:"hostnames,omitempty"` // Deprecated: Do not use. Pool string `protobuf:"bytes,2,opt,name=pool,proto3" json:"pool,omitempty"` DutProperties []*DutProperty `protobuf:"bytes,3,rep,name=dut_properties,json=dutProperties,proto3" json:"dut_properties,omitempty"` // contains filtered or unexported fields }
func (*BatchUpdateDutsRequest) Descriptor
deprecated
func (*BatchUpdateDutsRequest) Descriptor() ([]byte, []int)
Deprecated: Use BatchUpdateDutsRequest.ProtoReflect.Descriptor instead.
func (*BatchUpdateDutsRequest) GetDutProperties ¶
func (x *BatchUpdateDutsRequest) GetDutProperties() []*DutProperty
func (*BatchUpdateDutsRequest) GetHostnames
deprecated
func (x *BatchUpdateDutsRequest) GetHostnames() []string
Deprecated: Do not use.
func (*BatchUpdateDutsRequest) GetPool
deprecated
func (x *BatchUpdateDutsRequest) GetPool() string
Deprecated: Do not use.
func (*BatchUpdateDutsRequest) ProtoMessage ¶
func (*BatchUpdateDutsRequest) ProtoMessage()
func (*BatchUpdateDutsRequest) ProtoReflect ¶
func (x *BatchUpdateDutsRequest) ProtoReflect() protoreflect.Message
func (*BatchUpdateDutsRequest) Reset ¶
func (x *BatchUpdateDutsRequest) Reset()
func (*BatchUpdateDutsRequest) String ¶
func (x *BatchUpdateDutsRequest) String() string
type BatchUpdateDutsResponse ¶
type BatchUpdateDutsResponse struct { // A Gerrit URL with the label update. Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"` // contains filtered or unexported fields }
func (*BatchUpdateDutsResponse) Descriptor
deprecated
func (*BatchUpdateDutsResponse) Descriptor() ([]byte, []int)
Deprecated: Use BatchUpdateDutsResponse.ProtoReflect.Descriptor instead.
func (*BatchUpdateDutsResponse) GetUrl ¶
func (x *BatchUpdateDutsResponse) GetUrl() string
func (*BatchUpdateDutsResponse) ProtoMessage ¶
func (*BatchUpdateDutsResponse) ProtoMessage()
func (*BatchUpdateDutsResponse) ProtoReflect ¶
func (x *BatchUpdateDutsResponse) ProtoReflect() protoreflect.Message
func (*BatchUpdateDutsResponse) Reset ¶
func (x *BatchUpdateDutsResponse) Reset()
func (*BatchUpdateDutsResponse) String ¶
func (x *BatchUpdateDutsResponse) String() string
type BotDimensions ¶
type BotDimensions struct { Pools []string `protobuf:"bytes,1,rep,name=pools,proto3" json:"pools,omitempty"` Model string `protobuf:"bytes,2,opt,name=model,proto3" json:"model,omitempty"` DutName string `protobuf:"bytes,3,opt,name=dut_name,json=dutName,proto3" json:"dut_name,omitempty"` // contains filtered or unexported fields }
BotDimensions is a subset of Swarming bot dimensions.
func (*BotDimensions) Descriptor
deprecated
func (*BotDimensions) Descriptor() ([]byte, []int)
Deprecated: Use BotDimensions.ProtoReflect.Descriptor instead.
func (*BotDimensions) GetDutName ¶
func (x *BotDimensions) GetDutName() string
func (*BotDimensions) GetModel ¶
func (x *BotDimensions) GetModel() string
func (*BotDimensions) GetPools ¶
func (x *BotDimensions) GetPools() []string
func (*BotDimensions) ProtoMessage ¶
func (*BotDimensions) ProtoMessage()
func (*BotDimensions) ProtoReflect ¶
func (x *BotDimensions) ProtoReflect() protoreflect.Message
func (*BotDimensions) Reset ¶
func (x *BotDimensions) Reset()
func (*BotDimensions) String ¶
func (x *BotDimensions) String() string
type BotSelector ¶
type BotSelector struct { // dut_id selects a bot by the dut_id dimension. DutId string `protobuf:"bytes,1,opt,name=dut_id,json=dutId,proto3" json:"dut_id,omitempty"` // dimensions select bots by Swarming dimensions. // // All fields in the dimension message must match for a bot to be selected. Dimensions *BotDimensions `protobuf:"bytes,2,opt,name=dimensions,proto3" json:"dimensions,omitempty"` // contains filtered or unexported fields }
BotSelector is used in various fleet RPCs to filter the Swarming bots that the RPC applies to.
For example, it is used to select the bots to summarize by the Tracker RPCs, and to select the bots against which admin tasks are managed by the Tasker RPCs.
func (*BotSelector) Descriptor
deprecated
func (*BotSelector) Descriptor() ([]byte, []int)
Deprecated: Use BotSelector.ProtoReflect.Descriptor instead.
func (*BotSelector) GetDimensions ¶
func (x *BotSelector) GetDimensions() *BotDimensions
func (*BotSelector) GetDutId ¶
func (x *BotSelector) GetDutId() string
func (*BotSelector) ProtoMessage ¶
func (*BotSelector) ProtoMessage()
func (*BotSelector) ProtoReflect ¶
func (x *BotSelector) ProtoReflect() protoreflect.Message
func (*BotSelector) Reset ¶
func (x *BotSelector) Reset()
func (*BotSelector) String ¶
func (x *BotSelector) String() string
type DecoratedInventory ¶
type DecoratedInventory struct { // Service is the service to decorate. Service InventoryServer // Prelude is called for each method before forwarding the call to Service. // If Prelude returns an error, then the call is skipped and the error is // processed via the Postlude (if one is defined), or it is returned directly. Prelude func(ctx context.Context, methodName string, req proto.Message) (context.Context, error) // Postlude is called for each method after Service has processed the call, or // after the Prelude has returned an error. This takes the the Service's // response proto (which may be nil) and/or any error. The decorated // service will return the response (possibly mutated) and error that Postlude // returns. Postlude func(ctx context.Context, methodName string, rsp proto.Message, err error) error }
func (*DecoratedInventory) AssignDutsToDrones ¶
func (s *DecoratedInventory) AssignDutsToDrones(ctx context.Context, req *AssignDutsToDronesRequest) (rsp *AssignDutsToDronesResponse, err error)
func (*DecoratedInventory) BalancePools ¶
func (s *DecoratedInventory) BalancePools(ctx context.Context, req *BalancePoolsRequest) (rsp *BalancePoolsResponse, err error)
func (*DecoratedInventory) BatchUpdateDuts ¶
func (s *DecoratedInventory) BatchUpdateDuts(ctx context.Context, req *BatchUpdateDutsRequest) (rsp *BatchUpdateDutsResponse, err error)
func (*DecoratedInventory) DeleteDuts ¶
func (s *DecoratedInventory) DeleteDuts(ctx context.Context, req *DeleteDutsRequest) (rsp *DeleteDutsResponse, err error)
func (*DecoratedInventory) DeployDut ¶
func (s *DecoratedInventory) DeployDut(ctx context.Context, req *DeployDutRequest) (rsp *DeployDutResponse, err error)
func (*DecoratedInventory) DumpStableVersionToDatastore ¶
func (s *DecoratedInventory) DumpStableVersionToDatastore(ctx context.Context, req *DumpStableVersionToDatastoreRequest) (rsp *DumpStableVersionToDatastoreResponse, err error)
func (*DecoratedInventory) GetDeploymentStatus ¶
func (s *DecoratedInventory) GetDeploymentStatus(ctx context.Context, req *GetDeploymentStatusRequest) (rsp *GetDeploymentStatusResponse, err error)
func (*DecoratedInventory) GetDroneConfig ¶
func (s *DecoratedInventory) GetDroneConfig(ctx context.Context, req *GetDroneConfigRequest) (rsp *GetDroneConfigResponse, err error)
func (*DecoratedInventory) GetDutInfo ¶
func (s *DecoratedInventory) GetDutInfo(ctx context.Context, req *GetDutInfoRequest) (rsp *GetDutInfoResponse, err error)
func (*DecoratedInventory) GetStableVersion ¶
func (s *DecoratedInventory) GetStableVersion(ctx context.Context, req *GetStableVersionRequest) (rsp *GetStableVersionResponse, err error)
func (*DecoratedInventory) ListRemovedDuts ¶
func (s *DecoratedInventory) ListRemovedDuts(ctx context.Context, req *ListRemovedDutsRequest) (rsp *ListRemovedDutsResponse, err error)
func (*DecoratedInventory) ListServers ¶
func (s *DecoratedInventory) ListServers(ctx context.Context, req *ListServersRequest) (rsp *ListServersResponse, err error)
func (*DecoratedInventory) PushInventoryToQueen ¶
func (s *DecoratedInventory) PushInventoryToQueen(ctx context.Context, req *PushInventoryToQueenRequest) (rsp *PushInventoryToQueenResponse, err error)
func (*DecoratedInventory) RedeployDut ¶
func (s *DecoratedInventory) RedeployDut(ctx context.Context, req *RedeployDutRequest) (rsp *RedeployDutResponse, err error)
func (*DecoratedInventory) RemoveDutsFromDrones ¶
func (s *DecoratedInventory) RemoveDutsFromDrones(ctx context.Context, req *RemoveDutsFromDronesRequest) (rsp *RemoveDutsFromDronesResponse, err error)
func (*DecoratedInventory) ReportInventory ¶
func (s *DecoratedInventory) ReportInventory(ctx context.Context, req *ReportInventoryRequest) (rsp *ReportInventoryResponse, err error)
func (*DecoratedInventory) ResizePool ¶
func (s *DecoratedInventory) ResizePool(ctx context.Context, req *ResizePoolRequest) (rsp *ResizePoolResponse, err error)
func (*DecoratedInventory) UpdateCachedInventory ¶
func (s *DecoratedInventory) UpdateCachedInventory(ctx context.Context, req *UpdateCachedInventoryRequest) (rsp *UpdateCachedInventoryResponse, err error)
func (*DecoratedInventory) UpdateDeviceConfig ¶
func (s *DecoratedInventory) UpdateDeviceConfig(ctx context.Context, req *UpdateDeviceConfigRequest) (rsp *UpdateDeviceConfigResponse, err error)
func (*DecoratedInventory) UpdateDutLabels ¶
func (s *DecoratedInventory) UpdateDutLabels(ctx context.Context, req *UpdateDutLabelsRequest) (rsp *UpdateDutLabelsResponse, err error)
func (*DecoratedInventory) UpdateManufacturingConfig ¶
func (s *DecoratedInventory) UpdateManufacturingConfig(ctx context.Context, req *UpdateManufacturingConfigRequest) (rsp *UpdateManufacturingConfigResponse, err error)
type DecoratedTracker ¶
type DecoratedTracker struct { // Service is the service to decorate. Service TrackerServer // Prelude is called for each method before forwarding the call to Service. // If Prelude returns an error, then the call is skipped and the error is // processed via the Postlude (if one is defined), or it is returned directly. Prelude func(ctx context.Context, methodName string, req proto.Message) (context.Context, error) // Postlude is called for each method after Service has processed the call, or // after the Prelude has returned an error. This takes the the Service's // response proto (which may be nil) and/or any error. The decorated // service will return the response (possibly mutated) and error that Postlude // returns. Postlude func(ctx context.Context, methodName string, rsp proto.Message, err error) error }
func (*DecoratedTracker) PushBotsForAdminAuditTasks ¶
func (s *DecoratedTracker) PushBotsForAdminAuditTasks(ctx context.Context, req *PushBotsForAdminAuditTasksRequest) (rsp *PushBotsForAdminAuditTasksResponse, err error)
func (*DecoratedTracker) PushBotsForAdminTasks ¶
func (s *DecoratedTracker) PushBotsForAdminTasks(ctx context.Context, req *PushBotsForAdminTasksRequest) (rsp *PushBotsForAdminTasksResponse, err error)
func (*DecoratedTracker) PushRepairJobsForLabstations ¶
func (s *DecoratedTracker) PushRepairJobsForLabstations(ctx context.Context, req *PushRepairJobsForLabstationsRequest) (rsp *PushRepairJobsForLabstationsResponse, err error)
func (*DecoratedTracker) ReportBots ¶
func (s *DecoratedTracker) ReportBots(ctx context.Context, req *ReportBotsRequest) (rsp *ReportBotsResponse, err error)
type DeleteDutsRequest ¶
type DeleteDutsRequest struct { // inventory.CommonDeviceSpecs.Hostname for the DUT to delete. Hostnames []string `protobuf:"bytes,1,rep,name=hostnames,proto3" json:"hostnames,omitempty"` // contains filtered or unexported fields }
func (*DeleteDutsRequest) Descriptor
deprecated
func (*DeleteDutsRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteDutsRequest.ProtoReflect.Descriptor instead.
func (*DeleteDutsRequest) GetHostnames ¶
func (x *DeleteDutsRequest) GetHostnames() []string
func (*DeleteDutsRequest) ProtoMessage ¶
func (*DeleteDutsRequest) ProtoMessage()
func (*DeleteDutsRequest) ProtoReflect ¶
func (x *DeleteDutsRequest) ProtoReflect() protoreflect.Message
func (*DeleteDutsRequest) Reset ¶
func (x *DeleteDutsRequest) Reset()
func (*DeleteDutsRequest) String ¶
func (x *DeleteDutsRequest) String() string
func (*DeleteDutsRequest) Validate ¶
func (r *DeleteDutsRequest) Validate() error
Validate returns an error if r is invalid.
type DeleteDutsResponse ¶
type DeleteDutsResponse struct { // URL for the inventory change that removed the requested DUTs. ChangeUrl string `protobuf:"bytes,1,opt,name=change_url,json=changeUrl,proto3" json:"change_url,omitempty"` // ids lists the inventory IDs of the DUTs deleted. Ids []string `protobuf:"bytes,2,rep,name=ids,proto3" json:"ids,omitempty"` // contains filtered or unexported fields }
func (*DeleteDutsResponse) Descriptor
deprecated
func (*DeleteDutsResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeleteDutsResponse.ProtoReflect.Descriptor instead.
func (*DeleteDutsResponse) GetChangeUrl ¶
func (x *DeleteDutsResponse) GetChangeUrl() string
func (*DeleteDutsResponse) GetIds ¶
func (x *DeleteDutsResponse) GetIds() []string
func (*DeleteDutsResponse) ProtoMessage ¶
func (*DeleteDutsResponse) ProtoMessage()
func (*DeleteDutsResponse) ProtoReflect ¶
func (x *DeleteDutsResponse) ProtoReflect() protoreflect.Message
func (*DeleteDutsResponse) Reset ¶
func (x *DeleteDutsResponse) Reset()
func (*DeleteDutsResponse) String ¶
func (x *DeleteDutsResponse) String() string
type DeployDutRequest ¶
type DeployDutRequest struct { // new_specs are the device specs this deployment effort should set. // // This should be a serialized inventory.CommonDeviceSpecs protobuf. // // Note that deploy will use new_specs to initialize the device specs for the // DUT, but the specs (in particular labels) may be updated further as a // result of the deployment process itself. // // new_specs must satisfy following sanity conditions: // - inventory.CommonDeviceSpecs.Id must be unset. NewSpecs [][]byte `protobuf:"bytes,1,rep,name=new_specs,json=newSpecs,proto3" json:"new_specs,omitempty"` // The deployment actions to take. // // Automated repair is always attempted at the end of deployment actions. Actions *DutDeploymentActions `protobuf:"bytes,2,opt,name=actions,proto3" json:"actions,omitempty"` Options *DutDeploymentOptions `protobuf:"bytes,3,opt,name=options,proto3" json:"options,omitempty"` // contains filtered or unexported fields }
func (*DeployDutRequest) Descriptor
deprecated
func (*DeployDutRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeployDutRequest.ProtoReflect.Descriptor instead.
func (*DeployDutRequest) GetActions ¶
func (x *DeployDutRequest) GetActions() *DutDeploymentActions
func (*DeployDutRequest) GetNewSpecs ¶
func (x *DeployDutRequest) GetNewSpecs() [][]byte
func (*DeployDutRequest) GetOptions ¶
func (x *DeployDutRequest) GetOptions() *DutDeploymentOptions
func (*DeployDutRequest) ProtoMessage ¶
func (*DeployDutRequest) ProtoMessage()
func (*DeployDutRequest) ProtoReflect ¶
func (x *DeployDutRequest) ProtoReflect() protoreflect.Message
func (*DeployDutRequest) Reset ¶
func (x *DeployDutRequest) Reset()
func (*DeployDutRequest) String ¶
func (x *DeployDutRequest) String() string
func (*DeployDutRequest) Validate ¶
func (r *DeployDutRequest) Validate() error
Validate returns an error if r is invalid.
type DeployDutResponse ¶
type DeployDutResponse struct { // Opaque ID to be used for future GetDeploymentStatus requests. DeploymentId string `protobuf:"bytes,1,opt,name=deployment_id,json=deploymentId,proto3" json:"deployment_id,omitempty"` // contains filtered or unexported fields }
func (*DeployDutResponse) Descriptor
deprecated
func (*DeployDutResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeployDutResponse.ProtoReflect.Descriptor instead.
func (*DeployDutResponse) GetDeploymentId ¶
func (x *DeployDutResponse) GetDeploymentId() string
func (*DeployDutResponse) ProtoMessage ¶
func (*DeployDutResponse) ProtoMessage()
func (*DeployDutResponse) ProtoReflect ¶
func (x *DeployDutResponse) ProtoReflect() protoreflect.Message
func (*DeployDutResponse) Reset ¶
func (x *DeployDutResponse) Reset()
func (*DeployDutResponse) String ¶
func (x *DeployDutResponse) String() string
type DumpStableVersionToDatastoreRequest ¶
type DumpStableVersionToDatastoreRequest struct {
// contains filtered or unexported fields
}
func (*DumpStableVersionToDatastoreRequest) Descriptor
deprecated
func (*DumpStableVersionToDatastoreRequest) Descriptor() ([]byte, []int)
Deprecated: Use DumpStableVersionToDatastoreRequest.ProtoReflect.Descriptor instead.
func (*DumpStableVersionToDatastoreRequest) ProtoMessage ¶
func (*DumpStableVersionToDatastoreRequest) ProtoMessage()
func (*DumpStableVersionToDatastoreRequest) ProtoReflect ¶
func (x *DumpStableVersionToDatastoreRequest) ProtoReflect() protoreflect.Message
func (*DumpStableVersionToDatastoreRequest) Reset ¶
func (x *DumpStableVersionToDatastoreRequest) Reset()
func (*DumpStableVersionToDatastoreRequest) String ¶
func (x *DumpStableVersionToDatastoreRequest) String() string
type DumpStableVersionToDatastoreResponse ¶
type DumpStableVersionToDatastoreResponse struct {
// contains filtered or unexported fields
}
func (*DumpStableVersionToDatastoreResponse) Descriptor
deprecated
func (*DumpStableVersionToDatastoreResponse) Descriptor() ([]byte, []int)
Deprecated: Use DumpStableVersionToDatastoreResponse.ProtoReflect.Descriptor instead.
func (*DumpStableVersionToDatastoreResponse) ProtoMessage ¶
func (*DumpStableVersionToDatastoreResponse) ProtoMessage()
func (*DumpStableVersionToDatastoreResponse) ProtoReflect ¶
func (x *DumpStableVersionToDatastoreResponse) ProtoReflect() protoreflect.Message
func (*DumpStableVersionToDatastoreResponse) Reset ¶
func (x *DumpStableVersionToDatastoreResponse) Reset()
func (*DumpStableVersionToDatastoreResponse) String ¶
func (x *DumpStableVersionToDatastoreResponse) String() string
type DutDeploymentActions ¶
type DutDeploymentActions struct { // Stage the requested Chrome OS image on the USB attached to servo and DUT. StageImageToUsb bool `protobuf:"varint,1,opt,name=stage_image_to_usb,json=stageImageToUsb,proto3" json:"stage_image_to_usb,omitempty"` // Install DUT firmware from the image staged on USB. InstallFirmware bool `protobuf:"varint,2,opt,name=install_firmware,json=installFirmware,proto3" json:"install_firmware,omitempty"` // Install ChromeOS test image from the image staged on USB. InstallTestImage bool `protobuf:"varint,3,opt,name=install_test_image,json=installTestImage,proto3" json:"install_test_image,omitempty"` // Skip deployment task. SkipDeployment bool `protobuf:"varint,4,opt,name=skip_deployment,json=skipDeployment,proto3" json:"skip_deployment,omitempty"` // Setup labstation for deployment. SetupLabstation bool `protobuf:"varint,5,opt,name=setup_labstation,json=setupLabstation,proto3" json:"setup_labstation,omitempty"` // Run pre-deploy verification. RunPreDeployVerification bool `` /* 138-byte string literal not displayed */ // Run servo verification. ServoVerification bool `protobuf:"varint,7,opt,name=servo_verification,json=servoVerification,proto3" json:"servo_verification,omitempty"` // contains filtered or unexported fields }
func (*DutDeploymentActions) Descriptor
deprecated
func (*DutDeploymentActions) Descriptor() ([]byte, []int)
Deprecated: Use DutDeploymentActions.ProtoReflect.Descriptor instead.
func (*DutDeploymentActions) GetInstallFirmware ¶
func (x *DutDeploymentActions) GetInstallFirmware() bool
func (*DutDeploymentActions) GetInstallTestImage ¶
func (x *DutDeploymentActions) GetInstallTestImage() bool
func (*DutDeploymentActions) GetRunPreDeployVerification ¶
func (x *DutDeploymentActions) GetRunPreDeployVerification() bool
func (*DutDeploymentActions) GetServoVerification ¶
func (x *DutDeploymentActions) GetServoVerification() bool
func (*DutDeploymentActions) GetSetupLabstation ¶
func (x *DutDeploymentActions) GetSetupLabstation() bool
func (*DutDeploymentActions) GetSkipDeployment ¶
func (x *DutDeploymentActions) GetSkipDeployment() bool
func (*DutDeploymentActions) GetStageImageToUsb ¶
func (x *DutDeploymentActions) GetStageImageToUsb() bool
func (*DutDeploymentActions) ProtoMessage ¶
func (*DutDeploymentActions) ProtoMessage()
func (*DutDeploymentActions) ProtoReflect ¶
func (x *DutDeploymentActions) ProtoReflect() protoreflect.Message
func (*DutDeploymentActions) Reset ¶
func (x *DutDeploymentActions) Reset()
func (*DutDeploymentActions) String ¶
func (x *DutDeploymentActions) String() string
type DutDeploymentOptions ¶
type DutDeploymentOptions struct { // Assign a valid servo port if none is provided in the included device specs. AssignServoPortIfMissing bool `` /* 140-byte string literal not displayed */ // contains filtered or unexported fields }
func (*DutDeploymentOptions) Descriptor
deprecated
func (*DutDeploymentOptions) Descriptor() ([]byte, []int)
Deprecated: Use DutDeploymentOptions.ProtoReflect.Descriptor instead.
func (*DutDeploymentOptions) GetAssignServoPortIfMissing ¶
func (x *DutDeploymentOptions) GetAssignServoPortIfMissing() bool
func (*DutDeploymentOptions) ProtoMessage ¶
func (*DutDeploymentOptions) ProtoMessage()
func (*DutDeploymentOptions) ProtoReflect ¶
func (x *DutDeploymentOptions) ProtoReflect() protoreflect.Message
func (*DutDeploymentOptions) Reset ¶
func (x *DutDeploymentOptions) Reset()
func (*DutDeploymentOptions) String ¶
func (x *DutDeploymentOptions) String() string
type DutProperty ¶
type DutProperty struct { Hostname string `protobuf:"bytes,1,opt,name=hostname,proto3" json:"hostname,omitempty"` Pool string `protobuf:"bytes,2,opt,name=pool,proto3" json:"pool,omitempty"` Rpm *DutProperty_Rpm `protobuf:"bytes,3,opt,name=rpm,proto3" json:"rpm,omitempty"` // contains filtered or unexported fields }
func (*DutProperty) Descriptor
deprecated
func (*DutProperty) Descriptor() ([]byte, []int)
Deprecated: Use DutProperty.ProtoReflect.Descriptor instead.
func (*DutProperty) GetHostname ¶
func (x *DutProperty) GetHostname() string
func (*DutProperty) GetPool ¶
func (x *DutProperty) GetPool() string
func (*DutProperty) GetRpm ¶
func (x *DutProperty) GetRpm() *DutProperty_Rpm
func (*DutProperty) ProtoMessage ¶
func (*DutProperty) ProtoMessage()
func (*DutProperty) ProtoReflect ¶
func (x *DutProperty) ProtoReflect() protoreflect.Message
func (*DutProperty) Reset ¶
func (x *DutProperty) Reset()
func (*DutProperty) String ¶
func (x *DutProperty) String() string
type DutProperty_Rpm ¶
type DutProperty_Rpm struct { PowerunitHostname string `protobuf:"bytes,1,opt,name=powerunit_hostname,json=powerunitHostname,proto3" json:"powerunit_hostname,omitempty"` PowerunitOutlet string `protobuf:"bytes,2,opt,name=powerunit_outlet,json=powerunitOutlet,proto3" json:"powerunit_outlet,omitempty"` // contains filtered or unexported fields }
func (*DutProperty_Rpm) Descriptor
deprecated
func (*DutProperty_Rpm) Descriptor() ([]byte, []int)
Deprecated: Use DutProperty_Rpm.ProtoReflect.Descriptor instead.
func (*DutProperty_Rpm) GetPowerunitHostname ¶
func (x *DutProperty_Rpm) GetPowerunitHostname() string
func (*DutProperty_Rpm) GetPowerunitOutlet ¶
func (x *DutProperty_Rpm) GetPowerunitOutlet() string
func (*DutProperty_Rpm) ProtoMessage ¶
func (*DutProperty_Rpm) ProtoMessage()
func (*DutProperty_Rpm) ProtoReflect ¶
func (x *DutProperty_Rpm) ProtoReflect() protoreflect.Message
func (*DutProperty_Rpm) Reset ¶
func (x *DutProperty_Rpm) Reset()
func (*DutProperty_Rpm) String ¶
func (x *DutProperty_Rpm) String() string
type DutSelector ¶
type DutSelector struct { Hostname string `protobuf:"bytes,2,opt,name=hostname,proto3" json:"hostname,omitempty"` // ID assigned to the DUT in the inventory. Id string `protobuf:"bytes,3,opt,name=id,proto3" json:"id,omitempty"` Model string `protobuf:"bytes,1,opt,name=model,proto3" json:"model,omitempty"` // contains filtered or unexported fields }
NEXT TAG: 4
func (*DutSelector) Descriptor
deprecated
func (*DutSelector) Descriptor() ([]byte, []int)
Deprecated: Use DutSelector.ProtoReflect.Descriptor instead.
func (*DutSelector) GetHostname ¶
func (x *DutSelector) GetHostname() string
func (*DutSelector) GetId ¶
func (x *DutSelector) GetId() string
func (*DutSelector) GetModel ¶
func (x *DutSelector) GetModel() string
func (*DutSelector) ProtoMessage ¶
func (*DutSelector) ProtoMessage()
func (*DutSelector) ProtoReflect ¶
func (x *DutSelector) ProtoReflect() protoreflect.Message
func (*DutSelector) Reset ¶
func (x *DutSelector) Reset()
func (*DutSelector) String ¶
func (x *DutSelector) String() string
func (*DutSelector) Validate ¶
func (r *DutSelector) Validate() error
Validate returns an error if r is invalid.
type DutState ¶
type DutState int32
const ( DutState_DutStateInvalid DutState = 0 DutState_Ready DutState = 1 DutState_NeedsCleanup DutState = 2 DutState_NeedsRepair DutState = 3 DutState_NeedsReset DutState = 4 DutState_RepairFailed DutState = 5 DutState_NeedsReplacement DutState = 6 DutState_NeedsManualRepair DutState = 7 DutState_NeedsDeploy DutState = 8 )
func (DutState) Descriptor ¶
func (DutState) Descriptor() protoreflect.EnumDescriptor
func (DutState) EnumDescriptor
deprecated
func (DutState) Number ¶
func (x DutState) Number() protoreflect.EnumNumber
func (DutState) Type ¶
func (DutState) Type() protoreflect.EnumType
type EnsurePoolHealthyForAllModelsRequest
deprecated
type EnsurePoolHealthyForAllModelsRequest struct { // target_pool is the pool that should contain healthy DUTs. TargetPool string `protobuf:"bytes,1,opt,name=target_pool,json=targetPool,proto3" json:"target_pool,omitempty"` // spare_pool is the pool from which healthy DUTs will be swapped into // target_pool. SparePool string `protobuf:"bytes,2,opt,name=spare_pool,json=sparePool,proto3" json:"spare_pool,omitempty"` // max_unhealthy_duts is the maximum number of DUTs that may be unhealthy in // the target pool before any action is taken. // // max_unhealthy_duts is meaningful only when it has a positive value (> 0). // // If the total number of unhealthy DUTs is above this threshold, // EnsurePoolHealthy does not change DUT pools and returns a // NOT_ENOUGH_HEALTHY_SPARES failure. MaxUnhealthyDuts int32 `protobuf:"varint,3,opt,name=max_unhealthy_duts,json=maxUnhealthyDuts,proto3" json:"max_unhealthy_duts,omitempty"` // contains filtered or unexported fields }
Deprecated: Do not use.
func (*EnsurePoolHealthyForAllModelsRequest) Descriptor
deprecated
func (*EnsurePoolHealthyForAllModelsRequest) Descriptor() ([]byte, []int)
Deprecated: Use EnsurePoolHealthyForAllModelsRequest.ProtoReflect.Descriptor instead.
func (*EnsurePoolHealthyForAllModelsRequest) GetMaxUnhealthyDuts ¶
func (x *EnsurePoolHealthyForAllModelsRequest) GetMaxUnhealthyDuts() int32
func (*EnsurePoolHealthyForAllModelsRequest) GetSparePool ¶
func (x *EnsurePoolHealthyForAllModelsRequest) GetSparePool() string
func (*EnsurePoolHealthyForAllModelsRequest) GetTargetPool ¶
func (x *EnsurePoolHealthyForAllModelsRequest) GetTargetPool() string
func (*EnsurePoolHealthyForAllModelsRequest) ProtoMessage ¶
func (*EnsurePoolHealthyForAllModelsRequest) ProtoMessage()
func (*EnsurePoolHealthyForAllModelsRequest) ProtoReflect ¶
func (x *EnsurePoolHealthyForAllModelsRequest) ProtoReflect() protoreflect.Message
func (*EnsurePoolHealthyForAllModelsRequest) Reset ¶
func (x *EnsurePoolHealthyForAllModelsRequest) Reset()
func (*EnsurePoolHealthyForAllModelsRequest) String ¶
func (x *EnsurePoolHealthyForAllModelsRequest) String() string
func (*EnsurePoolHealthyForAllModelsRequest) Validate ¶
func (r *EnsurePoolHealthyForAllModelsRequest) Validate() error
Validate returns an error if r is invalid.
type EnsurePoolHealthyForAllModelsResponse
deprecated
type EnsurePoolHealthyForAllModelsResponse struct { // model_result maps a model to the EnsurePoolHealthyResponse for that model. ModelResult map[string]*EnsurePoolHealthyResponse `` /* 182-byte string literal not displayed */ // contains filtered or unexported fields }
Deprecated: Do not use.
func (*EnsurePoolHealthyForAllModelsResponse) Descriptor
deprecated
func (*EnsurePoolHealthyForAllModelsResponse) Descriptor() ([]byte, []int)
Deprecated: Use EnsurePoolHealthyForAllModelsResponse.ProtoReflect.Descriptor instead.
func (*EnsurePoolHealthyForAllModelsResponse) GetModelResult ¶
func (x *EnsurePoolHealthyForAllModelsResponse) GetModelResult() map[string]*EnsurePoolHealthyResponse
func (*EnsurePoolHealthyForAllModelsResponse) ProtoMessage ¶
func (*EnsurePoolHealthyForAllModelsResponse) ProtoMessage()
func (*EnsurePoolHealthyForAllModelsResponse) ProtoReflect ¶
func (x *EnsurePoolHealthyForAllModelsResponse) ProtoReflect() protoreflect.Message
func (*EnsurePoolHealthyForAllModelsResponse) Reset ¶
func (x *EnsurePoolHealthyForAllModelsResponse) Reset()
func (*EnsurePoolHealthyForAllModelsResponse) String ¶
func (x *EnsurePoolHealthyForAllModelsResponse) String() string
type EnsurePoolHealthyRequest
deprecated
type EnsurePoolHealthyRequest struct { // dut_selectors filters the set of DUTs considered by EnsurePoolHealthy. // // All pool changes occurs within this selected set of DUTs. // It is an error to omit dut_selector because that would allow // unconstrained DUT reallocation between pools, disregarding all other // labels. DutSelector *DutSelector `protobuf:"bytes,1,opt,name=dut_selector,json=dutSelector,proto3" json:"dut_selector,omitempty"` // target_pool is the pool that should contain healthy DUTs. TargetPool string `protobuf:"bytes,2,opt,name=target_pool,json=targetPool,proto3" json:"target_pool,omitempty"` // spare_pool is the pool from which healthy DUTs will be swapped into // target_pool. SparePool string `protobuf:"bytes,3,opt,name=spare_pool,json=sparePool,proto3" json:"spare_pool,omitempty"` // max_unhealthy_duts is the maximum number of DUTs that may be unhealthy in // the target pool before any action is taken. // // max_unhealthy_duts is meaningful only when it has a positive value (> 0). // // If the total number of unhealthy DUTs is above this threshold, // EnsurePoolHealthy does not change DUT pools and returns a // NOT_ENOUGH_HEALTHY_SPARES failure. MaxUnhealthyDuts int32 `protobuf:"varint,4,opt,name=max_unhealthy_duts,json=maxUnhealthyDuts,proto3" json:"max_unhealthy_duts,omitempty"` Options *EnsurePoolHealthyRequest_Options `protobuf:"bytes,5,opt,name=options,proto3" json:"options,omitempty"` // contains filtered or unexported fields }
Deprecated: Do not use.
func (*EnsurePoolHealthyRequest) Descriptor
deprecated
func (*EnsurePoolHealthyRequest) Descriptor() ([]byte, []int)
Deprecated: Use EnsurePoolHealthyRequest.ProtoReflect.Descriptor instead.
func (*EnsurePoolHealthyRequest) GetDutSelector ¶
func (x *EnsurePoolHealthyRequest) GetDutSelector() *DutSelector
func (*EnsurePoolHealthyRequest) GetMaxUnhealthyDuts ¶
func (x *EnsurePoolHealthyRequest) GetMaxUnhealthyDuts() int32
func (*EnsurePoolHealthyRequest) GetOptions ¶
func (x *EnsurePoolHealthyRequest) GetOptions() *EnsurePoolHealthyRequest_Options
func (*EnsurePoolHealthyRequest) GetSparePool ¶
func (x *EnsurePoolHealthyRequest) GetSparePool() string
func (*EnsurePoolHealthyRequest) GetTargetPool ¶
func (x *EnsurePoolHealthyRequest) GetTargetPool() string
func (*EnsurePoolHealthyRequest) ProtoMessage ¶
func (*EnsurePoolHealthyRequest) ProtoMessage()
func (*EnsurePoolHealthyRequest) ProtoReflect ¶
func (x *EnsurePoolHealthyRequest) ProtoReflect() protoreflect.Message
func (*EnsurePoolHealthyRequest) Reset ¶
func (x *EnsurePoolHealthyRequest) Reset()
func (*EnsurePoolHealthyRequest) String ¶
func (x *EnsurePoolHealthyRequest) String() string
func (*EnsurePoolHealthyRequest) Validate ¶
func (r *EnsurePoolHealthyRequest) Validate() error
Validate returns an error if r is invalid.
type EnsurePoolHealthyRequest_Options ¶
type EnsurePoolHealthyRequest_Options struct { // If dryrun is true, no inventory changes are made. Proposed changes are // returned. Dryrun bool `protobuf:"varint,1,opt,name=dryrun,proto3" json:"dryrun,omitempty"` // contains filtered or unexported fields }
func (*EnsurePoolHealthyRequest_Options) Descriptor
deprecated
func (*EnsurePoolHealthyRequest_Options) Descriptor() ([]byte, []int)
Deprecated: Use EnsurePoolHealthyRequest_Options.ProtoReflect.Descriptor instead.
func (*EnsurePoolHealthyRequest_Options) GetDryrun ¶
func (x *EnsurePoolHealthyRequest_Options) GetDryrun() bool
func (*EnsurePoolHealthyRequest_Options) ProtoMessage ¶
func (*EnsurePoolHealthyRequest_Options) ProtoMessage()
func (*EnsurePoolHealthyRequest_Options) ProtoReflect ¶
func (x *EnsurePoolHealthyRequest_Options) ProtoReflect() protoreflect.Message
func (*EnsurePoolHealthyRequest_Options) Reset ¶
func (x *EnsurePoolHealthyRequest_Options) Reset()
func (*EnsurePoolHealthyRequest_Options) String ¶
func (x *EnsurePoolHealthyRequest_Options) String() string
type EnsurePoolHealthyResponse ¶
type EnsurePoolHealthyResponse struct { // Failures encountered during pool balancing. // // All the remaining fields of the response are still valid in the presence of // failures. Failures []EnsurePoolHealthyResponse_Failure `` /* 138-byte string literal not displayed */ // target_pool_status summarizes the target pool after the required // inventory changes are executed. // // Within the pool, only DUTs selected via dut_selector are summarized. TargetPoolStatus *PoolStatus `protobuf:"bytes,2,opt,name=target_pool_status,json=targetPoolStatus,proto3" json:"target_pool_status,omitempty"` // spare_pool_status summarizes the spare pool after the required // inventory changes are executed. // // Within the pool, only DUTs selected via dut_selector are summarized. SparePoolStatus *PoolStatus `protobuf:"bytes,3,opt,name=spare_pool_status,json=sparePoolStatus,proto3" json:"spare_pool_status,omitempty"` // url is an opaque URL for this inventory change. // // It is intended to be the gerrit CL corresponding to the change, or the // gitiles path for a committed changelist for the change. // // url is empty in dryrun mode. Url string `protobuf:"bytes,4,opt,name=url,proto3" json:"url,omitempty"` // changes correspond to the proposed or executed pool changes to ensure // inventory in response to various API methods calls. Changes []*PoolChange `protobuf:"bytes,5,rep,name=changes,proto3" json:"changes,omitempty"` // contains filtered or unexported fields }
func (*EnsurePoolHealthyResponse) Descriptor
deprecated
func (*EnsurePoolHealthyResponse) Descriptor() ([]byte, []int)
Deprecated: Use EnsurePoolHealthyResponse.ProtoReflect.Descriptor instead.
func (*EnsurePoolHealthyResponse) GetChanges ¶
func (x *EnsurePoolHealthyResponse) GetChanges() []*PoolChange
func (*EnsurePoolHealthyResponse) GetFailures ¶
func (x *EnsurePoolHealthyResponse) GetFailures() []EnsurePoolHealthyResponse_Failure
func (*EnsurePoolHealthyResponse) GetSparePoolStatus ¶
func (x *EnsurePoolHealthyResponse) GetSparePoolStatus() *PoolStatus
func (*EnsurePoolHealthyResponse) GetTargetPoolStatus ¶
func (x *EnsurePoolHealthyResponse) GetTargetPoolStatus() *PoolStatus
func (*EnsurePoolHealthyResponse) GetUrl ¶
func (x *EnsurePoolHealthyResponse) GetUrl() string
func (*EnsurePoolHealthyResponse) ProtoMessage ¶
func (*EnsurePoolHealthyResponse) ProtoMessage()
func (*EnsurePoolHealthyResponse) ProtoReflect ¶
func (x *EnsurePoolHealthyResponse) ProtoReflect() protoreflect.Message
func (*EnsurePoolHealthyResponse) Reset ¶
func (x *EnsurePoolHealthyResponse) Reset()
func (*EnsurePoolHealthyResponse) String ¶
func (x *EnsurePoolHealthyResponse) String() string
type EnsurePoolHealthyResponse_Failure ¶
type EnsurePoolHealthyResponse_Failure int32
const ( EnsurePoolHealthyResponse_FAILURE_INVALID EnsurePoolHealthyResponse_Failure = 0 // Target pool had more than max_unhealthy_duts unhealthy duts before any // action was taken. EnsurePoolHealthyResponse_TOO_MANY_UNHEALTHY_DUTS EnsurePoolHealthyResponse_Failure = 1 // Spare pool did not have enough healthy DUTs to make sure all DUTs in // target pool are healthy. In this failure mode, the available healthy // spare DUTs do get transferred to the target pool. EnsurePoolHealthyResponse_NOT_ENOUGH_HEALTHY_SPARES EnsurePoolHealthyResponse_Failure = 2 )
func (EnsurePoolHealthyResponse_Failure) Descriptor ¶
func (EnsurePoolHealthyResponse_Failure) Descriptor() protoreflect.EnumDescriptor
func (EnsurePoolHealthyResponse_Failure) Enum ¶
func (x EnsurePoolHealthyResponse_Failure) Enum() *EnsurePoolHealthyResponse_Failure
func (EnsurePoolHealthyResponse_Failure) EnumDescriptor
deprecated
func (EnsurePoolHealthyResponse_Failure) EnumDescriptor() ([]byte, []int)
Deprecated: Use EnsurePoolHealthyResponse_Failure.Descriptor instead.
func (EnsurePoolHealthyResponse_Failure) Number ¶
func (x EnsurePoolHealthyResponse_Failure) Number() protoreflect.EnumNumber
func (EnsurePoolHealthyResponse_Failure) String ¶
func (x EnsurePoolHealthyResponse_Failure) String() string
func (EnsurePoolHealthyResponse_Failure) Type ¶
func (EnsurePoolHealthyResponse_Failure) Type() protoreflect.EnumType
type GetDeploymentStatusRequest ¶
type GetDeploymentStatusRequest struct { // An opaque ID returned by earlier deployment RPCs. DeploymentId string `protobuf:"bytes,1,opt,name=deployment_id,json=deploymentId,proto3" json:"deployment_id,omitempty"` // contains filtered or unexported fields }
func (*GetDeploymentStatusRequest) Descriptor
deprecated
func (*GetDeploymentStatusRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetDeploymentStatusRequest.ProtoReflect.Descriptor instead.
func (*GetDeploymentStatusRequest) GetDeploymentId ¶
func (x *GetDeploymentStatusRequest) GetDeploymentId() string
func (*GetDeploymentStatusRequest) ProtoMessage ¶
func (*GetDeploymentStatusRequest) ProtoMessage()
func (*GetDeploymentStatusRequest) ProtoReflect ¶
func (x *GetDeploymentStatusRequest) ProtoReflect() protoreflect.Message
func (*GetDeploymentStatusRequest) Reset ¶
func (x *GetDeploymentStatusRequest) Reset()
func (*GetDeploymentStatusRequest) String ¶
func (x *GetDeploymentStatusRequest) String() string
func (*GetDeploymentStatusRequest) Validate ¶
func (r *GetDeploymentStatusRequest) Validate() error
Validate returns an error if r is invalid.
type GetDeploymentStatusResponse ¶
type GetDeploymentStatusResponse struct { Status GetDeploymentStatusResponse_Status `` /* 128-byte string literal not displayed */ // URL for the inventory change for this DUT deployment, if any. // // This change only includes any explicit inventory changes made for // deployment. Itj does not include any inventory changes that occur as a // consequence of the automated repair attempt at the end of deployment. ChangeUrl string `protobuf:"bytes,3,opt,name=change_url,json=changeUrl,proto3" json:"change_url,omitempty"` // The Skylab task created for the DUT deployment. TaskUrl string `protobuf:"bytes,4,opt,name=task_url,json=taskUrl,proto3" json:"task_url,omitempty"` // An explanatory message for the deployment status. Message string `protobuf:"bytes,5,opt,name=message,proto3" json:"message,omitempty"` // contains filtered or unexported fields }
func (*GetDeploymentStatusResponse) Descriptor
deprecated
func (*GetDeploymentStatusResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetDeploymentStatusResponse.ProtoReflect.Descriptor instead.
func (*GetDeploymentStatusResponse) GetChangeUrl ¶
func (x *GetDeploymentStatusResponse) GetChangeUrl() string
func (*GetDeploymentStatusResponse) GetMessage ¶
func (x *GetDeploymentStatusResponse) GetMessage() string
func (*GetDeploymentStatusResponse) GetStatus ¶
func (x *GetDeploymentStatusResponse) GetStatus() GetDeploymentStatusResponse_Status
func (*GetDeploymentStatusResponse) GetTaskUrl ¶
func (x *GetDeploymentStatusResponse) GetTaskUrl() string
func (*GetDeploymentStatusResponse) ProtoMessage ¶
func (*GetDeploymentStatusResponse) ProtoMessage()
func (*GetDeploymentStatusResponse) ProtoReflect ¶
func (x *GetDeploymentStatusResponse) ProtoReflect() protoreflect.Message
func (*GetDeploymentStatusResponse) Reset ¶
func (x *GetDeploymentStatusResponse) Reset()
func (*GetDeploymentStatusResponse) String ¶
func (x *GetDeploymentStatusResponse) String() string
type GetDeploymentStatusResponse_Status ¶
type GetDeploymentStatusResponse_Status int32
const ( GetDeploymentStatusResponse_DUT_DEPLOYMENT_STATUS_INVALID GetDeploymentStatusResponse_Status = 0 GetDeploymentStatusResponse_DUT_DEPLOYMENT_STATUS_IN_PROGRESS GetDeploymentStatusResponse_Status = 1 GetDeploymentStatusResponse_DUT_DEPLOYMENT_STATUS_SUCCEEDED GetDeploymentStatusResponse_Status = 2 GetDeploymentStatusResponse_DUT_DEPLOYMENT_STATUS_FAILED GetDeploymentStatusResponse_Status = 3 )
func (GetDeploymentStatusResponse_Status) Descriptor ¶
func (GetDeploymentStatusResponse_Status) Descriptor() protoreflect.EnumDescriptor
func (GetDeploymentStatusResponse_Status) Enum ¶
func (x GetDeploymentStatusResponse_Status) Enum() *GetDeploymentStatusResponse_Status
func (GetDeploymentStatusResponse_Status) EnumDescriptor
deprecated
func (GetDeploymentStatusResponse_Status) EnumDescriptor() ([]byte, []int)
Deprecated: Use GetDeploymentStatusResponse_Status.Descriptor instead.
func (GetDeploymentStatusResponse_Status) Number ¶
func (x GetDeploymentStatusResponse_Status) Number() protoreflect.EnumNumber
func (GetDeploymentStatusResponse_Status) String ¶
func (x GetDeploymentStatusResponse_Status) String() string
func (GetDeploymentStatusResponse_Status) Type ¶
func (GetDeploymentStatusResponse_Status) Type() protoreflect.EnumType
type GetDroneConfigRequest ¶
type GetDroneConfigRequest struct { // hostname of the drone, fully qualified. Hostname string `protobuf:"bytes,1,opt,name=hostname,proto3" json:"hostname,omitempty"` // contains filtered or unexported fields }
func (*GetDroneConfigRequest) Descriptor
deprecated
func (*GetDroneConfigRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetDroneConfigRequest.ProtoReflect.Descriptor instead.
func (*GetDroneConfigRequest) GetHostname ¶
func (x *GetDroneConfigRequest) GetHostname() string
func (*GetDroneConfigRequest) ProtoMessage ¶
func (*GetDroneConfigRequest) ProtoMessage()
func (*GetDroneConfigRequest) ProtoReflect ¶
func (x *GetDroneConfigRequest) ProtoReflect() protoreflect.Message
func (*GetDroneConfigRequest) Reset ¶
func (x *GetDroneConfigRequest) Reset()
func (*GetDroneConfigRequest) String ¶
func (x *GetDroneConfigRequest) String() string
type GetDroneConfigResponse ¶
type GetDroneConfigResponse struct { // duts assigned to the drone. Duts []*GetDroneConfigResponse_Dut `protobuf:"bytes,1,rep,name=duts,proto3" json:"duts,omitempty"` // contains filtered or unexported fields }
func (*GetDroneConfigResponse) Descriptor
deprecated
func (*GetDroneConfigResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetDroneConfigResponse.ProtoReflect.Descriptor instead.
func (*GetDroneConfigResponse) GetDuts ¶
func (x *GetDroneConfigResponse) GetDuts() []*GetDroneConfigResponse_Dut
func (*GetDroneConfigResponse) ProtoMessage ¶
func (*GetDroneConfigResponse) ProtoMessage()
func (*GetDroneConfigResponse) ProtoReflect ¶
func (x *GetDroneConfigResponse) ProtoReflect() protoreflect.Message
func (*GetDroneConfigResponse) Reset ¶
func (x *GetDroneConfigResponse) Reset()
func (*GetDroneConfigResponse) String ¶
func (x *GetDroneConfigResponse) String() string
type GetDroneConfigResponse_Dut ¶
type GetDroneConfigResponse_Dut struct { // id of the DUT. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // hostname of the DUT, unqualified. Hostname string `protobuf:"bytes,2,opt,name=hostname,proto3" json:"hostname,omitempty"` // contains filtered or unexported fields }
func (*GetDroneConfigResponse_Dut) Descriptor
deprecated
func (*GetDroneConfigResponse_Dut) Descriptor() ([]byte, []int)
Deprecated: Use GetDroneConfigResponse_Dut.ProtoReflect.Descriptor instead.
func (*GetDroneConfigResponse_Dut) GetHostname ¶
func (x *GetDroneConfigResponse_Dut) GetHostname() string
func (*GetDroneConfigResponse_Dut) GetId ¶
func (x *GetDroneConfigResponse_Dut) GetId() string
func (*GetDroneConfigResponse_Dut) ProtoMessage ¶
func (*GetDroneConfigResponse_Dut) ProtoMessage()
func (*GetDroneConfigResponse_Dut) ProtoReflect ¶
func (x *GetDroneConfigResponse_Dut) ProtoReflect() protoreflect.Message
func (*GetDroneConfigResponse_Dut) Reset ¶
func (x *GetDroneConfigResponse_Dut) Reset()
func (*GetDroneConfigResponse_Dut) String ¶
func (x *GetDroneConfigResponse_Dut) String() string
type GetDutInfoRequest ¶
type GetDutInfoRequest struct { // id of the DUT to get info for. // // One of id or hostname is required. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // hostname of the DUT to get info for. // // One of id or hostname is required. Hostname string `protobuf:"bytes,2,opt,name=hostname,proto3" json:"hostname,omitempty"` // Indicates if the request must be routed to v1. Otherwise the routing will // be determined by traffic control algorithm. // TODO(guocb) Remove this after inventory v2 migration. MustFromV1 bool `protobuf:"varint,3,opt,name=must_from_v1,json=mustFromV1,proto3" json:"must_from_v1,omitempty"` // contains filtered or unexported fields }
func (*GetDutInfoRequest) Descriptor
deprecated
func (*GetDutInfoRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetDutInfoRequest.ProtoReflect.Descriptor instead.
func (*GetDutInfoRequest) GetHostname ¶
func (x *GetDutInfoRequest) GetHostname() string
func (*GetDutInfoRequest) GetId ¶
func (x *GetDutInfoRequest) GetId() string
func (*GetDutInfoRequest) GetMustFromV1 ¶
func (x *GetDutInfoRequest) GetMustFromV1() bool
func (*GetDutInfoRequest) ProtoMessage ¶
func (*GetDutInfoRequest) ProtoMessage()
func (*GetDutInfoRequest) ProtoReflect ¶
func (x *GetDutInfoRequest) ProtoReflect() protoreflect.Message
func (*GetDutInfoRequest) Reset ¶
func (x *GetDutInfoRequest) Reset()
func (*GetDutInfoRequest) String ¶
func (x *GetDutInfoRequest) String() string
func (*GetDutInfoRequest) Validate ¶
func (r *GetDutInfoRequest) Validate() error
Validate returns an error if r is invalid.
type GetDutInfoResponse ¶
type GetDutInfoResponse struct { // spec is the device spec for the requested DUT. // // This is a serialized inventory.DeviceUnderTest protobuf. Spec []byte `protobuf:"bytes,1,opt,name=spec,proto3" json:"spec,omitempty"` // Timestamp of the latest update of the cached specs in this response. // // Returned specs are guaranteed to be up-to-date with the source of truth as // of this timestamp. Updated *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=updated,proto3" json:"updated,omitempty"` // contains filtered or unexported fields }
func (*GetDutInfoResponse) Descriptor
deprecated
func (*GetDutInfoResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetDutInfoResponse.ProtoReflect.Descriptor instead.
func (*GetDutInfoResponse) GetSpec ¶
func (x *GetDutInfoResponse) GetSpec() []byte
func (*GetDutInfoResponse) GetUpdated ¶
func (x *GetDutInfoResponse) GetUpdated() *timestamppb.Timestamp
func (*GetDutInfoResponse) ProtoMessage ¶
func (*GetDutInfoResponse) ProtoMessage()
func (*GetDutInfoResponse) ProtoReflect ¶
func (x *GetDutInfoResponse) ProtoReflect() protoreflect.Message
func (*GetDutInfoResponse) Reset ¶
func (x *GetDutInfoResponse) Reset()
func (*GetDutInfoResponse) String ¶
func (x *GetDutInfoResponse) String() string
type GetStableVersionRequest ¶
type GetStableVersionRequest struct { // TODO(gregorynisbet): remove support for looking up // stable version information by buildTarget + model BuildTarget string `protobuf:"bytes,1,opt,name=buildTarget,proto3" json:"buildTarget,omitempty"` Model string `protobuf:"bytes,2,opt,name=model,proto3" json:"model,omitempty"` // NOTE: {hostname} and {buildTarget, model} are alternatives Hostname string `protobuf:"bytes,3,opt,name=hostname,proto3" json:"hostname,omitempty"` // contains filtered or unexported fields }
next tag: 4
func (*GetStableVersionRequest) Descriptor
deprecated
func (*GetStableVersionRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetStableVersionRequest.ProtoReflect.Descriptor instead.
func (*GetStableVersionRequest) GetBuildTarget ¶
func (x *GetStableVersionRequest) GetBuildTarget() string
func (*GetStableVersionRequest) GetHostname ¶
func (x *GetStableVersionRequest) GetHostname() string
func (*GetStableVersionRequest) GetModel ¶
func (x *GetStableVersionRequest) GetModel() string
func (*GetStableVersionRequest) ProtoMessage ¶
func (*GetStableVersionRequest) ProtoMessage()
func (*GetStableVersionRequest) ProtoReflect ¶
func (x *GetStableVersionRequest) ProtoReflect() protoreflect.Message
func (*GetStableVersionRequest) Reset ¶
func (x *GetStableVersionRequest) Reset()
func (*GetStableVersionRequest) String ¶
func (x *GetStableVersionRequest) String() string
type GetStableVersionResponse ¶
type GetStableVersionResponse struct { CrosVersion string `protobuf:"bytes,1,opt,name=crosVersion,proto3" json:"crosVersion,omitempty"` FirmwareVersion string `protobuf:"bytes,2,opt,name=firmwareVersion,proto3" json:"firmwareVersion,omitempty"` FaftVersion string `protobuf:"bytes,3,opt,name=faftVersion,proto3" json:"faftVersion,omitempty"` ServoCrosVersion string `protobuf:"bytes,4,opt,name=servoCrosVersion,proto3" json:"servoCrosVersion,omitempty"` // contains filtered or unexported fields }
next tag: 5
func (*GetStableVersionResponse) Descriptor
deprecated
func (*GetStableVersionResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetStableVersionResponse.ProtoReflect.Descriptor instead.
func (*GetStableVersionResponse) GetCrosVersion ¶
func (x *GetStableVersionResponse) GetCrosVersion() string
func (*GetStableVersionResponse) GetFaftVersion ¶
func (x *GetStableVersionResponse) GetFaftVersion() string
func (*GetStableVersionResponse) GetFirmwareVersion ¶
func (x *GetStableVersionResponse) GetFirmwareVersion() string
func (*GetStableVersionResponse) GetServoCrosVersion ¶
func (x *GetStableVersionResponse) GetServoCrosVersion() string
func (*GetStableVersionResponse) ProtoMessage ¶
func (*GetStableVersionResponse) ProtoMessage()
func (*GetStableVersionResponse) ProtoReflect ¶
func (x *GetStableVersionResponse) ProtoReflect() protoreflect.Message
func (*GetStableVersionResponse) Reset ¶
func (x *GetStableVersionResponse) Reset()
func (*GetStableVersionResponse) String ¶
func (x *GetStableVersionResponse) String() string
type Health ¶
type Health int32
func (Health) Descriptor ¶
func (Health) Descriptor() protoreflect.EnumDescriptor
func (Health) EnumDescriptor
deprecated
func (Health) Number ¶
func (x Health) Number() protoreflect.EnumNumber
func (Health) Type ¶
func (Health) Type() protoreflect.EnumType
type InventoryClient ¶
type InventoryClient interface { // Deploy a DUT. // // This RPC must be used to deploy a DUT that does not already exist in the // inventory. See RedeployDutStart for redeploying an existing DUT. // // This RPC does not wait for the DUT deployment to finish. Clients may use // GetDutDeploymentStatus to track progress. // // Request options allow control over the exact DUT preparation steps // executed, but automated repair is always attempted as part of the // deployment process. DeployDut(ctx context.Context, in *DeployDutRequest, opts ...grpc.CallOption) (*DeployDutResponse, error) // Redeploy a DUT. // // This RPC must be used to deploy a DUT that does not already exist in the // inventory. See RedeployDutStart for redeploying an existing DUT. // // This RPC does not wait for the DUT deployment to finish. Clients may use // GetDutDeploymentStatus to track progress. // // Request options allow control over the exact DUT preparation steps // executed, but automated repair is always attempted as part of the // deployment process. RedeployDut(ctx context.Context, in *RedeployDutRequest, opts ...grpc.CallOption) (*RedeployDutResponse, error) // Get the status of a DUT deployment initiated by DeployDut or RedeployDut. GetDeploymentStatus(ctx context.Context, in *GetDeploymentStatusRequest, opts ...grpc.CallOption) (*GetDeploymentStatusResponse, error) // Delete DUTs from inventory. DeleteDuts(ctx context.Context, in *DeleteDutsRequest, opts ...grpc.CallOption) (*DeleteDutsResponse, error) // BalancePools is the RPC used by balance pool efforts issued from // automatic balance pool cron job or users (skylab ensure-pool-healthy). // The above 2 RPCs will be deprecated. BalancePools(ctx context.Context, in *BalancePoolsRequest, opts ...grpc.CallOption) (*BalancePoolsResponse, error) // ResizePool changes the size of the target DUT pool. // // ResizePool borrows or returns extra DUTs from the spare pool. // // ResizePool does not consider DUT health. Clients should usually call // EnsurePoolHealthy following a ResizePool operation. // // ResizePool never makes partial changes. In case of an error, no inventory // changes are made. ResizePool(ctx context.Context, in *ResizePoolRequest, opts ...grpc.CallOption) (*ResizePoolResponse, error) // RemoveDutsFromDrones removes the given duts from drones. RemoveDutsFromDrones(ctx context.Context, in *RemoveDutsFromDronesRequest, opts ...grpc.CallOption) (*RemoveDutsFromDronesResponse, error) // Deprecated: Do not use. // AssignDutsToDrones assigns the given duts to drones. AssignDutsToDrones(ctx context.Context, in *AssignDutsToDronesRequest, opts ...grpc.CallOption) (*AssignDutsToDronesResponse, error) // ListServers lists the servers in the current environment. ListServers(ctx context.Context, in *ListServersRequest, opts ...grpc.CallOption) (*ListServersResponse, error) // Deprecated: Do not use. // GetDutInfo returns inventory information about a single DUT. // // This RPC returns possibly cached data about a single DUT. The cache is // updated asynchronously and guaranteed to be a relatively fresh snapshot of // the inventory data. GetDutInfo(ctx context.Context, in *GetDutInfoRequest, opts ...grpc.CallOption) (*GetDutInfoResponse, error) // GetDroneConfig returns the inventory configuration for a drone. // // This RPC returns possibly cached data. GetDroneConfig(ctx context.Context, in *GetDroneConfigRequest, opts ...grpc.CallOption) (*GetDroneConfigResponse, error) // Deprecated: Do not use. // ListRemovedDuts lists removed DUTs (DUTs not assigned to any drone). ListRemovedDuts(ctx context.Context, in *ListRemovedDutsRequest, opts ...grpc.CallOption) (*ListRemovedDutsResponse, error) // PushInventoryToQueen is called by a cron job. // // This RPC is deprecated. The cron job is moved to InventoryV2[pushToDroneQueenCronHandler]. // https://source.corp.google.com/chromium_infra/go/src/infra/appengine/cros/lab_inventory/app/cron/cron.go;l=312 PushInventoryToQueen(ctx context.Context, in *PushInventoryToQueenRequest, opts ...grpc.CallOption) (*PushInventoryToQueenResponse, error) // UpdateDutLabels sets the SchedulableLabels of a DUT. // // This API should only be used by the Skylab infrastructure // internally. It is used by repair tasks to update DUT labels. UpdateDutLabels(ctx context.Context, in *UpdateDutLabelsRequest, opts ...grpc.CallOption) (*UpdateDutLabelsResponse, error) BatchUpdateDuts(ctx context.Context, in *BatchUpdateDutsRequest, opts ...grpc.CallOption) (*BatchUpdateDutsResponse, error) // UpdateCachedInventory updates the cached inventory data. // // Cached inventory data is used to serve read-only inventory RPCs. // Cached inventory data is not used for inventory modification RPCs. UpdateCachedInventory(ctx context.Context, in *UpdateCachedInventoryRequest, opts ...grpc.CallOption) (*UpdateCachedInventoryResponse, error) // Update device config to inventory and local datastore. // // Updating device config in inventory will be forbidden via repair jobs. // Instead, this cron job will sync up-to-date device config to inventory. // // It also caches device config to local datastore, which is used for filtering // out device config in future DUT label updating. UpdateDeviceConfig(ctx context.Context, in *UpdateDeviceConfigRequest, opts ...grpc.CallOption) (*UpdateDeviceConfigResponse, error) // GetStableVersion reads the stable version for a particular DUT from datastore // // There is intentionally no RPC for overwtiting the stable version with arbitrary content. GetStableVersion(ctx context.Context, in *GetStableVersionRequest, opts ...grpc.CallOption) (*GetStableVersionResponse, error) // DumpStableVersionToDatastore reads the stable version from the LUCI config file // and writes it to datastore. DumpStableVersionToDatastore(ctx context.Context, in *DumpStableVersionToDatastoreRequest, opts ...grpc.CallOption) (*DumpStableVersionToDatastoreResponse, error) // Report inventory metrics. ReportInventory(ctx context.Context, in *ReportInventoryRequest, opts ...grpc.CallOption) (*ReportInventoryResponse, error) // Backfill (part of) manufacturing config. UpdateManufacturingConfig(ctx context.Context, in *UpdateManufacturingConfigRequest, opts ...grpc.CallOption) (*UpdateManufacturingConfigResponse, error) }
InventoryClient is the client API for Inventory service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewInventoryClient ¶
func NewInventoryClient(cc grpc.ClientConnInterface) InventoryClient
func NewInventoryPRPCClient ¶
func NewInventoryPRPCClient(client *prpc.Client) InventoryClient
type InventoryServer ¶
type InventoryServer interface { // Deploy a DUT. // // This RPC must be used to deploy a DUT that does not already exist in the // inventory. See RedeployDutStart for redeploying an existing DUT. // // This RPC does not wait for the DUT deployment to finish. Clients may use // GetDutDeploymentStatus to track progress. // // Request options allow control over the exact DUT preparation steps // executed, but automated repair is always attempted as part of the // deployment process. DeployDut(context.Context, *DeployDutRequest) (*DeployDutResponse, error) // Redeploy a DUT. // // This RPC must be used to deploy a DUT that does not already exist in the // inventory. See RedeployDutStart for redeploying an existing DUT. // // This RPC does not wait for the DUT deployment to finish. Clients may use // GetDutDeploymentStatus to track progress. // // Request options allow control over the exact DUT preparation steps // executed, but automated repair is always attempted as part of the // deployment process. RedeployDut(context.Context, *RedeployDutRequest) (*RedeployDutResponse, error) // Get the status of a DUT deployment initiated by DeployDut or RedeployDut. GetDeploymentStatus(context.Context, *GetDeploymentStatusRequest) (*GetDeploymentStatusResponse, error) // Delete DUTs from inventory. DeleteDuts(context.Context, *DeleteDutsRequest) (*DeleteDutsResponse, error) // BalancePools is the RPC used by balance pool efforts issued from // automatic balance pool cron job or users (skylab ensure-pool-healthy). // The above 2 RPCs will be deprecated. BalancePools(context.Context, *BalancePoolsRequest) (*BalancePoolsResponse, error) // ResizePool changes the size of the target DUT pool. // // ResizePool borrows or returns extra DUTs from the spare pool. // // ResizePool does not consider DUT health. Clients should usually call // EnsurePoolHealthy following a ResizePool operation. // // ResizePool never makes partial changes. In case of an error, no inventory // changes are made. ResizePool(context.Context, *ResizePoolRequest) (*ResizePoolResponse, error) // RemoveDutsFromDrones removes the given duts from drones. RemoveDutsFromDrones(context.Context, *RemoveDutsFromDronesRequest) (*RemoveDutsFromDronesResponse, error) // Deprecated: Do not use. // AssignDutsToDrones assigns the given duts to drones. AssignDutsToDrones(context.Context, *AssignDutsToDronesRequest) (*AssignDutsToDronesResponse, error) // ListServers lists the servers in the current environment. ListServers(context.Context, *ListServersRequest) (*ListServersResponse, error) // Deprecated: Do not use. // GetDutInfo returns inventory information about a single DUT. // // This RPC returns possibly cached data about a single DUT. The cache is // updated asynchronously and guaranteed to be a relatively fresh snapshot of // the inventory data. GetDutInfo(context.Context, *GetDutInfoRequest) (*GetDutInfoResponse, error) // GetDroneConfig returns the inventory configuration for a drone. // // This RPC returns possibly cached data. GetDroneConfig(context.Context, *GetDroneConfigRequest) (*GetDroneConfigResponse, error) // Deprecated: Do not use. // ListRemovedDuts lists removed DUTs (DUTs not assigned to any drone). ListRemovedDuts(context.Context, *ListRemovedDutsRequest) (*ListRemovedDutsResponse, error) // PushInventoryToQueen is called by a cron job. // // This RPC is deprecated. The cron job is moved to InventoryV2[pushToDroneQueenCronHandler]. // https://source.corp.google.com/chromium_infra/go/src/infra/appengine/cros/lab_inventory/app/cron/cron.go;l=312 PushInventoryToQueen(context.Context, *PushInventoryToQueenRequest) (*PushInventoryToQueenResponse, error) // UpdateDutLabels sets the SchedulableLabels of a DUT. // // This API should only be used by the Skylab infrastructure // internally. It is used by repair tasks to update DUT labels. UpdateDutLabels(context.Context, *UpdateDutLabelsRequest) (*UpdateDutLabelsResponse, error) BatchUpdateDuts(context.Context, *BatchUpdateDutsRequest) (*BatchUpdateDutsResponse, error) // UpdateCachedInventory updates the cached inventory data. // // Cached inventory data is used to serve read-only inventory RPCs. // Cached inventory data is not used for inventory modification RPCs. UpdateCachedInventory(context.Context, *UpdateCachedInventoryRequest) (*UpdateCachedInventoryResponse, error) // Update device config to inventory and local datastore. // // Updating device config in inventory will be forbidden via repair jobs. // Instead, this cron job will sync up-to-date device config to inventory. // // It also caches device config to local datastore, which is used for filtering // out device config in future DUT label updating. UpdateDeviceConfig(context.Context, *UpdateDeviceConfigRequest) (*UpdateDeviceConfigResponse, error) // GetStableVersion reads the stable version for a particular DUT from datastore // // There is intentionally no RPC for overwtiting the stable version with arbitrary content. GetStableVersion(context.Context, *GetStableVersionRequest) (*GetStableVersionResponse, error) // DumpStableVersionToDatastore reads the stable version from the LUCI config file // and writes it to datastore. DumpStableVersionToDatastore(context.Context, *DumpStableVersionToDatastoreRequest) (*DumpStableVersionToDatastoreResponse, error) // Report inventory metrics. ReportInventory(context.Context, *ReportInventoryRequest) (*ReportInventoryResponse, error) // Backfill (part of) manufacturing config. UpdateManufacturingConfig(context.Context, *UpdateManufacturingConfigRequest) (*UpdateManufacturingConfigResponse, error) }
InventoryServer is the server API for Inventory service.
type ListRemovedDutsRequest ¶
type ListRemovedDutsRequest struct {
// contains filtered or unexported fields
}
func (*ListRemovedDutsRequest) Descriptor
deprecated
func (*ListRemovedDutsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListRemovedDutsRequest.ProtoReflect.Descriptor instead.
func (*ListRemovedDutsRequest) ProtoMessage ¶
func (*ListRemovedDutsRequest) ProtoMessage()
func (*ListRemovedDutsRequest) ProtoReflect ¶
func (x *ListRemovedDutsRequest) ProtoReflect() protoreflect.Message
func (*ListRemovedDutsRequest) Reset ¶
func (x *ListRemovedDutsRequest) Reset()
func (*ListRemovedDutsRequest) String ¶
func (x *ListRemovedDutsRequest) String() string
type ListRemovedDutsResponse ¶
type ListRemovedDutsResponse struct { // duts that are removed. Duts []*ListRemovedDutsResponse_Dut `protobuf:"bytes,1,rep,name=duts,proto3" json:"duts,omitempty"` // contains filtered or unexported fields }
func (*ListRemovedDutsResponse) Descriptor
deprecated
func (*ListRemovedDutsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListRemovedDutsResponse.ProtoReflect.Descriptor instead.
func (*ListRemovedDutsResponse) GetDuts ¶
func (x *ListRemovedDutsResponse) GetDuts() []*ListRemovedDutsResponse_Dut
func (*ListRemovedDutsResponse) ProtoMessage ¶
func (*ListRemovedDutsResponse) ProtoMessage()
func (*ListRemovedDutsResponse) ProtoReflect ¶
func (x *ListRemovedDutsResponse) ProtoReflect() protoreflect.Message
func (*ListRemovedDutsResponse) Reset ¶
func (x *ListRemovedDutsResponse) Reset()
func (*ListRemovedDutsResponse) String ¶
func (x *ListRemovedDutsResponse) String() string
type ListRemovedDutsResponse_Dut ¶
type ListRemovedDutsResponse_Dut struct { // id of the DUT. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // hostname of the DUT. Hostname string `protobuf:"bytes,2,opt,name=hostname,proto3" json:"hostname,omitempty"` // bug is a link to a bug explaining why the DUT is removed. Bug string `protobuf:"bytes,3,opt,name=bug,proto3" json:"bug,omitempty"` // comment is a short comment explaining why the DUT is removed. Comment string `protobuf:"bytes,4,opt,name=comment,proto3" json:"comment,omitempty"` // expire_time indicates when the removal bug should be revisited // so the DUT is not forgotten. ExpireTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=expire_time,json=expireTime,proto3" json:"expire_time,omitempty"` // model of the DUT. Model string `protobuf:"bytes,6,opt,name=model,proto3" json:"model,omitempty"` // contains filtered or unexported fields }
func (*ListRemovedDutsResponse_Dut) Descriptor
deprecated
func (*ListRemovedDutsResponse_Dut) Descriptor() ([]byte, []int)
Deprecated: Use ListRemovedDutsResponse_Dut.ProtoReflect.Descriptor instead.
func (*ListRemovedDutsResponse_Dut) GetBug ¶
func (x *ListRemovedDutsResponse_Dut) GetBug() string
func (*ListRemovedDutsResponse_Dut) GetComment ¶
func (x *ListRemovedDutsResponse_Dut) GetComment() string
func (*ListRemovedDutsResponse_Dut) GetExpireTime ¶
func (x *ListRemovedDutsResponse_Dut) GetExpireTime() *timestamppb.Timestamp
func (*ListRemovedDutsResponse_Dut) GetHostname ¶
func (x *ListRemovedDutsResponse_Dut) GetHostname() string
func (*ListRemovedDutsResponse_Dut) GetId ¶
func (x *ListRemovedDutsResponse_Dut) GetId() string
func (*ListRemovedDutsResponse_Dut) GetModel ¶
func (x *ListRemovedDutsResponse_Dut) GetModel() string
func (*ListRemovedDutsResponse_Dut) ProtoMessage ¶
func (*ListRemovedDutsResponse_Dut) ProtoMessage()
func (*ListRemovedDutsResponse_Dut) ProtoReflect ¶
func (x *ListRemovedDutsResponse_Dut) ProtoReflect() protoreflect.Message
func (*ListRemovedDutsResponse_Dut) Reset ¶
func (x *ListRemovedDutsResponse_Dut) Reset()
func (*ListRemovedDutsResponse_Dut) String ¶
func (x *ListRemovedDutsResponse_Dut) String() string
type ListServersRequest ¶
type ListServersRequest struct { Filter *ListServersRequest_Filter `protobuf:"bytes,1,opt,name=filter,proto3" json:"filter,omitempty"` // contains filtered or unexported fields }
func (*ListServersRequest) Descriptor
deprecated
func (*ListServersRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListServersRequest.ProtoReflect.Descriptor instead.
func (*ListServersRequest) GetFilter ¶
func (x *ListServersRequest) GetFilter() *ListServersRequest_Filter
func (*ListServersRequest) ProtoMessage ¶
func (*ListServersRequest) ProtoMessage()
func (*ListServersRequest) ProtoReflect ¶
func (x *ListServersRequest) ProtoReflect() protoreflect.Message
func (*ListServersRequest) Reset ¶
func (x *ListServersRequest) Reset()
func (*ListServersRequest) String ¶
func (x *ListServersRequest) String() string
type ListServersRequest_Filter ¶
type ListServersRequest_Filter struct { // Role of servers to list; if absent, list servers of all roles. Role ServerRole `protobuf:"varint,1,opt,name=role,proto3,enum=crosskylabadmin.fleet.ServerRole" json:"role,omitempty"` // contains filtered or unexported fields }
func (*ListServersRequest_Filter) Descriptor
deprecated
func (*ListServersRequest_Filter) Descriptor() ([]byte, []int)
Deprecated: Use ListServersRequest_Filter.ProtoReflect.Descriptor instead.
func (*ListServersRequest_Filter) GetRole ¶
func (x *ListServersRequest_Filter) GetRole() ServerRole
func (*ListServersRequest_Filter) ProtoMessage ¶
func (*ListServersRequest_Filter) ProtoMessage()
func (*ListServersRequest_Filter) ProtoReflect ¶
func (x *ListServersRequest_Filter) ProtoReflect() protoreflect.Message
func (*ListServersRequest_Filter) Reset ¶
func (x *ListServersRequest_Filter) Reset()
func (*ListServersRequest_Filter) String ¶
func (x *ListServersRequest_Filter) String() string
type ListServersResponse ¶
type ListServersResponse struct { Servers []*Server `protobuf:"bytes,1,rep,name=servers,proto3" json:"servers,omitempty"` // contains filtered or unexported fields }
func (*ListServersResponse) Descriptor
deprecated
func (*ListServersResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListServersResponse.ProtoReflect.Descriptor instead.
func (*ListServersResponse) GetServers ¶
func (x *ListServersResponse) GetServers() []*Server
func (*ListServersResponse) ProtoMessage ¶
func (*ListServersResponse) ProtoMessage()
func (*ListServersResponse) ProtoReflect ¶
func (x *ListServersResponse) ProtoReflect() protoreflect.Message
func (*ListServersResponse) Reset ¶
func (x *ListServersResponse) Reset()
func (*ListServersResponse) String ¶
func (x *ListServersResponse) String() string
type MockInventoryClient ¶
type MockInventoryClient struct {
// contains filtered or unexported fields
}
MockInventoryClient is a mock of InventoryClient interface.
func NewMockInventoryClient ¶
func NewMockInventoryClient(ctrl *gomock.Controller) *MockInventoryClient
NewMockInventoryClient creates a new mock instance.
func (*MockInventoryClient) AssignDutsToDrones ¶
func (m *MockInventoryClient) AssignDutsToDrones(ctx context.Context, in *AssignDutsToDronesRequest, opts ...grpc.CallOption) (*AssignDutsToDronesResponse, error)
AssignDutsToDrones mocks base method.
func (*MockInventoryClient) BalancePools ¶
func (m *MockInventoryClient) BalancePools(ctx context.Context, in *BalancePoolsRequest, opts ...grpc.CallOption) (*BalancePoolsResponse, error)
BalancePools mocks base method.
func (*MockInventoryClient) BatchUpdateDuts ¶
func (m *MockInventoryClient) BatchUpdateDuts(ctx context.Context, in *BatchUpdateDutsRequest, opts ...grpc.CallOption) (*BatchUpdateDutsResponse, error)
BatchUpdateDuts mocks base method.
func (*MockInventoryClient) DeleteDuts ¶
func (m *MockInventoryClient) DeleteDuts(ctx context.Context, in *DeleteDutsRequest, opts ...grpc.CallOption) (*DeleteDutsResponse, error)
DeleteDuts mocks base method.
func (*MockInventoryClient) DeployDut ¶
func (m *MockInventoryClient) DeployDut(ctx context.Context, in *DeployDutRequest, opts ...grpc.CallOption) (*DeployDutResponse, error)
DeployDut mocks base method.
func (*MockInventoryClient) DumpStableVersionToDatastore ¶
func (m *MockInventoryClient) DumpStableVersionToDatastore(ctx context.Context, in *DumpStableVersionToDatastoreRequest, opts ...grpc.CallOption) (*DumpStableVersionToDatastoreResponse, error)
DumpStableVersionToDatastore mocks base method.
func (*MockInventoryClient) EXPECT ¶
func (m *MockInventoryClient) EXPECT() *MockInventoryClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockInventoryClient) GetDeploymentStatus ¶
func (m *MockInventoryClient) GetDeploymentStatus(ctx context.Context, in *GetDeploymentStatusRequest, opts ...grpc.CallOption) (*GetDeploymentStatusResponse, error)
GetDeploymentStatus mocks base method.
func (*MockInventoryClient) GetDroneConfig ¶
func (m *MockInventoryClient) GetDroneConfig(ctx context.Context, in *GetDroneConfigRequest, opts ...grpc.CallOption) (*GetDroneConfigResponse, error)
GetDroneConfig mocks base method.
func (*MockInventoryClient) GetDutInfo ¶
func (m *MockInventoryClient) GetDutInfo(ctx context.Context, in *GetDutInfoRequest, opts ...grpc.CallOption) (*GetDutInfoResponse, error)
GetDutInfo mocks base method.
func (*MockInventoryClient) GetStableVersion ¶
func (m *MockInventoryClient) GetStableVersion(ctx context.Context, in *GetStableVersionRequest, opts ...grpc.CallOption) (*GetStableVersionResponse, error)
GetStableVersion mocks base method.
func (*MockInventoryClient) ListRemovedDuts ¶
func (m *MockInventoryClient) ListRemovedDuts(ctx context.Context, in *ListRemovedDutsRequest, opts ...grpc.CallOption) (*ListRemovedDutsResponse, error)
ListRemovedDuts mocks base method.
func (*MockInventoryClient) ListServers ¶
func (m *MockInventoryClient) ListServers(ctx context.Context, in *ListServersRequest, opts ...grpc.CallOption) (*ListServersResponse, error)
ListServers mocks base method.
func (*MockInventoryClient) PushInventoryToQueen ¶
func (m *MockInventoryClient) PushInventoryToQueen(ctx context.Context, in *PushInventoryToQueenRequest, opts ...grpc.CallOption) (*PushInventoryToQueenResponse, error)
PushInventoryToQueen mocks base method.
func (*MockInventoryClient) RedeployDut ¶
func (m *MockInventoryClient) RedeployDut(ctx context.Context, in *RedeployDutRequest, opts ...grpc.CallOption) (*RedeployDutResponse, error)
RedeployDut mocks base method.
func (*MockInventoryClient) RemoveDutsFromDrones ¶
func (m *MockInventoryClient) RemoveDutsFromDrones(ctx context.Context, in *RemoveDutsFromDronesRequest, opts ...grpc.CallOption) (*RemoveDutsFromDronesResponse, error)
RemoveDutsFromDrones mocks base method.
func (*MockInventoryClient) ReportInventory ¶
func (m *MockInventoryClient) ReportInventory(ctx context.Context, in *ReportInventoryRequest, opts ...grpc.CallOption) (*ReportInventoryResponse, error)
ReportInventory mocks base method.
func (*MockInventoryClient) ResizePool ¶
func (m *MockInventoryClient) ResizePool(ctx context.Context, in *ResizePoolRequest, opts ...grpc.CallOption) (*ResizePoolResponse, error)
ResizePool mocks base method.
func (*MockInventoryClient) UpdateCachedInventory ¶
func (m *MockInventoryClient) UpdateCachedInventory(ctx context.Context, in *UpdateCachedInventoryRequest, opts ...grpc.CallOption) (*UpdateCachedInventoryResponse, error)
UpdateCachedInventory mocks base method.
func (*MockInventoryClient) UpdateDeviceConfig ¶
func (m *MockInventoryClient) UpdateDeviceConfig(ctx context.Context, in *UpdateDeviceConfigRequest, opts ...grpc.CallOption) (*UpdateDeviceConfigResponse, error)
UpdateDeviceConfig mocks base method.
func (*MockInventoryClient) UpdateDutLabels ¶
func (m *MockInventoryClient) UpdateDutLabels(ctx context.Context, in *UpdateDutLabelsRequest, opts ...grpc.CallOption) (*UpdateDutLabelsResponse, error)
UpdateDutLabels mocks base method.
func (*MockInventoryClient) UpdateManufacturingConfig ¶
func (m *MockInventoryClient) UpdateManufacturingConfig(ctx context.Context, in *UpdateManufacturingConfigRequest, opts ...grpc.CallOption) (*UpdateManufacturingConfigResponse, error)
UpdateManufacturingConfig mocks base method.
type MockInventoryClientMockRecorder ¶
type MockInventoryClientMockRecorder struct {
// contains filtered or unexported fields
}
MockInventoryClientMockRecorder is the mock recorder for MockInventoryClient.
func (*MockInventoryClientMockRecorder) AssignDutsToDrones ¶
func (mr *MockInventoryClientMockRecorder) AssignDutsToDrones(ctx, in interface{}, opts ...interface{}) *gomock.Call
AssignDutsToDrones indicates an expected call of AssignDutsToDrones.
func (*MockInventoryClientMockRecorder) BalancePools ¶
func (mr *MockInventoryClientMockRecorder) BalancePools(ctx, in interface{}, opts ...interface{}) *gomock.Call
BalancePools indicates an expected call of BalancePools.
func (*MockInventoryClientMockRecorder) BatchUpdateDuts ¶
func (mr *MockInventoryClientMockRecorder) BatchUpdateDuts(ctx, in interface{}, opts ...interface{}) *gomock.Call
BatchUpdateDuts indicates an expected call of BatchUpdateDuts.
func (*MockInventoryClientMockRecorder) DeleteDuts ¶
func (mr *MockInventoryClientMockRecorder) DeleteDuts(ctx, in interface{}, opts ...interface{}) *gomock.Call
DeleteDuts indicates an expected call of DeleteDuts.
func (*MockInventoryClientMockRecorder) DeployDut ¶
func (mr *MockInventoryClientMockRecorder) DeployDut(ctx, in interface{}, opts ...interface{}) *gomock.Call
DeployDut indicates an expected call of DeployDut.
func (*MockInventoryClientMockRecorder) DumpStableVersionToDatastore ¶
func (mr *MockInventoryClientMockRecorder) DumpStableVersionToDatastore(ctx, in interface{}, opts ...interface{}) *gomock.Call
DumpStableVersionToDatastore indicates an expected call of DumpStableVersionToDatastore.
func (*MockInventoryClientMockRecorder) GetDeploymentStatus ¶
func (mr *MockInventoryClientMockRecorder) GetDeploymentStatus(ctx, in interface{}, opts ...interface{}) *gomock.Call
GetDeploymentStatus indicates an expected call of GetDeploymentStatus.
func (*MockInventoryClientMockRecorder) GetDroneConfig ¶
func (mr *MockInventoryClientMockRecorder) GetDroneConfig(ctx, in interface{}, opts ...interface{}) *gomock.Call
GetDroneConfig indicates an expected call of GetDroneConfig.
func (*MockInventoryClientMockRecorder) GetDutInfo ¶
func (mr *MockInventoryClientMockRecorder) GetDutInfo(ctx, in interface{}, opts ...interface{}) *gomock.Call
GetDutInfo indicates an expected call of GetDutInfo.
func (*MockInventoryClientMockRecorder) GetStableVersion ¶
func (mr *MockInventoryClientMockRecorder) GetStableVersion(ctx, in interface{}, opts ...interface{}) *gomock.Call
GetStableVersion indicates an expected call of GetStableVersion.
func (*MockInventoryClientMockRecorder) ListRemovedDuts ¶
func (mr *MockInventoryClientMockRecorder) ListRemovedDuts(ctx, in interface{}, opts ...interface{}) *gomock.Call
ListRemovedDuts indicates an expected call of ListRemovedDuts.
func (*MockInventoryClientMockRecorder) ListServers ¶
func (mr *MockInventoryClientMockRecorder) ListServers(ctx, in interface{}, opts ...interface{}) *gomock.Call
ListServers indicates an expected call of ListServers.
func (*MockInventoryClientMockRecorder) PushInventoryToQueen ¶
func (mr *MockInventoryClientMockRecorder) PushInventoryToQueen(ctx, in interface{}, opts ...interface{}) *gomock.Call
PushInventoryToQueen indicates an expected call of PushInventoryToQueen.
func (*MockInventoryClientMockRecorder) RedeployDut ¶
func (mr *MockInventoryClientMockRecorder) RedeployDut(ctx, in interface{}, opts ...interface{}) *gomock.Call
RedeployDut indicates an expected call of RedeployDut.
func (*MockInventoryClientMockRecorder) RemoveDutsFromDrones ¶
func (mr *MockInventoryClientMockRecorder) RemoveDutsFromDrones(ctx, in interface{}, opts ...interface{}) *gomock.Call
RemoveDutsFromDrones indicates an expected call of RemoveDutsFromDrones.
func (*MockInventoryClientMockRecorder) ReportInventory ¶
func (mr *MockInventoryClientMockRecorder) ReportInventory(ctx, in interface{}, opts ...interface{}) *gomock.Call
ReportInventory indicates an expected call of ReportInventory.
func (*MockInventoryClientMockRecorder) ResizePool ¶
func (mr *MockInventoryClientMockRecorder) ResizePool(ctx, in interface{}, opts ...interface{}) *gomock.Call
ResizePool indicates an expected call of ResizePool.
func (*MockInventoryClientMockRecorder) UpdateCachedInventory ¶
func (mr *MockInventoryClientMockRecorder) UpdateCachedInventory(ctx, in interface{}, opts ...interface{}) *gomock.Call
UpdateCachedInventory indicates an expected call of UpdateCachedInventory.
func (*MockInventoryClientMockRecorder) UpdateDeviceConfig ¶
func (mr *MockInventoryClientMockRecorder) UpdateDeviceConfig(ctx, in interface{}, opts ...interface{}) *gomock.Call
UpdateDeviceConfig indicates an expected call of UpdateDeviceConfig.
func (*MockInventoryClientMockRecorder) UpdateDutLabels ¶
func (mr *MockInventoryClientMockRecorder) UpdateDutLabels(ctx, in interface{}, opts ...interface{}) *gomock.Call
UpdateDutLabels indicates an expected call of UpdateDutLabels.
func (*MockInventoryClientMockRecorder) UpdateManufacturingConfig ¶
func (mr *MockInventoryClientMockRecorder) UpdateManufacturingConfig(ctx, in interface{}, opts ...interface{}) *gomock.Call
UpdateManufacturingConfig indicates an expected call of UpdateManufacturingConfig.
type MockInventoryServer ¶
type MockInventoryServer struct {
// contains filtered or unexported fields
}
MockInventoryServer is a mock of InventoryServer interface.
func NewMockInventoryServer ¶
func NewMockInventoryServer(ctrl *gomock.Controller) *MockInventoryServer
NewMockInventoryServer creates a new mock instance.
func (*MockInventoryServer) AssignDutsToDrones ¶
func (m *MockInventoryServer) AssignDutsToDrones(arg0 context.Context, arg1 *AssignDutsToDronesRequest) (*AssignDutsToDronesResponse, error)
AssignDutsToDrones mocks base method.
func (*MockInventoryServer) BalancePools ¶
func (m *MockInventoryServer) BalancePools(arg0 context.Context, arg1 *BalancePoolsRequest) (*BalancePoolsResponse, error)
BalancePools mocks base method.
func (*MockInventoryServer) BatchUpdateDuts ¶
func (m *MockInventoryServer) BatchUpdateDuts(arg0 context.Context, arg1 *BatchUpdateDutsRequest) (*BatchUpdateDutsResponse, error)
BatchUpdateDuts mocks base method.
func (*MockInventoryServer) DeleteDuts ¶
func (m *MockInventoryServer) DeleteDuts(arg0 context.Context, arg1 *DeleteDutsRequest) (*DeleteDutsResponse, error)
DeleteDuts mocks base method.
func (*MockInventoryServer) DeployDut ¶
func (m *MockInventoryServer) DeployDut(arg0 context.Context, arg1 *DeployDutRequest) (*DeployDutResponse, error)
DeployDut mocks base method.
func (*MockInventoryServer) DumpStableVersionToDatastore ¶
func (m *MockInventoryServer) DumpStableVersionToDatastore(arg0 context.Context, arg1 *DumpStableVersionToDatastoreRequest) (*DumpStableVersionToDatastoreResponse, error)
DumpStableVersionToDatastore mocks base method.
func (*MockInventoryServer) EXPECT ¶
func (m *MockInventoryServer) EXPECT() *MockInventoryServerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockInventoryServer) GetDeploymentStatus ¶
func (m *MockInventoryServer) GetDeploymentStatus(arg0 context.Context, arg1 *GetDeploymentStatusRequest) (*GetDeploymentStatusResponse, error)
GetDeploymentStatus mocks base method.
func (*MockInventoryServer) GetDroneConfig ¶
func (m *MockInventoryServer) GetDroneConfig(arg0 context.Context, arg1 *GetDroneConfigRequest) (*GetDroneConfigResponse, error)
GetDroneConfig mocks base method.
func (*MockInventoryServer) GetDutInfo ¶
func (m *MockInventoryServer) GetDutInfo(arg0 context.Context, arg1 *GetDutInfoRequest) (*GetDutInfoResponse, error)
GetDutInfo mocks base method.
func (*MockInventoryServer) GetStableVersion ¶
func (m *MockInventoryServer) GetStableVersion(arg0 context.Context, arg1 *GetStableVersionRequest) (*GetStableVersionResponse, error)
GetStableVersion mocks base method.
func (*MockInventoryServer) ListRemovedDuts ¶
func (m *MockInventoryServer) ListRemovedDuts(arg0 context.Context, arg1 *ListRemovedDutsRequest) (*ListRemovedDutsResponse, error)
ListRemovedDuts mocks base method.
func (*MockInventoryServer) ListServers ¶
func (m *MockInventoryServer) ListServers(arg0 context.Context, arg1 *ListServersRequest) (*ListServersResponse, error)
ListServers mocks base method.
func (*MockInventoryServer) PushInventoryToQueen ¶
func (m *MockInventoryServer) PushInventoryToQueen(arg0 context.Context, arg1 *PushInventoryToQueenRequest) (*PushInventoryToQueenResponse, error)
PushInventoryToQueen mocks base method.
func (*MockInventoryServer) RedeployDut ¶
func (m *MockInventoryServer) RedeployDut(arg0 context.Context, arg1 *RedeployDutRequest) (*RedeployDutResponse, error)
RedeployDut mocks base method.
func (*MockInventoryServer) RemoveDutsFromDrones ¶
func (m *MockInventoryServer) RemoveDutsFromDrones(arg0 context.Context, arg1 *RemoveDutsFromDronesRequest) (*RemoveDutsFromDronesResponse, error)
RemoveDutsFromDrones mocks base method.
func (*MockInventoryServer) ReportInventory ¶
func (m *MockInventoryServer) ReportInventory(arg0 context.Context, arg1 *ReportInventoryRequest) (*ReportInventoryResponse, error)
ReportInventory mocks base method.
func (*MockInventoryServer) ResizePool ¶
func (m *MockInventoryServer) ResizePool(arg0 context.Context, arg1 *ResizePoolRequest) (*ResizePoolResponse, error)
ResizePool mocks base method.
func (*MockInventoryServer) UpdateCachedInventory ¶
func (m *MockInventoryServer) UpdateCachedInventory(arg0 context.Context, arg1 *UpdateCachedInventoryRequest) (*UpdateCachedInventoryResponse, error)
UpdateCachedInventory mocks base method.
func (*MockInventoryServer) UpdateDeviceConfig ¶
func (m *MockInventoryServer) UpdateDeviceConfig(arg0 context.Context, arg1 *UpdateDeviceConfigRequest) (*UpdateDeviceConfigResponse, error)
UpdateDeviceConfig mocks base method.
func (*MockInventoryServer) UpdateDutLabels ¶
func (m *MockInventoryServer) UpdateDutLabels(arg0 context.Context, arg1 *UpdateDutLabelsRequest) (*UpdateDutLabelsResponse, error)
UpdateDutLabels mocks base method.
func (*MockInventoryServer) UpdateManufacturingConfig ¶
func (m *MockInventoryServer) UpdateManufacturingConfig(arg0 context.Context, arg1 *UpdateManufacturingConfigRequest) (*UpdateManufacturingConfigResponse, error)
UpdateManufacturingConfig mocks base method.
type MockInventoryServerMockRecorder ¶
type MockInventoryServerMockRecorder struct {
// contains filtered or unexported fields
}
MockInventoryServerMockRecorder is the mock recorder for MockInventoryServer.
func (*MockInventoryServerMockRecorder) AssignDutsToDrones ¶
func (mr *MockInventoryServerMockRecorder) AssignDutsToDrones(arg0, arg1 interface{}) *gomock.Call
AssignDutsToDrones indicates an expected call of AssignDutsToDrones.
func (*MockInventoryServerMockRecorder) BalancePools ¶
func (mr *MockInventoryServerMockRecorder) BalancePools(arg0, arg1 interface{}) *gomock.Call
BalancePools indicates an expected call of BalancePools.
func (*MockInventoryServerMockRecorder) BatchUpdateDuts ¶
func (mr *MockInventoryServerMockRecorder) BatchUpdateDuts(arg0, arg1 interface{}) *gomock.Call
BatchUpdateDuts indicates an expected call of BatchUpdateDuts.
func (*MockInventoryServerMockRecorder) DeleteDuts ¶
func (mr *MockInventoryServerMockRecorder) DeleteDuts(arg0, arg1 interface{}) *gomock.Call
DeleteDuts indicates an expected call of DeleteDuts.
func (*MockInventoryServerMockRecorder) DeployDut ¶
func (mr *MockInventoryServerMockRecorder) DeployDut(arg0, arg1 interface{}) *gomock.Call
DeployDut indicates an expected call of DeployDut.
func (*MockInventoryServerMockRecorder) DumpStableVersionToDatastore ¶
func (mr *MockInventoryServerMockRecorder) DumpStableVersionToDatastore(arg0, arg1 interface{}) *gomock.Call
DumpStableVersionToDatastore indicates an expected call of DumpStableVersionToDatastore.
func (*MockInventoryServerMockRecorder) GetDeploymentStatus ¶
func (mr *MockInventoryServerMockRecorder) GetDeploymentStatus(arg0, arg1 interface{}) *gomock.Call
GetDeploymentStatus indicates an expected call of GetDeploymentStatus.
func (*MockInventoryServerMockRecorder) GetDroneConfig ¶
func (mr *MockInventoryServerMockRecorder) GetDroneConfig(arg0, arg1 interface{}) *gomock.Call
GetDroneConfig indicates an expected call of GetDroneConfig.
func (*MockInventoryServerMockRecorder) GetDutInfo ¶
func (mr *MockInventoryServerMockRecorder) GetDutInfo(arg0, arg1 interface{}) *gomock.Call
GetDutInfo indicates an expected call of GetDutInfo.
func (*MockInventoryServerMockRecorder) GetStableVersion ¶
func (mr *MockInventoryServerMockRecorder) GetStableVersion(arg0, arg1 interface{}) *gomock.Call
GetStableVersion indicates an expected call of GetStableVersion.
func (*MockInventoryServerMockRecorder) ListRemovedDuts ¶
func (mr *MockInventoryServerMockRecorder) ListRemovedDuts(arg0, arg1 interface{}) *gomock.Call
ListRemovedDuts indicates an expected call of ListRemovedDuts.
func (*MockInventoryServerMockRecorder) ListServers ¶
func (mr *MockInventoryServerMockRecorder) ListServers(arg0, arg1 interface{}) *gomock.Call
ListServers indicates an expected call of ListServers.
func (*MockInventoryServerMockRecorder) PushInventoryToQueen ¶
func (mr *MockInventoryServerMockRecorder) PushInventoryToQueen(arg0, arg1 interface{}) *gomock.Call
PushInventoryToQueen indicates an expected call of PushInventoryToQueen.
func (*MockInventoryServerMockRecorder) RedeployDut ¶
func (mr *MockInventoryServerMockRecorder) RedeployDut(arg0, arg1 interface{}) *gomock.Call
RedeployDut indicates an expected call of RedeployDut.
func (*MockInventoryServerMockRecorder) RemoveDutsFromDrones ¶
func (mr *MockInventoryServerMockRecorder) RemoveDutsFromDrones(arg0, arg1 interface{}) *gomock.Call
RemoveDutsFromDrones indicates an expected call of RemoveDutsFromDrones.
func (*MockInventoryServerMockRecorder) ReportInventory ¶
func (mr *MockInventoryServerMockRecorder) ReportInventory(arg0, arg1 interface{}) *gomock.Call
ReportInventory indicates an expected call of ReportInventory.
func (*MockInventoryServerMockRecorder) ResizePool ¶
func (mr *MockInventoryServerMockRecorder) ResizePool(arg0, arg1 interface{}) *gomock.Call
ResizePool indicates an expected call of ResizePool.
func (*MockInventoryServerMockRecorder) UpdateCachedInventory ¶
func (mr *MockInventoryServerMockRecorder) UpdateCachedInventory(arg0, arg1 interface{}) *gomock.Call
UpdateCachedInventory indicates an expected call of UpdateCachedInventory.
func (*MockInventoryServerMockRecorder) UpdateDeviceConfig ¶
func (mr *MockInventoryServerMockRecorder) UpdateDeviceConfig(arg0, arg1 interface{}) *gomock.Call
UpdateDeviceConfig indicates an expected call of UpdateDeviceConfig.
func (*MockInventoryServerMockRecorder) UpdateDutLabels ¶
func (mr *MockInventoryServerMockRecorder) UpdateDutLabels(arg0, arg1 interface{}) *gomock.Call
UpdateDutLabels indicates an expected call of UpdateDutLabels.
func (*MockInventoryServerMockRecorder) UpdateManufacturingConfig ¶
func (mr *MockInventoryServerMockRecorder) UpdateManufacturingConfig(arg0, arg1 interface{}) *gomock.Call
UpdateManufacturingConfig indicates an expected call of UpdateManufacturingConfig.
type MockTrackerClient ¶
type MockTrackerClient struct {
// contains filtered or unexported fields
}
MockTrackerClient is a mock of TrackerClient interface.
func NewMockTrackerClient ¶
func NewMockTrackerClient(ctrl *gomock.Controller) *MockTrackerClient
NewMockTrackerClient creates a new mock instance.
func (*MockTrackerClient) EXPECT ¶
func (m *MockTrackerClient) EXPECT() *MockTrackerClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockTrackerClient) PushBotsForAdminAuditTasks ¶
func (m *MockTrackerClient) PushBotsForAdminAuditTasks(ctx context.Context, in *PushBotsForAdminAuditTasksRequest, opts ...grpc.CallOption) (*PushBotsForAdminAuditTasksResponse, error)
PushBotsForAdminAuditTasks mocks base method.
func (*MockTrackerClient) PushBotsForAdminTasks ¶
func (m *MockTrackerClient) PushBotsForAdminTasks(ctx context.Context, in *PushBotsForAdminTasksRequest, opts ...grpc.CallOption) (*PushBotsForAdminTasksResponse, error)
PushBotsForAdminTasks mocks base method.
func (*MockTrackerClient) PushRepairJobsForLabstations ¶
func (m *MockTrackerClient) PushRepairJobsForLabstations(ctx context.Context, in *PushRepairJobsForLabstationsRequest, opts ...grpc.CallOption) (*PushRepairJobsForLabstationsResponse, error)
PushRepairJobsForLabstations mocks base method.
func (*MockTrackerClient) ReportBots ¶
func (m *MockTrackerClient) ReportBots(ctx context.Context, in *ReportBotsRequest, opts ...grpc.CallOption) (*ReportBotsResponse, error)
ReportBots mocks base method.
type MockTrackerClientMockRecorder ¶
type MockTrackerClientMockRecorder struct {
// contains filtered or unexported fields
}
MockTrackerClientMockRecorder is the mock recorder for MockTrackerClient.
func (*MockTrackerClientMockRecorder) PushBotsForAdminAuditTasks ¶
func (mr *MockTrackerClientMockRecorder) PushBotsForAdminAuditTasks(ctx, in interface{}, opts ...interface{}) *gomock.Call
PushBotsForAdminAuditTasks indicates an expected call of PushBotsForAdminAuditTasks.
func (*MockTrackerClientMockRecorder) PushBotsForAdminTasks ¶
func (mr *MockTrackerClientMockRecorder) PushBotsForAdminTasks(ctx, in interface{}, opts ...interface{}) *gomock.Call
PushBotsForAdminTasks indicates an expected call of PushBotsForAdminTasks.
func (*MockTrackerClientMockRecorder) PushRepairJobsForLabstations ¶
func (mr *MockTrackerClientMockRecorder) PushRepairJobsForLabstations(ctx, in interface{}, opts ...interface{}) *gomock.Call
PushRepairJobsForLabstations indicates an expected call of PushRepairJobsForLabstations.
func (*MockTrackerClientMockRecorder) ReportBots ¶
func (mr *MockTrackerClientMockRecorder) ReportBots(ctx, in interface{}, opts ...interface{}) *gomock.Call
ReportBots indicates an expected call of ReportBots.
type MockTrackerServer ¶
type MockTrackerServer struct {
// contains filtered or unexported fields
}
MockTrackerServer is a mock of TrackerServer interface.
func NewMockTrackerServer ¶
func NewMockTrackerServer(ctrl *gomock.Controller) *MockTrackerServer
NewMockTrackerServer creates a new mock instance.
func (*MockTrackerServer) EXPECT ¶
func (m *MockTrackerServer) EXPECT() *MockTrackerServerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockTrackerServer) PushBotsForAdminAuditTasks ¶
func (m *MockTrackerServer) PushBotsForAdminAuditTasks(arg0 context.Context, arg1 *PushBotsForAdminAuditTasksRequest) (*PushBotsForAdminAuditTasksResponse, error)
PushBotsForAdminAuditTasks mocks base method.
func (*MockTrackerServer) PushBotsForAdminTasks ¶
func (m *MockTrackerServer) PushBotsForAdminTasks(arg0 context.Context, arg1 *PushBotsForAdminTasksRequest) (*PushBotsForAdminTasksResponse, error)
PushBotsForAdminTasks mocks base method.
func (*MockTrackerServer) PushRepairJobsForLabstations ¶
func (m *MockTrackerServer) PushRepairJobsForLabstations(arg0 context.Context, arg1 *PushRepairJobsForLabstationsRequest) (*PushRepairJobsForLabstationsResponse, error)
PushRepairJobsForLabstations mocks base method.
func (*MockTrackerServer) ReportBots ¶
func (m *MockTrackerServer) ReportBots(arg0 context.Context, arg1 *ReportBotsRequest) (*ReportBotsResponse, error)
ReportBots mocks base method.
type MockTrackerServerMockRecorder ¶
type MockTrackerServerMockRecorder struct {
// contains filtered or unexported fields
}
MockTrackerServerMockRecorder is the mock recorder for MockTrackerServer.
func (*MockTrackerServerMockRecorder) PushBotsForAdminAuditTasks ¶
func (mr *MockTrackerServerMockRecorder) PushBotsForAdminAuditTasks(arg0, arg1 interface{}) *gomock.Call
PushBotsForAdminAuditTasks indicates an expected call of PushBotsForAdminAuditTasks.
func (*MockTrackerServerMockRecorder) PushBotsForAdminTasks ¶
func (mr *MockTrackerServerMockRecorder) PushBotsForAdminTasks(arg0, arg1 interface{}) *gomock.Call
PushBotsForAdminTasks indicates an expected call of PushBotsForAdminTasks.
func (*MockTrackerServerMockRecorder) PushRepairJobsForLabstations ¶
func (mr *MockTrackerServerMockRecorder) PushRepairJobsForLabstations(arg0, arg1 interface{}) *gomock.Call
PushRepairJobsForLabstations indicates an expected call of PushRepairJobsForLabstations.
func (*MockTrackerServerMockRecorder) ReportBots ¶
func (mr *MockTrackerServerMockRecorder) ReportBots(arg0, arg1 interface{}) *gomock.Call
ReportBots indicates an expected call of ReportBots.
type PoolChange ¶
type PoolChange struct { // dut_id is the inventory ID of the DUT whose pool was modified. DutId string `protobuf:"bytes,1,opt,name=dut_id,json=dutId,proto3" json:"dut_id,omitempty"` // old_pool is the pool the DUT was removed from. OldPool string `protobuf:"bytes,2,opt,name=old_pool,json=oldPool,proto3" json:"old_pool,omitempty"` // new_pool is the pool the DUT was moved to. NewPool string `protobuf:"bytes,3,opt,name=new_pool,json=newPool,proto3" json:"new_pool,omitempty"` // contains filtered or unexported fields }
PoolChange is a single change of DUT pools in the inventory.
func (*PoolChange) Descriptor
deprecated
func (*PoolChange) Descriptor() ([]byte, []int)
Deprecated: Use PoolChange.ProtoReflect.Descriptor instead.
func (*PoolChange) GetDutId ¶
func (x *PoolChange) GetDutId() string
func (*PoolChange) GetNewPool ¶
func (x *PoolChange) GetNewPool() string
func (*PoolChange) GetOldPool ¶
func (x *PoolChange) GetOldPool() string
func (*PoolChange) ProtoMessage ¶
func (*PoolChange) ProtoMessage()
func (*PoolChange) ProtoReflect ¶
func (x *PoolChange) ProtoReflect() protoreflect.Message
func (*PoolChange) Reset ¶
func (x *PoolChange) Reset()
func (*PoolChange) String ¶
func (x *PoolChange) String() string
type PoolStatus ¶
type PoolStatus struct { // size is the number of DUTs in this pool. Size int32 `protobuf:"varint,1,opt,name=size,proto3" json:"size,omitempty"` // healthy_count is the number of healthy DUTs in this pool. HealthyCount int32 `protobuf:"varint,2,opt,name=healthy_count,json=healthyCount,proto3" json:"healthy_count,omitempty"` // contains filtered or unexported fields }
func (*PoolStatus) Descriptor
deprecated
func (*PoolStatus) Descriptor() ([]byte, []int)
Deprecated: Use PoolStatus.ProtoReflect.Descriptor instead.
func (*PoolStatus) GetHealthyCount ¶
func (x *PoolStatus) GetHealthyCount() int32
func (*PoolStatus) GetSize ¶
func (x *PoolStatus) GetSize() int32
func (*PoolStatus) ProtoMessage ¶
func (*PoolStatus) ProtoMessage()
func (*PoolStatus) ProtoReflect ¶
func (x *PoolStatus) ProtoReflect() protoreflect.Message
func (*PoolStatus) Reset ¶
func (x *PoolStatus) Reset()
func (*PoolStatus) String ¶
func (x *PoolStatus) String() string
type PushBotsForAdminAuditTasksRequest ¶
type PushBotsForAdminAuditTasksRequest struct { Task AuditTask `protobuf:"varint,1,opt,name=task,proto3,enum=crosskylabadmin.fleet.AuditTask" json:"task,omitempty"` // contains filtered or unexported fields }
func (*PushBotsForAdminAuditTasksRequest) Descriptor
deprecated
func (*PushBotsForAdminAuditTasksRequest) Descriptor() ([]byte, []int)
Deprecated: Use PushBotsForAdminAuditTasksRequest.ProtoReflect.Descriptor instead.
func (*PushBotsForAdminAuditTasksRequest) GetTask ¶
func (x *PushBotsForAdminAuditTasksRequest) GetTask() AuditTask
func (*PushBotsForAdminAuditTasksRequest) ProtoMessage ¶
func (*PushBotsForAdminAuditTasksRequest) ProtoMessage()
func (*PushBotsForAdminAuditTasksRequest) ProtoReflect ¶
func (x *PushBotsForAdminAuditTasksRequest) ProtoReflect() protoreflect.Message
func (*PushBotsForAdminAuditTasksRequest) Reset ¶
func (x *PushBotsForAdminAuditTasksRequest) Reset()
func (*PushBotsForAdminAuditTasksRequest) String ¶
func (x *PushBotsForAdminAuditTasksRequest) String() string
type PushBotsForAdminAuditTasksResponse ¶
type PushBotsForAdminAuditTasksResponse struct {
// contains filtered or unexported fields
}
func (*PushBotsForAdminAuditTasksResponse) Descriptor
deprecated
func (*PushBotsForAdminAuditTasksResponse) Descriptor() ([]byte, []int)
Deprecated: Use PushBotsForAdminAuditTasksResponse.ProtoReflect.Descriptor instead.
func (*PushBotsForAdminAuditTasksResponse) ProtoMessage ¶
func (*PushBotsForAdminAuditTasksResponse) ProtoMessage()
func (*PushBotsForAdminAuditTasksResponse) ProtoReflect ¶
func (x *PushBotsForAdminAuditTasksResponse) ProtoReflect() protoreflect.Message
func (*PushBotsForAdminAuditTasksResponse) Reset ¶
func (x *PushBotsForAdminAuditTasksResponse) Reset()
func (*PushBotsForAdminAuditTasksResponse) String ¶
func (x *PushBotsForAdminAuditTasksResponse) String() string
type PushBotsForAdminTasksRequest ¶
type PushBotsForAdminTasksRequest struct { TargetDutState DutState `` /* 142-byte string literal not displayed */ // contains filtered or unexported fields }
func (*PushBotsForAdminTasksRequest) Descriptor
deprecated
func (*PushBotsForAdminTasksRequest) Descriptor() ([]byte, []int)
Deprecated: Use PushBotsForAdminTasksRequest.ProtoReflect.Descriptor instead.
func (*PushBotsForAdminTasksRequest) GetTargetDutState ¶
func (x *PushBotsForAdminTasksRequest) GetTargetDutState() DutState
func (*PushBotsForAdminTasksRequest) ProtoMessage ¶
func (*PushBotsForAdminTasksRequest) ProtoMessage()
func (*PushBotsForAdminTasksRequest) ProtoReflect ¶
func (x *PushBotsForAdminTasksRequest) ProtoReflect() protoreflect.Message
func (*PushBotsForAdminTasksRequest) Reset ¶
func (x *PushBotsForAdminTasksRequest) Reset()
func (*PushBotsForAdminTasksRequest) String ¶
func (x *PushBotsForAdminTasksRequest) String() string
type PushBotsForAdminTasksResponse ¶
type PushBotsForAdminTasksResponse struct {
// contains filtered or unexported fields
}
func (*PushBotsForAdminTasksResponse) Descriptor
deprecated
func (*PushBotsForAdminTasksResponse) Descriptor() ([]byte, []int)
Deprecated: Use PushBotsForAdminTasksResponse.ProtoReflect.Descriptor instead.
func (*PushBotsForAdminTasksResponse) ProtoMessage ¶
func (*PushBotsForAdminTasksResponse) ProtoMessage()
func (*PushBotsForAdminTasksResponse) ProtoReflect ¶
func (x *PushBotsForAdminTasksResponse) ProtoReflect() protoreflect.Message
func (*PushBotsForAdminTasksResponse) Reset ¶
func (x *PushBotsForAdminTasksResponse) Reset()
func (*PushBotsForAdminTasksResponse) String ¶
func (x *PushBotsForAdminTasksResponse) String() string
type PushInventoryToQueenRequest ¶
type PushInventoryToQueenRequest struct {
// contains filtered or unexported fields
}
func (*PushInventoryToQueenRequest) Descriptor
deprecated
func (*PushInventoryToQueenRequest) Descriptor() ([]byte, []int)
Deprecated: Use PushInventoryToQueenRequest.ProtoReflect.Descriptor instead.
func (*PushInventoryToQueenRequest) ProtoMessage ¶
func (*PushInventoryToQueenRequest) ProtoMessage()
func (*PushInventoryToQueenRequest) ProtoReflect ¶
func (x *PushInventoryToQueenRequest) ProtoReflect() protoreflect.Message
func (*PushInventoryToQueenRequest) Reset ¶
func (x *PushInventoryToQueenRequest) Reset()
func (*PushInventoryToQueenRequest) String ¶
func (x *PushInventoryToQueenRequest) String() string
type PushInventoryToQueenResponse ¶
type PushInventoryToQueenResponse struct {
// contains filtered or unexported fields
}
func (*PushInventoryToQueenResponse) Descriptor
deprecated
func (*PushInventoryToQueenResponse) Descriptor() ([]byte, []int)
Deprecated: Use PushInventoryToQueenResponse.ProtoReflect.Descriptor instead.
func (*PushInventoryToQueenResponse) ProtoMessage ¶
func (*PushInventoryToQueenResponse) ProtoMessage()
func (*PushInventoryToQueenResponse) ProtoReflect ¶
func (x *PushInventoryToQueenResponse) ProtoReflect() protoreflect.Message
func (*PushInventoryToQueenResponse) Reset ¶
func (x *PushInventoryToQueenResponse) Reset()
func (*PushInventoryToQueenResponse) String ¶
func (x *PushInventoryToQueenResponse) String() string
type PushRepairJobsForLabstationsRequest ¶
type PushRepairJobsForLabstationsRequest struct {
// contains filtered or unexported fields
}
func (*PushRepairJobsForLabstationsRequest) Descriptor
deprecated
func (*PushRepairJobsForLabstationsRequest) Descriptor() ([]byte, []int)
Deprecated: Use PushRepairJobsForLabstationsRequest.ProtoReflect.Descriptor instead.
func (*PushRepairJobsForLabstationsRequest) ProtoMessage ¶
func (*PushRepairJobsForLabstationsRequest) ProtoMessage()
func (*PushRepairJobsForLabstationsRequest) ProtoReflect ¶
func (x *PushRepairJobsForLabstationsRequest) ProtoReflect() protoreflect.Message
func (*PushRepairJobsForLabstationsRequest) Reset ¶
func (x *PushRepairJobsForLabstationsRequest) Reset()
func (*PushRepairJobsForLabstationsRequest) String ¶
func (x *PushRepairJobsForLabstationsRequest) String() string
type PushRepairJobsForLabstationsResponse ¶
type PushRepairJobsForLabstationsResponse struct {
// contains filtered or unexported fields
}
func (*PushRepairJobsForLabstationsResponse) Descriptor
deprecated
func (*PushRepairJobsForLabstationsResponse) Descriptor() ([]byte, []int)
Deprecated: Use PushRepairJobsForLabstationsResponse.ProtoReflect.Descriptor instead.
func (*PushRepairJobsForLabstationsResponse) ProtoMessage ¶
func (*PushRepairJobsForLabstationsResponse) ProtoMessage()
func (*PushRepairJobsForLabstationsResponse) ProtoReflect ¶
func (x *PushRepairJobsForLabstationsResponse) ProtoReflect() protoreflect.Message
func (*PushRepairJobsForLabstationsResponse) Reset ¶
func (x *PushRepairJobsForLabstationsResponse) Reset()
func (*PushRepairJobsForLabstationsResponse) String ¶
func (x *PushRepairJobsForLabstationsResponse) String() string
type RedeployDutRequest ¶
type RedeployDutRequest struct { // old_specs are the old device specs for a DUT already in the inventory that // the client wants to re-deploy. // // This should be a serialized inventory.CommonDeviceSpecs protobuf. // // old_specs must satisfy following sanity conditions: // - inventory.CommonDeviceSpecs.Id must be set. It will be used to identify // the dut to deploy. OldSpecs []byte `protobuf:"bytes,1,opt,name=old_specs,json=oldSpecs,proto3" json:"old_specs,omitempty"` // new_specs are the device specs this redeployment effort should set. // // This should be a serialized inventory.CommonDeviceSpecs protobuf. // // Note that deploy will use new_specs to initialize the device specs for the // DUT, but the specs (in particular labels) may be updated further as a // result of the deployment process itself. // // new_specs must satisfy following sanity conditions: // - inventory.CommonDeviceSpecs.Id must be set and be identical to the one in // old_specs. NewSpecs []byte `protobuf:"bytes,2,opt,name=new_specs,json=newSpecs,proto3" json:"new_specs,omitempty"` Actions *DutDeploymentActions `protobuf:"bytes,3,opt,name=actions,proto3" json:"actions,omitempty"` Options *DutDeploymentOptions `protobuf:"bytes,4,opt,name=options,proto3" json:"options,omitempty"` // contains filtered or unexported fields }
func (*RedeployDutRequest) Descriptor
deprecated
func (*RedeployDutRequest) Descriptor() ([]byte, []int)
Deprecated: Use RedeployDutRequest.ProtoReflect.Descriptor instead.
func (*RedeployDutRequest) GetActions ¶
func (x *RedeployDutRequest) GetActions() *DutDeploymentActions
func (*RedeployDutRequest) GetNewSpecs ¶
func (x *RedeployDutRequest) GetNewSpecs() []byte
func (*RedeployDutRequest) GetOldSpecs ¶
func (x *RedeployDutRequest) GetOldSpecs() []byte
func (*RedeployDutRequest) GetOptions ¶
func (x *RedeployDutRequest) GetOptions() *DutDeploymentOptions
func (*RedeployDutRequest) ProtoMessage ¶
func (*RedeployDutRequest) ProtoMessage()
func (*RedeployDutRequest) ProtoReflect ¶
func (x *RedeployDutRequest) ProtoReflect() protoreflect.Message
func (*RedeployDutRequest) Reset ¶
func (x *RedeployDutRequest) Reset()
func (*RedeployDutRequest) String ¶
func (x *RedeployDutRequest) String() string
func (*RedeployDutRequest) Validate ¶
func (r *RedeployDutRequest) Validate() error
Validate returns an error if r is invalid.
type RedeployDutResponse ¶
type RedeployDutResponse struct { // Opaque ID to be used for future GetDeploymentStatus requests. DeploymentId string `protobuf:"bytes,1,opt,name=deployment_id,json=deploymentId,proto3" json:"deployment_id,omitempty"` // contains filtered or unexported fields }
func (*RedeployDutResponse) Descriptor
deprecated
func (*RedeployDutResponse) Descriptor() ([]byte, []int)
Deprecated: Use RedeployDutResponse.ProtoReflect.Descriptor instead.
func (*RedeployDutResponse) GetDeploymentId ¶
func (x *RedeployDutResponse) GetDeploymentId() string
func (*RedeployDutResponse) ProtoMessage ¶
func (*RedeployDutResponse) ProtoMessage()
func (*RedeployDutResponse) ProtoReflect ¶
func (x *RedeployDutResponse) ProtoReflect() protoreflect.Message
func (*RedeployDutResponse) Reset ¶
func (x *RedeployDutResponse) Reset()
func (*RedeployDutResponse) String ¶
func (x *RedeployDutResponse) String() string
type RemoveDutsFromDronesRequest ¶
type RemoveDutsFromDronesRequest struct { // removals is the set of Duts to remove. Removals []*RemoveDutsFromDronesRequest_Item `protobuf:"bytes,1,rep,name=removals,proto3" json:"removals,omitempty"` // contains filtered or unexported fields }
func (*RemoveDutsFromDronesRequest) Descriptor
deprecated
func (*RemoveDutsFromDronesRequest) Descriptor() ([]byte, []int)
Deprecated: Use RemoveDutsFromDronesRequest.ProtoReflect.Descriptor instead.
func (*RemoveDutsFromDronesRequest) GetRemovals ¶
func (x *RemoveDutsFromDronesRequest) GetRemovals() []*RemoveDutsFromDronesRequest_Item
func (*RemoveDutsFromDronesRequest) ProtoMessage ¶
func (*RemoveDutsFromDronesRequest) ProtoMessage()
func (*RemoveDutsFromDronesRequest) ProtoReflect ¶
func (x *RemoveDutsFromDronesRequest) ProtoReflect() protoreflect.Message
func (*RemoveDutsFromDronesRequest) Reset ¶
func (x *RemoveDutsFromDronesRequest) Reset()
func (*RemoveDutsFromDronesRequest) String ¶
func (x *RemoveDutsFromDronesRequest) String() string
func (*RemoveDutsFromDronesRequest) Validate ¶
func (r *RemoveDutsFromDronesRequest) Validate() error
Validate returns an error if r is invalid.
type RemoveDutsFromDronesRequest_Item ¶
type RemoveDutsFromDronesRequest_Item struct { // dut_id is the id of a DUT to be removed. // // Exactly one of dut_id or hostname must be provided. DutId string `protobuf:"bytes,1,opt,name=dut_id,json=dutId,proto3" json:"dut_id,omitempty"` // dut_hostname is the id of a DUT to be removed. // // Exactly one of dut_id or dut_hostname must be provided. DutHostname string `protobuf:"bytes,3,opt,name=dut_hostname,json=dutHostname,proto3" json:"dut_hostname,omitempty"` // drone_hostname is the drone to remove the dut from. // // If specified, the DUT must currently be assigned to the // specified drone. // // This is ignored if the DUT is assigned to a queen drone. DroneHostname string `protobuf:"bytes,2,opt,name=drone_hostname,json=droneHostname,proto3" json:"drone_hostname,omitempty"` // removal_reason is the reason for removal. // // This is a serialized inventory.RemovalReason protobuf. RemovalReason []byte `protobuf:"bytes,4,opt,name=removal_reason,json=removalReason,proto3" json:"removal_reason,omitempty"` // contains filtered or unexported fields }
NEXT TAG: 5
func (*RemoveDutsFromDronesRequest_Item) Descriptor
deprecated
func (*RemoveDutsFromDronesRequest_Item) Descriptor() ([]byte, []int)
Deprecated: Use RemoveDutsFromDronesRequest_Item.ProtoReflect.Descriptor instead.
func (*RemoveDutsFromDronesRequest_Item) GetDroneHostname ¶
func (x *RemoveDutsFromDronesRequest_Item) GetDroneHostname() string
func (*RemoveDutsFromDronesRequest_Item) GetDutHostname ¶
func (x *RemoveDutsFromDronesRequest_Item) GetDutHostname() string
func (*RemoveDutsFromDronesRequest_Item) GetDutId ¶
func (x *RemoveDutsFromDronesRequest_Item) GetDutId() string
func (*RemoveDutsFromDronesRequest_Item) GetRemovalReason ¶
func (x *RemoveDutsFromDronesRequest_Item) GetRemovalReason() []byte
func (*RemoveDutsFromDronesRequest_Item) ProtoMessage ¶
func (*RemoveDutsFromDronesRequest_Item) ProtoMessage()
func (*RemoveDutsFromDronesRequest_Item) ProtoReflect ¶
func (x *RemoveDutsFromDronesRequest_Item) ProtoReflect() protoreflect.Message
func (*RemoveDutsFromDronesRequest_Item) Reset ¶
func (x *RemoveDutsFromDronesRequest_Item) Reset()
func (*RemoveDutsFromDronesRequest_Item) String ¶
func (x *RemoveDutsFromDronesRequest_Item) String() string
type RemoveDutsFromDronesResponse ¶
type RemoveDutsFromDronesResponse struct { // removed is the set of Duts that were removed. Removed []*RemoveDutsFromDronesResponse_Item `protobuf:"bytes,1,rep,name=removed,proto3" json:"removed,omitempty"` // url is an opaque URL for this inventory change. // // It is intended to be the gerrit CL corresponding to the change, or the // gitiles path for a committed changelist for the change. Url string `protobuf:"bytes,2,opt,name=url,proto3" json:"url,omitempty"` // contains filtered or unexported fields }
func (*RemoveDutsFromDronesResponse) Descriptor
deprecated
func (*RemoveDutsFromDronesResponse) Descriptor() ([]byte, []int)
Deprecated: Use RemoveDutsFromDronesResponse.ProtoReflect.Descriptor instead.
func (*RemoveDutsFromDronesResponse) GetRemoved ¶
func (x *RemoveDutsFromDronesResponse) GetRemoved() []*RemoveDutsFromDronesResponse_Item
func (*RemoveDutsFromDronesResponse) GetUrl ¶
func (x *RemoveDutsFromDronesResponse) GetUrl() string
func (*RemoveDutsFromDronesResponse) ProtoMessage ¶
func (*RemoveDutsFromDronesResponse) ProtoMessage()
func (*RemoveDutsFromDronesResponse) ProtoReflect ¶
func (x *RemoveDutsFromDronesResponse) ProtoReflect() protoreflect.Message
func (*RemoveDutsFromDronesResponse) Reset ¶
func (x *RemoveDutsFromDronesResponse) Reset()
func (*RemoveDutsFromDronesResponse) String ¶
func (x *RemoveDutsFromDronesResponse) String() string
type RemoveDutsFromDronesResponse_Item ¶
type RemoveDutsFromDronesResponse_Item struct { // dut_id is the id of a dut that was removed. DutId string `protobuf:"bytes,1,opt,name=dut_id,json=dutId,proto3" json:"dut_id,omitempty"` // drone_hostname is the hostname of the drone that it the Dut was removed // from. DroneHostname string `protobuf:"bytes,2,opt,name=drone_hostname,json=droneHostname,proto3" json:"drone_hostname,omitempty"` // contains filtered or unexported fields }
func (*RemoveDutsFromDronesResponse_Item) Descriptor
deprecated
func (*RemoveDutsFromDronesResponse_Item) Descriptor() ([]byte, []int)
Deprecated: Use RemoveDutsFromDronesResponse_Item.ProtoReflect.Descriptor instead.
func (*RemoveDutsFromDronesResponse_Item) GetDroneHostname ¶
func (x *RemoveDutsFromDronesResponse_Item) GetDroneHostname() string
func (*RemoveDutsFromDronesResponse_Item) GetDutId ¶
func (x *RemoveDutsFromDronesResponse_Item) GetDutId() string
func (*RemoveDutsFromDronesResponse_Item) ProtoMessage ¶
func (*RemoveDutsFromDronesResponse_Item) ProtoMessage()
func (*RemoveDutsFromDronesResponse_Item) ProtoReflect ¶
func (x *RemoveDutsFromDronesResponse_Item) ProtoReflect() protoreflect.Message
func (*RemoveDutsFromDronesResponse_Item) Reset ¶
func (x *RemoveDutsFromDronesResponse_Item) Reset()
func (*RemoveDutsFromDronesResponse_Item) String ¶
func (x *RemoveDutsFromDronesResponse_Item) String() string
type ReportBotsRequest ¶
type ReportBotsRequest struct {
// contains filtered or unexported fields
}
func (*ReportBotsRequest) Descriptor
deprecated
func (*ReportBotsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ReportBotsRequest.ProtoReflect.Descriptor instead.
func (*ReportBotsRequest) ProtoMessage ¶
func (*ReportBotsRequest) ProtoMessage()
func (*ReportBotsRequest) ProtoReflect ¶
func (x *ReportBotsRequest) ProtoReflect() protoreflect.Message
func (*ReportBotsRequest) Reset ¶
func (x *ReportBotsRequest) Reset()
func (*ReportBotsRequest) String ¶
func (x *ReportBotsRequest) String() string
type ReportBotsResponse ¶
type ReportBotsResponse struct {
// contains filtered or unexported fields
}
func (*ReportBotsResponse) Descriptor
deprecated
func (*ReportBotsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ReportBotsResponse.ProtoReflect.Descriptor instead.
func (*ReportBotsResponse) ProtoMessage ¶
func (*ReportBotsResponse) ProtoMessage()
func (*ReportBotsResponse) ProtoReflect ¶
func (x *ReportBotsResponse) ProtoReflect() protoreflect.Message
func (*ReportBotsResponse) Reset ¶
func (x *ReportBotsResponse) Reset()
func (*ReportBotsResponse) String ¶
func (x *ReportBotsResponse) String() string
type ReportInventoryRequest ¶
type ReportInventoryRequest struct { // Skip reporting inventory metrics after we migrate to inventory v2. SkipInventoryMetrics bool `protobuf:"varint,1,opt,name=skip_inventory_metrics,json=skipInventoryMetrics,proto3" json:"skip_inventory_metrics,omitempty"` // contains filtered or unexported fields }
func (*ReportInventoryRequest) Descriptor
deprecated
func (*ReportInventoryRequest) Descriptor() ([]byte, []int)
Deprecated: Use ReportInventoryRequest.ProtoReflect.Descriptor instead.
func (*ReportInventoryRequest) GetSkipInventoryMetrics ¶
func (x *ReportInventoryRequest) GetSkipInventoryMetrics() bool
func (*ReportInventoryRequest) ProtoMessage ¶
func (*ReportInventoryRequest) ProtoMessage()
func (*ReportInventoryRequest) ProtoReflect ¶
func (x *ReportInventoryRequest) ProtoReflect() protoreflect.Message
func (*ReportInventoryRequest) Reset ¶
func (x *ReportInventoryRequest) Reset()
func (*ReportInventoryRequest) String ¶
func (x *ReportInventoryRequest) String() string
type ReportInventoryResponse ¶
type ReportInventoryResponse struct {
// contains filtered or unexported fields
}
func (*ReportInventoryResponse) Descriptor
deprecated
func (*ReportInventoryResponse) Descriptor() ([]byte, []int)
Deprecated: Use ReportInventoryResponse.ProtoReflect.Descriptor instead.
func (*ReportInventoryResponse) ProtoMessage ¶
func (*ReportInventoryResponse) ProtoMessage()
func (*ReportInventoryResponse) ProtoReflect ¶
func (x *ReportInventoryResponse) ProtoReflect() protoreflect.Message
func (*ReportInventoryResponse) Reset ¶
func (x *ReportInventoryResponse) Reset()
func (*ReportInventoryResponse) String ¶
func (x *ReportInventoryResponse) String() string
type ResizePoolRequest ¶
type ResizePoolRequest struct { // dut_selectors filters the set of DUTs considered by ResizePool. // // All pool changes occurs within this selected set of DUTs. // It is an error to omit dut_selector because that would allow // unconstrained DUT reallocation between pools, disregarding all other // labels. DutSelector *DutSelector `protobuf:"bytes,1,opt,name=dut_selector,json=dutSelector,proto3" json:"dut_selector,omitempty"` // target_pool is the pool that should contain healthy DUTs. TargetPool string `protobuf:"bytes,2,opt,name=target_pool,json=targetPool,proto3" json:"target_pool,omitempty"` // target_pool_size is the requested size for the target_pool. TargetPoolSize int32 `protobuf:"varint,3,opt,name=target_pool_size,json=targetPoolSize,proto3" json:"target_pool_size,omitempty"` // spare_pool is the pool to borrow needed DUTs from and return extra DUTs to. SparePool string `protobuf:"bytes,4,opt,name=spare_pool,json=sparePool,proto3" json:"spare_pool,omitempty"` // contains filtered or unexported fields }
func (*ResizePoolRequest) Descriptor
deprecated
func (*ResizePoolRequest) Descriptor() ([]byte, []int)
Deprecated: Use ResizePoolRequest.ProtoReflect.Descriptor instead.
func (*ResizePoolRequest) GetDutSelector ¶
func (x *ResizePoolRequest) GetDutSelector() *DutSelector
func (*ResizePoolRequest) GetSparePool ¶
func (x *ResizePoolRequest) GetSparePool() string
func (*ResizePoolRequest) GetTargetPool ¶
func (x *ResizePoolRequest) GetTargetPool() string
func (*ResizePoolRequest) GetTargetPoolSize ¶
func (x *ResizePoolRequest) GetTargetPoolSize() int32
func (*ResizePoolRequest) ProtoMessage ¶
func (*ResizePoolRequest) ProtoMessage()
func (*ResizePoolRequest) ProtoReflect ¶
func (x *ResizePoolRequest) ProtoReflect() protoreflect.Message
func (*ResizePoolRequest) Reset ¶
func (x *ResizePoolRequest) Reset()
func (*ResizePoolRequest) String ¶
func (x *ResizePoolRequest) String() string
func (*ResizePoolRequest) Validate ¶
func (r *ResizePoolRequest) Validate() error
Validate returns an error if r is invalid.
type ResizePoolResponse ¶
type ResizePoolResponse struct { // url is an opaque URL for this inventory change. // // It is intended to be the gerrit CL corresponding to the change, or the // gitiles path for a committed changelist for the change. Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"` // changes correspond to the proposed or executed pool changes to inventory in // response to the ResizePool RPC. Changes []*PoolChange `protobuf:"bytes,2,rep,name=changes,proto3" json:"changes,omitempty"` // contains filtered or unexported fields }
func (*ResizePoolResponse) Descriptor
deprecated
func (*ResizePoolResponse) Descriptor() ([]byte, []int)
Deprecated: Use ResizePoolResponse.ProtoReflect.Descriptor instead.
func (*ResizePoolResponse) GetChanges ¶
func (x *ResizePoolResponse) GetChanges() []*PoolChange
func (*ResizePoolResponse) GetUrl ¶
func (x *ResizePoolResponse) GetUrl() string
func (*ResizePoolResponse) ProtoMessage ¶
func (*ResizePoolResponse) ProtoMessage()
func (*ResizePoolResponse) ProtoReflect ¶
func (x *ResizePoolResponse) ProtoReflect() protoreflect.Message
func (*ResizePoolResponse) Reset ¶
func (x *ResizePoolResponse) Reset()
func (*ResizePoolResponse) String ¶
func (x *ResizePoolResponse) String() string
type Server ¶
type Server struct { Hostname string `protobuf:"bytes,1,opt,name=hostname,proto3" json:"hostname,omitempty"` Roles []ServerRole `protobuf:"varint,2,rep,packed,name=roles,proto3,enum=crosskylabadmin.fleet.ServerRole" json:"roles,omitempty"` DutUids []string `protobuf:"bytes,3,rep,name=dut_uids,json=dutUids,proto3" json:"dut_uids,omitempty"` // contains filtered or unexported fields }
Server is adapted from chrome.chromeos_infra.skylab.proto.inventory (Server message type). It is filtered down to only aspects applicable to Skylab, and of interest to clients of the crosskylabadmin APIs.
func (*Server) Descriptor
deprecated
func (*Server) GetDutUids ¶
func (*Server) GetHostname ¶
func (*Server) GetRoles ¶
func (x *Server) GetRoles() []ServerRole
func (*Server) ProtoMessage ¶
func (*Server) ProtoMessage()
func (*Server) ProtoReflect ¶
func (x *Server) ProtoReflect() protoreflect.Message
type ServerRole ¶
type ServerRole int32
ServerRole is adapted from chrome.chromeos_infra.skylab.proto.inventory (Server.Role enum). It is filtered down to only server roles that are applicable to Skylab.
Commented-out fields are those that exist in the inventory proto schema, but do no apply to this API.
const ( ServerRole_ROLE_INVALID ServerRole = 0 // ROLE_AFE = 1; ServerRole_ROLE_CRASH_SERVER ServerRole = 2 // ROLE_DATABASE = 3; // ROLE_DATABASE_SLAVE = 4; ServerRole_ROLE_DEVSERVER ServerRole = 5 // ROLE_DRONE = 6; // ROLE_GOLO_PROXY = 7; // ROLE_HOST_SCHEDULER = 8; // ROLE_SCHEDULER = 9; // ROLE_SENTINEL = 10; // ROLE_SHARD = 11; ServerRole_ROLE_SUITE_SCHEDULER ServerRole = 12 ServerRole_ROLE_SKYLAB_DRONE ServerRole = 13 ServerRole_ROLE_SKYLAB_SUITE_PROXY ServerRole = 14 ServerRole_ROLE_RPMSERVER ServerRole = 15 )
func (ServerRole) Descriptor ¶
func (ServerRole) Descriptor() protoreflect.EnumDescriptor
func (ServerRole) Enum ¶
func (x ServerRole) Enum() *ServerRole
func (ServerRole) EnumDescriptor
deprecated
func (ServerRole) EnumDescriptor() ([]byte, []int)
Deprecated: Use ServerRole.Descriptor instead.
func (ServerRole) Number ¶
func (x ServerRole) Number() protoreflect.EnumNumber
func (ServerRole) String ¶
func (x ServerRole) String() string
func (ServerRole) Type ¶
func (ServerRole) Type() protoreflect.EnumType
type TaskType ¶
type TaskType int32
func (TaskType) Descriptor ¶
func (TaskType) Descriptor() protoreflect.EnumDescriptor
func (TaskType) EnumDescriptor
deprecated
func (TaskType) Number ¶
func (x TaskType) Number() protoreflect.EnumNumber
func (TaskType) Type ¶
func (TaskType) Type() protoreflect.EnumType
type TrackerClient ¶
type TrackerClient interface { // Filter out and queue the CrOS bots that require admin tasks Repair and Reset. PushBotsForAdminTasks(ctx context.Context, in *PushBotsForAdminTasksRequest, opts ...grpc.CallOption) (*PushBotsForAdminTasksResponse, error) // Filter out and queue the labstation bots that require admin tasks Repair. PushRepairJobsForLabstations(ctx context.Context, in *PushRepairJobsForLabstationsRequest, opts ...grpc.CallOption) (*PushRepairJobsForLabstationsResponse, error) // Report bots metrics. ReportBots(ctx context.Context, in *ReportBotsRequest, opts ...grpc.CallOption) (*ReportBotsResponse, error) // Filter out and queue the CrOS bots to run admin tasks Audit. PushBotsForAdminAuditTasks(ctx context.Context, in *PushBotsForAdminAuditTasksRequest, opts ...grpc.CallOption) (*PushBotsForAdminAuditTasksResponse, error) }
TrackerClient is the client API for Tracker service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewTrackerClient ¶
func NewTrackerClient(cc grpc.ClientConnInterface) TrackerClient
func NewTrackerPRPCClient ¶
func NewTrackerPRPCClient(client *prpc.Client) TrackerClient
type TrackerServer ¶
type TrackerServer interface { // Filter out and queue the CrOS bots that require admin tasks Repair and Reset. PushBotsForAdminTasks(context.Context, *PushBotsForAdminTasksRequest) (*PushBotsForAdminTasksResponse, error) // Filter out and queue the labstation bots that require admin tasks Repair. PushRepairJobsForLabstations(context.Context, *PushRepairJobsForLabstationsRequest) (*PushRepairJobsForLabstationsResponse, error) // Report bots metrics. ReportBots(context.Context, *ReportBotsRequest) (*ReportBotsResponse, error) // Filter out and queue the CrOS bots to run admin tasks Audit. PushBotsForAdminAuditTasks(context.Context, *PushBotsForAdminAuditTasksRequest) (*PushBotsForAdminAuditTasksResponse, error) }
TrackerServer is the server API for Tracker service.
type UnimplementedInventoryServer ¶
type UnimplementedInventoryServer struct { }
UnimplementedInventoryServer can be embedded to have forward compatible implementations.
func (*UnimplementedInventoryServer) AssignDutsToDrones ¶
func (*UnimplementedInventoryServer) AssignDutsToDrones(context.Context, *AssignDutsToDronesRequest) (*AssignDutsToDronesResponse, error)
func (*UnimplementedInventoryServer) BalancePools ¶
func (*UnimplementedInventoryServer) BalancePools(context.Context, *BalancePoolsRequest) (*BalancePoolsResponse, error)
func (*UnimplementedInventoryServer) BatchUpdateDuts ¶
func (*UnimplementedInventoryServer) BatchUpdateDuts(context.Context, *BatchUpdateDutsRequest) (*BatchUpdateDutsResponse, error)
func (*UnimplementedInventoryServer) DeleteDuts ¶
func (*UnimplementedInventoryServer) DeleteDuts(context.Context, *DeleteDutsRequest) (*DeleteDutsResponse, error)
func (*UnimplementedInventoryServer) DeployDut ¶
func (*UnimplementedInventoryServer) DeployDut(context.Context, *DeployDutRequest) (*DeployDutResponse, error)
func (*UnimplementedInventoryServer) DumpStableVersionToDatastore ¶
func (*UnimplementedInventoryServer) DumpStableVersionToDatastore(context.Context, *DumpStableVersionToDatastoreRequest) (*DumpStableVersionToDatastoreResponse, error)
func (*UnimplementedInventoryServer) GetDeploymentStatus ¶
func (*UnimplementedInventoryServer) GetDeploymentStatus(context.Context, *GetDeploymentStatusRequest) (*GetDeploymentStatusResponse, error)
func (*UnimplementedInventoryServer) GetDroneConfig ¶
func (*UnimplementedInventoryServer) GetDroneConfig(context.Context, *GetDroneConfigRequest) (*GetDroneConfigResponse, error)
func (*UnimplementedInventoryServer) GetDutInfo ¶
func (*UnimplementedInventoryServer) GetDutInfo(context.Context, *GetDutInfoRequest) (*GetDutInfoResponse, error)
func (*UnimplementedInventoryServer) GetStableVersion ¶
func (*UnimplementedInventoryServer) GetStableVersion(context.Context, *GetStableVersionRequest) (*GetStableVersionResponse, error)
func (*UnimplementedInventoryServer) ListRemovedDuts ¶
func (*UnimplementedInventoryServer) ListRemovedDuts(context.Context, *ListRemovedDutsRequest) (*ListRemovedDutsResponse, error)
func (*UnimplementedInventoryServer) ListServers ¶
func (*UnimplementedInventoryServer) ListServers(context.Context, *ListServersRequest) (*ListServersResponse, error)
func (*UnimplementedInventoryServer) PushInventoryToQueen ¶
func (*UnimplementedInventoryServer) PushInventoryToQueen(context.Context, *PushInventoryToQueenRequest) (*PushInventoryToQueenResponse, error)
func (*UnimplementedInventoryServer) RedeployDut ¶
func (*UnimplementedInventoryServer) RedeployDut(context.Context, *RedeployDutRequest) (*RedeployDutResponse, error)
func (*UnimplementedInventoryServer) RemoveDutsFromDrones ¶
func (*UnimplementedInventoryServer) RemoveDutsFromDrones(context.Context, *RemoveDutsFromDronesRequest) (*RemoveDutsFromDronesResponse, error)
func (*UnimplementedInventoryServer) ReportInventory ¶
func (*UnimplementedInventoryServer) ReportInventory(context.Context, *ReportInventoryRequest) (*ReportInventoryResponse, error)
func (*UnimplementedInventoryServer) ResizePool ¶
func (*UnimplementedInventoryServer) ResizePool(context.Context, *ResizePoolRequest) (*ResizePoolResponse, error)
func (*UnimplementedInventoryServer) UpdateCachedInventory ¶
func (*UnimplementedInventoryServer) UpdateCachedInventory(context.Context, *UpdateCachedInventoryRequest) (*UpdateCachedInventoryResponse, error)
func (*UnimplementedInventoryServer) UpdateDeviceConfig ¶
func (*UnimplementedInventoryServer) UpdateDeviceConfig(context.Context, *UpdateDeviceConfigRequest) (*UpdateDeviceConfigResponse, error)
func (*UnimplementedInventoryServer) UpdateDutLabels ¶
func (*UnimplementedInventoryServer) UpdateDutLabels(context.Context, *UpdateDutLabelsRequest) (*UpdateDutLabelsResponse, error)
func (*UnimplementedInventoryServer) UpdateManufacturingConfig ¶
func (*UnimplementedInventoryServer) UpdateManufacturingConfig(context.Context, *UpdateManufacturingConfigRequest) (*UpdateManufacturingConfigResponse, error)
type UnimplementedTrackerServer ¶
type UnimplementedTrackerServer struct { }
UnimplementedTrackerServer can be embedded to have forward compatible implementations.
func (*UnimplementedTrackerServer) PushBotsForAdminAuditTasks ¶
func (*UnimplementedTrackerServer) PushBotsForAdminAuditTasks(context.Context, *PushBotsForAdminAuditTasksRequest) (*PushBotsForAdminAuditTasksResponse, error)
func (*UnimplementedTrackerServer) PushBotsForAdminTasks ¶
func (*UnimplementedTrackerServer) PushBotsForAdminTasks(context.Context, *PushBotsForAdminTasksRequest) (*PushBotsForAdminTasksResponse, error)
func (*UnimplementedTrackerServer) PushRepairJobsForLabstations ¶
func (*UnimplementedTrackerServer) PushRepairJobsForLabstations(context.Context, *PushRepairJobsForLabstationsRequest) (*PushRepairJobsForLabstationsResponse, error)
func (*UnimplementedTrackerServer) ReportBots ¶
func (*UnimplementedTrackerServer) ReportBots(context.Context, *ReportBotsRequest) (*ReportBotsResponse, error)
type UpdateCachedInventoryRequest ¶
type UpdateCachedInventoryRequest struct {
// contains filtered or unexported fields
}
func (*UpdateCachedInventoryRequest) Descriptor
deprecated
func (*UpdateCachedInventoryRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateCachedInventoryRequest.ProtoReflect.Descriptor instead.
func (*UpdateCachedInventoryRequest) ProtoMessage ¶
func (*UpdateCachedInventoryRequest) ProtoMessage()
func (*UpdateCachedInventoryRequest) ProtoReflect ¶
func (x *UpdateCachedInventoryRequest) ProtoReflect() protoreflect.Message
func (*UpdateCachedInventoryRequest) Reset ¶
func (x *UpdateCachedInventoryRequest) Reset()
func (*UpdateCachedInventoryRequest) String ¶
func (x *UpdateCachedInventoryRequest) String() string
type UpdateCachedInventoryResponse ¶
type UpdateCachedInventoryResponse struct {
// contains filtered or unexported fields
}
func (*UpdateCachedInventoryResponse) Descriptor
deprecated
func (*UpdateCachedInventoryResponse) Descriptor() ([]byte, []int)
Deprecated: Use UpdateCachedInventoryResponse.ProtoReflect.Descriptor instead.
func (*UpdateCachedInventoryResponse) ProtoMessage ¶
func (*UpdateCachedInventoryResponse) ProtoMessage()
func (*UpdateCachedInventoryResponse) ProtoReflect ¶
func (x *UpdateCachedInventoryResponse) ProtoReflect() protoreflect.Message
func (*UpdateCachedInventoryResponse) Reset ¶
func (x *UpdateCachedInventoryResponse) Reset()
func (*UpdateCachedInventoryResponse) String ¶
func (x *UpdateCachedInventoryResponse) String() string
type UpdateDeviceConfigRequest ¶
type UpdateDeviceConfigRequest struct {
// contains filtered or unexported fields
}
func (*UpdateDeviceConfigRequest) Descriptor
deprecated
func (*UpdateDeviceConfigRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateDeviceConfigRequest.ProtoReflect.Descriptor instead.
func (*UpdateDeviceConfigRequest) ProtoMessage ¶
func (*UpdateDeviceConfigRequest) ProtoMessage()
func (*UpdateDeviceConfigRequest) ProtoReflect ¶
func (x *UpdateDeviceConfigRequest) ProtoReflect() protoreflect.Message
func (*UpdateDeviceConfigRequest) Reset ¶
func (x *UpdateDeviceConfigRequest) Reset()
func (*UpdateDeviceConfigRequest) String ¶
func (x *UpdateDeviceConfigRequest) String() string
type UpdateDeviceConfigResponse ¶
type UpdateDeviceConfigResponse struct {
// contains filtered or unexported fields
}
func (*UpdateDeviceConfigResponse) Descriptor
deprecated
func (*UpdateDeviceConfigResponse) Descriptor() ([]byte, []int)
Deprecated: Use UpdateDeviceConfigResponse.ProtoReflect.Descriptor instead.
func (*UpdateDeviceConfigResponse) ProtoMessage ¶
func (*UpdateDeviceConfigResponse) ProtoMessage()
func (*UpdateDeviceConfigResponse) ProtoReflect ¶
func (x *UpdateDeviceConfigResponse) ProtoReflect() protoreflect.Message
func (*UpdateDeviceConfigResponse) Reset ¶
func (x *UpdateDeviceConfigResponse) Reset()
func (*UpdateDeviceConfigResponse) String ¶
func (x *UpdateDeviceConfigResponse) String() string
type UpdateDutLabelsRequest ¶
type UpdateDutLabelsRequest struct { DutId string `protobuf:"bytes,1,opt,name=dut_id,json=dutId,proto3" json:"dut_id,omitempty"` // labels are the labels for the DUT that the client changed. This // should be a serialized protobuf of inventory.SchedulableLabels. // Any labels that shouldn't be updated are ignored. Labels []byte `protobuf:"bytes,2,opt,name=labels,proto3" json:"labels,omitempty"` // reason is some string to provide context for the update. This // should contain a URL to the task that triggered the change. This // should not be capitalized since it will get formatted with other // information. Reason string `protobuf:"bytes,3,opt,name=reason,proto3" json:"reason,omitempty"` // old_labels are the old labels for the DUT before this update. Same // format with labels. OldLabels []byte `protobuf:"bytes,4,opt,name=old_labels,json=oldLabels,proto3" json:"old_labels,omitempty"` // contains filtered or unexported fields }
func (*UpdateDutLabelsRequest) Descriptor
deprecated
func (*UpdateDutLabelsRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateDutLabelsRequest.ProtoReflect.Descriptor instead.
func (*UpdateDutLabelsRequest) GetDutId ¶
func (x *UpdateDutLabelsRequest) GetDutId() string
func (*UpdateDutLabelsRequest) GetLabels ¶
func (x *UpdateDutLabelsRequest) GetLabels() []byte
func (*UpdateDutLabelsRequest) GetOldLabels ¶
func (x *UpdateDutLabelsRequest) GetOldLabels() []byte
func (*UpdateDutLabelsRequest) GetReason ¶
func (x *UpdateDutLabelsRequest) GetReason() string
func (*UpdateDutLabelsRequest) ProtoMessage ¶
func (*UpdateDutLabelsRequest) ProtoMessage()
func (*UpdateDutLabelsRequest) ProtoReflect ¶
func (x *UpdateDutLabelsRequest) ProtoReflect() protoreflect.Message
func (*UpdateDutLabelsRequest) Reset ¶
func (x *UpdateDutLabelsRequest) Reset()
func (*UpdateDutLabelsRequest) String ¶
func (x *UpdateDutLabelsRequest) String() string
type UpdateDutLabelsResponse ¶
type UpdateDutLabelsResponse struct { // url is a URL associated with the label update. // // It is usually a Gerrit or Gitiles URL. Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"` // contains filtered or unexported fields }
func (*UpdateDutLabelsResponse) Descriptor
deprecated
func (*UpdateDutLabelsResponse) Descriptor() ([]byte, []int)
Deprecated: Use UpdateDutLabelsResponse.ProtoReflect.Descriptor instead.
func (*UpdateDutLabelsResponse) GetUrl ¶
func (x *UpdateDutLabelsResponse) GetUrl() string
func (*UpdateDutLabelsResponse) ProtoMessage ¶
func (*UpdateDutLabelsResponse) ProtoMessage()
func (*UpdateDutLabelsResponse) ProtoReflect ¶
func (x *UpdateDutLabelsResponse) ProtoReflect() protoreflect.Message
func (*UpdateDutLabelsResponse) Reset ¶
func (x *UpdateDutLabelsResponse) Reset()
func (*UpdateDutLabelsResponse) String ¶
func (x *UpdateDutLabelsResponse) String() string
type UpdateManufacturingConfigRequest ¶
type UpdateManufacturingConfigRequest struct {
// contains filtered or unexported fields
}
func (*UpdateManufacturingConfigRequest) Descriptor
deprecated
func (*UpdateManufacturingConfigRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateManufacturingConfigRequest.ProtoReflect.Descriptor instead.
func (*UpdateManufacturingConfigRequest) ProtoMessage ¶
func (*UpdateManufacturingConfigRequest) ProtoMessage()
func (*UpdateManufacturingConfigRequest) ProtoReflect ¶
func (x *UpdateManufacturingConfigRequest) ProtoReflect() protoreflect.Message
func (*UpdateManufacturingConfigRequest) Reset ¶
func (x *UpdateManufacturingConfigRequest) Reset()
func (*UpdateManufacturingConfigRequest) String ¶
func (x *UpdateManufacturingConfigRequest) String() string
type UpdateManufacturingConfigResponse ¶
type UpdateManufacturingConfigResponse struct { ChangeUrl string `protobuf:"bytes,1,opt,name=change_url,json=changeUrl,proto3" json:"change_url,omitempty"` // contains filtered or unexported fields }
func (*UpdateManufacturingConfigResponse) Descriptor
deprecated
func (*UpdateManufacturingConfigResponse) Descriptor() ([]byte, []int)
Deprecated: Use UpdateManufacturingConfigResponse.ProtoReflect.Descriptor instead.
func (*UpdateManufacturingConfigResponse) GetChangeUrl ¶
func (x *UpdateManufacturingConfigResponse) GetChangeUrl() string
func (*UpdateManufacturingConfigResponse) ProtoMessage ¶
func (*UpdateManufacturingConfigResponse) ProtoMessage()
func (*UpdateManufacturingConfigResponse) ProtoReflect ¶
func (x *UpdateManufacturingConfigResponse) ProtoReflect() protoreflect.Message
func (*UpdateManufacturingConfigResponse) Reset ¶
func (x *UpdateManufacturingConfigResponse) Reset()
func (*UpdateManufacturingConfigResponse) String ¶
func (x *UpdateManufacturingConfigResponse) String() string