luci: go.chromium.org/luci/cq/api/config/v2 Index | Files

package config

import "go.chromium.org/luci/cq/api/config/v2"

Package config contains CQ Config API.

Index

Package Files

cq.pb.go gen.go

Variables

var Toggle_name = map[int32]string{
    0:  "UNSET",
    1:  "YES",
    2:  "NO",
}
var Toggle_value = map[string]int32{
    "UNSET": 0,
    "YES":   1,
    "NO":    2,
}
var Verifiers_GerritCQAbility_CQAction_name = map[int32]string{
    0:  "UNSET",
    1:  "DRY_RUN",
    2:  "COMMIT",
}
var Verifiers_GerritCQAbility_CQAction_value = map[string]int32{
    "UNSET":   0,
    "DRY_RUN": 1,
    "COMMIT":  2,
}

type CombineCLs Uses

type CombineCLs struct {
    // Roughly, how long CQ waits for CQ to be triggered on each of the related
    // CLs.
    // Must be >0 to enable combining CLs.
    //
    // Technically precise definition is time to wait since the latest CL among
    // related ones receives CQ+1/2 vote before starting actual attempt.
    //
    // For example, during this delay, a CQ vote may be added on another CL
    // which depends on previously CQ-ed CL in this not-yet-started attempt. Then,
    // CQ would extend the attempt with additional CL and reset the waiting
    // counter.
    //
    // Additional implication is that a standalone CL w/o any other relations to
    // other CLs will need to wait this much time before CQ would start processing
    // it (i.e., before it triggers first tryjob).
    StabilizationDelay   *duration.Duration `protobuf:"bytes,1,opt,name=stabilization_delay,json=stabilizationDelay,proto3" json:"stabilization_delay,omitempty"`
    XXX_NoUnkeyedLiteral struct{}           `json:"-"`
    XXX_unrecognized     []byte             `json:"-"`
    XXX_sizecache        int32              `json:"-"`
}

EXPERIMENTAL! TODO(tandrii, crbug/912294): add better doc.

func (*CombineCLs) Descriptor Uses

func (*CombineCLs) Descriptor() ([]byte, []int)

func (*CombineCLs) GetStabilizationDelay Uses

func (m *CombineCLs) GetStabilizationDelay() *duration.Duration

func (*CombineCLs) ProtoMessage Uses

func (*CombineCLs) ProtoMessage()

func (*CombineCLs) Reset Uses

func (m *CombineCLs) Reset()

func (*CombineCLs) String Uses

func (m *CombineCLs) String() string

func (*CombineCLs) XXX_DiscardUnknown Uses

func (m *CombineCLs) XXX_DiscardUnknown()

func (*CombineCLs) XXX_Marshal Uses

func (m *CombineCLs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CombineCLs) XXX_Merge Uses

func (m *CombineCLs) XXX_Merge(src proto.Message)

func (*CombineCLs) XXX_Size Uses

func (m *CombineCLs) XXX_Size() int

func (*CombineCLs) XXX_Unmarshal Uses

func (m *CombineCLs) XXX_Unmarshal(b []byte) error

type Config Uses

type Config struct {
    // Optional. If present, the CQ will refrain from processing any CLs,
    // on which CQ was triggered after the specified time.
    //
    // This is an UTC RFC3339 (stiptime(tm)) string representing the time.
    // For example, "2017-12-23T15:47:58Z" and Z is required.
    DrainingStartTime string `protobuf:"bytes,1,opt,name=draining_start_time,json=drainingStartTime,proto3" json:"draining_start_time,omitempty"`
    // Optional and deprecated.
    // URL of the CQ status app to push updates to.
    CqStatusHost string `protobuf:"bytes,2,opt,name=cq_status_host,json=cqStatusHost,proto3" json:"cq_status_host,omitempty"`
    // Optional options for how CLs should be submitted.
    SubmitOptions *SubmitOptions `protobuf:"bytes,3,opt,name=submit_options,json=submitOptions,proto3" json:"submit_options,omitempty"`
    // At least 1 ConfigGroup is required.
    ConfigGroups []*ConfigGroup `protobuf:"bytes,4,rep,name=config_groups,json=configGroups,proto3" json:"config_groups,omitempty"`
    // Toggles the use of project scoped account for Gerrit access.
    // UNSET = Disabled, subject to change in the future.
    // NO = Disabled.
    // YES = Enabled.
    ProjectScopedAccount Toggle   `protobuf:"varint,5,opt,name=project_scoped_account,json=projectScopedAccount,proto3,enum=cq.config.Toggle" json:"project_scoped_account,omitempty"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

This message describes a Commit Queue configuration.

The config file commit-queue.cfg should be stored in the config directory of your project, alongside cr-buildbucket.cfg.

func (*Config) Descriptor Uses

func (*Config) Descriptor() ([]byte, []int)

func (*Config) GetConfigGroups Uses

func (m *Config) GetConfigGroups() []*ConfigGroup

func (*Config) GetCqStatusHost Uses

func (m *Config) GetCqStatusHost() string

func (*Config) GetDrainingStartTime Uses

func (m *Config) GetDrainingStartTime() string

func (*Config) GetProjectScopedAccount Uses

func (m *Config) GetProjectScopedAccount() Toggle

func (*Config) GetSubmitOptions Uses

func (m *Config) GetSubmitOptions() *SubmitOptions

func (*Config) ProtoMessage Uses

func (*Config) ProtoMessage()

func (*Config) Reset Uses

func (m *Config) Reset()

func (*Config) String Uses

func (m *Config) String() string

func (*Config) XXX_DiscardUnknown Uses

func (m *Config) XXX_DiscardUnknown()

func (*Config) XXX_Marshal Uses

func (m *Config) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Config) XXX_Merge Uses

func (m *Config) XXX_Merge(src proto.Message)

func (*Config) XXX_Size Uses

func (m *Config) XXX_Size() int

func (*Config) XXX_Unmarshal Uses

func (m *Config) XXX_Unmarshal(b []byte) error

type ConfigGroup Uses

type ConfigGroup struct {
    // At least 1 Gerrit instance with repositories to work with is required.
    Gerrit []*ConfigGroup_Gerrit `protobuf:"bytes,1,rep,name=gerrit,proto3" json:"gerrit,omitempty"`
    // EXPERIMENTAL! TODO(tandrii, crbug/912294): add better doc.
    // Enables support for attempt spanning >1 CL.
    CombineCls *CombineCLs `protobuf:"bytes,4,opt,name=combine_cls,json=combineCls,proto3" json:"combine_cls,omitempty"`
    // Defines how to verify a CL before submitting it. Required.
    Verifiers *Verifiers `protobuf:"bytes,2,opt,name=verifiers,proto3" json:"verifiers,omitempty"`
    // EXPERIMENTAL! TODO(tandrii, crbug/966115): add better doc or remove.
    //
    // If set, this ConfigGroup will be used if no other ConfigGroup matches.
    //
    // At most 1 config_group can be YES.
    //
    // Example use is to define specific config_group for refs/heads/master,
    // and fallback one for refs/heads/* which will pick up all CLs on
    // non-master branches.
    Fallback             Toggle   `protobuf:"varint,5,opt,name=fallback,proto3,enum=cq.config.Toggle" json:"fallback,omitempty"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

ConfigGroup allows one to share single verifiers config across a set of Gerrit repositories, which may be in different Gerrit installations.

func (*ConfigGroup) Descriptor Uses

func (*ConfigGroup) Descriptor() ([]byte, []int)

func (*ConfigGroup) GetCombineCls Uses

func (m *ConfigGroup) GetCombineCls() *CombineCLs

func (*ConfigGroup) GetFallback Uses

func (m *ConfigGroup) GetFallback() Toggle

func (*ConfigGroup) GetGerrit Uses

func (m *ConfigGroup) GetGerrit() []*ConfigGroup_Gerrit

func (*ConfigGroup) GetVerifiers Uses

func (m *ConfigGroup) GetVerifiers() *Verifiers

func (*ConfigGroup) ProtoMessage Uses

func (*ConfigGroup) ProtoMessage()

func (*ConfigGroup) Reset Uses

func (m *ConfigGroup) Reset()

func (*ConfigGroup) String Uses

func (m *ConfigGroup) String() string

func (*ConfigGroup) XXX_DiscardUnknown Uses

func (m *ConfigGroup) XXX_DiscardUnknown()

func (*ConfigGroup) XXX_Marshal Uses

func (m *ConfigGroup) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ConfigGroup) XXX_Merge Uses

