Documentation
¶
Overview ¶
Package config contains the configurations for UFS service.
Index ¶
- Variables
- func Use(c context.Context, cfg *Config) context.Context
- type ACL
- type Config
- func (*Config) Descriptor() ([]byte, []int)deprecated
- func (x *Config) GetAcls() []*ACL
- func (x *Config) GetAllowUnrecognizedClients() bool
- func (x *Config) GetBucketName() string
- func (x *Config) GetClients() []*UserAgent
- func (x *Config) GetCrosInventoryHost() string
- func (x *Config) GetCrosNetworkConfig() *OSNetworkConfig
- func (x *Config) GetDeviceConfigsPushConfigs() *DeviceConfigPushConfigs
- func (x *Config) GetDisableCachedManufacturingConfig() booldeprecated
- func (x *Config) GetDisableInv2Sync() bool
- func (x *Config) GetEnableBoxsterLabels() bool
- func (x *Config) GetEnableDronequeenPush() booldeprecated
- func (x *Config) GetEnableLabStateconfigPush() bool
- func (x *Config) GetExperimentalAPI() *ExperimentalAPI
- func (x *Config) GetHart() *PubSub
- func (x *Config) GetHostname() string
- func (x *Config) GetHwidServiceAccount() string
- func (x *Config) GetHwidServiceTrafficRatio() float32
- func (x *Config) GetLuciConfigService() stringdeprecated
- func (x *Config) GetMachineDbConfigService() string
- func (x *Config) GetMachineDbHost() string
- func (x *Config) GetOwnershipConfig() *OwnershipConfig
- func (x *Config) GetPartnerACLGroups() []string
- func (x *Config) GetPartnerRPCAllowlist() []string
- func (x *Config) GetQueenService() string
- func (x *Config) GetSelfStorageBucket() string
- func (x *Config) GetSendMessagesToPubsubRatio() float32
- func (x *Config) GetSheetServiceAccount() string
- func (x *Config) GetSwarming() *Swarming
- func (x *Config) GetUseCachedHwidManufacturingConfig() booldeprecated
- func (*Config) ProtoMessage()
- func (x *Config) ProtoReflect() protoreflect.Message
- func (x *Config) Reset()
- func (x *Config) String() string
- type DeviceConfigPushConfigs
- func (*DeviceConfigPushConfigs) Descriptor() ([]byte, []int)deprecated
- func (x *DeviceConfigPushConfigs) GetCommittish() string
- func (x *DeviceConfigPushConfigs) GetConfigsPath() string
- func (x *DeviceConfigPushConfigs) GetEnabled() bool
- func (x *DeviceConfigPushConfigs) GetGitilesHost() string
- func (x *DeviceConfigPushConfigs) GetProject() string
- func (*DeviceConfigPushConfigs) ProtoMessage()
- func (x *DeviceConfigPushConfigs) ProtoReflect() protoreflect.Message
- func (x *DeviceConfigPushConfigs) Reset()
- func (x *DeviceConfigPushConfigs) String() string
- type ExperimentalAPI
- func (*ExperimentalAPI) Descriptor() ([]byte, []int)deprecated
- func (x *ExperimentalAPI) GetGetAssetACL() uint32
- func (x *ExperimentalAPI) GetGetDutStateACL() uint32
- func (x *ExperimentalAPI) GetGetMachineACL() uint32
- func (x *ExperimentalAPI) GetGetMachineLSEACL() uint32
- func (x *ExperimentalAPI) GetGetRackACL() uint32
- func (x *ExperimentalAPI) GetListAssetsACL() uint32
- func (x *ExperimentalAPI) GetListDutStatesACL() uint32
- func (x *ExperimentalAPI) GetListMachineLSEsACL() uint32
- func (x *ExperimentalAPI) GetListMachinesACL() uint32
- func (x *ExperimentalAPI) GetListRacksACL() uint32
- func (*ExperimentalAPI) ProtoMessage()
- func (x *ExperimentalAPI) ProtoReflect() protoreflect.Message
- func (x *ExperimentalAPI) Reset()
- func (x *ExperimentalAPI) String() string
- type Loader
- type OSNetworkConfig
- func (*OSNetworkConfig) Descriptor() ([]byte, []int)deprecated
- func (x *OSNetworkConfig) GetBranch() string
- func (x *OSNetworkConfig) GetCrosNetworkTopology() []*OSNetworkConfig_OSNetworkTopology
- func (x *OSNetworkConfig) GetGitilesHost() string
- func (x *OSNetworkConfig) GetProject() string
- func (*OSNetworkConfig) ProtoMessage()
- func (x *OSNetworkConfig) ProtoReflect() protoreflect.Message
- func (x *OSNetworkConfig) Reset()
- func (x *OSNetworkConfig) String() string
- type OSNetworkConfig_OSNetworkTopology
- func (*OSNetworkConfig_OSNetworkTopology) Descriptor() ([]byte, []int)deprecated
- func (x *OSNetworkConfig_OSNetworkTopology) GetName() string
- func (x *OSNetworkConfig_OSNetworkTopology) GetRemotePath() string
- func (x *OSNetworkConfig_OSNetworkTopology) GetSheetId() string
- func (*OSNetworkConfig_OSNetworkTopology) ProtoMessage()
- func (x *OSNetworkConfig_OSNetworkTopology) ProtoReflect() protoreflect.Message
- func (x *OSNetworkConfig_OSNetworkTopology) Reset()
- func (x *OSNetworkConfig_OSNetworkTopology) String() string
- type OwnershipConfig
- func (*OwnershipConfig) Descriptor() ([]byte, []int)deprecated
- func (x *OwnershipConfig) GetBranch() string
- func (x *OwnershipConfig) GetEncConfig() []*OwnershipConfig_ConfigFile
- func (x *OwnershipConfig) GetGitilesHost() string
- func (x *OwnershipConfig) GetProject() string
- func (x *OwnershipConfig) GetSecurityConfig() []*OwnershipConfig_ConfigFile
- func (*OwnershipConfig) ProtoMessage()
- func (x *OwnershipConfig) ProtoReflect() protoreflect.Message
- func (x *OwnershipConfig) Reset()
- func (x *OwnershipConfig) String() string
- type OwnershipConfig_ConfigFile
- func (*OwnershipConfig_ConfigFile) Descriptor() ([]byte, []int)deprecated
- func (x *OwnershipConfig_ConfigFile) GetName() string
- func (x *OwnershipConfig_ConfigFile) GetRemotePath() string
- func (*OwnershipConfig_ConfigFile) ProtoMessage()
- func (x *OwnershipConfig_ConfigFile) ProtoReflect() protoreflect.Message
- func (x *OwnershipConfig_ConfigFile) Reset()
- func (x *OwnershipConfig_ConfigFile) String() string
- type Provider
- type PubSub
- func (*PubSub) Descriptor() ([]byte, []int)deprecated
- func (x *PubSub) GetBatchSize() uint32
- func (x *PubSub) GetProject() string
- func (x *PubSub) GetTopic() string
- func (*PubSub) ProtoMessage()
- func (x *PubSub) ProtoReflect() protoreflect.Message
- func (x *PubSub) Reset()
- func (x *PubSub) String() string
- type Swarming
- type UserAgent
Constants ¶
This section is empty.
Variables ¶
var File_go_chromium_org_infra_unifiedfleet_app_config_config_proto protoreflect.FileDescriptor
Functions ¶
Types ¶
type ACL ¶
type ACL struct { // match is a regular expression to match for this ACL Match string `protobuf:"bytes,1,opt,name=match,proto3" json:"match,omitempty"` // groups is a list of groups that are allowed for this ACL Groups []string `protobuf:"bytes,2,rep,name=groups,proto3" json:"groups,omitempty"` // contains filtered or unexported fields }
func (*ACL) Descriptor
deprecated
func (*ACL) ProtoMessage ¶
func (*ACL) ProtoMessage()
func (*ACL) ProtoReflect ¶
func (x *ACL) ProtoReflect() protoreflect.Message
type Config ¶
type Config struct { // Deprecated: Marked as deprecated in go.chromium.org/infra/unifiedfleet/app/config/config.proto. LuciConfigService string `protobuf:"bytes,1,opt,name=luci_config_service,json=luciConfigService,proto3" json:"luci_config_service,omitempty"` CrosNetworkConfig *OSNetworkConfig `protobuf:"bytes,2,opt,name=cros_network_config,json=crosNetworkConfig,proto3" json:"cros_network_config,omitempty"` BucketName string `protobuf:"bytes,3,opt,name=bucket_name,json=bucketName,proto3" json:"bucket_name,omitempty"` MachineDbConfigService string `` /* 131-byte string literal not displayed */ MachineDbHost string `protobuf:"bytes,7,opt,name=machine_db_host,json=machineDbHost,proto3" json:"machine_db_host,omitempty"` CrosInventoryHost string `protobuf:"bytes,5,opt,name=cros_inventory_host,json=crosInventoryHost,proto3" json:"cros_inventory_host,omitempty"` SelfStorageBucket string `protobuf:"bytes,6,opt,name=self_storage_bucket,json=selfStorageBucket,proto3" json:"self_storage_bucket,omitempty"` Hart *PubSub `protobuf:"bytes,8,opt,name=hart,proto3" json:"hart,omitempty"` SheetServiceAccount string `protobuf:"bytes,9,opt,name=sheet_service_account,json=sheetServiceAccount,proto3" json:"sheet_service_account,omitempty"` // The hostname of drone-queen service to push inventory to. QueenService string `protobuf:"bytes,10,opt,name=queen_service,json=queenService,proto3" json:"queen_service,omitempty"` // cron job for dronequeen push. // As UFS migration is over, this is no longer used. // // Deprecated: Marked as deprecated in go.chromium.org/infra/unifiedfleet/app/config/config.proto. EnableDronequeenPush bool `protobuf:"varint,11,opt,name=enable_dronequeen_push,json=enableDronequeenPush,proto3" json:"enable_dronequeen_push,omitempty"` // cron job for Inv2 to UFS sync(MachineLSE/Asset). DisableInv2Sync bool `protobuf:"varint,12,opt,name=disable_inv2_sync,json=disableInv2Sync,proto3" json:"disable_inv2_sync,omitempty"` // cron job for UFS to IV2(lab and stateconfig) BQ push. EnableLabStateconfigPush bool `` /* 139-byte string literal not displayed */ // DEPRECATED. Disable use of cached ManufacturingConfig in datastore. If // true, GetChromeOSDeviceData will return None for ManufacturingConfig. // // Deprecated: Marked as deprecated in go.chromium.org/infra/unifiedfleet/app/config/config.proto. DisableCachedManufacturingConfig bool `` /* 163-byte string literal not displayed */ // DEPRECATED. Disable use of old cached manufacturing configs from the // datastore and use configs cached from HWID server instead. If true, // GetChromeOSDeviceData will return None for ManufacturingConfig. // // Deprecated: Marked as deprecated in go.chromium.org/infra/unifiedfleet/app/config/config.proto. UseCachedHwidManufacturingConfig bool `` /* 165-byte string literal not displayed */ // Enable generation of schedulable labels using Boxster configs. EnableBoxsterLabels bool `protobuf:"varint,16,opt,name=enable_boxster_labels,json=enableBoxsterLabels,proto3" json:"enable_boxster_labels,omitempty"` // Service account for accessing HWID server HwidServiceAccount string `protobuf:"bytes,17,opt,name=hwid_service_account,json=hwidServiceAccount,proto3" json:"hwid_service_account,omitempty"` // Limit for throttling traffic to HWID server HwidServiceTrafficRatio float32 `` /* 137-byte string literal not displayed */ // Allowed clients for UFS Clients []*UserAgent `protobuf:"bytes,19,rep,name=clients,proto3" json:"clients,omitempty"` // Allow unrecognized clients AllowUnrecognizedClients bool `` /* 137-byte string literal not displayed */ // Ownership config files OwnershipConfig *OwnershipConfig `protobuf:"bytes,21,opt,name=ownership_config,json=ownershipConfig,proto3" json:"ownership_config,omitempty"` // RPC acls Acls []*ACL `protobuf:"bytes,22,rep,name=acls,proto3" json:"acls,omitempty"` // Float to limit pubsub calls to a specific amount of traffic. SendMessagesToPubsubRatio float32 `` /* 145-byte string literal not displayed */ // DeviceConfigs push configs DeviceConfigsPushConfigs *DeviceConfigPushConfigs `` /* 138-byte string literal not displayed */ // DNS resolved hostname to reach the ufs service Hostname string `protobuf:"bytes,25,opt,name=hostname,proto3" json:"hostname,omitempty"` // ExperimentalAPI is for determining the experimental percentage for new API ExperimentalAPI *ExperimentalAPI `protobuf:"bytes,26,opt,name=experimentalAPI,proto3" json:"experimentalAPI,omitempty"` // Groups which indicate the caller is a partner PartnerACLGroups []string `protobuf:"bytes,27,rep,name=partnerACLGroups,proto3" json:"partnerACLGroups,omitempty"` // Methods which have no restrictions on namespace used PartnerRPCAllowlist []string `protobuf:"bytes,28,rep,name=partnerRPCAllowlist,proto3" json:"partnerRPCAllowlist,omitempty"` // Swarming contains information about the Swarming instance that hosts the // bots managed by this app. Swarming *Swarming `protobuf:"bytes,29,opt,name=swarming,proto3" json:"swarming,omitempty"` // contains filtered or unexported fields }
Next Tag: 30 Config is the configuration data served by luci-config for this app.
func (*Config) Descriptor
deprecated
func (*Config) GetAllowUnrecognizedClients ¶
func (*Config) GetBucketName ¶
func (*Config) GetClients ¶
func (*Config) GetCrosInventoryHost ¶
func (*Config) GetCrosNetworkConfig ¶
func (x *Config) GetCrosNetworkConfig() *OSNetworkConfig
func (*Config) GetDeviceConfigsPushConfigs ¶
func (x *Config) GetDeviceConfigsPushConfigs() *DeviceConfigPushConfigs
func (*Config) GetDisableCachedManufacturingConfig
deprecated
func (*Config) GetDisableInv2Sync ¶
func (*Config) GetEnableBoxsterLabels ¶
func (*Config) GetEnableDronequeenPush
deprecated
func (*Config) GetEnableLabStateconfigPush ¶
func (*Config) GetExperimentalAPI ¶
func (x *Config) GetExperimentalAPI() *ExperimentalAPI
func (*Config) GetHostname ¶
func (*Config) GetHwidServiceAccount ¶
func (*Config) GetHwidServiceTrafficRatio ¶
func (*Config) GetLuciConfigService
deprecated
func (*Config) GetMachineDbConfigService ¶
func (*Config) GetMachineDbHost ¶
func (*Config) GetOwnershipConfig ¶
func (x *Config) GetOwnershipConfig() *OwnershipConfig
func (*Config) GetPartnerACLGroups ¶
func (*Config) GetPartnerRPCAllowlist ¶
func (*Config) GetQueenService ¶
func (*Config) GetSelfStorageBucket ¶
func (*Config) GetSendMessagesToPubsubRatio ¶
func (*Config) GetSheetServiceAccount ¶
func (*Config) GetSwarming ¶
func (*Config) GetUseCachedHwidManufacturingConfig
deprecated
func (*Config) ProtoMessage ¶
func (*Config) ProtoMessage()
func (*Config) ProtoReflect ¶
func (x *Config) ProtoReflect() protoreflect.Message
type DeviceConfigPushConfigs ¶
type DeviceConfigPushConfigs struct { // if disabled, job will be a no-op Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"` // hostname of target gitiles (ex. `chrome-internal.googlesource.com`) GitilesHost string `protobuf:"bytes,2,opt,name=gitiles_host,json=gitilesHost,proto3" json:"gitiles_host,omitempty"` // project/repo name to fetch from (ex. `chromeos/infra/config) Project string `protobuf:"bytes,3,opt,name=project,proto3" json:"project,omitempty"` // Commit hash or branch to check out (ex. `refs/head/main`) Committish string `protobuf:"bytes,4,opt,name=committish,proto3" json:"committish,omitempty"` // Path containing the configs file (ex. `path/configs.cfg`) ConfigsPath string `protobuf:"bytes,5,opt,name=configs_path,json=configsPath,proto3" json:"configs_path,omitempty"` // contains filtered or unexported fields }
func (*DeviceConfigPushConfigs) Descriptor
deprecated
func (*DeviceConfigPushConfigs) Descriptor() ([]byte, []int)
Deprecated: Use DeviceConfigPushConfigs.ProtoReflect.Descriptor instead.
func (*DeviceConfigPushConfigs) GetCommittish ¶
func (x *DeviceConfigPushConfigs) GetCommittish() string
func (*DeviceConfigPushConfigs) GetConfigsPath ¶
func (x *DeviceConfigPushConfigs) GetConfigsPath() string
func (*DeviceConfigPushConfigs) GetEnabled ¶
func (x *DeviceConfigPushConfigs) GetEnabled() bool
func (*DeviceConfigPushConfigs) GetGitilesHost ¶
func (x *DeviceConfigPushConfigs) GetGitilesHost() string
func (*DeviceConfigPushConfigs) GetProject ¶
func (x *DeviceConfigPushConfigs) GetProject() string
func (*DeviceConfigPushConfigs) ProtoMessage ¶
func (*DeviceConfigPushConfigs) ProtoMessage()
func (*DeviceConfigPushConfigs) ProtoReflect ¶
func (x *DeviceConfigPushConfigs) ProtoReflect() protoreflect.Message
func (*DeviceConfigPushConfigs) Reset ¶
func (x *DeviceConfigPushConfigs) Reset()
func (*DeviceConfigPushConfigs) String ¶
func (x *DeviceConfigPushConfigs) String() string
type ExperimentalAPI ¶
type ExperimentalAPI struct { // ListAssetsACL determines the experimental percentage for the experiment ListAssetsACL uint32 `protobuf:"varint,1,opt,name=ListAssetsACL,proto3" json:"ListAssetsACL,omitempty"` // ListMachinesACL determines the experimental percentage for the experiment ListMachinesACL uint32 `protobuf:"varint,2,opt,name=ListMachinesACL,proto3" json:"ListMachinesACL,omitempty"` // GetMachineACL determines the experimental percentage for the experiment GetMachineACL uint32 `protobuf:"varint,3,opt,name=GetMachineACL,proto3" json:"GetMachineACL,omitempty"` // ListMachineLSEsACL determines the experimental percentage for the API ListMachineLSEsACL uint32 `protobuf:"varint,4,opt,name=ListMachineLSEsACL,proto3" json:"ListMachineLSEsACL,omitempty"` // GetAssetACL determines the experimental percentage for the API GetAssetACL uint32 `protobuf:"varint,5,opt,name=GetAssetACL,proto3" json:"GetAssetACL,omitempty"` // GetMachineLSEACL determines the experimental percentage for the API GetMachineLSEACL uint32 `protobuf:"varint,6,opt,name=GetMachineLSEACL,proto3" json:"GetMachineLSEACL,omitempty"` // ListRacksACL determines the experimental percentage for the API ListRacksACL uint32 `protobuf:"varint,7,opt,name=ListRacksACL,proto3" json:"ListRacksACL,omitempty"` // GetRackACL determines the experimental percental for the API GetRackACL uint32 `protobuf:"varint,8,opt,name=GetRackACL,proto3" json:"GetRackACL,omitempty"` // GetDutStateACL determines the experimental percentage for the API GetDutStateACL uint32 `protobuf:"varint,9,opt,name=GetDutStateACL,proto3" json:"GetDutStateACL,omitempty"` // ListDutStatesACL determines the experimental percentage for the API ListDutStatesACL uint32 `protobuf:"varint,10,opt,name=ListDutStatesACL,proto3" json:"ListDutStatesACL,omitempty"` // contains filtered or unexported fields }
ExperimentalAPI is to be used to set the experimental percentages for the API Each entry should be of uint32 type. Please deprecate the field once your API is fully released.
func (*ExperimentalAPI) Descriptor
deprecated
func (*ExperimentalAPI) Descriptor() ([]byte, []int)
Deprecated: Use ExperimentalAPI.ProtoReflect.Descriptor instead.
func (*ExperimentalAPI) GetGetAssetACL ¶
func (x *ExperimentalAPI) GetGetAssetACL() uint32
func (*ExperimentalAPI) GetGetDutStateACL ¶
func (x *ExperimentalAPI) GetGetDutStateACL() uint32
func (*ExperimentalAPI) GetGetMachineACL ¶
func (x *ExperimentalAPI) GetGetMachineACL() uint32
func (*ExperimentalAPI) GetGetMachineLSEACL ¶
func (x *ExperimentalAPI) GetGetMachineLSEACL() uint32
func (*ExperimentalAPI) GetGetRackACL ¶
func (x *ExperimentalAPI) GetGetRackACL() uint32
func (*ExperimentalAPI) GetListAssetsACL ¶
func (x *ExperimentalAPI) GetListAssetsACL() uint32
func (*ExperimentalAPI) GetListDutStatesACL ¶
func (x *ExperimentalAPI) GetListDutStatesACL() uint32
func (*ExperimentalAPI) GetListMachineLSEsACL ¶
func (x *ExperimentalAPI) GetListMachineLSEsACL() uint32
func (*ExperimentalAPI) GetListMachinesACL ¶
func (x *ExperimentalAPI) GetListMachinesACL() uint32
func (*ExperimentalAPI) GetListRacksACL ¶
func (x *ExperimentalAPI) GetListRacksACL() uint32
func (*ExperimentalAPI) ProtoMessage ¶
func (*ExperimentalAPI) ProtoMessage()
func (*ExperimentalAPI) ProtoReflect ¶
func (x *ExperimentalAPI) ProtoReflect() protoreflect.Message
func (*ExperimentalAPI) Reset ¶
func (x *ExperimentalAPI) Reset()
func (*ExperimentalAPI) String ¶
func (x *ExperimentalAPI) String() string
type Loader ¶
type Loader struct { ConfigPath string // path to the config file, set via -config-path // contains filtered or unexported fields }
Loader periodically rereads the config file from disk (GKE) and injects it into the request context.
Intended for GKE environment where the config is distributed as k8s ConfigMap object.
func (*Loader) RegisterFlags ¶
RegisterFlags registers CLI flags.
func (*Loader) ReloadLoop ¶
ReloadLoop periodically reloads the config file until the context is canceled.
type OSNetworkConfig ¶
type OSNetworkConfig struct { GitilesHost string `protobuf:"bytes,1,opt,name=gitiles_host,json=gitilesHost,proto3" json:"gitiles_host,omitempty"` Project string `protobuf:"bytes,2,opt,name=project,proto3" json:"project,omitempty"` Branch string `protobuf:"bytes,3,opt,name=branch,proto3" json:"branch,omitempty"` CrosNetworkTopology []*OSNetworkConfig_OSNetworkTopology `protobuf:"bytes,4,rep,name=cros_network_topology,json=crosNetworkTopology,proto3" json:"cros_network_topology,omitempty"` // contains filtered or unexported fields }
func (*OSNetworkConfig) Descriptor
deprecated
func (*OSNetworkConfig) Descriptor() ([]byte, []int)
Deprecated: Use OSNetworkConfig.ProtoReflect.Descriptor instead.
func (*OSNetworkConfig) GetBranch ¶
func (x *OSNetworkConfig) GetBranch() string
func (*OSNetworkConfig) GetCrosNetworkTopology ¶
func (x *OSNetworkConfig) GetCrosNetworkTopology() []*OSNetworkConfig_OSNetworkTopology
func (*OSNetworkConfig) GetGitilesHost ¶
func (x *OSNetworkConfig) GetGitilesHost() string
func (*OSNetworkConfig) GetProject ¶
func (x *OSNetworkConfig) GetProject() string
func (*OSNetworkConfig) ProtoMessage ¶
func (*OSNetworkConfig) ProtoMessage()
func (*OSNetworkConfig) ProtoReflect ¶
func (x *OSNetworkConfig) ProtoReflect() protoreflect.Message
func (*OSNetworkConfig) Reset ¶
func (x *OSNetworkConfig) Reset()
func (*OSNetworkConfig) String ¶
func (x *OSNetworkConfig) String() string
type OSNetworkConfig_OSNetworkTopology ¶
type OSNetworkConfig_OSNetworkTopology struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` RemotePath string `protobuf:"bytes,2,opt,name=remote_path,json=remotePath,proto3" json:"remote_path,omitempty"` SheetId string `protobuf:"bytes,3,opt,name=sheet_id,json=sheetId,proto3" json:"sheet_id,omitempty"` // contains filtered or unexported fields }
func (*OSNetworkConfig_OSNetworkTopology) Descriptor
deprecated
func (*OSNetworkConfig_OSNetworkTopology) Descriptor() ([]byte, []int)
Deprecated: Use OSNetworkConfig_OSNetworkTopology.ProtoReflect.Descriptor instead.
func (*OSNetworkConfig_OSNetworkTopology) GetName ¶
func (x *OSNetworkConfig_OSNetworkTopology) GetName() string
func (*OSNetworkConfig_OSNetworkTopology) GetRemotePath ¶
func (x *OSNetworkConfig_OSNetworkTopology) GetRemotePath() string
func (*OSNetworkConfig_OSNetworkTopology) GetSheetId ¶
func (x *OSNetworkConfig_OSNetworkTopology) GetSheetId() string
func (*OSNetworkConfig_OSNetworkTopology) ProtoMessage ¶
func (*OSNetworkConfig_OSNetworkTopology) ProtoMessage()
func (*OSNetworkConfig_OSNetworkTopology) ProtoReflect ¶
func (x *OSNetworkConfig_OSNetworkTopology) ProtoReflect() protoreflect.Message
func (*OSNetworkConfig_OSNetworkTopology) Reset ¶
func (x *OSNetworkConfig_OSNetworkTopology) Reset()
func (*OSNetworkConfig_OSNetworkTopology) String ¶
func (x *OSNetworkConfig_OSNetworkTopology) String() string
type OwnershipConfig ¶
type OwnershipConfig struct { // Git host where the config files should be read from. Ex: chrome-internal.googlesource.com. GitilesHost string `protobuf:"bytes,1,opt,name=gitiles_host,json=gitilesHost,proto3" json:"gitiles_host,omitempty"` // Project for the config files. Ex: infradata/config. Project string `protobuf:"bytes,2,opt,name=project,proto3" json:"project,omitempty"` // Git branch from which the files should be fetched. Ex: master, main etc Branch string `protobuf:"bytes,3,opt,name=branch,proto3" json:"branch,omitempty"` // LUCI bot config file for ENC EncConfig []*OwnershipConfig_ConfigFile `protobuf:"bytes,4,rep,name=enc_config,json=encConfig,proto3" json:"enc_config,omitempty"` // LUCI UFS security config file SecurityConfig []*OwnershipConfig_ConfigFile `protobuf:"bytes,5,rep,name=security_config,json=securityConfig,proto3" json:"security_config,omitempty"` // contains filtered or unexported fields }
func (*OwnershipConfig) Descriptor
deprecated
func (*OwnershipConfig) Descriptor() ([]byte, []int)
Deprecated: Use OwnershipConfig.ProtoReflect.Descriptor instead.
func (*OwnershipConfig) GetBranch ¶
func (x *OwnershipConfig) GetBranch() string
func (*OwnershipConfig) GetEncConfig ¶
func (x *OwnershipConfig) GetEncConfig() []*OwnershipConfig_ConfigFile
func (*OwnershipConfig) GetGitilesHost ¶
func (x *OwnershipConfig) GetGitilesHost() string
func (*OwnershipConfig) GetProject ¶
func (x *OwnershipConfig) GetProject() string
func (*OwnershipConfig) GetSecurityConfig ¶
func (x *OwnershipConfig) GetSecurityConfig() []*OwnershipConfig_ConfigFile
func (*OwnershipConfig) ProtoMessage ¶
func (*OwnershipConfig) ProtoMessage()
func (*OwnershipConfig) ProtoReflect ¶
func (x *OwnershipConfig) ProtoReflect() protoreflect.Message
func (*OwnershipConfig) Reset ¶
func (x *OwnershipConfig) Reset()
func (*OwnershipConfig) String ¶
func (x *OwnershipConfig) String() string
type OwnershipConfig_ConfigFile ¶
type OwnershipConfig_ConfigFile struct { // Name of the config file Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Config file location in the given project RemotePath string `protobuf:"bytes,2,opt,name=remote_path,json=remotePath,proto3" json:"remote_path,omitempty"` // contains filtered or unexported fields }
func (*OwnershipConfig_ConfigFile) Descriptor
deprecated
func (*OwnershipConfig_ConfigFile) Descriptor() ([]byte, []int)
Deprecated: Use OwnershipConfig_ConfigFile.ProtoReflect.Descriptor instead.
func (*OwnershipConfig_ConfigFile) GetName ¶
func (x *OwnershipConfig_ConfigFile) GetName() string
func (*OwnershipConfig_ConfigFile) GetRemotePath ¶
func (x *OwnershipConfig_ConfigFile) GetRemotePath() string
func (*OwnershipConfig_ConfigFile) ProtoMessage ¶
func (*OwnershipConfig_ConfigFile) ProtoMessage()
func (*OwnershipConfig_ConfigFile) ProtoReflect ¶
func (x *OwnershipConfig_ConfigFile) ProtoReflect() protoreflect.Message
func (*OwnershipConfig_ConfigFile) Reset ¶
func (x *OwnershipConfig_ConfigFile) Reset()
func (*OwnershipConfig_ConfigFile) String ¶
func (x *OwnershipConfig_ConfigFile) String() string
type Provider ¶
type Provider func() *Config
Provider returns the current non-nil config when called.
type PubSub ¶
type PubSub struct { Project string `protobuf:"bytes,1,opt,name=project,proto3" json:"project,omitempty"` Topic string `protobuf:"bytes,2,opt,name=topic,proto3" json:"topic,omitempty"` // Batch size for batching publish requests for asset_info update. HaRT // services have been known to fail for batch_size > 100. Changing this // value might disable HaRT updates. BatchSize uint32 `protobuf:"varint,3,opt,name=batch_size,json=batchSize,proto3" json:"batch_size,omitempty"` // contains filtered or unexported fields }
func (*PubSub) Descriptor
deprecated
func (*PubSub) GetBatchSize ¶
func (*PubSub) GetProject ¶
func (*PubSub) ProtoMessage ¶
func (*PubSub) ProtoMessage()
func (*PubSub) ProtoReflect ¶
func (x *PubSub) ProtoReflect() protoreflect.Message
type Swarming ¶
type Swarming struct { // Host is the swarming instance hosting skylab bots. Host string `protobuf:"bytes,1,opt,name=host,proto3" json:"host,omitempty"` // BotPool is the swarming pool containing skylab bots. BotPool string `protobuf:"bytes,2,opt,name=bot_pool,json=botPool,proto3" json:"bot_pool,omitempty"` // contains filtered or unexported fields }
Next Tag: 2 Swarming contains information about the Swarming instance for metric collection. Only ChromeOSSkylab bots from chromeos-swarming will be read. Copied from infra/appengine/crosskylabadmin/internal/app/config/config.proto
func (*Swarming) Descriptor
deprecated
func (*Swarming) GetBotPool ¶
func (*Swarming) ProtoMessage ¶
func (*Swarming) ProtoMessage()
func (*Swarming) ProtoReflect ¶
func (x *Swarming) ProtoReflect() protoreflect.Message
type UserAgent ¶
type UserAgent struct { // Name of the user agent, Ex: shivas, pRPC Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Minimum version supported by UFS Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"` // contains filtered or unexported fields }
Next Tag: 3 UserAgent is used to configure what agents can talk to UFS
func (*UserAgent) Descriptor
deprecated
func (*UserAgent) GetVersion ¶
func (*UserAgent) ProtoMessage ¶
func (*UserAgent) ProtoMessage()
func (*UserAgent) ProtoReflect ¶
func (x *UserAgent) ProtoReflect() protoreflect.Message