Documentation ¶
Index ¶
- Variables
- type BuilderConfig
- func (*BuilderConfig) Descriptor() ([]byte, []int)deprecated
- func (x *BuilderConfig) GetBuildTarget() *api.SystemImage_BuildTarget
- func (x *BuilderConfig) GetCritical() bool
- func (*BuilderConfig) ProtoMessage()
- func (x *BuilderConfig) ProtoReflect() protoreflect.Message
- func (x *BuilderConfig) Reset()
- func (x *BuilderConfig) String() string
- type Channel
- type Channel_Type
- func (Channel_Type) Descriptor() protoreflect.EnumDescriptor
- func (x Channel_Type) Enum() *Channel_Type
- func (Channel_Type) EnumDescriptor() ([]byte, []int)deprecated
- func (x Channel_Type) Number() protoreflect.EnumNumber
- func (x Channel_Type) String() string
- func (Channel_Type) Type() protoreflect.EnumType
- type Client
- type ClientId
- type ClientProfile
- func (*ClientProfile) Descriptor() ([]byte, []int)deprecated
- func (x *ClientProfile) GetId() *ClientProfileId
- func (x *ClientProfile) GetName() string
- func (x *ClientProfile) GetTestPlatformProfile() *TestPlatformProfile
- func (*ClientProfile) ProtoMessage()
- func (x *ClientProfile) ProtoReflect() protoreflect.Message
- func (x *ClientProfile) Reset()
- func (x *ClientProfile) String() string
- type ClientProfileId
- func (*ClientProfileId) Descriptor() ([]byte, []int)deprecated
- func (x *ClientProfileId) GetClientId() *ClientId
- func (x *ClientProfileId) GetId() string
- func (*ClientProfileId) ProtoMessage()
- func (x *ClientProfileId) ProtoReflect() protoreflect.Message
- func (x *ClientProfileId) Reset()
- func (x *ClientProfileId) String() string
- type ConfigBundle
- func (*ConfigBundle) Descriptor() ([]byte, []int)deprecated
- func (x *ConfigBundle) GetClientProfiles() []*ClientProfile
- func (x *ConfigBundle) GetClients() []*Client
- func (x *ConfigBundle) GetDesignProjects() []*DesignProject
- func (x *ConfigBundle) GetMilestones() []*Milestone
- func (*ConfigBundle) ProtoMessage()
- func (x *ConfigBundle) ProtoReflect() protoreflect.Message
- func (x *ConfigBundle) Reset()
- func (x *ConfigBundle) String() string
- type DesignProject
- func (*DesignProject) Descriptor() ([]byte, []int)deprecated
- func (x *DesignProject) GetConfigPath() string
- func (x *DesignProject) GetFactoryConfig() *DesignProject_FactoryConfig
- func (x *DesignProject) GetFirmwareConfig() *DesignProject_FirmwareConfig
- func (x *DesignProject) GetGsBucket() string
- func (x *DesignProject) GetName() string
- func (x *DesignProject) GetRepo() string
- func (x *DesignProject) GetRepoManifestPath() string
- func (x *DesignProject) GetSigningConfig() *DesignProject_SigningConfig
- func (*DesignProject) ProtoMessage()
- func (x *DesignProject) ProtoReflect() protoreflect.Message
- func (x *DesignProject) Reset()
- func (x *DesignProject) String() string
- type DesignProject_FactoryConfig
- func (*DesignProject_FactoryConfig) Descriptor() ([]byte, []int)deprecated
- func (x *DesignProject_FactoryConfig) GetFactoryBranch() string
- func (x *DesignProject_FactoryConfig) GetHwidProjectKey() string
- func (*DesignProject_FactoryConfig) ProtoMessage()
- func (x *DesignProject_FactoryConfig) ProtoReflect() protoreflect.Message
- func (x *DesignProject_FactoryConfig) Reset()
- func (x *DesignProject_FactoryConfig) String() string
- type DesignProject_FirmwareConfig
- func (*DesignProject_FirmwareConfig) Descriptor() ([]byte, []int)deprecated
- func (x *DesignProject_FirmwareConfig) GetFirmwareBranch() string
- func (*DesignProject_FirmwareConfig) ProtoMessage()
- func (x *DesignProject_FirmwareConfig) ProtoReflect() protoreflect.Message
- func (x *DesignProject_FirmwareConfig) Reset()
- func (x *DesignProject_FirmwareConfig) String() string
- type DesignProject_SigningConfig
- func (*DesignProject_SigningConfig) Descriptor() ([]byte, []int)deprecated
- func (x *DesignProject_SigningConfig) GetBrandIdToKey() map[string]string
- func (*DesignProject_SigningConfig) ProtoMessage()
- func (x *DesignProject_SigningConfig) ProtoReflect() protoreflect.Message
- func (x *DesignProject_SigningConfig) Reset()
- func (x *DesignProject_SigningConfig) String() string
- type Milestone
- func (*Milestone) Descriptor() ([]byte, []int)deprecated
- func (x *Milestone) GetBranchName() string
- func (x *Milestone) GetBuilderConfigs() []*BuilderConfig
- func (x *Milestone) GetChannelPlan() []*Milestone_ChannelPlan
- func (x *Milestone) GetNumber() int32
- func (x *Milestone) GetTargetBranchDate() *Milestone_Date
- func (*Milestone) ProtoMessage()
- func (x *Milestone) ProtoReflect() protoreflect.Message
- func (x *Milestone) Reset()
- func (x *Milestone) String() string
- type Milestone_ChannelPlan
- func (*Milestone_ChannelPlan) Descriptor() ([]byte, []int)deprecated
- func (x *Milestone_ChannelPlan) GetChannel() *Channel
- func (x *Milestone_ChannelPlan) GetTargetReleaseDate() *Milestone_Date
- func (*Milestone_ChannelPlan) ProtoMessage()
- func (x *Milestone_ChannelPlan) ProtoReflect() protoreflect.Message
- func (x *Milestone_ChannelPlan) Reset()
- func (x *Milestone_ChannelPlan) String() string
- type Milestone_Date
- type MonitoringProfile
- func (*MonitoringProfile) Descriptor() ([]byte, []int)deprecated
- func (x *MonitoringProfile) GetTestPlatformAlertingThresholds() *TestPlatformAlertingThresholds
- func (*MonitoringProfile) ProtoMessage()
- func (x *MonitoringProfile) ProtoReflect() protoreflect.Message
- func (x *MonitoringProfile) Reset()
- func (x *MonitoringProfile) String() string
- type RetryProfile
- func (*RetryProfile) Descriptor() ([]byte, []int)deprecated
- func (x *RetryProfile) GetAllow() bool
- func (x *RetryProfile) GetMax() uint32
- func (*RetryProfile) ProtoMessage()
- func (x *RetryProfile) ProtoReflect() protoreflect.Message
- func (x *RetryProfile) Reset()
- func (x *RetryProfile) String() string
- type SchedulerProfile
- func (*SchedulerProfile) Descriptor() ([]byte, []int)deprecated
- func (x *SchedulerProfile) GetPools() []string
- func (x *SchedulerProfile) GetPriority() uint32
- func (m *SchedulerProfile) GetQosChannel() isSchedulerProfile_QosChannel
- func (x *SchedulerProfile) GetQuotaAccount() string
- func (*SchedulerProfile) ProtoMessage()
- func (x *SchedulerProfile) ProtoReflect() protoreflect.Message
- func (x *SchedulerProfile) Reset()
- func (x *SchedulerProfile) String() string
- type SchedulerProfile_Priority
- type SchedulerProfile_QuotaAccount
- type TestPlatformAlertingThresholds
- func (*TestPlatformAlertingThresholds) Descriptor() ([]byte, []int)deprecated
- func (*TestPlatformAlertingThresholds) ProtoMessage()
- func (x *TestPlatformAlertingThresholds) ProtoReflect() protoreflect.Message
- func (x *TestPlatformAlertingThresholds) Reset()
- func (x *TestPlatformAlertingThresholds) String() string
- type TestPlatformProfile
- func (*TestPlatformProfile) Descriptor() ([]byte, []int)deprecated
- func (x *TestPlatformProfile) GetMonitoring() *MonitoringProfile
- func (x *TestPlatformProfile) GetRetry() *RetryProfile
- func (x *TestPlatformProfile) GetScheduler() *SchedulerProfile
- func (x *TestPlatformProfile) GetTimeout() *TimeoutProfile
- func (*TestPlatformProfile) ProtoMessage()
- func (x *TestPlatformProfile) ProtoReflect() protoreflect.Message
- func (x *TestPlatformProfile) Reset()
- func (x *TestPlatformProfile) String() string
- type TimeoutProfile
- func (*TimeoutProfile) Descriptor() ([]byte, []int)deprecated
- func (x *TimeoutProfile) GetMaximumDuration() *durationpb.Duration
- func (*TimeoutProfile) ProtoMessage()
- func (x *TimeoutProfile) ProtoReflect() protoreflect.Message
- func (x *TimeoutProfile) Reset()
- func (x *TimeoutProfile) String() string
Constants ¶
This section is empty.
Variables ¶
var ( Channel_Type_name = map[int32]string{ 0: "TYPE_UNSPECIFIED", 1: "CANARY", 2: "DEV", 3: "BETA", 4: "STABLE", } Channel_Type_value = map[string]int32{ "TYPE_UNSPECIFIED": 0, "CANARY": 1, "DEV": 2, "BETA": 3, "STABLE": 4, } )
Enum value maps for Channel_Type.
var File_prototype_builder_config_proto protoreflect.FileDescriptor
var File_prototype_channel_proto protoreflect.FileDescriptor
var File_prototype_client_id_proto protoreflect.FileDescriptor
var File_prototype_client_profile_id_proto protoreflect.FileDescriptor
var File_prototype_client_profile_proto protoreflect.FileDescriptor
var File_prototype_client_proto protoreflect.FileDescriptor
var File_prototype_config_bundle_proto protoreflect.FileDescriptor
var File_prototype_design_project_proto protoreflect.FileDescriptor
var File_prototype_milestone_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type BuilderConfig ¶
type BuilderConfig struct { // Whether this builder should be considered criticial. Critical bool `protobuf:"varint,1,opt,name=critical,proto3" json:"critical,omitempty"` // Defines the build target for this builder config. BuildTarget *api.SystemImage_BuildTarget `protobuf:"bytes,2,opt,name=build_target,json=buildTarget,proto3" json:"build_target,omitempty"` // contains filtered or unexported fields }
Defines a builder from platform's point of view.
func (*BuilderConfig) Descriptor
deprecated
func (*BuilderConfig) Descriptor() ([]byte, []int)
Deprecated: Use BuilderConfig.ProtoReflect.Descriptor instead.
func (*BuilderConfig) GetBuildTarget ¶
func (x *BuilderConfig) GetBuildTarget() *api.SystemImage_BuildTarget
func (*BuilderConfig) GetCritical ¶
func (x *BuilderConfig) GetCritical() bool
func (*BuilderConfig) ProtoMessage ¶
func (*BuilderConfig) ProtoMessage()
func (*BuilderConfig) ProtoReflect ¶
func (x *BuilderConfig) ProtoReflect() protoreflect.Message
func (*BuilderConfig) Reset ¶
func (x *BuilderConfig) Reset()
func (*BuilderConfig) String ¶
func (x *BuilderConfig) String() string
type Channel ¶
type Channel struct { Type Channel_Type `protobuf:"varint,1,opt,name=type,proto3,enum=prototype.Channel_Type" json:"type,omitempty"` // contains filtered or unexported fields }
func (*Channel) Descriptor
deprecated
func (*Channel) GetType ¶
func (x *Channel) GetType() Channel_Type
func (*Channel) ProtoMessage ¶
func (*Channel) ProtoMessage()
func (*Channel) ProtoReflect ¶
func (x *Channel) ProtoReflect() protoreflect.Message
type Channel_Type ¶
type Channel_Type int32
const ( Channel_TYPE_UNSPECIFIED Channel_Type = 0 Channel_CANARY Channel_Type = 1 Channel_DEV Channel_Type = 2 Channel_BETA Channel_Type = 3 Channel_STABLE Channel_Type = 4 )
func (Channel_Type) Descriptor ¶
func (Channel_Type) Descriptor() protoreflect.EnumDescriptor
func (Channel_Type) Enum ¶
func (x Channel_Type) Enum() *Channel_Type
func (Channel_Type) EnumDescriptor
deprecated
func (Channel_Type) EnumDescriptor() ([]byte, []int)
Deprecated: Use Channel_Type.Descriptor instead.
func (Channel_Type) Number ¶
func (x Channel_Type) Number() protoreflect.EnumNumber
func (Channel_Type) String ¶
func (x Channel_Type) String() string
func (Channel_Type) Type ¶
func (Channel_Type) Type() protoreflect.EnumType
type Client ¶
type Client struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Id *ClientId `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
Client concept represents an end-user infra service that users interact with directly. e.g: CQ, Release testing. ClientId proto and companion protos are used for two purposes:
Coordinate configs across different internal sub services to achieve a certain property that's required by the end-user infra service.
Provide useful analytics of how the sub-services operate to fullfill requests from the end-user infra services.
--------------- 1:N ----------- | Client | <---------| Profile | // Use for coordinate --------------- ----------- // behavioral configs
func (*Client) Descriptor
deprecated
func (*Client) ProtoMessage ¶
func (*Client) ProtoMessage()
func (*Client) ProtoReflect ¶
func (x *Client) ProtoReflect() protoreflect.Message
type ClientId ¶
type ClientId struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*ClientId) Descriptor
deprecated
func (*ClientId) ProtoMessage ¶
func (*ClientId) ProtoMessage()
func (*ClientId) ProtoReflect ¶
func (x *ClientId) ProtoReflect() protoreflect.Message
type ClientProfile ¶
type ClientProfile struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Id *ClientProfileId `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` TestPlatformProfile *TestPlatformProfile `protobuf:"bytes,3,opt,name=test_platform_profile,json=testPlatformProfile,proto3" json:"test_platform_profile,omitempty"` // contains filtered or unexported fields }
Profile to coordinate behavioral configs of internal sub services e.g. test platform Next Tag: 4
func (*ClientProfile) Descriptor
deprecated
func (*ClientProfile) Descriptor() ([]byte, []int)
Deprecated: Use ClientProfile.ProtoReflect.Descriptor instead.
func (*ClientProfile) GetId ¶
func (x *ClientProfile) GetId() *ClientProfileId
func (*ClientProfile) GetName ¶
func (x *ClientProfile) GetName() string
func (*ClientProfile) GetTestPlatformProfile ¶
func (x *ClientProfile) GetTestPlatformProfile() *TestPlatformProfile
func (*ClientProfile) ProtoMessage ¶
func (*ClientProfile) ProtoMessage()
func (*ClientProfile) ProtoReflect ¶
func (x *ClientProfile) ProtoReflect() protoreflect.Message
func (*ClientProfile) Reset ¶
func (x *ClientProfile) Reset()
func (*ClientProfile) String ¶
func (x *ClientProfile) String() string
type ClientProfileId ¶
type ClientProfileId struct { // Required. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // Required. ClientId *ClientId `protobuf:"bytes,2,opt,name=client_id,json=clientId,proto3" json:"client_id,omitempty"` // contains filtered or unexported fields }
Id of a client profile. See comment in client.proto for more details.
func (*ClientProfileId) Descriptor
deprecated
func (*ClientProfileId) Descriptor() ([]byte, []int)
Deprecated: Use ClientProfileId.ProtoReflect.Descriptor instead.
func (*ClientProfileId) GetClientId ¶
func (x *ClientProfileId) GetClientId() *ClientId
func (*ClientProfileId) GetId ¶
func (x *ClientProfileId) GetId() string
func (*ClientProfileId) ProtoMessage ¶
func (*ClientProfileId) ProtoMessage()
func (*ClientProfileId) ProtoReflect ¶
func (x *ClientProfileId) ProtoReflect() protoreflect.Message
func (*ClientProfileId) Reset ¶
func (x *ClientProfileId) Reset()
func (*ClientProfileId) String ¶
func (x *ClientProfileId) String() string
type ConfigBundle ¶
type ConfigBundle struct { Clients []*Client `protobuf:"bytes,1,rep,name=clients,proto3" json:"clients,omitempty"` ClientProfiles []*ClientProfile `protobuf:"bytes,2,rep,name=client_profiles,json=clientProfiles,proto3" json:"client_profiles,omitempty"` Milestones []*Milestone `protobuf:"bytes,3,rep,name=milestones,proto3" json:"milestones,omitempty"` DesignProjects []*DesignProject `protobuf:"bytes,4,rep,name=design_projects,json=designProjects,proto3" json:"design_projects,omitempty"` // contains filtered or unexported fields }
func (*ConfigBundle) Descriptor
deprecated
func (*ConfigBundle) Descriptor() ([]byte, []int)
Deprecated: Use ConfigBundle.ProtoReflect.Descriptor instead.
func (*ConfigBundle) GetClientProfiles ¶
func (x *ConfigBundle) GetClientProfiles() []*ClientProfile
func (*ConfigBundle) GetClients ¶
func (x *ConfigBundle) GetClients() []*Client
func (*ConfigBundle) GetDesignProjects ¶
func (x *ConfigBundle) GetDesignProjects() []*DesignProject
func (*ConfigBundle) GetMilestones ¶
func (x *ConfigBundle) GetMilestones() []*Milestone
func (*ConfigBundle) ProtoMessage ¶
func (*ConfigBundle) ProtoMessage()
func (*ConfigBundle) ProtoReflect ¶
func (x *ConfigBundle) ProtoReflect() protoreflect.Message
func (*ConfigBundle) Reset ¶
func (x *ConfigBundle) Reset()
func (*ConfigBundle) String ¶
func (x *ConfigBundle) String() string
type DesignProject ¶
type DesignProject struct { // Defines the human-readable name for the project. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Defines the git-repo path for the project. Repo string `protobuf:"bytes,2,opt,name=repo,proto3" json:"repo,omitempty"` // Defines the path that stores all of the project configuration. // Relative to the git-repo ConfigPath string `protobuf:"bytes,3,opt,name=config_path,json=configPath,proto3" json:"config_path,omitempty"` // Define the project's local_manifest. RepoManifestPath string `protobuf:"bytes,4,opt,name=repo_manifest_path,json=repoManifestPath,proto3" json:"repo_manifest_path,omitempty"` // The Google Storage bucket for artifacts from the project's builds. GsBucket string `protobuf:"bytes,5,opt,name=gs_bucket,json=gsBucket,proto3" json:"gs_bucket,omitempty"` // Defines config needed to maintain firmware builders for the project. FirmwareConfig *DesignProject_FirmwareConfig `protobuf:"bytes,6,opt,name=firmware_config,json=firmwareConfig,proto3" json:"firmware_config,omitempty"` // Define factory build config needed for manufacturing verification. FactoryConfig *DesignProject_FactoryConfig `protobuf:"bytes,7,opt,name=factory_config,json=factoryConfig,proto3" json:"factory_config,omitempty"` // Defines signing config unique to the given design project. SigningConfig *DesignProject_SigningConfig `protobuf:"bytes,8,opt,name=signing_config,json=signingConfig,proto3" json:"signing_config,omitempty"` // contains filtered or unexported fields }
Defines the metadata for a project, which ultimately controls how this project is managed throughout the infrastructure.
func (*DesignProject) Descriptor
deprecated
func (*DesignProject) Descriptor() ([]byte, []int)
Deprecated: Use DesignProject.ProtoReflect.Descriptor instead.
func (*DesignProject) GetConfigPath ¶
func (x *DesignProject) GetConfigPath() string
func (*DesignProject) GetFactoryConfig ¶
func (x *DesignProject) GetFactoryConfig() *DesignProject_FactoryConfig
func (*DesignProject) GetFirmwareConfig ¶
func (x *DesignProject) GetFirmwareConfig() *DesignProject_FirmwareConfig
func (*DesignProject) GetGsBucket ¶
func (x *DesignProject) GetGsBucket() string
func (*DesignProject) GetName ¶
func (x *DesignProject) GetName() string
func (*DesignProject) GetRepo ¶
func (x *DesignProject) GetRepo() string
func (*DesignProject) GetRepoManifestPath ¶
func (x *DesignProject) GetRepoManifestPath() string
func (*DesignProject) GetSigningConfig ¶
func (x *DesignProject) GetSigningConfig() *DesignProject_SigningConfig
func (*DesignProject) ProtoMessage ¶
func (*DesignProject) ProtoMessage()
func (*DesignProject) ProtoReflect ¶
func (x *DesignProject) ProtoReflect() protoreflect.Message
func (*DesignProject) Reset ¶
func (x *DesignProject) Reset()
func (*DesignProject) String ¶
func (x *DesignProject) String() string
type DesignProject_FactoryConfig ¶
type DesignProject_FactoryConfig struct { // Defines the factory branch that will be maintained for the project. FactoryBranch string `protobuf:"bytes,1,opt,name=factory_branch,json=factoryBranch,proto3" json:"factory_branch,omitempty"` // A key in the project.yaml metadata file, to look up the branch, path, // etc. For example, to match the entry in the project.yaml file: // // MILKYWAY: // board: GALAXY // branch: master // version: 3 // path: v3/MILKYWAY // // project_key should be 'MILKYWAY'. The matching is case-insensitive. HwidProjectKey string `protobuf:"bytes,2,opt,name=hwid_project_key,json=hwidProjectKey,proto3" json:"hwid_project_key,omitempty"` // contains filtered or unexported fields }
func (*DesignProject_FactoryConfig) Descriptor
deprecated
func (*DesignProject_FactoryConfig) Descriptor() ([]byte, []int)
Deprecated: Use DesignProject_FactoryConfig.ProtoReflect.Descriptor instead.
func (*DesignProject_FactoryConfig) GetFactoryBranch ¶
func (x *DesignProject_FactoryConfig) GetFactoryBranch() string
func (*DesignProject_FactoryConfig) GetHwidProjectKey ¶
func (x *DesignProject_FactoryConfig) GetHwidProjectKey() string
func (*DesignProject_FactoryConfig) ProtoMessage ¶
func (*DesignProject_FactoryConfig) ProtoMessage()
func (*DesignProject_FactoryConfig) ProtoReflect ¶
func (x *DesignProject_FactoryConfig) ProtoReflect() protoreflect.Message
func (*DesignProject_FactoryConfig) Reset ¶
func (x *DesignProject_FactoryConfig) Reset()
func (*DesignProject_FactoryConfig) String ¶
func (x *DesignProject_FactoryConfig) String() string
type DesignProject_FirmwareConfig ¶
type DesignProject_FirmwareConfig struct { // Defines the firmware branch that will be maintained for the project. FirmwareBranch string `protobuf:"bytes,1,opt,name=firmware_branch,json=firmwareBranch,proto3" json:"firmware_branch,omitempty"` // contains filtered or unexported fields }
func (*DesignProject_FirmwareConfig) Descriptor
deprecated
func (*DesignProject_FirmwareConfig) Descriptor() ([]byte, []int)
Deprecated: Use DesignProject_FirmwareConfig.ProtoReflect.Descriptor instead.
func (*DesignProject_FirmwareConfig) GetFirmwareBranch ¶
func (x *DesignProject_FirmwareConfig) GetFirmwareBranch() string
func (*DesignProject_FirmwareConfig) ProtoMessage ¶
func (*DesignProject_FirmwareConfig) ProtoMessage()
func (*DesignProject_FirmwareConfig) ProtoReflect ¶
func (x *DesignProject_FirmwareConfig) ProtoReflect() protoreflect.Message
func (*DesignProject_FirmwareConfig) Reset ¶
func (x *DesignProject_FirmwareConfig) Reset()
func (*DesignProject_FirmwareConfig) String ¶
func (x *DesignProject_FirmwareConfig) String() string
type DesignProject_SigningConfig ¶
type DesignProject_SigningConfig struct { // Key names have taken historically followed many different patterns. // To support all of the cases, this defines an explicit mapping between the // supported brands and corresponding keys present in the respective // keysets. // Going forward, this could be standardized, removing the need for the // explict mapping, but this will be required for the foreseeable future. BrandIdToKey map[string]string `` /* 189-byte string literal not displayed */ // contains filtered or unexported fields }
func (*DesignProject_SigningConfig) Descriptor
deprecated
func (*DesignProject_SigningConfig) Descriptor() ([]byte, []int)
Deprecated: Use DesignProject_SigningConfig.ProtoReflect.Descriptor instead.
func (*DesignProject_SigningConfig) GetBrandIdToKey ¶
func (x *DesignProject_SigningConfig) GetBrandIdToKey() map[string]string
func (*DesignProject_SigningConfig) ProtoMessage ¶
func (*DesignProject_SigningConfig) ProtoMessage()
func (*DesignProject_SigningConfig) ProtoReflect ¶
func (x *DesignProject_SigningConfig) ProtoReflect() protoreflect.Message
func (*DesignProject_SigningConfig) Reset ¶
func (x *DesignProject_SigningConfig) Reset()
func (*DesignProject_SigningConfig) String ¶
func (x *DesignProject_SigningConfig) String() string
type Milestone ¶
type Milestone struct { // E.g. 86 Number int32 `protobuf:"varint,1,opt,name=number,proto3" json:"number,omitempty"` // Initially planned branch date for the milestone. TargetBranchDate *Milestone_Date `protobuf:"bytes,2,opt,name=target_branch_date,json=targetBranchDate,proto3" json:"target_branch_date,omitempty"` // Actual branch name when the branch is created. // E.g. release-R86-13421.B BranchName string `protobuf:"bytes,3,opt,name=branch_name,json=branchName,proto3" json:"branch_name,omitempty"` // Defines the overall timeline for channel releases of the given milestone. ChannelPlan []*Milestone_ChannelPlan `protobuf:"bytes,4,rep,name=channel_plan,json=channelPlan,proto3" json:"channel_plan,omitempty"` // Defines the builds that run for the given milestone. BuilderConfigs []*BuilderConfig `protobuf:"bytes,5,rep,name=builder_configs,json=builderConfigs,proto3" json:"builder_configs,omitempty"` // contains filtered or unexported fields }
Defines planning details around release milestones that drive branching, device project planning, and release CI/testing.
func (*Milestone) Descriptor
deprecated
func (*Milestone) GetBranchName ¶
func (*Milestone) GetBuilderConfigs ¶
func (x *Milestone) GetBuilderConfigs() []*BuilderConfig
func (*Milestone) GetChannelPlan ¶
func (x *Milestone) GetChannelPlan() []*Milestone_ChannelPlan
func (*Milestone) GetTargetBranchDate ¶
func (x *Milestone) GetTargetBranchDate() *Milestone_Date
func (*Milestone) ProtoMessage ¶
func (*Milestone) ProtoMessage()
func (*Milestone) ProtoReflect ¶
func (x *Milestone) ProtoReflect() protoreflect.Message
type Milestone_ChannelPlan ¶
type Milestone_ChannelPlan struct { Channel *Channel `protobuf:"bytes,1,opt,name=channel,proto3" json:"channel,omitempty"` TargetReleaseDate *Milestone_Date `protobuf:"bytes,2,opt,name=target_release_date,json=targetReleaseDate,proto3" json:"target_release_date,omitempty"` // contains filtered or unexported fields }
Defines a planned release date for a given channel
func (*Milestone_ChannelPlan) Descriptor
deprecated
func (*Milestone_ChannelPlan) Descriptor() ([]byte, []int)
Deprecated: Use Milestone_ChannelPlan.ProtoReflect.Descriptor instead.
func (*Milestone_ChannelPlan) GetChannel ¶
func (x *Milestone_ChannelPlan) GetChannel() *Channel
func (*Milestone_ChannelPlan) GetTargetReleaseDate ¶
func (x *Milestone_ChannelPlan) GetTargetReleaseDate() *Milestone_Date
func (*Milestone_ChannelPlan) ProtoMessage ¶
func (*Milestone_ChannelPlan) ProtoMessage()
func (*Milestone_ChannelPlan) ProtoReflect ¶
func (x *Milestone_ChannelPlan) ProtoReflect() protoreflect.Message
func (*Milestone_ChannelPlan) Reset ¶
func (x *Milestone_ChannelPlan) Reset()
func (*Milestone_ChannelPlan) String ¶
func (x *Milestone_ChannelPlan) String() string
type Milestone_Date ¶
type Milestone_Date struct { // Format: YYYY-MM-DD (ISO 8601) // E.g. 2020-02-10 Value string `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
func (*Milestone_Date) Descriptor
deprecated
func (*Milestone_Date) Descriptor() ([]byte, []int)
Deprecated: Use Milestone_Date.ProtoReflect.Descriptor instead.
func (*Milestone_Date) GetValue ¶
func (x *Milestone_Date) GetValue() string
func (*Milestone_Date) ProtoMessage ¶
func (*Milestone_Date) ProtoMessage()
func (*Milestone_Date) ProtoReflect ¶
func (x *Milestone_Date) ProtoReflect() protoreflect.Message
func (*Milestone_Date) Reset ¶
func (x *Milestone_Date) Reset()
func (*Milestone_Date) String ¶
func (x *Milestone_Date) String() string
type MonitoringProfile ¶
type MonitoringProfile struct { TestPlatformAlertingThresholds *TestPlatformAlertingThresholds `` /* 155-byte string literal not displayed */ // contains filtered or unexported fields }
MonitoringProfile controls the alerting and monitoring of requests associated with the profile throughout the test infrastructure stack.
func (*MonitoringProfile) Descriptor
deprecated
func (*MonitoringProfile) Descriptor() ([]byte, []int)
Deprecated: Use MonitoringProfile.ProtoReflect.Descriptor instead.
func (*MonitoringProfile) GetTestPlatformAlertingThresholds ¶
func (x *MonitoringProfile) GetTestPlatformAlertingThresholds() *TestPlatformAlertingThresholds
func (*MonitoringProfile) ProtoMessage ¶
func (*MonitoringProfile) ProtoMessage()
func (*MonitoringProfile) ProtoReflect ¶
func (x *MonitoringProfile) ProtoReflect() protoreflect.Message
func (*MonitoringProfile) Reset ¶
func (x *MonitoringProfile) Reset()
func (*MonitoringProfile) String ¶
func (x *MonitoringProfile) String() string
type RetryProfile ¶
type RetryProfile struct { // Whether to allow test retries. Allow bool `protobuf:"varint,1,opt,name=allow,proto3" json:"allow,omitempty"` // Maximum number of retries of tests within this invocation to allow. // 0 = unlimited. Max uint32 `protobuf:"varint,2,opt,name=max,proto3" json:"max,omitempty"` // contains filtered or unexported fields }
RetryPrfoile defines parameters that affect how failed tests within a request are retried.
func (*RetryProfile) Descriptor
deprecated
func (*RetryProfile) Descriptor() ([]byte, []int)
Deprecated: Use RetryProfile.ProtoReflect.Descriptor instead.
func (*RetryProfile) GetAllow ¶
func (x *RetryProfile) GetAllow() bool
func (*RetryProfile) GetMax ¶
func (x *RetryProfile) GetMax() uint32
func (*RetryProfile) ProtoMessage ¶
func (*RetryProfile) ProtoMessage()
func (*RetryProfile) ProtoReflect ¶
func (x *RetryProfile) ProtoReflect() protoreflect.Message
func (*RetryProfile) Reset ¶
func (x *RetryProfile) Reset()
func (*RetryProfile) String ¶
func (x *RetryProfile) String() string
type SchedulerProfile ¶
type SchedulerProfile struct { // The task scheduling pools this device may be used for. // // Historical note: The concept of managed pools (e.g.: DUT_POOL_CQ) was used // for automatic balancing of healthy devices in critical pools. Due to // merging of critical pools into a common scheduler pool, this auto-balancing // service is no longer required. // // Old enum values are now serialized to the JSON encoding of those enums // (e.g. "DUT_POOL_QUOTA"). // See lab/device.proto:DeviceUnderTest::DutPool. Pools []string `protobuf:"bytes,1,rep,name=pools,proto3" json:"pools,omitempty"` // Types that are assignable to QosChannel: // *SchedulerProfile_Priority // *SchedulerProfile_QuotaAccount QosChannel isSchedulerProfile_QosChannel `protobuf_oneof:"qos_channel"` // contains filtered or unexported fields }
SchedulerProfile controls the test platform scheduling behaviour. Next Tag: 5
func (*SchedulerProfile) Descriptor
deprecated
func (*SchedulerProfile) Descriptor() ([]byte, []int)
Deprecated: Use SchedulerProfile.ProtoReflect.Descriptor instead.
func (*SchedulerProfile) GetPools ¶
func (x *SchedulerProfile) GetPools() []string
func (*SchedulerProfile) GetPriority ¶
func (x *SchedulerProfile) GetPriority() uint32
func (*SchedulerProfile) GetQosChannel ¶
func (m *SchedulerProfile) GetQosChannel() isSchedulerProfile_QosChannel
func (*SchedulerProfile) GetQuotaAccount ¶
func (x *SchedulerProfile) GetQuotaAccount() string
func (*SchedulerProfile) ProtoMessage ¶
func (*SchedulerProfile) ProtoMessage()
func (*SchedulerProfile) ProtoReflect ¶
func (x *SchedulerProfile) ProtoReflect() protoreflect.Message
func (*SchedulerProfile) Reset ¶
func (x *SchedulerProfile) Reset()
func (*SchedulerProfile) String ¶
func (x *SchedulerProfile) String() string
type SchedulerProfile_Priority ¶
type SchedulerProfile_Priority struct { // Priority corresponding to a swarming task priority. // If specified, it should be in the range [50,255]. // It will be used for any swarming tasks created by this run. // // Note that the scheduler behavior with a given priority depends on // other factors, such as pool. In particular, if requests are run in // a quotascheduler-controlled pool, then this priority will be ignored, // as priority will be determined by quota account balances. Priority uint32 `protobuf:"varint,2,opt,name=priority,proto3,oneof"` }
type SchedulerProfile_QuotaAccount ¶
type SchedulerProfile_QuotaAccount struct { // Quota account for both managed and unamanged pools. // It should be used if the request is scheduled on a pool // managed by QuotaScheduler. See go/qs-enabled-pools for details. // If set for requests on no QuotaScheduler pools, // it will be ignored and the request will default to running at // the lowest priority. QuotaAccount string `protobuf:"bytes,3,opt,name=quota_account,json=quotaAccount,proto3,oneof"` }
type TestPlatformAlertingThresholds ¶
type TestPlatformAlertingThresholds struct {
// contains filtered or unexported fields
}
TestPlatformAlertingThresholds capture alerting thresholds for test platform.
func (*TestPlatformAlertingThresholds) Descriptor
deprecated
func (*TestPlatformAlertingThresholds) Descriptor() ([]byte, []int)
Deprecated: Use TestPlatformAlertingThresholds.ProtoReflect.Descriptor instead.
func (*TestPlatformAlertingThresholds) ProtoMessage ¶
func (*TestPlatformAlertingThresholds) ProtoMessage()
func (*TestPlatformAlertingThresholds) ProtoReflect ¶
func (x *TestPlatformAlertingThresholds) ProtoReflect() protoreflect.Message
func (*TestPlatformAlertingThresholds) Reset ¶
func (x *TestPlatformAlertingThresholds) Reset()
func (*TestPlatformAlertingThresholds) String ¶
func (x *TestPlatformAlertingThresholds) String() string
type TestPlatformProfile ¶
type TestPlatformProfile struct { Scheduler *SchedulerProfile `protobuf:"bytes,1,opt,name=scheduler,proto3" json:"scheduler,omitempty"` Retry *RetryProfile `protobuf:"bytes,2,opt,name=retry,proto3" json:"retry,omitempty"` Timeout *TimeoutProfile `protobuf:"bytes,3,opt,name=timeout,proto3" json:"timeout,omitempty"` Monitoring *MonitoringProfile `protobuf:"bytes,4,opt,name=monitoring,proto3" json:"monitoring,omitempty"` // contains filtered or unexported fields }
TestPlatformProfile configures aspects of the test platform behaviour per-request. Configure the scheduling priorities in the test platform, retry behavior, timeout characteristics and alerting thresholds throughout the test platform stack. Next Tag: 5
func (*TestPlatformProfile) Descriptor
deprecated
func (*TestPlatformProfile) Descriptor() ([]byte, []int)
Deprecated: Use TestPlatformProfile.ProtoReflect.Descriptor instead.
func (*TestPlatformProfile) GetMonitoring ¶
func (x *TestPlatformProfile) GetMonitoring() *MonitoringProfile
func (*TestPlatformProfile) GetRetry ¶
func (x *TestPlatformProfile) GetRetry() *RetryProfile
func (*TestPlatformProfile) GetScheduler ¶
func (x *TestPlatformProfile) GetScheduler() *SchedulerProfile
func (*TestPlatformProfile) GetTimeout ¶
func (x *TestPlatformProfile) GetTimeout() *TimeoutProfile
func (*TestPlatformProfile) ProtoMessage ¶
func (*TestPlatformProfile) ProtoMessage()
func (*TestPlatformProfile) ProtoReflect ¶
func (x *TestPlatformProfile) ProtoReflect() protoreflect.Message
func (*TestPlatformProfile) Reset ¶
func (x *TestPlatformProfile) Reset()
func (*TestPlatformProfile) String ¶
func (x *TestPlatformProfile) String() string
type TimeoutProfile ¶
type TimeoutProfile struct { // Maximum duration for the entire request to be handled. MaximumDuration *durationpb.Duration `protobuf:"bytes,1,opt,name=maximum_duration,json=maximumDuration,proto3" json:"maximum_duration,omitempty"` // contains filtered or unexported fields }
TimeoutProfile defines parameters related to timeouts.
func (*TimeoutProfile) Descriptor
deprecated
func (*TimeoutProfile) Descriptor() ([]byte, []int)
Deprecated: Use TimeoutProfile.ProtoReflect.Descriptor instead.
func (*TimeoutProfile) GetMaximumDuration ¶
func (x *TimeoutProfile) GetMaximumDuration() *durationpb.Duration
func (*TimeoutProfile) ProtoMessage ¶
func (*TimeoutProfile) ProtoMessage()
func (*TimeoutProfile) ProtoReflect ¶
func (x *TimeoutProfile) ProtoReflect() protoreflect.Message
func (*TimeoutProfile) Reset ¶
func (x *TimeoutProfile) Reset()
func (*TimeoutProfile) String ¶
func (x *TimeoutProfile) String() string