func (m *ConfigGroup) XXX_Merge(src proto.Message)

func (*ConfigGroup) XXX_Size Uses

func (m *ConfigGroup) XXX_Size() int

func (*ConfigGroup) XXX_Unmarshal Uses

func (m *ConfigGroup) XXX_Unmarshal(b []byte) error

type ConfigGroup_Gerrit Uses

type ConfigGroup_Gerrit struct {
    // Gerrit URL, e.g., https://chromium-review.googlesource.com.
    // No trailing slashes allowed.
    Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"`
    // Gerrit projects of this Gerrit instance to work with.
    //
    // At least 1 required.
    Projects             []*ConfigGroup_Gerrit_Project `protobuf:"bytes,2,rep,name=projects,proto3" json:"projects,omitempty"`
    XXX_NoUnkeyedLiteral struct{}                      `json:"-"`
    XXX_unrecognized     []byte                        `json:"-"`
    XXX_sizecache        int32                         `json:"-"`
}

Enumerates repositories on a Gerrit instance for which CQ should work.

func (*ConfigGroup_Gerrit) Descriptor Uses

func (*ConfigGroup_Gerrit) Descriptor() ([]byte, []int)

func (*ConfigGroup_Gerrit) GetProjects Uses

func (m *ConfigGroup_Gerrit) GetProjects() []*ConfigGroup_Gerrit_Project

func (*ConfigGroup_Gerrit) GetUrl Uses

func (m *ConfigGroup_Gerrit) GetUrl() string

func (*ConfigGroup_Gerrit) ProtoMessage Uses

func (*ConfigGroup_Gerrit) ProtoMessage()

func (*ConfigGroup_Gerrit) Reset Uses

func (m *ConfigGroup_Gerrit) Reset()

func (*ConfigGroup_Gerrit) String Uses

func (m *ConfigGroup_Gerrit) String() string

func (*ConfigGroup_Gerrit) XXX_DiscardUnknown Uses

func (m *ConfigGroup_Gerrit) XXX_DiscardUnknown()

func (*ConfigGroup_Gerrit) XXX_Marshal Uses

func (m *ConfigGroup_Gerrit) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ConfigGroup_Gerrit) XXX_Merge Uses

func (m *ConfigGroup_Gerrit) XXX_Merge(src proto.Message)

func (*ConfigGroup_Gerrit) XXX_Size Uses

func (m *ConfigGroup_Gerrit) XXX_Size() int

func (*ConfigGroup_Gerrit) XXX_Unmarshal Uses

func (m *ConfigGroup_Gerrit) XXX_Unmarshal(b []byte) error

type ConfigGroup_Gerrit_Project Uses

type ConfigGroup_Gerrit_Project struct {
    // Repository name inside Gerrit host. Required.
    //
    // No leading or trailing slashes allowed, no '.git' at the end.
    // 'a/' prefix is also not allowed (it's used on *.googlesource.com for
    // forcing authentication).
    //
    // Examples on https://chromium-review.googlesource.com:
    //   catapult
    //   chromium/src
    //   chromium/tools/depot_tools
    Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
    // Limit CLs in this repo to only these refs. Required.
    //
    // If not specified, defaults to "refs/heads/master".
    //
    // NOTE: your Gerrit admin must configure Gerrit ACLs such that CQ has
    // read access to these refs, otherwise your users will be waiting for CQ
    // to act on their CLs forever.
    //
    // Regular expression is validated by https://github.com/google/re2 library.
    //
    // NOTE: Git globs aren't supported. Convert them to a regular expression,
    // e.g., Git glob "refs/heads/*" should be "refs/heads/[^/]+".
    // However, users typically expect "refs/heads/.+", since expectation is
    // that every typical Git branch to be CQ-able, including
    // "refs/heads/experimental/foobar".
    RefRegexp            []string                                  `protobuf:"bytes,2,rep,name=ref_regexp,json=refRegexp,proto3" json:"ref_regexp,omitempty"`
    CrosMigration        *ConfigGroup_Gerrit_Project_CrOSMigration `protobuf:"bytes,3,opt,name=cros_migration,json=crosMigration,proto3" json:"cros_migration,omitempty"`
    XXX_NoUnkeyedLiteral struct{}                                  `json:"-"`
    XXX_unrecognized     []byte                                    `json:"-"`
    XXX_sizecache        int32                                     `json:"-"`
}

func (*ConfigGroup_Gerrit_Project) Descriptor Uses

func (*ConfigGroup_Gerrit_Project) Descriptor() ([]byte, []int)

func (*ConfigGroup_Gerrit_Project) GetCrosMigration Uses

func (m *ConfigGroup_Gerrit_Project) GetCrosMigration() *ConfigGroup_Gerrit_Project_CrOSMigration

func (*ConfigGroup_Gerrit_Project) GetName Uses

func (m *ConfigGroup_Gerrit_Project) GetName() string

func (*ConfigGroup_Gerrit_Project) GetRefRegexp Uses

func (m *ConfigGroup_Gerrit_Project) GetRefRegexp() []string

func (*ConfigGroup_Gerrit_Project) ProtoMessage Uses

func (*ConfigGroup_Gerrit_Project) ProtoMessage()

func (*ConfigGroup_Gerrit_Project) Reset Uses

func (m *ConfigGroup_Gerrit_Project) Reset()

func (*ConfigGroup_Gerrit_Project) String Uses

func (m *ConfigGroup_Gerrit_Project) String() string

func (*ConfigGroup_Gerrit_Project) XXX_DiscardUnknown Uses

func (m *ConfigGroup_Gerrit_Project) XXX_DiscardUnknown()

func (*ConfigGroup_Gerrit_Project) XXX_Marshal Uses

func (m *ConfigGroup_Gerrit_Project) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ConfigGroup_Gerrit_Project) XXX_Merge Uses

func (m *ConfigGroup_Gerrit_Project) XXX_Merge(src proto.Message)

func (*ConfigGroup_Gerrit_Project) XXX_Size Uses

func (m *ConfigGroup_Gerrit_Project) XXX_Size() int

func (*ConfigGroup_Gerrit_Project) XXX_Unmarshal Uses

func (m *ConfigGroup_Gerrit_Project) XXX_Unmarshal(b []byte) error

type ConfigGroup_Gerrit_Project_CrOSMigration Uses

type ConfigGroup_Gerrit_Project_CrOSMigration struct {
    // % of new CQ attempts which LUCI CQ will process itself.
    // The rest will be delegated to legacy CrOS CQ.
    // If not set, implies 0%, ie all CLs are delegated.
    // To set these per ref_regexp of a single repo, duplicate project{}
    // block for this repo but with diff regexp.
    LuciPercentage       float32  `protobuf:"fixed32,1,opt,name=luci_percentage,json=luciPercentage,proto3" json:"luci_percentage,omitempty"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

DO NOT USE. TODO(crbug/965615, tandrii): delete this. HACK(cbrug/965615). Only for CrOS during LUCI CQ migration.

func (*ConfigGroup_Gerrit_Project_CrOSMigration) Descriptor Uses

func (*ConfigGroup_Gerrit_Project_CrOSMigration) Descriptor() ([]byte, []int)

func (*ConfigGroup_Gerrit_Project_CrOSMigration) GetLuciPercentage Uses

func (m *ConfigGroup_Gerrit_Project_CrOSMigration) GetLuciPercentage() float32

func (*ConfigGroup_Gerrit_Project_CrOSMigration) ProtoMessage Uses

func (*ConfigGroup_Gerrit_Project_CrOSMigration) ProtoMessage()

func (*ConfigGroup_Gerrit_Project_CrOSMigration) Reset Uses

func (m *ConfigGroup_Gerrit_Project_CrOSMigration) Reset()

func (*ConfigGroup_Gerrit_Project_CrOSMigration) String Uses

func (m *ConfigGroup_Gerrit_Project_CrOSMigration) String() string

func (*ConfigGroup_Gerrit_Project_CrOSMigration) XXX_DiscardUnknown Uses

func (m *ConfigGroup_Gerrit_Project_CrOSMigration) XXX_DiscardUnknown()

func (*ConfigGroup_Gerrit_Project_CrOSMigration) XXX_Marshal Uses

func (m *ConfigGroup_Gerrit_Project_CrOSMigration) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ConfigGroup_Gerrit_Project_CrOSMigration) XXX_Merge Uses

func (m *ConfigGroup_Gerrit_Project_CrOSMigration) XXX_Merge(src proto.Message)

func (*ConfigGroup_Gerrit_Project_CrOSMigration) XXX_Size Uses

func (m *ConfigGroup_Gerrit_Project_CrOSMigration) XXX_Size() int

func (*ConfigGroup_Gerrit_Project_CrOSMigration) XXX_Unmarshal Uses

func (m *ConfigGroup_Gerrit_Project_CrOSMigration) XXX_Unmarshal(b []byte) error

type SubmitOptions Uses

type SubmitOptions struct {
    // Optional. Maximum number of successful CQ attempts completed by submitting
    // corresponding Gerrit CL(s) before waiting burst_delay.
    //
    // This feature today applies to all attempts processed by this CQ, across all
    // config_groups.
    //
    // Must be >0 to take effect. Requires burst_delay to be set, too.
    MaxBurst int32 `protobuf:"varint,1,opt,name=max_burst,json=maxBurst,proto3" json:"max_burst,omitempty"`
    // Optional. Delay between bursts of submissions of CQ attempts.
    // See max_burst for more info.
    //
    // Must be >0 to take effect. Requires max_burst to be set, too.
    BurstDelay           *duration.Duration `protobuf:"bytes,2,opt,name=burst_delay,json=burstDelay,proto3" json:"burst_delay,omitempty"`
    XXX_NoUnkeyedLiteral struct{}           `json:"-"`
    XXX_unrecognized     []byte             `json:"-"`
    XXX_sizecache        int32              `json:"-"`
}

SubmitOptions control how CQ submits CLs.

func (*SubmitOptions) Descriptor Uses

func (*SubmitOptions) Descriptor() ([]byte, []int)

func (*SubmitOptions) GetBurstDelay Uses

func (m *SubmitOptions) GetBurstDelay() *duration.Duration

func (*SubmitOptions) GetMaxBurst Uses

func (m *SubmitOptions) GetMaxBurst() int32

func (*SubmitOptions) ProtoMessage Uses

func (*SubmitOptions) ProtoMessage()

func (*SubmitOptions) Reset Uses

func (m *SubmitOptions) Reset()

func (*SubmitOptions) String Uses

func (m *SubmitOptions) String() string

func (*SubmitOptions) XXX_DiscardUnknown Uses

func (m *SubmitOptions) XXX_DiscardUnknown()

func (*SubmitOptions) XXX_Marshal Uses

func (m *SubmitOptions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SubmitOptions) XXX_Merge Uses

func (m *SubmitOptions) XXX_Merge(src proto.Message)

func (*SubmitOptions) XXX_Size Uses

func (m *SubmitOptions) XXX_Size() int

func (*SubmitOptions) XXX_Unmarshal Uses

func (m *SubmitOptions) XXX_Unmarshal(b []byte) error

type Toggle Uses

type Toggle int32

A boolean with an undefined value.

const (
    Toggle_UNSET Toggle = 0
    Toggle_YES   Toggle = 1
    Toggle_NO    Toggle = 2
)

func (Toggle) EnumDescriptor Uses

func (Toggle) EnumDescriptor() ([]byte, []int)

func (Toggle) String Uses

func (x Toggle) String() string

type Verifiers Uses

type Verifiers struct {
    // Required. GerritCQAbility ensures that a user who triggered
    // this CQ attempt actually has rights to do so based on 3 factors:
    //  * membership of the user in committers & dryrunners group,
    //  * the state of CL/patchset on which CQ is triggered,
    //  * relationship of the user to the CL.
    GerritCqAbility *Verifiers_GerritCQAbility `protobuf:"bytes,1,opt,name=gerrit_cq_ability,json=gerritCqAbility,proto3" json:"gerrit_cq_ability,omitempty"`
    // This verifier is used to check tree status before committing a CL. If the
    // tree is closed, then the verifier will wait until it is reopened.
    TreeStatus *Verifiers_TreeStatus `protobuf:"bytes,2,opt,name=tree_status,json=treeStatus,proto3" json:"tree_status,omitempty"`
    // This verifier triggers a set of builds through Buildbucket.
    //
    // CQ automatically retries failed tryjobs and only allows CL to land if each
    // builder has succeeded in the latest retry.
    // If a given tryjob result is too old (>1 day) it is ignored.
    //
    // Typically, builds from Buildbucket are executed on LUCI stack, however, CQ
    // is agnostic to how and where builds are executed.
    Tryjob *Verifiers_Tryjob `protobuf:"bytes,3,opt,name=tryjob,proto3" json:"tryjob,omitempty"`
    // CQLinter is for internal CQ use only. DO NOT USE IN YOUR cq.cfg.
    Cqlinter *Verifiers_CQLinter `protobuf:"bytes,4,opt,name=cqlinter,proto3" json:"cqlinter,omitempty"`
    // Fake is for internal CQ use only. DO NOT USE IN YOUR cq.cfg.
    Fake                 *Verifiers_Fake `protobuf:"bytes,5,opt,name=fake,proto3" json:"fake,omitempty"`
    XXX_NoUnkeyedLiteral struct{}        `json:"-"`
    XXX_unrecognized     []byte          `json:"-"`
    XXX_sizecache        int32           `json:"-"`
}

Verifiers are various types of checks that a Commit Queue performs on a CL. All verifiers must pass in order for a CL to be submitted. Configuration file describes types of verifiers that should be applied to each CL and their parameters.

func (*Verifiers) Descriptor Uses

func (*Verifiers) Descriptor() ([]byte, []int)

func (*Verifiers) GetCqlinter Uses

func (m *Verifiers) GetCqlinter() *Verifiers_CQLinter

func (*Verifiers) GetFake Uses

func (m *Verifiers) GetFake() *Verifiers_Fake

func (*Verifiers) GetGerritCqAbility Uses

func (m *Verifiers) GetGerritCqAbility() *Verifiers_GerritCQAbility

func (*Verifiers) GetTreeStatus Uses

func (m *Verifiers) GetTreeStatus() *Verifiers_TreeStatus

func (*Verifiers) GetTryjob Uses

func (m *Verifiers) GetTryjob() *Verifiers_Tryjob

func (*Verifiers) ProtoMessage Uses

func (*Verifiers) ProtoMessage()

func (*Verifiers) Reset Uses

func (m *Verifiers) Reset()

func (*Verifiers) String Uses

func (m *Verifiers) String() string

func (*Verifiers) XXX_DiscardUnknown Uses

func (m *Verifiers) XXX_DiscardUnknown()

func (*Verifiers) XXX_Marshal Uses

func (m *Verifiers) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Verifiers) XXX_Merge Uses

func (m *Verifiers) XXX_Merge(src proto.Message)

func (*Verifiers) XXX_Size Uses

func (m *Verifiers) XXX_Size() int

func (*Verifiers) XXX_Unmarshal Uses

func (m *Verifiers) XXX_Unmarshal(b []byte) error

type Verifiers_CQLinter Uses

type Verifiers_CQLinter struct {
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

CQLinter is for internal use in CQ.

func (*Verifiers_CQLinter) Descriptor Uses

func (*Verifiers_CQLinter) Descriptor() ([]byte, []int)

func (*Verifiers_CQLinter) ProtoMessage Uses

func (*Verifiers_CQLinter) ProtoMessage()

func (*Verifiers_CQLinter) Reset Uses

func (m *Verifiers_CQLinter) Reset()

func (*Verifiers_CQLinter) String Uses

func (m *Verifiers_CQLinter) String() string

func (*Verifiers_CQLinter) XXX_DiscardUnknown Uses

func (m *Verifiers_CQLinter) XXX_DiscardUnknown()

func (*Verifiers_CQLinter) XXX_Marshal Uses

func (m *Verifiers_CQLinter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Verifiers_CQLinter) XXX_Merge Uses

func (m *Verifiers_CQLinter) XXX_Merge(src proto.Message)

func (*Verifiers_CQLinter) XXX_Size Uses

func (m *Verifiers_CQLinter) XXX_Size() int

func (*Verifiers_CQLinter) XXX_Unmarshal Uses

func (m *Verifiers_CQLinter) XXX_Unmarshal(b []byte) error

type Verifiers_Fake Uses

type Verifiers_Fake struct {
    Name                 string   `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
    EventualState        string   `protobuf:"bytes,2,opt,name=eventual_state,json=eventualState,proto3" json:"eventual_state,omitempty"`
    Delay                int32    `protobuf:"varint,3,opt,name=delay,proto3" json:"delay,omitempty"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

Fake is for internal use in CQ.

func (*Verifiers_Fake) Descriptor Uses

func (*Verifiers_Fake) Descriptor() ([]byte, []int)

func (*Verifiers_Fake) GetDelay Uses

func (m *Verifiers_Fake) GetDelay() int32

func (*Verifiers_Fake) GetEventualState Uses

func (m *Verifiers_Fake) GetEventualState() string

func (*Verifiers_Fake) GetName Uses

func (m *Verifiers_Fake) GetName() string

func (*Verifiers_Fake) ProtoMessage Uses

func (*Verifiers_Fake) ProtoMessage()

func (*Verifiers_Fake) Reset Uses

func (m *Verifiers_Fake) Reset()

func (*Verifiers_Fake) String Uses

func (m *Verifiers_Fake) String() string

func (*Verifiers_Fake) XXX_DiscardUnknown Uses

func (m *Verifiers_Fake) XXX_DiscardUnknown()

func (*Verifiers_Fake) XXX_Marshal Uses

func (m *Verifiers_Fake) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Verifiers_Fake) XXX_Merge Uses

func (m *Verifiers_Fake) XXX_Merge(src proto.Message)

func (*Verifiers_Fake) XXX_Size Uses

func (m *Verifiers_Fake) XXX_Size() int

func (*Verifiers_Fake) XXX_Unmarshal Uses

func (m *Verifiers_Fake) XXX_Unmarshal(b []byte) error

type Verifiers_GerritCQAbility Uses

type Verifiers_GerritCQAbility struct {
    // Required. List of chrome-infra-auth groups, whose members are authorized
    // to trigger full CQ runs.
    //
    // Typically, such groups are named "project-<name>-committers".
    CommitterList []string `protobuf:"bytes,1,rep,name=committer_list,json=committerList,proto3" json:"committer_list,omitempty"`
    // Optional, but strongly recommended. List of chrome-infra-auth groups,
    // whose members are authorized to trigger CQ dry run on Gerrit CLs they own
    // (not to be confused with OWNER files) even if CL hasn't been approved.
    //
    // Typically, such groups are named "project-<name>-tryjob-access".
    DryRunAccessList []string `protobuf:"bytes,2,rep,name=dry_run_access_list,json=dryRunAccessList,proto3" json:"dry_run_access_list,omitempty"`
    // Optional. allow_submit_with_open_deps controls how CQ full run behaves
    // when current Gerrit CL has open dependencies (not yet submitted CLs on
    // which *this* CL depends).
    //
    // If set to false (default), CQ will abort full run attempt immediately if
    // open dependencies are detected.
    //
    // If set to true, then CQ will not abort full run and upon passing all
    // other verifiers, CQ will attempt to submit the CL regardless of open
    // dependencies and whether CQ verified those open dependencies.
    // In turn, if Gerrit project config allows this, Gerrit will execute submit
    // of all dependent CLs first and then this CL.
    AllowSubmitWithOpenDeps bool `protobuf:"varint,3,opt,name=allow_submit_with_open_deps,json=allowSubmitWithOpenDeps,proto3" json:"allow_submit_with_open_deps,omitempty"`
    // Optional. Allow CL owner to trigger CQ dry or full run on their own CL,
    // even if not a member of `committer_list` or `dry_run_access_list`.
    // Defaults to no such allowance.
    //
    // WARNING: using this option is not recommended if you have sticky
    // Code-Review label because this allows a malicious developer to upload
    // an good looking patchset at first, get code review approval,
    // and then upload a bad patchset and CQ it right away.
    //
    // CL owner is Gerrit user owning a CL, i.e., its first patchset uploader.
    // not to be confused with OWNERS files.
    AllowOwnerIfSubmittable Verifiers_GerritCQAbility_CQAction `protobuf:"varint,4,opt,name=allow_owner_if_submittable,json=allowOwnerIfSubmittable,proto3,enum=cq.config.Verifiers_GerritCQAbility_CQAction" json:"allow_owner_if_submittable,omitempty"`
    XXX_NoUnkeyedLiteral    struct{}                           `json:"-"`
    XXX_unrecognized        []byte                             `json:"-"`
    XXX_sizecache           int32                              `json:"-"`
}

func (*Verifiers_GerritCQAbility) Descriptor Uses

func (*Verifiers_GerritCQAbility) Descriptor() ([]byte, []int)

func (*Verifiers_GerritCQAbility) GetAllowOwnerIfSubmittable Uses

func (m *Verifiers_GerritCQAbility) GetAllowOwnerIfSubmittable() Verifiers_GerritCQAbility_CQAction

func (*Verifiers_GerritCQAbility) GetAllowSubmitWithOpenDeps Uses

func (m *Verifiers_GerritCQAbility) GetAllowSubmitWithOpenDeps() bool

func (*Verifiers_GerritCQAbility) GetCommitterList Uses

func (m *Verifiers_GerritCQAbility) GetCommitterList() []string

func (*Verifiers_GerritCQAbility) GetDryRunAccessList Uses

func (m *Verifiers_GerritCQAbility) GetDryRunAccessList() []string

func (*Verifiers_GerritCQAbility) ProtoMessage Uses

func (*Verifiers_GerritCQAbility) ProtoMessage()

func (*Verifiers_GerritCQAbility) Reset Uses

func (m *Verifiers_GerritCQAbility) Reset()

func (*Verifiers_GerritCQAbility) String Uses

func (m *Verifiers_GerritCQAbility) String() string

func (*Verifiers_GerritCQAbility) XXX_DiscardUnknown Uses

func (m *Verifiers_GerritCQAbility) XXX_DiscardUnknown()

func (*Verifiers_GerritCQAbility) XXX_Marshal Uses

func (m *Verifiers_GerritCQAbility) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Verifiers_GerritCQAbility) XXX_Merge Uses

func (m *Verifiers_GerritCQAbility) XXX_Merge(src proto.Message)

func (*Verifiers_GerritCQAbility) XXX_Size Uses

func (m *Verifiers_GerritCQAbility) XXX_Size() int

func (*Verifiers_GerritCQAbility) XXX_Unmarshal Uses

func (m *Verifiers_GerritCQAbility) XXX_Unmarshal(b []byte) error

type Verifiers_GerritCQAbility_CQAction Uses

type Verifiers_GerritCQAbility_CQAction int32

See `allow_owner_if_submittable` doc below.

const (
    Verifiers_GerritCQAbility_UNSET   Verifiers_GerritCQAbility_CQAction = 0
    Verifiers_GerritCQAbility_DRY_RUN Verifiers_GerritCQAbility_CQAction = 1
    // COMMIT implies ability to trigger dry run as well.
    Verifiers_GerritCQAbility_COMMIT Verifiers_GerritCQAbility_CQAction = 2
)

func (Verifiers_GerritCQAbility_CQAction) EnumDescriptor Uses

func (Verifiers_GerritCQAbility_CQAction) EnumDescriptor() ([]byte, []int)

func (Verifiers_GerritCQAbility_CQAction) String Uses

func (x Verifiers_GerritCQAbility_CQAction) String() string

type Verifiers_TreeStatus Uses

type Verifiers_TreeStatus struct {
    // Required. URL of the project tree status app.
    Url                  string   `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

func (*Verifiers_TreeStatus) Descriptor Uses

func (*Verifiers_TreeStatus) Descriptor() ([]byte, []int)

func (*Verifiers_TreeStatus) GetUrl Uses

func (m *Verifiers_TreeStatus) GetUrl() string

func (*Verifiers_TreeStatus) ProtoMessage Uses

func (*Verifiers_TreeStatus) ProtoMessage()

func (*Verifiers_TreeStatus) Reset Uses

func (m *Verifiers_TreeStatus) Reset()

func (*Verifiers_TreeStatus) String Uses

func (m *Verifiers_TreeStatus) String() string

func (*Verifiers_TreeStatus) XXX_DiscardUnknown Uses

func (m *Verifiers_TreeStatus) XXX_DiscardUnknown()

func (*Verifiers_TreeStatus) XXX_Marshal Uses

func (m *Verifiers_TreeStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Verifiers_TreeStatus) XXX_Merge Uses

func (m *Verifiers_TreeStatus) XXX_Merge(src proto.Message)

func (*Verifiers_TreeStatus) XXX_Size Uses

func (m *Verifiers_TreeStatus) XXX_Size() int

func (*Verifiers_TreeStatus) XXX_Unmarshal Uses

func (m *Verifiers_TreeStatus) XXX_Unmarshal(b []byte) error

type Verifiers_Tryjob Uses

type Verifiers_Tryjob struct {
    // Builders on which tryjobs should be triggered.
    Builders []*Verifiers_Tryjob_Builder `protobuf:"bytes,1,rep,name=builders,proto3" json:"builders,omitempty"`
    // Optional, defaulting to no retries whatsoever.
    RetryConfig *Verifiers_Tryjob_RetryConfig `protobuf:"bytes,2,opt,name=retry_config,json=retryConfig,proto3" json:"retry_config,omitempty"`
    // EXPERIMENTAL. WORK IN PROGRESS. https://crbug.com/909895.
    // Optional. If YES, running or not-yet-started tryjobs will be cancelled as
    // soon as substantially different patchset is uploaded to a CL.
    CancelStaleTryjobs   Toggle   `protobuf:"varint,3,opt,name=cancel_stale_tryjobs,json=cancelStaleTryjobs,proto3,enum=cq.config.Toggle" json:"cancel_stale_tryjobs,omitempty"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

func (*Verifiers_Tryjob) Descriptor Uses

func (*Verifiers_Tryjob) Descriptor() ([]byte, []int)

func (*Verifiers_Tryjob) GetBuilders Uses

func (m *Verifiers_Tryjob) GetBuilders() []*Verifiers_Tryjob_Builder

func (*Verifiers_Tryjob) GetCancelStaleTryjobs Uses

func (m *Verifiers_Tryjob) GetCancelStaleTryjobs() Toggle

func (*Verifiers_Tryjob) GetRetryConfig Uses

func (m *Verifiers_Tryjob) GetRetryConfig() *Verifiers_Tryjob_RetryConfig

func (*Verifiers_Tryjob) ProtoMessage Uses

func (*Verifiers_Tryjob) ProtoMessage()

func (*Verifiers_Tryjob) Reset Uses

func (m *Verifiers_Tryjob) Reset()

func (*Verifiers_Tryjob) String Uses

func (m *Verifiers_Tryjob) String() string

func (*Verifiers_Tryjob) XXX_DiscardUnknown Uses

func (m *Verifiers_Tryjob) XXX_DiscardUnknown()

func (*Verifiers_Tryjob) XXX_Marshal Uses

func (m *Verifiers_Tryjob) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Verifiers_Tryjob) XXX_Merge Uses

func (m *Verifiers_Tryjob) XXX_Merge(src proto.Message)

func (*Verifiers_Tryjob) XXX_Size Uses

func (m *Verifiers_Tryjob) XXX_Size() int

func (*Verifiers_Tryjob) XXX_Unmarshal Uses

func (m *Verifiers_Tryjob) XXX_Unmarshal(b []byte) error

type Verifiers_Tryjob_Builder Uses

type Verifiers_Tryjob_Builder struct {
    // Required. Name of the builder as <project>/<bucket>/<builder>
    //
    // Examples:
    //   "chromium/try/linux-tester"
    //   "other-project/try/shared-try-builder"
    Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
    // Optional. If true, a fresh build will be required for each CQ attempt.
    //
    // Default is false, meaning CQ may re-use a successful build
    // triggered before current CQ attempt started.
    //
    // This option is typically used for builders which run depot_tools'
    // PRESUBMIT scripts, which are supposed to be quick to run and provide
    // additional OWNERS, lint, etc checks which are useful to run against
    // the latest revision of the CL's target branch.
    DisableReuse bool `protobuf:"varint,2,opt,name=disable_reuse,json=disableReuse,proto3" json:"disable_reuse,omitempty"`
    // Optional name of a builder (aka parent) which will trigger this builder
    // (aka child).
    //
    // If `triggered_by` is not specified (default), CQ will trigger this
    // builder directly.
    //
    // Else, CQ will wait for `triggered_by` (parent) builder to trigger
    // (possibly, indirectly) this (child) builder.
    // Conditions:
    //   * `triggered_by` (parent) builder must set a special property
    //     `triggered_build_ids` upon successful completion with value set
    //     to a list of triggered Buildbucket build IDs,
    //     corresponding to each triggered build. One or more of the IDs must
    //     correspond to this (child) builder, which will then be waited for
    //     by CQ.
    //   * parent->child relationship graph must be a forest (set of a trees).
    //     However, grandparent->parent->child triggering structure isn't well
    //     tested. Please, talk to CQ maintainers to discuss your use case if you
    //     actually need it.
    //
    // Failure/Retry semantics:
    //   * If `triggered_by` (parent) builder succeeds, but doesn't set
    //     the right `triggered_build_ids` s.t. CQ can't find this (child)
    //     builder among triggered builds, then CQ will wait till
    //     TRYJOB_PENDING_TIMEOUT is reached, currently hardcoded at 2 hours.
    //     TODO(tandrii,sergiyb): improve this.
    //   * If this (child) builder fails and CQ still has retry budget,
    //     CQ will retry a parent builder.
    //
    // For example, given config:
    //   builder { name:         "*/m/mac_compiler" }
    //   builder { name:         "*/m/mac_tester_10.12"
    //             triggered_by: "*/m/mac_compiler" }
    //   builder { name:         "*/m/mac_tester_10.13"
    //             triggered_by: "*/m/mac_compiler" }
    // CQ will trigger and wait for "mac_compiler" to succeed. Then, it'll
    // check its `triggered_build_ids` and find which ones correspond to
    // "mac_tester_10.12" and "mac_tester_10.13" and wait for each to
    // complete.  If say "mac_tester_10.12" fails, CQ will retry
    // "mac_compiler" and expect it to trigger new builds for
    // "mac_tester_10.12" and "mac_tester_10.13".
    TriggeredBy string `protobuf:"bytes,3,opt,name=triggered_by,json=triggeredBy,proto3" json:"triggered_by,omitempty"`
    // Optional. When this field is present, it marks given builder as
    // experimental. It is only triggered on a given percentage of the CLs and
    // the outcome does not affect the decicion whether a CL can land or not.
    // This is typically used to test new builders and estimate their capacity
    // requirements.
    ExperimentPercentage float32 `protobuf:"fixed32,4,opt,name=experiment_percentage,json=experimentPercentage,proto3" json:"experiment_percentage,omitempty"`
    // Optionally specified alternative builder for CQ to choose instead.
    // If provided, CQ will choose only one of the equivalent builders as
    // required based purely on given CL and CL's owner and **regardless** of
    // the possibly already completed try jobs.
    //
    // Note: none of the equivalent builders should be part of triggered_by
    // chain, although CQ may eventually relax this requirement.
    EquivalentTo *Verifiers_Tryjob_EquivalentBuilder `protobuf:"bytes,5,opt,name=equivalent_to,json=equivalentTo,proto3" json:"equivalent_to,omitempty"`
    // Optional. Require this builder only if location_regexp matches a file in
    // this CL.
    //
    // This means:
    //   * If specified and no file in a CL matches any of the location_regexp,
    //   then CQ will not care about this builder.
    //   * If a file in a CL matches any location_regexp_exclude, then this file
    //   won't be considered when matching location_regexp.
    //
    // If location_regexp is not specified (default), builder will be used
    // on all CLs.
    //
    // The location_regexp is matches are done against the following string:
    //   <gerrit_url>/<gerrit_project_name>/+/<cl_file_path>
    // File path must be relative to root of the repo, and it uses Unix /
    // directory separators.
    //
    // The comparison is a full match; the pattern is implicitly anchored with
    // "^" and "$", so there is no need add them.
    //
    // Touching a file means either adding, modifying or removing it.
    //
    // These options currently can not be combined with the following other options:
    //   * experiment_percentage
    //   * triggered_by
    //   * GerritCQAbility.allow_submit_with_open_deps
    // If you need to combine them, please talk to CQ owners.
    //
    // Examples:
    //
    //   location_regexp:
    //   "https://chromium-review.googlesource.com/chromium/src/[+]/third_party/WebKit/.+"
    //     will enable builder for all CLs touching any file in
    //     third_party/WebKit directory of the chromium/src repo, but not
    //     directory itself.
    //
    //   location_regexp:         "https://example.com/repo/[+]/.+"
    //   location_regexp_exclude: "https://example.com/repo/[+]/all/one.txt"
    //     will match a CL which touches at least one file other than
    //     'one.txt' inside all/ directory of the Gerrit project "repo".
    //
    //   location_regexp_exclude: "https://example.com/.+/[+]/one.txt"
    //     will match a CL which touches at least one file other than
    //     'one.txt' in any repository OR belongs to any other Gerrit server.
    //     Note, in this case location_regexp defaults to ".*".
    LocationRegexp        []string `protobuf:"bytes,6,rep,name=location_regexp,json=locationRegexp,proto3" json:"location_regexp,omitempty"`
    LocationRegexpExclude []string `protobuf:"bytes,7,rep,name=location_regexp_exclude,json=locationRegexpExclude,proto3" json:"location_regexp_exclude,omitempty"`
    // If set, this builder will only be triggered if the CL owner (who first
    // uploaded the CL) is a member of at least one of these groups.
    OwnerWhitelistGroup  []string `protobuf:"bytes,8,rep,name=owner_whitelist_group,json=ownerWhitelistGroup,proto3" json:"owner_whitelist_group,omitempty"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

func (*Verifiers_Tryjob_Builder) Descriptor Uses

func (*Verifiers_Tryjob_Builder) Descriptor() ([]byte, []int)

func (*Verifiers_Tryjob_Builder) GetDisableReuse Uses

func (m *Verifiers_Tryjob_Builder) GetDisableReuse() bool

func (*Verifiers_Tryjob_Builder) GetEquivalentTo Uses

func (m *Verifiers_Tryjob_Builder) GetEquivalentTo() *Verifiers_Tryjob_EquivalentBuilder

func (*Verifiers_Tryjob_Builder) GetExperimentPercentage Uses

func (m *Verifiers_Tryjob_Builder) GetExperimentPercentage() float32

func (*Verifiers_Tryjob_Builder) GetLocationRegexp Uses

func (m *Verifiers_Tryjob_Builder) GetLocationRegexp() []string

func (*Verifiers_Tryjob_Builder) GetLocationRegexpExclude Uses

func (m *Verifiers_Tryjob_Builder) GetLocationRegexpExclude() []string

func (*Verifiers_Tryjob_Builder) GetName Uses

func (m *Verifiers_Tryjob_Builder) GetName() string

func (*Verifiers_Tryjob_Builder) GetOwnerWhitelistGroup Uses

func (m *Verifiers_Tryjob_Builder) GetOwnerWhitelistGroup() []string

func (*Verifiers_Tryjob_Builder) GetTriggeredBy Uses

func (m *Verifiers_Tryjob_Builder) GetTriggeredBy() string

func (*Verifiers_Tryjob_Builder) ProtoMessage Uses

func (*Verifiers_Tryjob_Builder) ProtoMessage()

func (*Verifiers_Tryjob_Builder) Reset Uses

func (m *Verifiers_Tryjob_Builder) Reset()

func (*Verifiers_Tryjob_Builder) String Uses

func (m *Verifiers_Tryjob_Builder) String() string

func (*Verifiers_Tryjob_Builder) XXX_DiscardUnknown Uses

func (m *Verifiers_Tryjob_Builder) XXX_DiscardUnknown()

func (*Verifiers_Tryjob_Builder) XXX_Marshal Uses

func (m *Verifiers_Tryjob_Builder) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Verifiers_Tryjob_Builder) XXX_Merge Uses

func (m *Verifiers_Tryjob_Builder) XXX_Merge(src proto.Message)

func (*Verifiers_Tryjob_Builder) XXX_Size Uses

func (m *Verifiers_Tryjob_Builder) XXX_Size() int

func (*Verifiers_Tryjob_Builder) XXX_Unmarshal Uses

func (m *Verifiers_Tryjob_Builder) XXX_Unmarshal(b []byte) error

type Verifiers_Tryjob_EquivalentBuilder Uses

type Verifiers_Tryjob_EquivalentBuilder struct {
    // Required. Name of this builder.
    // Format is the same in the same format as Builder.name.
    Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
    // Percentage expressing probability of CQ triggering this builder instead
    // of the builder to which this builder is equilvanet to.
    //
    // A choice itself is made deterministicly based on CL alone, hereby
    // all CQ attempts on all patchsets of a given CL will trigger the same
    // builder, assuming CQ config doesn't change in the mean time.
    //
    // Note that if `owner_whitelist_group` is also specified, the choice over
    // which of the two builders to trigger will be made only for CLs owned by
    // whitelisted group.
    //
    // If not specified, defaults to 0, meaning this builder is never
    // triggered by CQ, but an existing build can be re-used by CQ.
    //
    // To illustrate, suppose percentage=10. Then,
    //   Without owner_whitelist_group,
    //      ~10% of all CQ attempts will trigger this builder.
    //   With owner_whitelist_group set and, suppose, 1/5 of CQ attempts are
    //      ran on CLs owned by this group, then only ~(1/10)*(1/5) or
    //      ~2% of all CQ attempts will trigger this builder.
    Percentage float32 `protobuf:"fixed32,2,opt,name=percentage,proto3" json:"percentage,omitempty"`
    // If specified, limits the builder to CL owners in this group.
    OwnerWhitelistGroup  string   `protobuf:"bytes,3,opt,name=owner_whitelist_group,json=ownerWhitelistGroup,proto3" json:"owner_whitelist_group,omitempty"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

func (*Verifiers_Tryjob_EquivalentBuilder) Descriptor Uses

func (*Verifiers_Tryjob_EquivalentBuilder) Descriptor() ([]byte, []int)

func (*Verifiers_Tryjob_EquivalentBuilder) GetName Uses

func (m *Verifiers_Tryjob_EquivalentBuilder) GetName() string

func (*Verifiers_Tryjob_EquivalentBuilder) GetOwnerWhitelistGroup Uses

func (m *Verifiers_Tryjob_EquivalentBuilder) GetOwnerWhitelistGroup() string

func (*Verifiers_Tryjob_EquivalentBuilder) GetPercentage Uses

func (m *Verifiers_Tryjob_EquivalentBuilder) GetPercentage() float32

func (*Verifiers_Tryjob_EquivalentBuilder) ProtoMessage Uses

func (*Verifiers_Tryjob_EquivalentBuilder) ProtoMessage()

func (*Verifiers_Tryjob_EquivalentBuilder) Reset Uses

func (m *Verifiers_Tryjob_EquivalentBuilder) Reset()

func (*Verifiers_Tryjob_EquivalentBuilder) String Uses

func (m *Verifiers_Tryjob_EquivalentBuilder) String() string

func (*Verifiers_Tryjob_EquivalentBuilder) XXX_DiscardUnknown Uses

func (m *Verifiers_Tryjob_EquivalentBuilder) XXX_DiscardUnknown()

func (*Verifiers_Tryjob_EquivalentBuilder) XXX_Marshal Uses

func (m *Verifiers_Tryjob_EquivalentBuilder) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Verifiers_Tryjob_EquivalentBuilder) XXX_Merge Uses

func (m *Verifiers_Tryjob_EquivalentBuilder) XXX_Merge(src proto.Message)

func (*Verifiers_Tryjob_EquivalentBuilder) XXX_Size Uses

func (m *Verifiers_Tryjob_EquivalentBuilder) XXX_Size() int

func (*Verifiers_Tryjob_EquivalentBuilder) XXX_Unmarshal Uses

func (m *Verifiers_Tryjob_EquivalentBuilder) XXX_Unmarshal(b []byte) error

type Verifiers_Tryjob_RetryConfig Uses

type Verifiers_Tryjob_RetryConfig struct {
    // Retry quota for a single tryjob.
    SingleQuota int32 `protobuf:"varint,1,opt,name=single_quota,json=singleQuota,proto3" json:"single_quota,omitempty"`
    // Retry quota for all tryjobs in a CL.
    GlobalQuota int32 `protobuf:"varint,2,opt,name=global_quota,json=globalQuota,proto3" json:"global_quota,omitempty"`
    // The weight assigned to each tryjob failure.
    FailureWeight int32 `protobuf:"varint,3,opt,name=failure_weight,json=failureWeight,proto3" json:"failure_weight,omitempty"`
    // The weight assigned to each transient failure.
    TransientFailureWeight int32 `protobuf:"varint,4,opt,name=transient_failure_weight,json=transientFailureWeight,proto3" json:"transient_failure_weight,omitempty"`
    // The weight assigned to tryjob timeouts.
    TimeoutWeight        int32    `protobuf:"varint,5,opt,name=timeout_weight,json=timeoutWeight,proto3" json:"timeout_weight,omitempty"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

Collection of parameters for deciding whether to retry a single build. If parameter is not specified, its value defaults to 0 (per proto3). Thus, omitting all parameters means no retries of any kind.

func (*Verifiers_Tryjob_RetryConfig) Descriptor Uses

func (*Verifiers_Tryjob_RetryConfig) Descriptor() ([]byte, []int)

func (*Verifiers_Tryjob_RetryConfig) GetFailureWeight Uses

func (m *Verifiers_Tryjob_RetryConfig) GetFailureWeight() int32

func (*Verifiers_Tryjob_RetryConfig) GetGlobalQuota Uses

func (m *Verifiers_Tryjob_RetryConfig) GetGlobalQuota() int32

func (*Verifiers_Tryjob_RetryConfig) GetSingleQuota Uses

func (m *Verifiers_Tryjob_RetryConfig) GetSingleQuota() int32

func (*Verifiers_Tryjob_RetryConfig) GetTimeoutWeight Uses

func (m *Verifiers_Tryjob_RetryConfig) GetTimeoutWeight() int32

func (*Verifiers_Tryjob_RetryConfig) GetTransientFailureWeight Uses

func (m *Verifiers_Tryjob_RetryConfig) GetTransientFailureWeight() int32

func (*Verifiers_Tryjob_RetryConfig) ProtoMessage Uses

func (*Verifiers_Tryjob_RetryConfig) ProtoMessage()

func (*Verifiers_Tryjob_RetryConfig) Reset Uses

func (m *Verifiers_Tryjob_RetryConfig) Reset()

func (*Verifiers_Tryjob_RetryConfig) String Uses

func (m *Verifiers_Tryjob_RetryConfig) String() string

func (*Verifiers_Tryjob_RetryConfig) XXX_DiscardUnknown Uses

func (m *Verifiers_Tryjob_RetryConfig) XXX_DiscardUnknown()

func (*Verifiers_Tryjob_RetryConfig) XXX_Marshal Uses

func (m *Verifiers_Tryjob_RetryConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Verifiers_Tryjob_RetryConfig) XXX_Merge Uses

func (m *Verifiers_Tryjob_RetryConfig) XXX_Merge(src proto.Message)

func (*Verifiers_Tryjob_RetryConfig) XXX_Size Uses

func (m *Verifiers_Tryjob_RetryConfig) XXX_Size() int

func (*Verifiers_Tryjob_RetryConfig) XXX_Unmarshal Uses

func (m *Verifiers_Tryjob_RetryConfig) XXX_Unmarshal(b []byte) error

Package config imports 4 packages (graph) and is imported by 6 packages. Updated 2019-06-18. Refresh now. Tools for package owners.