proto: go.chromium.org/chromiumos/infra/proto/go/chromiumos Index | Files

package chromiumos

import "go.chromium.org/chromiumos/infra/proto/go/chromiumos"

Index

Package Files

bot_scaling.pb.go branch.pb.go builder_config.pb.go common.pb.go generate_build_plan.pb.go metrics.pb.go payload_config.pb.go sign_image.pb.go

Variables

var AFDOArtifactType_name = map[int32]string{
    0:  "NONE_TYPE",
    1:  "ORDERFILE",
    2:  "BENCHMARK_AFDO",
    3:  "KERNEL_AFDO",
    4:  "CHROME_AFDO",
}
var AFDOArtifactType_value = map[string]int32{
    "NONE_TYPE":      0,
    "ORDERFILE":      1,
    "BENCHMARK_AFDO": 2,
    "KERNEL_AFDO":    3,
    "CHROME_AFDO":    4,
}
var Actionable_name = map[int32]string{
    0:  "UNSPECIFIED",
    1:  "YES",
    2:  "NO",
}
var Actionable_value = map[string]int32{
    "UNSPECIFIED": 0,
    "YES":         1,
    "NO":          2,
}
var Branch_BranchType_name = map[int32]string{
    0:  "UNSPECIFIED",
    1:  "RELEASE",
    2:  "FACTORY",
    3:  "FIRMWARE",
    4:  "STABILIZE",
    5:  "CUSTOM",
}
var Branch_BranchType_value = map[string]int32{
    "UNSPECIFIED": 0,
    "RELEASE":     1,
    "FACTORY":     2,
    "FIRMWARE":    3,
    "STABILIZE":   4,
    "CUSTOM":      5,
}
var BuilderConfig_Artifacts_ArtifactTypes_name = map[int32]string{
    0:  "ARTIFACT_TYPES_UNSPECIFIED",
    1:  "IMAGE_ZIP",
    2:  "TEST_UPDATE_PAYLOAD",
    3:  "AUTOTEST_FILES",
    4:  "TAST_FILES",
    5:  "PINNED_GUEST_IMAGES",
    6:  "FIRMWARE",
    7:  "EBUILD_LOGS",
    8:  "CHROMEOS_CONFIG",
    9:  "CPE_REPORT",
    10: "IMAGE_ARCHIVES",
    11: "UNVERIFIED_ORDERING_FILE",
    12: "VERIFIED_ORDERING_FILE",
    13: "CHROME_CLANG_WARNINGS_FILE",
    14: "UNVERIFIED_LLVM_PGO_FILE",
    15: "UNVERIFIED_CHROME_AFDO_FILE",
    16: "VERIFIED_CHROME_AFDO_FILE",
    17: "VERIFIED_KERNEL_AFDO_FILE",
}
var BuilderConfig_Artifacts_ArtifactTypes_value = map[string]int32{
    "ARTIFACT_TYPES_UNSPECIFIED":  0,
    "IMAGE_ZIP":                   1,
    "TEST_UPDATE_PAYLOAD":         2,
    "AUTOTEST_FILES":              3,
    "TAST_FILES":                  4,
    "PINNED_GUEST_IMAGES":         5,
    "FIRMWARE":                    6,
    "EBUILD_LOGS":                 7,
    "CHROMEOS_CONFIG":             8,
    "CPE_REPORT":                  9,
    "IMAGE_ARCHIVES":              10,
    "UNVERIFIED_ORDERING_FILE":    11,
    "VERIFIED_ORDERING_FILE":      12,
    "CHROME_CLANG_WARNINGS_FILE":  13,
    "UNVERIFIED_LLVM_PGO_FILE":    14,
    "UNVERIFIED_CHROME_AFDO_FILE": 15,
    "VERIFIED_CHROME_AFDO_FILE":   16,
    "VERIFIED_KERNEL_AFDO_FILE":   17,
}
var BuilderConfig_Artifacts_Prebuilts_name = map[int32]string{
    0:  "PREBUILTS_UNSPECIFIED",
    1:  "PUBLIC",
    2:  "PRIVATE",
    3:  "NONE",
}
var BuilderConfig_Artifacts_Prebuilts_value = map[string]int32{
    "PREBUILTS_UNSPECIFIED": 0,
    "PUBLIC":                1,
    "PRIVATE":               2,
    "NONE":                  3,
}
var BuilderConfig_General_Environment_name = map[int32]string{
    0:  "ENVIRONMENT_UNSPECIFIED",
    1:  "PRODUCTION",
    2:  "STAGING",
}
var BuilderConfig_General_Environment_value = map[string]int32{
    "ENVIRONMENT_UNSPECIFIED": 0,
    "PRODUCTION":              1,
    "STAGING":                 2,
}
var BuilderConfig_General_RunWhen_Mode_name = map[int32]string{
    0:  "MODE_UNSPECIFIED",
    1:  "ALWAYS_RUN",
    2:  "ONLY_RUN_ON_FILE_MATCH",
    3:  "NO_RUN_ON_FILE_MATCH",
}
var BuilderConfig_General_RunWhen_Mode_value = map[string]int32{
    "MODE_UNSPECIFIED":       0,
    "ALWAYS_RUN":             1,
    "ONLY_RUN_ON_FILE_MATCH": 2,
    "NO_RUN_ON_FILE_MATCH":   3,
}
var BuilderConfig_Id_Type_name = map[int32]string{
    0:  "TYPE_UNSPECIFIED",
    1:  "CQ",
    2:  "POSTSUBMIT",
    3:  "TOOLCHAIN",
    4:  "INFORMATIONAL",
}
var BuilderConfig_Id_Type_value = map[string]int32{
    "TYPE_UNSPECIFIED": 0,
    "CQ":               1,
    "POSTSUBMIT":       2,
    "TOOLCHAIN":        3,
    "INFORMATIONAL":    4,
}
var BuilderConfig_RunSpec_name = map[int32]string{
    0:  "RUN_SPEC_UNSPECIFIED",
    1:  "NO_RUN",
    2:  "RUN",
    3:  "RUN_EXIT",
}
var BuilderConfig_RunSpec_value = map[string]int32{
    "RUN_SPEC_UNSPECIFIED": 0,
    "NO_RUN":               1,
    "RUN":                  2,
    "RUN_EXIT":             3,
}
var Channel_name = map[int32]string{
    0:  "CHANNEL_UNSPECIFIED",
    1:  "CHANNEL_STABLE",
    2:  "CHANNEL_BETA",
    3:  "CHANNEL_DEV",
    4:  "CHANNEL_CANARY",
}
var Channel_value = map[string]int32{
    "CHANNEL_UNSPECIFIED": 0,
    "CHANNEL_STABLE":      1,
    "CHANNEL_BETA":        2,
    "CHANNEL_DEV":         3,
    "CHANNEL_CANARY":      4,
}
var Cr50Instructions_Target_name = map[int32]string{
    0:  "UNSPECIFIED",
    1:  "PREPVT",
    2:  "RELEASE_CANDIDATE",
    3:  "NODE_LOCKED",
    4:  "GENERAL_RELEASE",
}
var Cr50Instructions_Target_value = map[string]int32{
    "UNSPECIFIED":       0,
    "PREPVT":            1,
    "RELEASE_CANDIDATE": 2,
    "NODE_LOCKED":       3,
    "GENERAL_RELEASE":   4,
}
var GomaConfig_GomaApproach_name = map[int32]string{
    0:  "GOMA_APPROACH_UNSPECIFIED",
    1:  "DEFAULT",
    2:  "RBE_PROD",
    3:  "RBE_STAGING",
}
var GomaConfig_GomaApproach_value = map[string]int32{
    "GOMA_APPROACH_UNSPECIFIED": 0,
    "DEFAULT":                   1,
    "RBE_PROD":                  2,
    "RBE_STAGING":               3,
}
var ImageType_name = map[int32]string{
    0:  "IMAGE_TYPE_UNDEFINED",
    1:  "BASE",
    2:  "DEV",
    3:  "TEST",
    4:  "BASE_VM",
    5:  "TEST_VM",
    6:  "RECOVERY",
    7:  "FACTORY",
    8:  "FIRMWARE",
    9:  "CR50_FIRMWARE",
    10: "BASE_GUEST_VM",
    11: "TEST_GUEST_VM",
}
var ImageType_value = map[string]int32{
    "IMAGE_TYPE_UNDEFINED": 0,
    "BASE":                 1,
    "DEV":                  2,
    "TEST":                 3,
    "BASE_VM":              4,
    "TEST_VM":              5,
    "RECOVERY":             6,
    "FACTORY":              7,
    "FIRMWARE":             8,
    "CR50_FIRMWARE":        9,
    "BASE_GUEST_VM":        10,
    "TEST_GUEST_VM":        11,
}
var Path_Location_name = map[int32]string{
    0:  "NO_LOCATION",
    1:  "INSIDE",
    2:  "OUTSIDE",
}
var Path_Location_value = map[string]int32{
    "NO_LOCATION": 0,
    "INSIDE":      1,
    "OUTSIDE":     2,
}
var PayloadProperties_DeltaType_name = map[int32]string{
    0:  "NOT_SET",
    1:  "NO_DELTA",
    2:  "OMAHA",
    3:  "STEPPING_STONE",
    4:  "MILESTONE",
    5:  "FSI",
}
var PayloadProperties_DeltaType_value = map[string]int32{
    "NOT_SET":        0,
    "NO_DELTA":       1,
    "OMAHA":          2,
    "STEPPING_STONE": 3,
    "MILESTONE":      4,
    "FSI":            5,
}
var PrepareForBuildResponse_BuildRelevance_name = map[int32]string{
    0:  "UNSPECIFIED",
    1:  "NEEDED",
    2:  "UNKNOWN",
    3:  "POINTLESS",
}
var PrepareForBuildResponse_BuildRelevance_value = map[string]int32{
    "UNSPECIFIED": 0,
    "NEEDED":      1,
    "UNKNOWN":     2,
    "POINTLESS":   3,
}
var SignerType_name = map[int32]string{
    0:  "SIGNER_UNSPECIFIED",
    1:  "SIGNER_PRODUCTION",
    2:  "SIGNER_STAGING",
    3:  "SIGNER_DEV",
}
var SignerType_value = map[string]int32{
    "SIGNER_UNSPECIFIED": 0,
    "SIGNER_PRODUCTION":  1,
    "SIGNER_STAGING":     2,
    "SIGNER_DEV":         3,
}

type AFDOArtifactType Uses

type AFDOArtifactType int32

TODO(crbug.com/1020615): Drop this from chromite/api/toolchain.proto (and here) once usage has migrated to BuilderConfig.Artifacts.ArtifactType. Meanwhile, keep this in sync with chromite/api/toolchain.proto. The various toolchain optimization artifact types.

const (
    // No AFDO artifact type specified.
    AFDOArtifactType_NONE_TYPE AFDOArtifactType = 0
    // The type is orderfile.
    AFDOArtifactType_ORDERFILE AFDOArtifactType = 1
    // The type is Chrome AFDO files generated by benchmarks.
    AFDOArtifactType_BENCHMARK_AFDO AFDOArtifactType = 2
    // The type is kernel AFDO files.
    AFDOArtifactType_KERNEL_AFDO AFDOArtifactType = 3
    // The type is Chrome AFDO used in release builders.
    AFDOArtifactType_CHROME_AFDO AFDOArtifactType = 4
)

func (AFDOArtifactType) EnumDescriptor Uses

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

func (AFDOArtifactType) String Uses

func (x AFDOArtifactType) String() string

type Actionable Uses

type Actionable int32

Specifies if there has been a change since the last iteration.

const (
    Actionable_UNSPECIFIED Actionable = 0
    // There is a change since last time.
    Actionable_YES Actionable = 1
    // There is no change since last time.
    Actionable_NO Actionable = 2
)

func (Actionable) EnumDescriptor Uses

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

func (Actionable) String Uses

func (x Actionable) String() string

type BotPolicy Uses

type BotPolicy struct {
    // Bot group controlled by this policy, like, 'cq', 'postsubmit',...
    BotGroup string `protobuf:"bytes,1,opt,name=bot_group,json=botGroup,proto3" json:"bot_group,omitempty"`
    // The type of bot to be requested.
    BotType              *BotType                       `protobuf:"bytes,2,opt,name=bot_type,json=botType,proto3" json:"bot_type,omitempty"`
    ScalingRestriction   *BotPolicy_ScalingRestriction  `protobuf:"bytes,3,opt,name=scaling_restriction,json=scalingRestriction,proto3" json:"scaling_restriction,omitempty"`
    RegionRestrictions   []*BotPolicy_RegionRestriction `protobuf:"bytes,4,rep,name=region_restrictions,json=regionRestrictions,proto3" json:"region_restrictions,omitempty"`
    XXX_NoUnkeyedLiteral struct{}                       `json:"-"`
    XXX_unrecognized     []byte                         `json:"-"`
    XXX_sizecache        int32                          `json:"-"`
}

Bot Policy to apply to a bot group.

func (*BotPolicy) Descriptor Uses

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

func (*BotPolicy) GetBotGroup Uses

func (m *BotPolicy) GetBotGroup() string

func (*BotPolicy) GetBotType Uses

func (m *BotPolicy) GetBotType() *BotType

func (*BotPolicy) GetRegionRestrictions Uses

func (m *BotPolicy) GetRegionRestrictions() []*BotPolicy_RegionRestriction

func (*BotPolicy) GetScalingRestriction Uses

func (m *BotPolicy) GetScalingRestriction() *BotPolicy_ScalingRestriction

func (*BotPolicy) ProtoMessage Uses

func (*BotPolicy) ProtoMessage()

func (*BotPolicy) Reset Uses

func (m *BotPolicy) Reset()

func (*BotPolicy) String Uses

func (m *BotPolicy) String() string

func (*BotPolicy) XXX_DiscardUnknown Uses

func (m *BotPolicy) XXX_DiscardUnknown()

func (*BotPolicy) XXX_Marshal Uses

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

func (*BotPolicy) XXX_Merge Uses

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

func (*BotPolicy) XXX_Size Uses

func (m *BotPolicy) XXX_Size() int

func (*BotPolicy) XXX_Unmarshal Uses

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

type BotPolicyCfg Uses

type BotPolicyCfg struct {
    // All bot policies.
    BotPolicies          []*BotPolicy `protobuf:"bytes,1,rep,name=bot_policies,json=botPolicies,proto3" json:"bot_policies,omitempty"`
    XXX_NoUnkeyedLiteral struct{}     `json:"-"`
    XXX_unrecognized     []byte       `json:"-"`
    XXX_sizecache        int32        `json:"-"`
}

Configures the root message.

func (*BotPolicyCfg) Descriptor Uses

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

func (*BotPolicyCfg) GetBotPolicies Uses

func (m *BotPolicyCfg) GetBotPolicies() []*BotPolicy

func (*BotPolicyCfg) ProtoMessage Uses

func (*BotPolicyCfg) ProtoMessage()

func (*BotPolicyCfg) Reset Uses

func (m *BotPolicyCfg) Reset()

func (*BotPolicyCfg) String Uses

func (m *BotPolicyCfg) String() string

func (*BotPolicyCfg) XXX_DiscardUnknown Uses

func (m *BotPolicyCfg) XXX_DiscardUnknown()

func (*BotPolicyCfg) XXX_Marshal Uses

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

func (*BotPolicyCfg) XXX_Merge Uses

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

func (*BotPolicyCfg) XXX_Size Uses

func (m *BotPolicyCfg) XXX_Size() int

func (*BotPolicyCfg) XXX_Unmarshal Uses

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

type BotPolicy_RegionRestriction Uses

type BotPolicy_RegionRestriction struct {
    // Region of the bot sub-group.
    Region string `protobuf:"bytes,1,opt,name=region,proto3" json:"region,omitempty"`
    // Specific prefix of the bot sub-group.
    Prefix string `protobuf:"bytes,2,opt,name=prefix,proto3" json:"prefix,omitempty"`
    // Weight to be applied to this sub-group. The number of bots requested
    // from each region will be proportional to the weight unless a
    // quota limit is violated.
    Weight               float32  `protobuf:"fixed32,3,opt,name=weight,proto3" json:"weight,omitempty"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

A set of restrictions on the regions and how to distribute bots between them.

func (*BotPolicy_RegionRestriction) Descriptor Uses

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

func (*BotPolicy_RegionRestriction) GetPrefix Uses

func (m *BotPolicy_RegionRestriction) GetPrefix() string

func (*BotPolicy_RegionRestriction) GetRegion Uses

func (m *BotPolicy_RegionRestriction) GetRegion() string

func (*BotPolicy_RegionRestriction) GetWeight Uses

func (m *BotPolicy_RegionRestriction) GetWeight() float32

func (*BotPolicy_RegionRestriction) ProtoMessage Uses

func (*BotPolicy_RegionRestriction) ProtoMessage()

func (*BotPolicy_RegionRestriction) Reset Uses

func (m *BotPolicy_RegionRestriction) Reset()

func (*BotPolicy_RegionRestriction) String Uses

func (m *BotPolicy_RegionRestriction) String() string

func (*BotPolicy_RegionRestriction) XXX_DiscardUnknown Uses

func (m *BotPolicy_RegionRestriction) XXX_DiscardUnknown()

func (*BotPolicy_RegionRestriction) XXX_Marshal Uses

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

func (*BotPolicy_RegionRestriction) XXX_Merge Uses

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

func (*BotPolicy_RegionRestriction) XXX_Size Uses

func (m *BotPolicy_RegionRestriction) XXX_Size() int

func (*BotPolicy_RegionRestriction) XXX_Unmarshal Uses

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

type BotPolicy_ScalingRestriction Uses

type BotPolicy_ScalingRestriction struct {
    // Hard limit on the maximum number of bots to request.
    BotCeiling int32 `protobuf:"varint,1,opt,name=bot_ceiling,json=botCeiling,proto3" json:"bot_ceiling,omitempty"`
    // Hard limit on the minimum number of bots to request.
    BotFloor int32 `protobuf:"varint,2,opt,name=bot_floor,json=botFloor,proto3" json:"bot_floor,omitempty"`
    // Soft limit on the number of idle bots to maintain.
    MinIdle int32 `protobuf:"varint,3,opt,name=min_idle,json=minIdle,proto3" json:"min_idle,omitempty"`
    // Hard minimum limit on the absolute delta between request amount and
    // existing bot count.
    StepSize int32 `protobuf:"varint,4,opt,name=step_size,json=stepSize,proto3" json:"step_size,omitempty"`
    // Static number to request when demand is not accessible.
    BotFallback          int32    `protobuf:"varint,5,opt,name=bot_fallback,json=botFallback,proto3" json:"bot_fallback,omitempty"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

Scaling restriction specifies the limits on how the group can be expanded or reduced.

func (*BotPolicy_ScalingRestriction) Descriptor Uses

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

func (*BotPolicy_ScalingRestriction) GetBotCeiling Uses

func (m *BotPolicy_ScalingRestriction) GetBotCeiling() int32

func (*BotPolicy_ScalingRestriction) GetBotFallback Uses

func (m *BotPolicy_ScalingRestriction) GetBotFallback() int32

func (*BotPolicy_ScalingRestriction) GetBotFloor Uses

func (m *BotPolicy_ScalingRestriction) GetBotFloor() int32

func (*BotPolicy_ScalingRestriction) GetMinIdle Uses

func (m *BotPolicy_ScalingRestriction) GetMinIdle() int32

func (*BotPolicy_ScalingRestriction) GetStepSize Uses

func (m *BotPolicy_ScalingRestriction) GetStepSize() int32

func (*BotPolicy_ScalingRestriction) ProtoMessage Uses

func (*BotPolicy_ScalingRestriction) ProtoMessage()

func (*BotPolicy_ScalingRestriction) Reset Uses

func (m *BotPolicy_ScalingRestriction) Reset()

func (*BotPolicy_ScalingRestriction) String Uses

func (m *BotPolicy_ScalingRestriction) String() string

func (*BotPolicy_ScalingRestriction) XXX_DiscardUnknown Uses

func (m *BotPolicy_ScalingRestriction) XXX_DiscardUnknown()

func (*BotPolicy_ScalingRestriction) XXX_Marshal Uses

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

func (*BotPolicy_ScalingRestriction) XXX_Merge Uses

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

func (*BotPolicy_ScalingRestriction) XXX_Size Uses

func (m *BotPolicy_ScalingRestriction) XXX_Size() int

func (*BotPolicy_ScalingRestriction) XXX_Unmarshal Uses

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

type BotType Uses

type BotType struct {
    // The string bot "shirt size" to be requested for the group.
    BotSize string `protobuf:"bytes,1,opt,name=bot_size,json=botSize,proto3" json:"bot_size,omitempty"`
    // The number of cores per bot. Will be used to limit quota usage.
    CoresPerBot          int32    `protobuf:"varint,2,opt,name=cores_per_bot,json=coresPerBot,proto3" json:"cores_per_bot,omitempty"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

Defines a type of bot associated with a bot group.

func (*BotType) Descriptor Uses

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

func (*BotType) GetBotSize Uses

func (m *BotType) GetBotSize() string

func (*BotType) GetCoresPerBot Uses

func (m *BotType) GetCoresPerBot() int32

func (*BotType) ProtoMessage Uses

func (*BotType) ProtoMessage()

func (*BotType) Reset Uses

func (m *BotType) Reset()

func (*BotType) String Uses

func (m *BotType) String() string

func (*BotType) XXX_DiscardUnknown Uses

func (m *BotType) XXX_DiscardUnknown()

func (*BotType) XXX_Marshal Uses

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

func (*BotType) XXX_Merge Uses

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

func (*BotType) XXX_Size Uses

func (m *BotType) XXX_Size() int

func (*BotType) XXX_Unmarshal Uses

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

type Branch Uses

type Branch struct {
    // Type of branch.
    Type Branch_BranchType `protobuf:"varint,1,opt,name=type,proto3,enum=chromiumos.Branch_BranchType" json:"type,omitempty"`
    // Name of branch.
    Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
    // Branch descriptor (usually a build target or device name).
    // Optional.
    Descriptor_          string   `protobuf:"bytes,3,opt,name=descriptor,proto3" json:"descriptor,omitempty"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

A message to specify branches.

func (*Branch) Descriptor Uses

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

func (*Branch) GetDescriptor_ Uses

func (m *Branch) GetDescriptor_() string

func (*Branch) GetName Uses

func (m *Branch) GetName() string

func (*Branch) GetType Uses

func (m *Branch) GetType() Branch_BranchType

func (*Branch) ProtoMessage Uses

func (*Branch) ProtoMessage()

func (*Branch) Reset Uses

func (m *Branch) Reset()

func (*Branch) String Uses

func (m *Branch) String() string

func (*Branch) XXX_DiscardUnknown Uses

func (m *Branch) XXX_DiscardUnknown()

func (*Branch) XXX_Marshal Uses

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

func (*Branch) XXX_Merge Uses

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

func (*Branch) XXX_Size Uses

func (m *Branch) XXX_Size() int

func (*Branch) XXX_Unmarshal Uses

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

type Branch_BranchType Uses

type Branch_BranchType int32

The types of branches that can be created.

const (
    Branch_UNSPECIFIED Branch_BranchType = 0
    Branch_RELEASE     Branch_BranchType = 1
    Branch_FACTORY     Branch_BranchType = 2
    Branch_FIRMWARE    Branch_BranchType = 3
    Branch_STABILIZE   Branch_BranchType = 4
    Branch_CUSTOM      Branch_BranchType = 5
)

func (Branch_BranchType) EnumDescriptor Uses

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

func (Branch_BranchType) String Uses

func (x Branch_BranchType) String() string

type BuildTarget Uses

type BuildTarget struct {
    // The name of the build target (a.k.a. board name).
    Name                 string   `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

BuildTarget encapsulates a number of related arguments. At the moment, the usage of specific arguments is on a per endpoint basis, but will converge to support a standard set as time goes on. BuildTarget is a more appropriate name going forward for what we currently call "board".

func (*BuildTarget) Descriptor Uses

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

func (*BuildTarget) GetName Uses

func (m *BuildTarget) GetName() string

func (*BuildTarget) ProtoMessage Uses

func (*BuildTarget) ProtoMessage()

func (*BuildTarget) Reset Uses

func (m *BuildTarget) Reset()

func (*BuildTarget) String Uses

func (m *BuildTarget) String() string

func (*BuildTarget) XXX_DiscardUnknown Uses

func (m *BuildTarget) XXX_DiscardUnknown()

func (*BuildTarget) XXX_Marshal Uses

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

func (*BuildTarget) XXX_Merge Uses

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

func (*BuildTarget) XXX_Size Uses

func (m *BuildTarget) XXX_Size() int

func (*BuildTarget) XXX_Unmarshal Uses

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

type BuilderConfig Uses

type BuilderConfig struct {
    Id                   *BuilderConfig_Id           `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
    General              *BuilderConfig_General      `protobuf:"bytes,2,opt,name=general,proto3" json:"general,omitempty"`
    Orchestrator         *BuilderConfig_Orchestrator `protobuf:"bytes,3,opt,name=orchestrator,proto3" json:"orchestrator,omitempty"`
    Artifacts            *BuilderConfig_Artifacts    `protobuf:"bytes,4,opt,name=artifacts,proto3" json:"artifacts,omitempty"`
    Chrome               *BuilderConfig_Chrome       `protobuf:"bytes,5,opt,name=chrome,proto3" json:"chrome,omitempty"`
    Build                *BuilderConfig_Build        `protobuf:"bytes,6,opt,name=build,proto3" json:"build,omitempty"`
    UnitTests            *BuilderConfig_UnitTests    `protobuf:"bytes,7,opt,name=unit_tests,json=unitTests,proto3" json:"unit_tests,omitempty"`
    XXX_NoUnkeyedLiteral struct{}                    `json:"-"`
    XXX_unrecognized     []byte                      `json:"-"`
    XXX_sizecache        int32                       `json:"-"`
}

Configuration used by a builder during execution.

func (*BuilderConfig) Descriptor Uses

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

func (*BuilderConfig) GetArtifacts Uses

func (m *BuilderConfig) GetArtifacts() *BuilderConfig_Artifacts

func (*BuilderConfig) GetBuild Uses

func (m *BuilderConfig) GetBuild() *BuilderConfig_Build

func (*BuilderConfig) GetChrome Uses

func (m *BuilderConfig) GetChrome() *BuilderConfig_Chrome

func (*BuilderConfig) GetGeneral Uses

func (m *BuilderConfig) GetGeneral() *BuilderConfig_General

func (*BuilderConfig) GetId Uses

func (m *BuilderConfig) GetId() *BuilderConfig_Id

func (*BuilderConfig) GetOrchestrator Uses

func (m *BuilderConfig) GetOrchestrator() *BuilderConfig_Orchestrator

func (*BuilderConfig) GetUnitTests Uses

func (m *BuilderConfig) GetUnitTests() *BuilderConfig_UnitTests

func (*BuilderConfig) ProtoMessage Uses

func (*BuilderConfig) ProtoMessage()

func (*BuilderConfig) Reset Uses

func (m *BuilderConfig) Reset()

func (*BuilderConfig) String Uses

func (m *BuilderConfig) String() string

func (*BuilderConfig) XXX_DiscardUnknown Uses

func (m *BuilderConfig) XXX_DiscardUnknown()

func (*BuilderConfig) XXX_Marshal Uses

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

func (*BuilderConfig) XXX_Merge Uses

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

func (*BuilderConfig) XXX_Size Uses

func (m *BuilderConfig) XXX_Size() int

func (*BuilderConfig) XXX_Unmarshal Uses

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

type BuilderConfig_Artifacts Uses

type BuilderConfig_Artifacts struct {
    Prebuilts     BuilderConfig_Artifacts_Prebuilts       `protobuf:"varint,1,opt,name=prebuilts,proto3,enum=chromiumos.BuilderConfig_Artifacts_Prebuilts" json:"prebuilts,omitempty"`
    ArtifactTypes []BuilderConfig_Artifacts_ArtifactTypes `protobuf:"varint,2,rep,packed,name=artifact_types,json=artifactTypes,proto3,enum=chromiumos.BuilderConfig_Artifacts_ArtifactTypes" json:"artifact_types,omitempty"`
    // Google storage bucket to upload prebuilts to.
    PrebuiltsGsBucket string `protobuf:"bytes,3,opt,name=prebuilts_gs_bucket,json=prebuiltsGsBucket,proto3" json:"prebuilts_gs_bucket,omitempty"`
    // Google storage bucket to upload artifacts to.
    ArtifactsGsBucket string `protobuf:"bytes,4,opt,name=artifacts_gs_bucket,json=artifactsGsBucket,proto3" json:"artifacts_gs_bucket,omitempty"`
    // There may be more than one set of publishing instructions.
    PublishArtifacts []*BuilderConfig_Artifacts_PublishInfo `protobuf:"bytes,5,rep,name=publish_artifacts,json=publishArtifacts,proto3" json:"publish_artifacts,omitempty"`
    // There may be more than one set of consumable artifacts.
    InputArtifacts       []*BuilderConfig_Artifacts_InputArtifactInfo `protobuf:"bytes,6,rep,name=input_artifacts,json=inputArtifacts,proto3" json:"input_artifacts,omitempty"`
    XXX_NoUnkeyedLiteral struct{}                                     `json:"-"`
    XXX_unrecognized     []byte                                       `json:"-"`
    XXX_sizecache        int32                                        `json:"-"`
}

Configuration pertaining to artifacts produced during a build.

func (*BuilderConfig_Artifacts) Descriptor Uses

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

func (*BuilderConfig_Artifacts) GetArtifactTypes Uses

func (m *BuilderConfig_Artifacts) GetArtifactTypes() []BuilderConfig_Artifacts_ArtifactTypes

func (*BuilderConfig_Artifacts) GetArtifactsGsBucket Uses

func (m *BuilderConfig_Artifacts) GetArtifactsGsBucket() string

func (*BuilderConfig_Artifacts) GetInputArtifacts Uses

func (m *BuilderConfig_Artifacts) GetInputArtifacts() []*BuilderConfig_Artifacts_InputArtifactInfo

func (*BuilderConfig_Artifacts) GetPrebuilts Uses

func (m *BuilderConfig_Artifacts) GetPrebuilts() BuilderConfig_Artifacts_Prebuilts

func (*BuilderConfig_Artifacts) GetPrebuiltsGsBucket Uses

func (m *BuilderConfig_Artifacts) GetPrebuiltsGsBucket() string

func (*BuilderConfig_Artifacts) GetPublishArtifacts Uses

func (m *BuilderConfig_Artifacts) GetPublishArtifacts() []*BuilderConfig_Artifacts_PublishInfo

func (*BuilderConfig_Artifacts) ProtoMessage Uses

func (*BuilderConfig_Artifacts) ProtoMessage()

func (*BuilderConfig_Artifacts) Reset Uses

func (m *BuilderConfig_Artifacts) Reset()

func (*BuilderConfig_Artifacts) String Uses

func (m *BuilderConfig_Artifacts) String() string

func (*BuilderConfig_Artifacts) XXX_DiscardUnknown Uses

func (m *BuilderConfig_Artifacts) XXX_DiscardUnknown()

func (*BuilderConfig_Artifacts) XXX_Marshal Uses

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

func (*BuilderConfig_Artifacts) XXX_Merge Uses

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

func (*BuilderConfig_Artifacts) XXX_Size Uses

func (m *BuilderConfig_Artifacts) XXX_Size() int

func (*BuilderConfig_Artifacts) XXX_Unmarshal Uses

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

type BuilderConfig_Artifacts_ArtifactTypes Uses

type BuilderConfig_Artifacts_ArtifactTypes int32

Used to indicate artifact types that should be uploaded by the builder. Must be kept in sync with the dictionary in: https://chromium.googlesource.com/chromiumos/infra/recipes/+/refs/heads/master/recipe_modules/cros_artifacts/api.py TODO(crbug/1027720): Migrate this to common.proto

const (
    BuilderConfig_Artifacts_ARTIFACT_TYPES_UNSPECIFIED BuilderConfig_Artifacts_ArtifactTypes = 0
    // Indicates wanting a zip file of everything in the image directory.
    BuilderConfig_Artifacts_IMAGE_ZIP BuilderConfig_Artifacts_ArtifactTypes = 1
    // Indicates wanting update payloads.
    BuilderConfig_Artifacts_TEST_UPDATE_PAYLOAD BuilderConfig_Artifacts_ArtifactTypes = 2
    // Indicates wanting the autotest tarballs.
    BuilderConfig_Artifacts_AUTOTEST_FILES BuilderConfig_Artifacts_ArtifactTypes = 3
    // Indicates wanting a tarball containing private TAST test bundles.
    BuilderConfig_Artifacts_TAST_FILES BuilderConfig_Artifacts_ArtifactTypes = 4
    // Indicates wanting a tarball containing guest images and test bundles.
    BuilderConfig_Artifacts_PINNED_GUEST_IMAGES BuilderConfig_Artifacts_ArtifactTypes = 5
    // Indicates wanting an archive of firmware images built from source.
    BuilderConfig_Artifacts_FIRMWARE BuilderConfig_Artifacts_ArtifactTypes = 6
    // Indicates wanting a tarball of the Ebuilds logs.
    BuilderConfig_Artifacts_EBUILD_LOGS BuilderConfig_Artifacts_ArtifactTypes = 7
    // Indicates wanting an archive of the ChromeOS Config.
    BuilderConfig_Artifacts_CHROMEOS_CONFIG BuilderConfig_Artifacts_ArtifactTypes = 8
    // Indicates wanting the CPE report.
    BuilderConfig_Artifacts_CPE_REPORT BuilderConfig_Artifacts_ArtifactTypes = 9
    // Indicates wanting a tar.xz archive for each image that has been created.
    BuilderConfig_Artifacts_IMAGE_ARCHIVES BuilderConfig_Artifacts_ArtifactTypes = 10
    //
    // Artifacts from ORDERFILE_GENERATE through KERNEL_AFDO_VERIFY are used
    // by the toolchain.
    //
    // Indicates wanting an unvetted orderfile for Chrome.
    BuilderConfig_Artifacts_UNVERIFIED_ORDERING_FILE BuilderConfig_Artifacts_ArtifactTypes = 11
    // Indicates wanting a vetted orderfile for Chrome.
    BuilderConfig_Artifacts_VERIFIED_ORDERING_FILE BuilderConfig_Artifacts_ArtifactTypes = 12
    // Indicates wanting a clang-tidy artifact.
    BuilderConfig_Artifacts_CHROME_CLANG_WARNINGS_FILE BuilderConfig_Artifacts_ArtifactTypes = 13
    // Indicates wanting a PGO artifact for the compiler.
    BuilderConfig_Artifacts_UNVERIFIED_LLVM_PGO_FILE BuilderConfig_Artifacts_ArtifactTypes = 14
    // Indicates wanting an unvetted AFDO Chrome profile.
    BuilderConfig_Artifacts_UNVERIFIED_CHROME_AFDO_FILE BuilderConfig_Artifacts_ArtifactTypes = 15
    // Indicates wanting a vetted AFDO Chrome profile.
    BuilderConfig_Artifacts_VERIFIED_CHROME_AFDO_FILE BuilderConfig_Artifacts_ArtifactTypes = 16
    // Indicates wanting a vetted AFDO Kernel profile.
    BuilderConfig_Artifacts_VERIFIED_KERNEL_AFDO_FILE BuilderConfig_Artifacts_ArtifactTypes = 17
)

func (BuilderConfig_Artifacts_ArtifactTypes) EnumDescriptor Uses

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

func (BuilderConfig_Artifacts_ArtifactTypes) String Uses

func (x BuilderConfig_Artifacts_ArtifactTypes) String() string

type BuilderConfig_Artifacts_InputArtifactInfo Uses

type BuilderConfig_Artifacts_InputArtifactInfo struct {
    // Artifact type to seek in these buckets.  Use the first instance of the
    // artifact found in the list of locations.
    InputArtifactType BuilderConfig_Artifacts_ArtifactTypes `protobuf:"varint,1,opt,name=input_artifact_type,json=inputArtifactType,proto3,enum=chromiumos.BuilderConfig_Artifacts_ArtifactTypes" json:"input_artifact_type,omitempty"`
    // Google storage locations containing these artifacts.
    InputArtifactGsLocations []string `protobuf:"bytes,2,rep,name=input_artifact_gs_locations,json=inputArtifactGsLocations,proto3" json:"input_artifact_gs_locations,omitempty"`
    XXX_NoUnkeyedLiteral     struct{} `json:"-"`
    XXX_unrecognized         []byte   `json:"-"`
    XXX_sizecache            int32    `json:"-"`
}

func (*BuilderConfig_Artifacts_InputArtifactInfo) Descriptor Uses

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

func (*BuilderConfig_Artifacts_InputArtifactInfo) GetInputArtifactGsLocations Uses

func (m *BuilderConfig_Artifacts_InputArtifactInfo) GetInputArtifactGsLocations() []string

func (*BuilderConfig_Artifacts_InputArtifactInfo) GetInputArtifactType Uses

func (m *BuilderConfig_Artifacts_InputArtifactInfo) GetInputArtifactType() BuilderConfig_Artifacts_ArtifactTypes

func (*BuilderConfig_Artifacts_InputArtifactInfo) ProtoMessage Uses

func (*BuilderConfig_Artifacts_InputArtifactInfo) ProtoMessage()

func (*BuilderConfig_Artifacts_InputArtifactInfo) Reset Uses

func (m *BuilderConfig_Artifacts_InputArtifactInfo) Reset()

func (*BuilderConfig_Artifacts_InputArtifactInfo) String Uses

func (m *BuilderConfig_Artifacts_InputArtifactInfo) String() string

func (*BuilderConfig_Artifacts_InputArtifactInfo) XXX_DiscardUnknown Uses

func (m *BuilderConfig_Artifacts_InputArtifactInfo) XXX_DiscardUnknown()

func (*BuilderConfig_Artifacts_InputArtifactInfo) XXX_Marshal Uses

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

func (*BuilderConfig_Artifacts_InputArtifactInfo) XXX_Merge Uses

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

func (*BuilderConfig_Artifacts_InputArtifactInfo) XXX_Size Uses

func (m *BuilderConfig_Artifacts_InputArtifactInfo) XXX_Size() int

func (*BuilderConfig_Artifacts_InputArtifactInfo) XXX_Unmarshal Uses

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

type BuilderConfig_Artifacts_Prebuilts Uses

type BuilderConfig_Artifacts_Prebuilts int32

How to handle the uploading of prebuilts.

const (
    BuilderConfig_Artifacts_PREBUILTS_UNSPECIFIED BuilderConfig_Artifacts_Prebuilts = 0
    BuilderConfig_Artifacts_PUBLIC                BuilderConfig_Artifacts_Prebuilts = 1
    BuilderConfig_Artifacts_PRIVATE               BuilderConfig_Artifacts_Prebuilts = 2
    BuilderConfig_Artifacts_NONE                  BuilderConfig_Artifacts_Prebuilts = 3
)

func (BuilderConfig_Artifacts_Prebuilts) EnumDescriptor Uses

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

func (BuilderConfig_Artifacts_Prebuilts) String Uses

func (x BuilderConfig_Artifacts_Prebuilts) String() string

type BuilderConfig_Artifacts_PublishInfo Uses

type BuilderConfig_Artifacts_PublishInfo struct {
    // Google storage bucket to publish these artifact types to.
    // TODO(crbug/1019868): remove this after uses have migrated.
    // DEPRECTATED: use publish_gs_location.
    PublishGsBucket string `protobuf:"bytes,1,opt,name=publish_gs_bucket,json=publishGsBucket,proto3" json:"publish_gs_bucket,omitempty"`
    // Artifact types to publish to this bucket.
    PublishTypes []BuilderConfig_Artifacts_ArtifactTypes `protobuf:"varint,2,rep,packed,name=publish_types,json=publishTypes,proto3,enum=chromiumos.BuilderConfig_Artifacts_ArtifactTypes" json:"publish_types,omitempty"`
    // GS location in which to publish artifacts ("gs://" is prepended).
    // Several fields can be logically specified:
    //   %(kind)s: BuilderConfig.Id.Type with underscores turned into hyphens.
    //   %(version)s: Chromeos version (e.g., R81-12813.0.0)
    //   %(build_id)s: Buildbucket job ID.
    //   %(target)s: build target name.
    //   %(gs_path)s: "%(target)s-%(kind)s/%(version)s-%(build_id)s".
    //   %(artifact_name)s: The name of the artifact being published.
    PublishGsLocation    string   `protobuf:"bytes,3,opt,name=publish_gs_location,json=publishGsLocation,proto3" json:"publish_gs_location,omitempty"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

func (*BuilderConfig_Artifacts_PublishInfo) Descriptor Uses

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

func (*BuilderConfig_Artifacts_PublishInfo) GetPublishGsBucket Uses

func (m *BuilderConfig_Artifacts_PublishInfo) GetPublishGsBucket() string

func (*BuilderConfig_Artifacts_PublishInfo) GetPublishGsLocation Uses

func (m *BuilderConfig_Artifacts_PublishInfo) GetPublishGsLocation() string

func (*BuilderConfig_Artifacts_PublishInfo) GetPublishTypes Uses

func (m *BuilderConfig_Artifacts_PublishInfo) GetPublishTypes() []BuilderConfig_Artifacts_ArtifactTypes

func (*BuilderConfig_Artifacts_PublishInfo) ProtoMessage Uses

func (*BuilderConfig_Artifacts_PublishInfo) ProtoMessage()

func (*BuilderConfig_Artifacts_PublishInfo) Reset Uses

func (m *BuilderConfig_Artifacts_PublishInfo) Reset()

func (*BuilderConfig_Artifacts_PublishInfo) String Uses

func (m *BuilderConfig_Artifacts_PublishInfo) String() string

func (*BuilderConfig_Artifacts_PublishInfo) XXX_DiscardUnknown Uses

func (m *BuilderConfig_Artifacts_PublishInfo) XXX_DiscardUnknown()

func (*BuilderConfig_Artifacts_PublishInfo) XXX_Marshal Uses

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

func (*BuilderConfig_Artifacts_PublishInfo) XXX_Merge Uses

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

func (*BuilderConfig_Artifacts_PublishInfo) XXX_Size Uses

func (m *BuilderConfig_Artifacts_PublishInfo) XXX_Size() int

func (*BuilderConfig_Artifacts_PublishInfo) XXX_Unmarshal Uses

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

type BuilderConfig_Build Uses

type BuilderConfig_Build struct {
    // USE flags to use with the build.
    UseFlags       []*UseFlag                          `protobuf:"bytes,1,rep,name=use_flags,json=useFlags,proto3" json:"use_flags,omitempty"`
    PortageProfile *BuilderConfig_Build_PortageProfile `protobuf:"bytes,2,opt,name=portage_profile,json=portageProfile,proto3" json:"portage_profile,omitempty"`
    // Image types to build.
    ImageTypes []ImageType `protobuf:"varint,3,rep,packed,name=image_types,json=imageTypes,proto3,enum=chromiumos.ImageType" json:"image_types,omitempty"`
    // Controls the running of the install packages step.
    InstallPackages BuilderConfig_RunSpec `protobuf:"varint,4,opt,name=install_packages,json=installPackages,proto3,enum=chromiumos.BuilderConfig_RunSpec" json:"install_packages,omitempty"`
    // Compile toolchain from source (true), or use bin packages (false).  This
    // applies to the install toolchain step only.
    CompileToolchain bool `protobuf:"varint,5,opt,name=compile_toolchain,json=compileToolchain,proto3" json:"compile_toolchain,omitempty"`
    // Whether to apply gerrit changes, if any. Use case is to build without
    // changes after failure to identify the changes as the culprit.
    ApplyGerritChanges bool `protobuf:"varint,6,opt,name=apply_gerrit_changes,json=applyGerritChanges,proto3" json:"apply_gerrit_changes,omitempty"`
    // Packages to build, or empty to build all packages.
    Packages []*PackageInfo `protobuf:"bytes,7,rep,name=packages,proto3" json:"packages,omitempty"`
    // Build packages from source (true), or use bin packages (false).  This
    // applies to the install packages step only.
    CompileSource bool `protobuf:"varint,10,opt,name=compile_source,json=compileSource,proto3" json:"compile_source,omitempty"`
    // Compile sdk packages from source (true) or use prebuilts (false).  This
    // applies to the update sdk step only.
    CompileUpdateSdk     bool     `protobuf:"varint,11,opt,name=compile_update_sdk,json=compileUpdateSdk,proto3" json:"compile_update_sdk,omitempty"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

Build specific configuration.

func (*BuilderConfig_Build) Descriptor Uses

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

func (*BuilderConfig_Build) GetApplyGerritChanges Uses

func (m *BuilderConfig_Build) GetApplyGerritChanges() bool

func (*BuilderConfig_Build) GetCompileSource Uses

func (m *BuilderConfig_Build) GetCompileSource() bool

func (*BuilderConfig_Build) GetCompileToolchain Uses

func (m *BuilderConfig_Build) GetCompileToolchain() bool

func (*BuilderConfig_Build) GetCompileUpdateSdk Uses

func (m *BuilderConfig_Build) GetCompileUpdateSdk() bool

func (*BuilderConfig_Build) GetImageTypes Uses

func (m *BuilderConfig_Build) GetImageTypes() []ImageType

func (*BuilderConfig_Build) GetInstallPackages Uses

func (m *BuilderConfig_Build) GetInstallPackages() BuilderConfig_RunSpec

func (*BuilderConfig_Build) GetPackages Uses

func (m *BuilderConfig_Build) GetPackages() []*PackageInfo

func (*BuilderConfig_Build) GetPortageProfile Uses

func (m *BuilderConfig_Build) GetPortageProfile() *BuilderConfig_Build_PortageProfile

func (*BuilderConfig_Build) GetUseFlags Uses

func (m *BuilderConfig_Build) GetUseFlags() []*UseFlag

func (*BuilderConfig_Build) ProtoMessage Uses

func (*BuilderConfig_Build) ProtoMessage()

func (*BuilderConfig_Build) Reset Uses

func (m *BuilderConfig_Build) Reset()

func (*BuilderConfig_Build) String Uses

func (m *BuilderConfig_Build) String() string

func (*BuilderConfig_Build) XXX_DiscardUnknown Uses

func (m *BuilderConfig_Build) XXX_DiscardUnknown()

func (*BuilderConfig_Build) XXX_Marshal Uses

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

func (*BuilderConfig_Build) XXX_Merge Uses

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

func (*BuilderConfig_Build) XXX_Size Uses

func (m *BuilderConfig_Build) XXX_Size() int

func (*BuilderConfig_Build) XXX_Unmarshal Uses

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

type BuilderConfig_Build_PortageProfile Uses

type BuilderConfig_Build_PortageProfile struct {
    Profile              string   `protobuf:"bytes,1,opt,name=profile,proto3" json:"profile,omitempty"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

The profile of the variant to set up and build.

func (*BuilderConfig_Build_PortageProfile) Descriptor Uses

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

func (*BuilderConfig_Build_PortageProfile) GetProfile Uses

func (m *BuilderConfig_Build_PortageProfile) GetProfile() string

func (*BuilderConfig_Build_PortageProfile) ProtoMessage Uses

func (*BuilderConfig_Build_PortageProfile) ProtoMessage()

func (*BuilderConfig_Build_PortageProfile) Reset Uses

func (m *BuilderConfig_Build_PortageProfile) Reset()

func (*BuilderConfig_Build_PortageProfile) String Uses

func (m *BuilderConfig_Build_PortageProfile) String() string

func (*BuilderConfig_Build_PortageProfile) XXX_DiscardUnknown Uses

func (m *BuilderConfig_Build_PortageProfile) XXX_DiscardUnknown()

func (*BuilderConfig_Build_PortageProfile) XXX_Marshal Uses

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

func (*BuilderConfig_Build_PortageProfile) XXX_Merge Uses

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

func (*BuilderConfig_Build_PortageProfile) XXX_Size Uses

func (m *BuilderConfig_Build_PortageProfile) XXX_Size() int

func (*BuilderConfig_Build_PortageProfile) XXX_Unmarshal Uses

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

type BuilderConfig_Chrome Uses

type BuilderConfig_Chrome struct {
    // Whether to build internal or external Chrome. Internal chrome adds
    // Chrome branding.
    Internal             bool     `protobuf:"varint,1,opt,name=internal,proto3" json:"internal,omitempty"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

Configuration pertaining to Chrome.

func (*BuilderConfig_Chrome) Descriptor Uses

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

func (*BuilderConfig_Chrome) GetInternal Uses

func (m *BuilderConfig_Chrome) GetInternal() bool

func (*BuilderConfig_Chrome) ProtoMessage Uses

func (*BuilderConfig_Chrome) ProtoMessage()

func (*BuilderConfig_Chrome) Reset Uses

func (m *BuilderConfig_Chrome) Reset()

func (*BuilderConfig_Chrome) String Uses

func (m *BuilderConfig_Chrome) String() string

func (*BuilderConfig_Chrome) XXX_DiscardUnknown Uses

func (m *BuilderConfig_Chrome) XXX_DiscardUnknown()

func (*BuilderConfig_Chrome) XXX_Marshal Uses

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

func (*BuilderConfig_Chrome) XXX_Merge Uses

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

func (*BuilderConfig_Chrome) XXX_Size Uses

func (m *BuilderConfig_Chrome) XXX_Size() int

func (*BuilderConfig_Chrome) XXX_Unmarshal Uses

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

type BuilderConfig_General Uses

type BuilderConfig_General struct {
    // Whether or not the build is considered critical. A failure in a critical
    // build for a CQ builder may, for example, prevent submission of the CL.
    Critical    *wrappers.BoolValue               `protobuf:"bytes,1,opt,name=critical,proto3" json:"critical,omitempty"`
    Environment BuilderConfig_General_Environment `protobuf:"varint,2,opt,name=environment,proto3,enum=chromiumos.BuilderConfig_General_Environment" json:"environment,omitempty"`
    // A rule describing conditions under which this builder should be launched.
    RunWhen *BuilderConfig_General_RunWhen `protobuf:"bytes,3,opt,name=run_when,json=runWhen,proto3" json:"run_when,omitempty"`
    // Time before which ToT had a bug that would not manifest at the
    // build stage. The CQ orchestrator should NOT reuse successful builds
    // of the build_config before this.
    BrokenBefore *timestamp.Timestamp `protobuf:"bytes,4,opt,name=broken_before,json=brokenBefore,proto3" json:"broken_before,omitempty"`
    // If present, this version number will be written to a version file
    // alongside a bot's SDK Cache (chroot). On subsequent bot-run where an SDK
    // Cache already exists, the version number in config will be compared to
    // the number present in the version file, and the SDK Cache will be
    // invalidated if there is a mismatch.
    SdkCacheVersion      int32    `protobuf:"varint,5,opt,name=sdk_cache_version,json=sdkCacheVersion,proto3" json:"sdk_cache_version,omitempty"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

General configuration for the builder.

func (*BuilderConfig_General) Descriptor Uses

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

func (*BuilderConfig_General) GetBrokenBefore Uses

func (m *BuilderConfig_General) GetBrokenBefore() *timestamp.Timestamp

func (*BuilderConfig_General) GetCritical Uses

func (m *BuilderConfig_General) GetCritical() *wrappers.BoolValue

func (*BuilderConfig_General) GetEnvironment Uses

func (m *BuilderConfig_General) GetEnvironment() BuilderConfig_General_Environment

func (*BuilderConfig_General) GetRunWhen Uses

func (m *BuilderConfig_General) GetRunWhen() *BuilderConfig_General_RunWhen

func (*BuilderConfig_General) GetSdkCacheVersion Uses

func (m *BuilderConfig_General) GetSdkCacheVersion() int32

func (*BuilderConfig_General) ProtoMessage Uses

func (*BuilderConfig_General) ProtoMessage()

func (*BuilderConfig_General) Reset Uses

func (m *BuilderConfig_General) Reset()

func (*BuilderConfig_General) String Uses

func (m *BuilderConfig_General) String() string

func (*BuilderConfig_General) XXX_DiscardUnknown Uses

func (m *BuilderConfig_General) XXX_DiscardUnknown()

func (*BuilderConfig_General) XXX_Marshal Uses

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

func (*BuilderConfig_General) XXX_Merge Uses

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

func (*BuilderConfig_General) XXX_Size Uses

func (m *BuilderConfig_General) XXX_Size() int

func (*BuilderConfig_General) XXX_Unmarshal Uses

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

type BuilderConfig_General_Environment Uses

type BuilderConfig_General_Environment int32
const (
    BuilderConfig_General_ENVIRONMENT_UNSPECIFIED BuilderConfig_General_Environment = 0
    BuilderConfig_General_PRODUCTION              BuilderConfig_General_Environment = 1
    BuilderConfig_General_STAGING                 BuilderConfig_General_Environment = 2
)

func (BuilderConfig_General_Environment) EnumDescriptor Uses

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

func (BuilderConfig_General_Environment) String Uses

func (x BuilderConfig_General_Environment) String() string

type BuilderConfig_General_RunWhen Uses

type BuilderConfig_General_RunWhen struct {
    Mode BuilderConfig_General_RunWhen_Mode `protobuf:"varint,1,opt,name=mode,proto3,enum=chromiumos.BuilderConfig_General_RunWhen_Mode" json:"mode,omitempty"`
    // chromiumos code file patterns, relative to chromiumos root, which may
    // use * or ** for globbing.
    // e.g.
    // chromite/myfile.txt
    // chromite/config/*
    // **/*.md
    FilePatterns         []string `protobuf:"bytes,2,rep,name=file_patterns,json=filePatterns,proto3" json:"file_patterns,omitempty"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

Rule describing conditions under which a builder should be launched.

func (*BuilderConfig_General_RunWhen) Descriptor Uses

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

func (*BuilderConfig_General_RunWhen) GetFilePatterns Uses

func (m *BuilderConfig_General_RunWhen) GetFilePatterns() []string

func (*BuilderConfig_General_RunWhen) GetMode Uses

func (m *BuilderConfig_General_RunWhen) GetMode() BuilderConfig_General_RunWhen_Mode

func (*BuilderConfig_General_RunWhen) ProtoMessage Uses

func (*BuilderConfig_General_RunWhen) ProtoMessage()

func (*BuilderConfig_General_RunWhen) Reset Uses

func (m *BuilderConfig_General_RunWhen) Reset()

func (*BuilderConfig_General_RunWhen) String Uses

func (m *BuilderConfig_General_RunWhen) String() string

func (*BuilderConfig_General_RunWhen) XXX_DiscardUnknown Uses

func (m *BuilderConfig_General_RunWhen) XXX_DiscardUnknown()

func (*BuilderConfig_General_RunWhen) XXX_Marshal Uses

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

func (*BuilderConfig_General_RunWhen) XXX_Merge Uses

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

func (*BuilderConfig_General_RunWhen) XXX_Size Uses

func (m *BuilderConfig_General_RunWhen) XXX_Size() int

func (*BuilderConfig_General_RunWhen) XXX_Unmarshal Uses

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

type BuilderConfig_General_RunWhen_Mode Uses

type BuilderConfig_General_RunWhen_Mode int32
const (
    BuilderConfig_General_RunWhen_MODE_UNSPECIFIED BuilderConfig_General_RunWhen_Mode = 0
    // Always run this builder. The file_patterns field will be ignored
    // when this mode is selected.
    BuilderConfig_General_RunWhen_ALWAYS_RUN BuilderConfig_General_RunWhen_Mode = 1
    // Only run this builder if any file in the input gerrit_changes
    // matches any file_pattern specified below. If file_patterns is empty,
    // this option implies the builder will never run.
    BuilderConfig_General_RunWhen_ONLY_RUN_ON_FILE_MATCH BuilderConfig_General_RunWhen_Mode = 2
    // Do not run the builder if all files in the input gerrit_changes
    // match any file_attern speicifed below. If file_patterns is empty,
    // this option implies the builder will always run.
    BuilderConfig_General_RunWhen_NO_RUN_ON_FILE_MATCH BuilderConfig_General_RunWhen_Mode = 3
)

func (BuilderConfig_General_RunWhen_Mode) EnumDescriptor Uses

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

func (BuilderConfig_General_RunWhen_Mode) String Uses

func (x BuilderConfig_General_RunWhen_Mode) String() string

type BuilderConfig_Id Uses

type BuilderConfig_Id struct {
    // The name of the configuration such as "arm-generic-postsubmit".
    Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
    // Branch the configuration applies to such as "release-R73-11647.B".
    Branch               string                `protobuf:"bytes,2,opt,name=branch,proto3" json:"branch,omitempty"`
    Type                 BuilderConfig_Id_Type `protobuf:"varint,3,opt,name=type,proto3,enum=chromiumos.BuilderConfig_Id_Type" json:"type,omitempty"`
    XXX_NoUnkeyedLiteral struct{}              `json:"-"`
    XXX_unrecognized     []byte                `json:"-"`
    XXX_sizecache        int32                 `json:"-"`
}

Unique identifier of the builder configuration.

func (*BuilderConfig_Id) Descriptor Uses

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

func (*BuilderConfig_Id) GetBranch Uses

func (m *BuilderConfig_Id) GetBranch() string

func (*BuilderConfig_Id) GetName Uses

func (m *BuilderConfig_Id) GetName() string

func (*BuilderConfig_Id) GetType Uses

func (m *BuilderConfig_Id) GetType() BuilderConfig_Id_Type

func (*BuilderConfig_Id) ProtoMessage Uses

func (*BuilderConfig_Id) ProtoMessage()

func (*BuilderConfig_Id) Reset Uses

func (m *BuilderConfig_Id) Reset()

func (*BuilderConfig_Id) String Uses

func (m *BuilderConfig_Id) String() string

func (*BuilderConfig_Id) XXX_DiscardUnknown Uses

func (m *BuilderConfig_Id) XXX_DiscardUnknown()

func (*BuilderConfig_Id) XXX_Marshal Uses

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

func (*BuilderConfig_Id) XXX_Merge Uses

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

func (*BuilderConfig_Id) XXX_Size Uses

func (m *BuilderConfig_Id) XXX_Size() int

func (*BuilderConfig_Id) XXX_Unmarshal Uses

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

type BuilderConfig_Id_Type Uses

type BuilderConfig_Id_Type int32

Type of build.

const (
    BuilderConfig_Id_TYPE_UNSPECIFIED BuilderConfig_Id_Type = 0
    // Commit queue build.
    BuilderConfig_Id_CQ BuilderConfig_Id_Type = 1
    // Postsubmit build.
    BuilderConfig_Id_POSTSUBMIT BuilderConfig_Id_Type = 2
    // Toolchain build.
    BuilderConfig_Id_TOOLCHAIN BuilderConfig_Id_Type = 3
    // Informational build.
    BuilderConfig_Id_INFORMATIONAL BuilderConfig_Id_Type = 4
)

func (BuilderConfig_Id_Type) EnumDescriptor Uses

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

func (BuilderConfig_Id_Type) String Uses

func (x BuilderConfig_Id_Type) String() string

type BuilderConfig_Orchestrator Uses

type BuilderConfig_Orchestrator struct {
    // BuilderConfig.Id.name of the child builds. They would expect to match
    // this name and the BuilderConfig.Id.branch and BuilderConfig.Id.type of
    // this parent orchestrator builder.
    Children []string `protobuf:"bytes,1,rep,name=children,proto3" json:"children,omitempty"`
    // GitilesCommit to use if not provided.
    GitilesCommit *GitilesCommit `protobuf:"bytes,2,opt,name=gitiles_commit,json=gitilesCommit,proto3" json:"gitiles_commit,omitempty"`
    // GerritChanges to use if not provided.
    GerritChanges        []*GerritChange                                  `protobuf:"bytes,3,rep,name=gerrit_changes,json=gerritChanges,proto3" json:"gerrit_changes,omitempty"`
    FollowOnOrchestrator *BuilderConfig_Orchestrator_FollowOnOrchestrator `protobuf:"bytes,4,opt,name=follow_on_orchestrator,json=followOnOrchestrator,proto3" json:"follow_on_orchestrator,omitempty"`
    XXX_NoUnkeyedLiteral struct{}                                         `json:"-"`
    XXX_unrecognized     []byte                                           `json:"-"`
    XXX_sizecache        int32                                            `json:"-"`
}

Configuration pertaining to builders operating as "orchestrators". Orchestrators orchestrate the running of other child builders.

func (*BuilderConfig_Orchestrator) Descriptor Uses

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

func (*BuilderConfig_Orchestrator) GetChildren Uses

func (m *BuilderConfig_Orchestrator) GetChildren() []string

func (*BuilderConfig_Orchestrator) GetFollowOnOrchestrator Uses

func (m *BuilderConfig_Orchestrator) GetFollowOnOrchestrator() *BuilderConfig_Orchestrator_FollowOnOrchestrator

func (*BuilderConfig_Orchestrator) GetGerritChanges Uses

func (m *BuilderConfig_Orchestrator) GetGerritChanges() []*GerritChange

func (*BuilderConfig_Orchestrator) GetGitilesCommit Uses

func (m *BuilderConfig_Orchestrator) GetGitilesCommit() *GitilesCommit

func (*BuilderConfig_Orchestrator) ProtoMessage Uses

func (*BuilderConfig_Orchestrator) ProtoMessage()

func (*BuilderConfig_Orchestrator) Reset Uses

func (m *BuilderConfig_Orchestrator) Reset()

func (*BuilderConfig_Orchestrator) String Uses

func (m *BuilderConfig_Orchestrator) String() string

func (*BuilderConfig_Orchestrator) XXX_DiscardUnknown Uses

func (m *BuilderConfig_Orchestrator) XXX_DiscardUnknown()

func (*BuilderConfig_Orchestrator) XXX_Marshal Uses

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

func (*BuilderConfig_Orchestrator) XXX_Merge Uses

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

func (*BuilderConfig_Orchestrator) XXX_Size Uses

func (m *BuilderConfig_Orchestrator) XXX_Size() int

func (*BuilderConfig_Orchestrator) XXX_Unmarshal Uses

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

type BuilderConfig_Orchestrator_FollowOnOrchestrator Uses

type BuilderConfig_Orchestrator_FollowOnOrchestrator struct {
    // BuilderConfig.Id.name of the follow on orchestrator.
    Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
    // Whether to wait for the follow on orchestrator to finish.
    AwaitCompletion      bool     `protobuf:"varint,2,opt,name=await_completion,json=awaitCompletion,proto3" json:"await_completion,omitempty"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

Follow on orchestrator to launch, and possibly wait for.

func (*BuilderConfig_Orchestrator_FollowOnOrchestrator) Descriptor Uses

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

func (*BuilderConfig_Orchestrator_FollowOnOrchestrator) GetAwaitCompletion Uses

func (m *BuilderConfig_Orchestrator_FollowOnOrchestrator) GetAwaitCompletion() bool

func (*BuilderConfig_Orchestrator_FollowOnOrchestrator) GetName Uses

func (m *BuilderConfig_Orchestrator_FollowOnOrchestrator) GetName() string

func (*BuilderConfig_Orchestrator_FollowOnOrchestrator) ProtoMessage Uses

func (*BuilderConfig_Orchestrator_FollowOnOrchestrator) ProtoMessage()

func (*BuilderConfig_Orchestrator_FollowOnOrchestrator) Reset Uses

func (m *BuilderConfig_Orchestrator_FollowOnOrchestrator) Reset()

func (*BuilderConfig_Orchestrator_FollowOnOrchestrator) String Uses

func (m *BuilderConfig_Orchestrator_FollowOnOrchestrator) String() string

func (*BuilderConfig_Orchestrator_FollowOnOrchestrator) XXX_DiscardUnknown Uses

func (m *BuilderConfig_Orchestrator_FollowOnOrchestrator) XXX_DiscardUnknown()

func (*BuilderConfig_Orchestrator_FollowOnOrchestrator) XXX_Marshal Uses

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

func (*BuilderConfig_Orchestrator_FollowOnOrchestrator) XXX_Merge Uses

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

func (*BuilderConfig_Orchestrator_FollowOnOrchestrator) XXX_Size Uses

func (m *BuilderConfig_Orchestrator_FollowOnOrchestrator) XXX_Size() int

func (*BuilderConfig_Orchestrator_FollowOnOrchestrator) XXX_Unmarshal Uses

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

type BuilderConfig_RunSpec Uses

type BuilderConfig_RunSpec int32

Used to control running of special steps.

const (
    BuilderConfig_RUN_SPEC_UNSPECIFIED BuilderConfig_RunSpec = 0
    // Do not run.
    BuilderConfig_NO_RUN BuilderConfig_RunSpec = 1
    // Run.
    BuilderConfig_RUN BuilderConfig_RunSpec = 2
    // Run and then exit.
    BuilderConfig_RUN_EXIT BuilderConfig_RunSpec = 3
)

func (BuilderConfig_RunSpec) EnumDescriptor Uses

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

func (BuilderConfig_RunSpec) String Uses

func (x BuilderConfig_RunSpec) String() string

type BuilderConfig_UnitTests Uses

type BuilderConfig_UnitTests struct {
    // Skipped packages.
    PackageBlacklist []*PackageInfo `protobuf:"bytes,4,rep,name=package_blacklist,json=packageBlacklist,proto3" json:"package_blacklist,omitempty"`
    // Controls the running of ebuild tests with possible early exit.
    EbuildsRunSpec BuilderConfig_RunSpec `protobuf:"varint,5,opt,name=ebuilds_run_spec,json=ebuildsRunSpec,proto3,enum=chromiumos.BuilderConfig_RunSpec" json:"ebuilds_run_spec,omitempty"`
    // Whether to assume the sysroot is empty.
    EmptySysroot         bool     `protobuf:"varint,6,opt,name=empty_sysroot,json=emptySysroot,proto3" json:"empty_sysroot,omitempty"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

func (*BuilderConfig_UnitTests) Descriptor Uses

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

func (*BuilderConfig_UnitTests) GetEbuildsRunSpec Uses

func (m *BuilderConfig_UnitTests) GetEbuildsRunSpec() BuilderConfig_RunSpec

func (*BuilderConfig_UnitTests) GetEmptySysroot Uses

func (m *BuilderConfig_UnitTests) GetEmptySysroot() bool

func (*BuilderConfig_UnitTests) GetPackageBlacklist Uses

func (m *BuilderConfig_UnitTests) GetPackageBlacklist() []*PackageInfo

func (*BuilderConfig_UnitTests) ProtoMessage Uses

func (*BuilderConfig_UnitTests) ProtoMessage()

func (*BuilderConfig_UnitTests) Reset Uses

func (m *BuilderConfig_UnitTests) Reset()

func (*BuilderConfig_UnitTests) String Uses

func (m *BuilderConfig_UnitTests) String() string

func (*BuilderConfig_UnitTests) XXX_DiscardUnknown Uses

func (m *BuilderConfig_UnitTests) XXX_DiscardUnknown()

func (*BuilderConfig_UnitTests) XXX_Marshal Uses

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

func (*BuilderConfig_UnitTests) XXX_Merge Uses

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

func (*BuilderConfig_UnitTests) XXX_Size Uses

func (m *BuilderConfig_UnitTests) XXX_Size() int

func (*BuilderConfig_UnitTests) XXX_Unmarshal Uses

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

type BuilderConfigs Uses

type BuilderConfigs struct {
    BuilderConfigs       []*BuilderConfig `protobuf:"bytes,1,rep,name=builder_configs,json=builderConfigs,proto3" json:"builder_configs,omitempty"`
    XXX_NoUnkeyedLiteral struct{}         `json:"-"`
    XXX_unrecognized     []byte           `json:"-"`
    XXX_sizecache        int32            `json:"-"`
}

List of builder configs. Intended to be serialized to / from disk.

func (*BuilderConfigs) Descriptor Uses

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

func (*BuilderConfigs) GetBuilderConfigs Uses

func (m *BuilderConfigs) GetBuilderConfigs() []*BuilderConfig

func (*BuilderConfigs) ProtoMessage Uses

func (*BuilderConfigs) ProtoMessage()

func (*BuilderConfigs) Reset Uses

func (m *BuilderConfigs) Reset()

func (*BuilderConfigs) String Uses

func (m *BuilderConfigs) String() string

func (*BuilderConfigs) XXX_DiscardUnknown Uses

func (m *BuilderConfigs) XXX_DiscardUnknown()

func (*BuilderConfigs) XXX_Marshal Uses

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

func (*BuilderConfigs) XXX_Merge Uses

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

func (*BuilderConfigs) XXX_Size Uses

func (m *BuilderConfigs) XXX_Size() int

func (*BuilderConfigs) XXX_Unmarshal Uses

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

type Channel Uses

type Channel int32

The various channels that we release through.

const (
    Channel_CHANNEL_UNSPECIFIED Channel = 0
    Channel_CHANNEL_STABLE      Channel = 1
    Channel_CHANNEL_BETA        Channel = 2
    Channel_CHANNEL_DEV         Channel = 3
    Channel_CHANNEL_CANARY      Channel = 4
)

func (Channel) EnumDescriptor Uses

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

func (Channel) String Uses

func (x Channel) String() string

type Chroot Uses

type Chroot struct {
    // The directory containing the chroot.
    Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"`
    // The cache directory override.
    CacheDir string `protobuf:"bytes,2,opt,name=cache_dir,json=cacheDir,proto3" json:"cache_dir,omitempty"`
    // Environment configuration.
    Env *Chroot_ChrootEnv `protobuf:"bytes,3,opt,name=env,proto3" json:"env,omitempty"`
    // The directory where the chrome source should be mounted.
    ChromeDir            string   `protobuf:"bytes,4,opt,name=chrome_dir,json=chromeDir,proto3" json:"chrome_dir,omitempty"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

Chroot is used to define how to enter a chroot.

func (*Chroot) Descriptor Uses

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

func (*Chroot) GetCacheDir Uses

func (m *Chroot) GetCacheDir() string

func (*Chroot) GetChromeDir Uses

func (m *Chroot) GetChromeDir() string

func (*Chroot) GetEnv Uses

func (m *Chroot) GetEnv() *Chroot_ChrootEnv

func (*Chroot) GetPath Uses

func (m *Chroot) GetPath() string

func (*Chroot) ProtoMessage Uses

func (*Chroot) ProtoMessage()

func (*Chroot) Reset Uses

func (m *Chroot) Reset()

func (*Chroot) String Uses

func (m *Chroot) String() string

func (*Chroot) XXX_DiscardUnknown Uses

func (m *Chroot) XXX_DiscardUnknown()

func (*Chroot) XXX_Marshal Uses

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

func (*Chroot) XXX_Merge Uses

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

func (*Chroot) XXX_Size Uses

func (m *Chroot) XXX_Size() int

func (*Chroot) XXX_Unmarshal Uses

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

type Chroot_ChrootEnv Uses

type Chroot_ChrootEnv struct {
    // USE flags to set.
    UseFlags []*UseFlag `protobuf:"bytes,1,rep,name=use_flags,json=useFlags,proto3" json:"use_flags,omitempty"`
    // FEATURES flags to set.
    Features             []*Feature `protobuf:"bytes,2,rep,name=features,proto3" json:"features,omitempty"`
    XXX_NoUnkeyedLiteral struct{}   `json:"-"`
    XXX_unrecognized     []byte     `json:"-"`
    XXX_sizecache        int32      `json:"-"`
}

func (*Chroot_ChrootEnv) Descriptor Uses

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

func (*Chroot_ChrootEnv) GetFeatures Uses

func (m *Chroot_ChrootEnv) GetFeatures() []*Feature

func (*Chroot_ChrootEnv) GetUseFlags Uses

func (m *Chroot_ChrootEnv) GetUseFlags() []*UseFlag

func (*Chroot_ChrootEnv) ProtoMessage Uses

func (*Chroot_ChrootEnv) ProtoMessage()

func (*Chroot_ChrootEnv) Reset Uses

func (m *Chroot_ChrootEnv) Reset()

func (*Chroot_ChrootEnv) String Uses

func (m *Chroot_ChrootEnv) String() string

func (*Chroot_ChrootEnv) XXX_DiscardUnknown Uses

func (m *Chroot_ChrootEnv) XXX_DiscardUnknown()

func (*Chroot_ChrootEnv) XXX_Marshal Uses

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

func (*Chroot_ChrootEnv) XXX_Merge Uses

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

func (*Chroot_ChrootEnv) XXX_Size Uses

func (m *Chroot_ChrootEnv) XXX_Size() int

func (*Chroot_ChrootEnv) XXX_Unmarshal Uses

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

type Cr50Instructions Uses

type Cr50Instructions struct {
    Target Cr50Instructions_Target `protobuf:"varint,1,opt,name=target,proto3,enum=chromiumos.Cr50Instructions_Target" json:"target,omitempty"`
    // Device ID for NODE_LOCKED.  (Format: '%08x-%08x'.)
    DeviceId             string   `protobuf:"bytes,2,opt,name=device_id,json=deviceId,proto3" json:"device_id,omitempty"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

func (*Cr50Instructions) Descriptor Uses

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

func (*Cr50Instructions) GetDeviceId Uses

func (m *Cr50Instructions) GetDeviceId() string

func (*Cr50Instructions) GetTarget Uses

func (m *Cr50Instructions) GetTarget() Cr50Instructions_Target

func (*Cr50Instructions) ProtoMessage Uses

func (*Cr50Instructions) ProtoMessage()

func (*Cr50Instructions) Reset Uses

func (m *Cr50Instructions) Reset()

func (*Cr50Instructions) String Uses

func (m *Cr50Instructions) String() string

func (*Cr50Instructions) XXX_DiscardUnknown Uses

func (m *Cr50Instructions) XXX_DiscardUnknown()

func (*Cr50Instructions) XXX_Marshal Uses

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

func (*Cr50Instructions) XXX_Merge Uses

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

func (*Cr50Instructions) XXX_Size Uses

func (m *Cr50Instructions) XXX_Size() int

func (*Cr50Instructions) XXX_Unmarshal Uses

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

type Cr50Instructions_Target Uses

type Cr50Instructions_Target int32

The target for the image. These names are assigned to target in the signing instructions file.

const (
    Cr50Instructions_UNSPECIFIED       Cr50Instructions_Target = 0
    Cr50Instructions_PREPVT            Cr50Instructions_Target = 1
    Cr50Instructions_RELEASE_CANDIDATE Cr50Instructions_Target = 2
    Cr50Instructions_NODE_LOCKED       Cr50Instructions_Target = 3
    Cr50Instructions_GENERAL_RELEASE   Cr50Instructions_Target = 4
)

func (Cr50Instructions_Target) EnumDescriptor Uses

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

func (Cr50Instructions_Target) String Uses

func (x Cr50Instructions_Target) String() string

type Feature Uses

type Feature struct {
    Feature              string   `protobuf:"bytes,1,opt,name=feature,proto3" json:"feature,omitempty"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

FEATURES environment variable component message.

func (*Feature) Descriptor Uses

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

func (*Feature) GetFeature Uses

func (m *Feature) GetFeature() string

func (*Feature) ProtoMessage Uses

func (*Feature) ProtoMessage()

func (*Feature) Reset Uses

func (m *Feature) Reset()

func (*Feature) String Uses

func (m *Feature) String() string

func (*Feature) XXX_DiscardUnknown Uses

func (m *Feature) XXX_DiscardUnknown()

func (*Feature) XXX_Marshal Uses

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

func (*Feature) XXX_Merge Uses

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

func (*Feature) XXX_Size Uses

func (m *Feature) XXX_Size() int

func (*Feature) XXX_Unmarshal Uses

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

type GenerateBuildPlanRequest Uses

type GenerateBuildPlanRequest struct {
    // Serialized buildbucket GerritChanges, or none if this is a postsubmit run
    // or similar. Explicit proto import is avoided here to prevent a dependency
    // on the luci-go repo.
    // See https://chromium.googlesource.com/infra/luci/luci-go/+/master/buildbucket/proto/common.proto
    GerritChanges []*ProtoBytes `protobuf:"bytes,1,rep,name=gerrit_changes,json=gerritChanges,proto3" json:"gerrit_changes,omitempty"`
    // The manifest-internal snapshot commit hash that's being used for the current build.
    // Note that manifest_commit will be soon replaced with gitiles_commit below.
    ManifestCommit string `protobuf:"bytes,2,opt,name=manifest_commit,json=manifestCommit,proto3" json:"manifest_commit,omitempty"`
    // Serialized buildbucket GitilesCommit, representing the manifest or
    // manifest-internal commit to which the build is synced.
    GitilesCommit *ProtoBytes `protobuf:"bytes,4,opt,name=gitiles_commit,json=gitilesCommit,proto3" json:"gitiles_commit,omitempty"`
    // The BuilderConfigs to consider for skipping.
    BuilderConfigs       []*BuilderConfig `protobuf:"bytes,3,rep,name=builder_configs,json=builderConfigs,proto3" json:"builder_configs,omitempty"`
    XXX_NoUnkeyedLiteral struct{}         `json:"-"`
    XXX_unrecognized     []byte           `json:"-"`
    XXX_sizecache        int32            `json:"-"`
}

The input proto for invocations of the Build Planner.

func (*GenerateBuildPlanRequest) Descriptor Uses

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

func (*GenerateBuildPlanRequest) GetBuilderConfigs Uses

func (m *GenerateBuildPlanRequest) GetBuilderConfigs() []*BuilderConfig

func (*GenerateBuildPlanRequest) GetGerritChanges Uses

func (m *GenerateBuildPlanRequest) GetGerritChanges() []*ProtoBytes

func (*GenerateBuildPlanRequest) GetGitilesCommit Uses

func (m *GenerateBuildPlanRequest) GetGitilesCommit() *ProtoBytes

func (*GenerateBuildPlanRequest) GetManifestCommit Uses

func (m *GenerateBuildPlanRequest) GetManifestCommit() string

func (*GenerateBuildPlanRequest) ProtoMessage Uses

func (*GenerateBuildPlanRequest) ProtoMessage()

func (*GenerateBuildPlanRequest) Reset Uses

func (m *GenerateBuildPlanRequest) Reset()

func (*GenerateBuildPlanRequest) String Uses

func (m *GenerateBuildPlanRequest) String() string

func (*GenerateBuildPlanRequest) XXX_DiscardUnknown Uses

func (m *GenerateBuildPlanRequest) XXX_DiscardUnknown()

func (*GenerateBuildPlanRequest) XXX_Marshal Uses

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

func (*GenerateBuildPlanRequest) XXX_Merge Uses

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

func (*GenerateBuildPlanRequest) XXX_Size Uses

func (m *GenerateBuildPlanRequest) XXX_Size() int

func (*GenerateBuildPlanRequest) XXX_Unmarshal Uses

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

type GenerateBuildPlanResponse Uses

type GenerateBuildPlanResponse struct {
    // BuilderConfigs that cannot be skipped.
    BuildsToRun []*BuilderConfig_Id `protobuf:"bytes,1,rep,name=builds_to_run,json=buildsToRun,proto3" json:"builds_to_run,omitempty"`
    // BuilderConfigs that can be skipped due to Portage dependency rules around
    // files that are known to never be relevant for Chrome OS builds.
    SkipForGlobalBuildIrrelevance []*BuilderConfig_Id `protobuf:"bytes,2,rep,name=skip_for_global_build_irrelevance,json=skipForGlobalBuildIrrelevance,proto3" json:"skip_for_global_build_irrelevance,omitempty"`
    // BuilderConfigs that can be skipped because of per-BuilderConfig RunWhen
    // rules.
    SkipForRunWhenRules  []*BuilderConfig_Id `protobuf:"bytes,3,rep,name=skip_for_run_when_rules,json=skipForRunWhenRules,proto3" json:"skip_for_run_when_rules,omitempty"`
    XXX_NoUnkeyedLiteral struct{}            `json:"-"`
    XXX_unrecognized     []byte              `json:"-"`
    XXX_sizecache        int32               `json:"-"`
}

The output proto for invocations of the Build Planner.

func (*GenerateBuildPlanResponse) Descriptor Uses

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

func (*GenerateBuildPlanResponse) GetBuildsToRun Uses

func (m *GenerateBuildPlanResponse) GetBuildsToRun() []*BuilderConfig_Id

func (*GenerateBuildPlanResponse) GetSkipForGlobalBuildIrrelevance Uses

func (m *GenerateBuildPlanResponse) GetSkipForGlobalBuildIrrelevance() []*BuilderConfig_Id

func (*GenerateBuildPlanResponse) GetSkipForRunWhenRules Uses

func (m *GenerateBuildPlanResponse) GetSkipForRunWhenRules() []*BuilderConfig_Id

func (*GenerateBuildPlanResponse) ProtoMessage Uses

func (*GenerateBuildPlanResponse) ProtoMessage()

func (*GenerateBuildPlanResponse) Reset Uses

func (m *GenerateBuildPlanResponse) Reset()

func (*GenerateBuildPlanResponse) String Uses

func (m *GenerateBuildPlanResponse) String() string

func (*GenerateBuildPlanResponse) XXX_DiscardUnknown Uses

func (m *GenerateBuildPlanResponse) XXX_DiscardUnknown()

func (*GenerateBuildPlanResponse) XXX_Marshal Uses

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

func (*GenerateBuildPlanResponse) XXX_Merge Uses

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

func (*GenerateBuildPlanResponse) XXX_Size Uses

func (m *GenerateBuildPlanResponse) XXX_Size() int

func (*GenerateBuildPlanResponse) XXX_Unmarshal Uses

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

type GerritChange Uses

type GerritChange struct {
    // Gerrit hostname, e.g. "chromium-review.googlesource.com".
    Host string `protobuf:"bytes,1,opt,name=host,proto3" json:"host,omitempty"`
    // Gerrit project, e.g. "chromium/src".
    Project string `protobuf:"bytes,2,opt,name=project,proto3" json:"project,omitempty"`
    // Change number, e.g. 12345.
    Change int64 `protobuf:"varint,3,opt,name=change,proto3" json:"change,omitempty"`
    // Patch set number, e.g. 1.
    Patchset             int64    `protobuf:"varint,4,opt,name=patchset,proto3" json:"patchset,omitempty"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

See also crrev.com/c/1929452 and:

https://cs.corp.google.com/piper///depot/google3/third_party/luci/buildbucket/proto/common.proto?l=147-176&rcl=257714215

A Gerrit patchset.

func (*GerritChange) Descriptor Uses

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

func (*GerritChange) GetChange Uses

func (m *GerritChange) GetChange() int64

func (*GerritChange) GetHost Uses

func (m *GerritChange) GetHost() string

func (*GerritChange) GetPatchset Uses

func (m *GerritChange) GetPatchset() int64

func (*GerritChange) GetProject Uses

func (m *GerritChange) GetProject() string

func (*GerritChange) ProtoMessage Uses

func (*GerritChange) ProtoMessage()

func (*GerritChange) Reset Uses

func (m *GerritChange) Reset()

func (*GerritChange) String Uses

func (m *GerritChange) String() string

func (*GerritChange) XXX_DiscardUnknown Uses

func (m *GerritChange) XXX_DiscardUnknown()

func (*GerritChange) XXX_Marshal Uses

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

func (*GerritChange) XXX_Merge Uses

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

func (*GerritChange) XXX_Size Uses

func (m *GerritChange) XXX_Size() int

func (*GerritChange) XXX_Unmarshal Uses

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

type GitilesCommit Uses

type GitilesCommit struct {
    // Gitiles hostname, e.g. "chromium.googlesource.com".
    Host string `protobuf:"bytes,1,opt,name=host,proto3" json:"host,omitempty"`
    // Repository name on the host, e.g. "chromium/src".
    Project string `protobuf:"bytes,2,opt,name=project,proto3" json:"project,omitempty"`
    // Commit HEX SHA1.
    Id  string `protobuf:"bytes,3,opt,name=id,proto3" json:"id,omitempty"`
    // Commit ref, e.g. "refs/heads/master".
    // NOT a branch name: if specified, must start with "refs/".
    Ref string `protobuf:"bytes,4,opt,name=ref,proto3" json:"ref,omitempty"`
    // Defines a total order of commits on the ref. Requires ref field.
    Position             uint32   `protobuf:"varint,5,opt,name=position,proto3" json:"position,omitempty"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

func (*GitilesCommit) Descriptor Uses

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

func (*GitilesCommit) GetHost Uses

func (m *GitilesCommit) GetHost() string

func (*GitilesCommit) GetId Uses

func (m *GitilesCommit) GetId() string

func (*GitilesCommit) GetPosition Uses

func (m *GitilesCommit) GetPosition() uint32

func (*GitilesCommit) GetProject Uses

func (m *GitilesCommit) GetProject() string

func (*GitilesCommit) GetRef Uses

func (m *GitilesCommit) GetRef() string

func (*GitilesCommit) ProtoMessage Uses

func (*GitilesCommit) ProtoMessage()

func (*GitilesCommit) Reset Uses

func (m *GitilesCommit) Reset()

func (*GitilesCommit) String Uses

func (m *GitilesCommit) String() string

func (*GitilesCommit) XXX_DiscardUnknown Uses

func (m *GitilesCommit) XXX_DiscardUnknown()

func (*GitilesCommit) XXX_Marshal Uses

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

func (*GitilesCommit) XXX_Merge Uses

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

func (*GitilesCommit) XXX_Size Uses

func (m *GitilesCommit) XXX_Size() int

func (*GitilesCommit) XXX_Unmarshal Uses

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

type GomaArtifacts Uses

type GomaArtifacts struct {
    // Goma stats file.
    StatsFile string `protobuf:"bytes,1,opt,name=stats_file,json=statsFile,proto3" json:"stats_file,omitempty"`
    // Goma counterz file.
    CounterzFile string `protobuf:"bytes,2,opt,name=counterz_file,json=counterzFile,proto3" json:"counterz_file,omitempty"`
    // Goma log files.
    LogFiles             []string `protobuf:"bytes,3,rep,name=log_files,json=logFiles,proto3" json:"log_files,omitempty"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

func (*GomaArtifacts) Descriptor Uses

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

func (*GomaArtifacts) GetCounterzFile Uses

func (m *GomaArtifacts) GetCounterzFile() string

func (*GomaArtifacts) GetLogFiles Uses

func (m *GomaArtifacts) GetLogFiles() []string

func (*GomaArtifacts) GetStatsFile Uses

func (m *GomaArtifacts) GetStatsFile() string

func (*GomaArtifacts) ProtoMessage Uses

func (*GomaArtifacts) ProtoMessage()

func (*GomaArtifacts) Reset Uses

func (m *GomaArtifacts) Reset()

func (*GomaArtifacts) String Uses

func (m *GomaArtifacts) String() string

func (*GomaArtifacts) XXX_DiscardUnknown Uses

func (m *GomaArtifacts) XXX_DiscardUnknown()

func (*GomaArtifacts) XXX_Marshal Uses

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

func (*GomaArtifacts) XXX_Merge Uses

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

func (*GomaArtifacts) XXX_Size Uses

func (m *GomaArtifacts) XXX_Size() int

func (*GomaArtifacts) XXX_Unmarshal Uses

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

type GomaConfig Uses

type GomaConfig struct {
    // The goma install location.
    // Required.
    GomaDir string `protobuf:"bytes,1,opt,name=goma_dir,json=gomaDir,proto3" json:"goma_dir,omitempty"`
    // The goma client credentials file.
    GomaClientJson string `protobuf:"bytes,2,opt,name=goma_client_json,json=gomaClientJson,proto3" json:"goma_client_json,omitempty"`
    // Path to the Goma client used for build package.
    // If None, goma_dir will be used instead.
    ChromeosGomaDir string                  `protobuf:"bytes,3,opt,name=chromeos_goma_dir,json=chromeosGomaDir,proto3" json:"chromeos_goma_dir,omitempty"`
    GomaApproach    GomaConfig_GomaApproach `protobuf:"varint,4,opt,name=goma_approach,json=gomaApproach,proto3,enum=chromiumos.GomaConfig_GomaApproach" json:"goma_approach,omitempty"`
    // The directory where the goma logs will be extracted.
    LogDir *SyncedDir `protobuf:"bytes,5,opt,name=log_dir,json=logDir,proto3" json:"log_dir,omitempty"`
    // The name of the goma stats file. It will be dumped inside log_dir.
    StatsFile string `protobuf:"bytes,6,opt,name=stats_file,json=statsFile,proto3" json:"stats_file,omitempty"`
    // The name of the goma counterz file. It will be dumped inside log_dir.
    CounterzFile         string   `protobuf:"bytes,7,opt,name=counterz_file,json=counterzFile,proto3" json:"counterz_file,omitempty"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

func (*GomaConfig) Descriptor Uses

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

func (*GomaConfig) GetChromeosGomaDir Uses

func (m *GomaConfig) GetChromeosGomaDir() string

func (*GomaConfig) GetCounterzFile Uses

func (m *GomaConfig) GetCounterzFile() string

func (*GomaConfig) GetGomaApproach Uses

func (m *GomaConfig) GetGomaApproach() GomaConfig_GomaApproach

func (*GomaConfig) GetGomaClientJson Uses

func (m *GomaConfig) GetGomaClientJson() string

func (*GomaConfig) GetGomaDir Uses

func (m *GomaConfig) GetGomaDir() string

func (*GomaConfig) GetLogDir Uses

func (m *GomaConfig) GetLogDir() *SyncedDir

func (*GomaConfig) GetStatsFile Uses

func (m *GomaConfig) GetStatsFile() string

func (*GomaConfig) ProtoMessage Uses

func (*GomaConfig) ProtoMessage()

func (*GomaConfig) Reset Uses

func (m *GomaConfig) Reset()

func (*GomaConfig) String Uses

func (m *GomaConfig) String() string

func (*GomaConfig) XXX_DiscardUnknown Uses

func (m *GomaConfig) XXX_DiscardUnknown()

func (*GomaConfig) XXX_Marshal Uses

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

func (*GomaConfig) XXX_Merge Uses

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

func (*GomaConfig) XXX_Size Uses

func (m *GomaConfig) XXX_Size() int

func (*GomaConfig) XXX_Unmarshal Uses

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

type GomaConfig_GomaApproach Uses

type GomaConfig_GomaApproach int32

Facilitates testing new Goma approaches before rolling them out more widely.

const (
    GomaConfig_GOMA_APPROACH_UNSPECIFIED GomaConfig_GomaApproach = 0
    GomaConfig_DEFAULT                   GomaConfig_GomaApproach = 1
    GomaConfig_RBE_PROD                  GomaConfig_GomaApproach = 2
    GomaConfig_RBE_STAGING               GomaConfig_GomaApproach = 3
)

func (GomaConfig_GomaApproach) EnumDescriptor Uses

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

func (GomaConfig_GomaApproach) String Uses

func (x GomaConfig_GomaApproach) String() string

type ImageType Uses

type ImageType int32

The types of images that can be built. These correspond to support types in lib/constants.py such as IMAGE_TYPE_BASE, IMAGE_TYPE_RECOVERY, and so on.

const (
    ImageType_IMAGE_TYPE_UNDEFINED ImageType = 0
    ImageType_BASE                 ImageType = 1
    ImageType_DEV                  ImageType = 2
    ImageType_TEST                 ImageType = 3
    ImageType_BASE_VM              ImageType = 4
    ImageType_TEST_VM              ImageType = 5
    ImageType_RECOVERY             ImageType = 6
    ImageType_FACTORY              ImageType = 7
    ImageType_FIRMWARE             ImageType = 8
    ImageType_CR50_FIRMWARE        ImageType = 9
    ImageType_BASE_GUEST_VM        ImageType = 10
    ImageType_TEST_GUEST_VM        ImageType = 11
)

func (ImageType) EnumDescriptor Uses

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

func (ImageType) String Uses

func (x ImageType) String() string

type MetricEvent Uses

type MetricEvent struct {
    // The name of this event.
    Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
    // The timestamp in Unix-epoch millisecond time.
    TimestampMilliseconds int64 `protobuf:"varint,2,opt,name=timestamp_milliseconds,json=timestampMilliseconds,proto3" json:"timestamp_milliseconds,omitempty"`
    // If the event was a timer, give its duration.
    DurationMilliseconds uint64 `protobuf:"varint,3,opt,name=duration_milliseconds,json=durationMilliseconds,proto3" json:"duration_milliseconds,omitempty"`
    // An arbitrary integer gauge.
    Gauge                uint64   `protobuf:"varint,4,opt,name=gauge,proto3" json:"gauge,omitempty"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

MetricEvent encompasses all datapoints that might be of interest for monitoring within chromiumos infrastructure.

func (*MetricEvent) Descriptor Uses

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

func (*MetricEvent) GetDurationMilliseconds Uses

func (m *MetricEvent) GetDurationMilliseconds() uint64

func (*MetricEvent) GetGauge Uses

func (m *MetricEvent) GetGauge() uint64

func (*MetricEvent) GetName Uses

func (m *MetricEvent) GetName() string

func (*MetricEvent) GetTimestampMilliseconds Uses

func (m *MetricEvent) GetTimestampMilliseconds() int64

func (*MetricEvent) ProtoMessage Uses

func (*MetricEvent) ProtoMessage()

func (*MetricEvent) Reset Uses

func (m *MetricEvent) Reset()

func (*MetricEvent) String Uses

func (m *MetricEvent) String() string

func (*MetricEvent) XXX_DiscardUnknown Uses

func (m *MetricEvent) XXX_DiscardUnknown()

func (*MetricEvent) XXX_Marshal Uses

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

func (*MetricEvent) XXX_Merge Uses

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

func (*MetricEvent) XXX_Size Uses

func (m *MetricEvent) XXX_Size() int

func (*MetricEvent) XXX_Unmarshal Uses

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

type PackageInfo Uses

type PackageInfo struct {
    // The package name (PN variable).
    PackageName string `protobuf:"bytes,1,opt,name=package_name,json=packageName,proto3" json:"package_name,omitempty"`
    // The package category (CATEGORY variable).
    Category string `protobuf:"bytes,2,opt,name=category,proto3" json:"category,omitempty"`
    // The package version and revision (PVR variable).
    Version              string   `protobuf:"bytes,3,opt,name=version,proto3" json:"version,omitempty"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

Message describing a package, The corresponding variable names are from https://devmanual.gentoo.org/ebuild-writing/variables/index.html

func (*PackageInfo) Descriptor Uses

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

func (*PackageInfo) GetCategory Uses

func (m *PackageInfo) GetCategory() string

func (*PackageInfo) GetPackageName Uses

func (m *PackageInfo) GetPackageName() string

func (*PackageInfo) GetVersion Uses

func (m *PackageInfo) GetVersion() string

func (*PackageInfo) ProtoMessage Uses

func (*PackageInfo) ProtoMessage()

func (*PackageInfo) Reset Uses

func (m *PackageInfo) Reset()

func (*PackageInfo) String Uses

func (m *PackageInfo) String() string

func (*PackageInfo) XXX_DiscardUnknown Uses

func (m *PackageInfo) XXX_DiscardUnknown()

func (*PackageInfo) XXX_Marshal Uses

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

func (*PackageInfo) XXX_Merge Uses

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

func (*PackageInfo) XXX_Size Uses

func (m *PackageInfo) XXX_Size() int

func (*PackageInfo) XXX_Unmarshal Uses

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

type Path Uses

type Path struct {
    // The path to the resource.
    Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"`
    // The path location.
    Location             Path_Location `protobuf:"varint,2,opt,name=location,proto3,enum=chromiumos.Path_Location" json:"location,omitempty"`
    XXX_NoUnkeyedLiteral struct{}      `json:"-"`
    XXX_unrecognized     []byte        `json:"-"`
    XXX_sizecache        int32         `json:"-"`
}

A message to clarify inside/outside chroot paths.

func (*Path) Descriptor Uses

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

func (*Path) GetLocation Uses

func (m *Path) GetLocation() Path_Location

func (*Path) GetPath Uses

func (m *Path) GetPath() string

func (*Path) ProtoMessage Uses

func (*Path) ProtoMessage()

func (*Path) Reset Uses

func (m *Path) Reset()

func (*Path) String Uses

func (m *Path) String() string

func (*Path) XXX_DiscardUnknown Uses

func (m *Path) XXX_DiscardUnknown()

func (*Path) XXX_Marshal Uses

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

func (*Path) XXX_Merge Uses

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

func (*Path) XXX_Size Uses

func (m *Path) XXX_Size() int

func (*Path) XXX_Unmarshal Uses

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

type Path_Location Uses

type Path_Location int32

Location enum; whether the resource is inside or outside of the chroot.

const (
    Path_NO_LOCATION Path_Location = 0
    Path_INSIDE      Path_Location = 1
    Path_OUTSIDE     Path_Location = 2
)

func (Path_Location) EnumDescriptor Uses

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

func (Path_Location) String Uses

func (x Path_Location) String() string

type PayloadConfig Uses

type PayloadConfig struct {
    // This is current configuration for payloads.
    Delta                []*PayloadProperties `protobuf:"bytes,1,rep,name=delta,proto3" json:"delta,omitempty"`
    XXX_NoUnkeyedLiteral struct{}             `json:"-"`
    XXX_unrecognized     []byte               `json:"-"`
    XXX_sizecache        int32                `json:"-"`
}

func (*PayloadConfig) Descriptor Uses

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

func (*PayloadConfig) GetDelta Uses

func (m *PayloadConfig) GetDelta() []*PayloadProperties

func (*PayloadConfig) ProtoMessage Uses

func (*PayloadConfig) ProtoMessage()

func (*PayloadConfig) Reset Uses

func (m *PayloadConfig) Reset()

func (*PayloadConfig) String Uses

func (m *PayloadConfig) String() string

func (*PayloadConfig) XXX_DiscardUnknown Uses

func (m *PayloadConfig) XXX_DiscardUnknown()

func (*PayloadConfig) XXX_Marshal Uses

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

func (*PayloadConfig) XXX_Merge Uses

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

func (*PayloadConfig) XXX_Size Uses

func (m *PayloadConfig) XXX_Size() int

func (*PayloadConfig) XXX_Unmarshal Uses

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

type PayloadProperties Uses

type PayloadProperties struct {
    // The board to be considered for signing.
    Board *PayloadProperties_Board `protobuf:"bytes,1,opt,name=board,proto3" json:"board,omitempty"`
    // The delta type to generate for the payload.
    DeltaType PayloadProperties_DeltaType `protobuf:"varint,2,opt,name=delta_type,json=deltaType,proto3,enum=chromiumos.PayloadProperties_DeltaType" json:"delta_type,omitempty"`
    // The channel to sign payloads for (e.g. 'dev', 'stable', or '').
    Channel string `protobuf:"bytes,3,opt,name=channel,proto3" json:"channel,omitempty"`
    // The chrome os version (e.g. '12240.0.0' or '').
    ChromeOsVersion string `protobuf:"bytes,4,opt,name=chrome_os_version,json=chromeOsVersion,proto3" json:"chrome_os_version,omitempty"`
    // The version of chrome within the payload (e.g. '78.0.3877.0').
    ChromeVersion string `protobuf:"bytes,5,opt,name=chrome_version,json=chromeVersion,proto3" json:"chrome_version,omitempty"`
    // The milestone number (e.g. 73).
    Milestone uint32 `protobuf:"varint,6,opt,name=milestone,proto3" json:"milestone,omitempty"`
    // Generate the image update deltas.
    GenerateDelta bool `protobuf:"varint,7,opt,name=generate_delta,json=generateDelta,proto3" json:"generate_delta,omitempty"`
    // Test the image update deltas we generated post signing.
    DeltaPayloadTests bool `protobuf:"varint,8,opt,name=delta_payload_tests,json=deltaPayloadTests,proto3" json:"delta_payload_tests,omitempty"`
    // Do a full payload test.
    FullPayloadTests bool `protobuf:"varint,9,opt,name=full_payload_tests,json=fullPayloadTests,proto3" json:"full_payload_tests,omitempty"`
    // An array of model names: ['teemo', 'kench', 'sion'].
    // While we generally don't like repeated scalars, it conforms to the json.
    ApplicableModels     []string `protobuf:"bytes,10,rep,name=applicable_models,json=applicableModels,proto3" json:"applicable_models,omitempty"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

This is a single payload config field.

func (*PayloadProperties) Descriptor Uses

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

func (*PayloadProperties) GetApplicableModels Uses

func (m *PayloadProperties) GetApplicableModels() []string

func (*PayloadProperties) GetBoard Uses

func (m *PayloadProperties) GetBoard() *PayloadProperties_Board

func (*PayloadProperties) GetChannel Uses

func (m *PayloadProperties) GetChannel() string

func (*PayloadProperties) GetChromeOsVersion Uses

func (m *PayloadProperties) GetChromeOsVersion() string

func (*PayloadProperties) GetChromeVersion Uses

func (m *PayloadProperties) GetChromeVersion() string

func (*PayloadProperties) GetDeltaPayloadTests Uses

func (m *PayloadProperties) GetDeltaPayloadTests() bool

func (*PayloadProperties) GetDeltaType Uses

func (m *PayloadProperties) GetDeltaType() PayloadProperties_DeltaType

func (*PayloadProperties) GetFullPayloadTests Uses

func (m *PayloadProperties) GetFullPayloadTests() bool

func (*PayloadProperties) GetGenerateDelta Uses

func (m *PayloadProperties) GetGenerateDelta() bool

func (*PayloadProperties) GetMilestone Uses

func (m *PayloadProperties) GetMilestone() uint32

func (*PayloadProperties) ProtoMessage Uses

func (*PayloadProperties) ProtoMessage()

func (*PayloadProperties) Reset Uses

func (m *PayloadProperties) Reset()

func (*PayloadProperties) String Uses

func (m *PayloadProperties) String() string

func (*PayloadProperties) XXX_DiscardUnknown Uses

func (m *PayloadProperties) XXX_DiscardUnknown()

func (*PayloadProperties) XXX_Marshal Uses

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

func (*PayloadProperties) XXX_Merge Uses

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

func (*PayloadProperties) XXX_Size Uses

func (m *PayloadProperties) XXX_Size() int

func (*PayloadProperties) XXX_Unmarshal Uses

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

type PayloadProperties_Board Uses

type PayloadProperties_Board struct {
    // The board's public codename (e.g. nyan-kitty).
    PublicCodename string `protobuf:"bytes,1,opt,name=public_codename,json=publicCodename,proto3" json:"public_codename,omitempty"`
    // Is the board currently being supported.
    IsActive bool `protobuf:"varint,2,opt,name=is_active,json=isActive,proto3" json:"is_active,omitempty"`
    // What is the builder name for the board (e.g. nyan_kitty).
    BuilderName          string   `protobuf:"bytes,3,opt,name=builder_name,json=builderName,proto3" json:"builder_name,omitempty"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

A board type and builder name, and if it is currently active.

func (*PayloadProperties_Board) Descriptor Uses

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

func (*PayloadProperties_Board) GetBuilderName Uses

func (m *PayloadProperties_Board) GetBuilderName() string

func (*PayloadProperties_Board) GetIsActive Uses

func (m *PayloadProperties_Board) GetIsActive() bool

func (*PayloadProperties_Board) GetPublicCodename Uses

func (m *PayloadProperties_Board) GetPublicCodename() string

func (*PayloadProperties_Board) ProtoMessage Uses

func (*PayloadProperties_Board) ProtoMessage()

func (*PayloadProperties_Board) Reset Uses

func (m *PayloadProperties_Board) Reset()

func (*PayloadProperties_Board) String Uses

func (m *PayloadProperties_Board) String() string

func (*PayloadProperties_Board) XXX_DiscardUnknown Uses

func (m *PayloadProperties_Board) XXX_DiscardUnknown()

func (*PayloadProperties_Board) XXX_Marshal Uses

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

func (*PayloadProperties_Board) XXX_Merge Uses

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

func (*PayloadProperties_Board) XXX_Size Uses

func (m *PayloadProperties_Board) XXX_Size() int

func (*PayloadProperties_Board) XXX_Unmarshal Uses

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

type PayloadProperties_DeltaType Uses

type PayloadProperties_DeltaType int32

An enum of possible delta types.

const (
    PayloadProperties_NOT_SET        PayloadProperties_DeltaType = 0
    PayloadProperties_NO_DELTA       PayloadProperties_DeltaType = 1
    PayloadProperties_OMAHA          PayloadProperties_DeltaType = 2
    PayloadProperties_STEPPING_STONE PayloadProperties_DeltaType = 3
    PayloadProperties_MILESTONE      PayloadProperties_DeltaType = 4
    PayloadProperties_FSI            PayloadProperties_DeltaType = 5
)

func (PayloadProperties_DeltaType) EnumDescriptor Uses

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

func (PayloadProperties_DeltaType) String Uses

func (x PayloadProperties_DeltaType) String() string

type PrepareForBuildResponse Uses

type PrepareForBuildResponse struct {
    BuildRelevance       PrepareForBuildResponse_BuildRelevance `protobuf:"varint,1,opt,name=build_relevance,json=buildRelevance,proto3,enum=chromiumos.PrepareForBuildResponse_BuildRelevance" json:"build_relevance,omitempty"`
    XXX_NoUnkeyedLiteral struct{}                               `json:"-"`
    XXX_unrecognized     []byte                                 `json:"-"`
    XXX_sizecache        int32                                  `json:"-"`
}

TODO(crbug/1019868): Consider migrating chromite.api.toolchain.PrepareForToolchainBuildRequest as well.

func (*PrepareForBuildResponse) Descriptor Uses

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

func (*PrepareForBuildResponse) GetBuildRelevance Uses

func (m *PrepareForBuildResponse) GetBuildRelevance() PrepareForBuildResponse_BuildRelevance

func (*PrepareForBuildResponse) ProtoMessage Uses

func (*PrepareForBuildResponse) ProtoMessage()

func (*PrepareForBuildResponse) Reset Uses

func (m *PrepareForBuildResponse) Reset()

func (*PrepareForBuildResponse) String Uses

func (m *PrepareForBuildResponse) String() string

func (*PrepareForBuildResponse) XXX_DiscardUnknown Uses

func (m *PrepareForBuildResponse) XXX_DiscardUnknown()

func (*PrepareForBuildResponse) XXX_Marshal Uses

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

func (*PrepareForBuildResponse) XXX_Merge Uses

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

func (*PrepareForBuildResponse) XXX_Size Uses

func (m *PrepareForBuildResponse) XXX_Size() int

func (*PrepareForBuildResponse) XXX_Unmarshal Uses

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

type PrepareForBuildResponse_BuildRelevance Uses

type PrepareForBuildResponse_BuildRelevance int32

Does this artifact require a build?

const (
    PrepareForBuildResponse_UNSPECIFIED PrepareForBuildResponse_BuildRelevance = 0
    // Build is necessary to generate artifacts.
    PrepareForBuildResponse_NEEDED PrepareForBuildResponse_BuildRelevance = 1
    // Defer to other artifacts.  Used primarily for aggregation of artifact
    // results.
    PrepareForBuildResponse_UNKNOWN PrepareForBuildResponse_BuildRelevance = 2
    // Artifacts are already generated.  The build is pointless.
    PrepareForBuildResponse_POINTLESS PrepareForBuildResponse_BuildRelevance = 3
)

func (PrepareForBuildResponse_BuildRelevance) EnumDescriptor Uses

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

func (PrepareForBuildResponse_BuildRelevance) String Uses

func (x PrepareForBuildResponse_BuildRelevance) String() string

type ProtoBytes Uses

type ProtoBytes struct {
    SerializedProto      []byte   `protobuf:"bytes,1,opt,name=serialized_proto,json=serializedProto,proto3" json:"serialized_proto,omitempty"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

A wrapper around a serialized protocol buffer.

func (*ProtoBytes) Descriptor Uses

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

func (*ProtoBytes) GetSerializedProto Uses

func (m *ProtoBytes) GetSerializedProto() []byte

func (*ProtoBytes) ProtoMessage Uses

func (*ProtoBytes) ProtoMessage()

func (*ProtoBytes) Reset Uses

func (m *ProtoBytes) Reset()

func (*ProtoBytes) String Uses

func (m *ProtoBytes) String() string

func (*ProtoBytes) XXX_DiscardUnknown Uses

func (m *ProtoBytes) XXX_DiscardUnknown()

func (*ProtoBytes) XXX_Marshal Uses

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

func (*ProtoBytes) XXX_Merge Uses

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

func (*ProtoBytes) XXX_Size Uses

func (m *ProtoBytes) XXX_Size() int

func (*ProtoBytes) XXX_Unmarshal Uses

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

type ResultPath Uses

type ResultPath struct {
    // Required.
    // The result directory information.
    Path                 *Path    `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

A message used to indicate an output location for results. Specifically, this is used to automatically transfer files out of the chroot when needed. Note: No more than one ResultPath per message can be supported.

func (*ResultPath) Descriptor Uses

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

func (*ResultPath) GetPath Uses

func (m *ResultPath) GetPath() *Path

func (*ResultPath) ProtoMessage Uses

func (*ResultPath) ProtoMessage()

func (*ResultPath) Reset Uses

func (m *ResultPath) Reset()

func (*ResultPath) String Uses

func (m *ResultPath) String() string

func (*ResultPath) XXX_DiscardUnknown Uses

func (m *ResultPath) XXX_DiscardUnknown()

func (*ResultPath) XXX_Marshal Uses

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

func (*ResultPath) XXX_Merge Uses

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

func (*ResultPath) XXX_Size Uses

func (m *ResultPath) XXX_Size() int

func (*ResultPath) XXX_Unmarshal Uses

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

type RoboCropAction Uses

type RoboCropAction struct {
    // Whether there has been any change in any of the bot groups
    // since the last RoboCrop execution.
    Actionable Actionable `protobuf:"varint,1,opt,name=actionable,proto3,enum=chromiumos.Actionable" json:"actionable,omitempty"`
    // List of an action per bot group scaled by RoboCrop.
    ScalingActions       []*ScalingAction `protobuf:"bytes,2,rep,name=scaling_actions,json=scalingActions,proto3" json:"scaling_actions,omitempty"`
    XXX_NoUnkeyedLiteral struct{}         `json:"-"`
    XXX_unrecognized     []byte           `json:"-"`
    XXX_sizecache        int32            `json:"-"`
}

All the actions that will be executed by RoboCrop.

func (*RoboCropAction) Descriptor Uses

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

func (*RoboCropAction) GetActionable Uses

func (m *RoboCropAction) GetActionable() Actionable

func (*RoboCropAction) GetScalingActions Uses

func (m *RoboCropAction) GetScalingActions() []*ScalingAction

func (*RoboCropAction) ProtoMessage Uses

func (*RoboCropAction) ProtoMessage()

func (*RoboCropAction) Reset Uses

func (m *RoboCropAction) Reset()

func (*RoboCropAction) String Uses

func (m *RoboCropAction) String() string

func (*RoboCropAction) XXX_DiscardUnknown Uses

func (m *RoboCropAction) XXX_DiscardUnknown()

func (*RoboCropAction) XXX_Marshal Uses

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

func (*RoboCropAction) XXX_Merge Uses

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

func (*RoboCropAction) XXX_Size Uses

func (m *RoboCropAction) XXX_Size() int

func (*RoboCropAction) XXX_Unmarshal Uses

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

type ScalingAction Uses

type ScalingAction struct {
    // Bot group modified by the action. Should be the same as BotPolicy.
    BotGroup string `protobuf:"bytes,1,opt,name=bot_group,json=botGroup,proto3" json:"bot_group,omitempty"`
    // The type of bot requested. Should be the same as BotPolicy.
    BotType *BotType `protobuf:"bytes,2,opt,name=bot_type,json=botType,proto3" json:"bot_type,omitempty"`
    // Whether there has been a change in the number of bots requested
    // for this bot group. See step_size for more info.
    Actionable Actionable `protobuf:"varint,3,opt,name=actionable,proto3,enum=chromiumos.Actionable" json:"actionable,omitempty"`
    // Total number of bots requested for the group.
    BotsRequested        int32                           `protobuf:"varint,4,opt,name=bots_requested,json=botsRequested,proto3" json:"bots_requested,omitempty"`
    RegionalActions      []*ScalingAction_RegionalAction `protobuf:"bytes,5,rep,name=regional_actions,json=regionalActions,proto3" json:"regional_actions,omitempty"`
    XXX_NoUnkeyedLiteral struct{}                        `json:"-"`
    XXX_unrecognized     []byte                          `json:"-"`
    XXX_sizecache        int32                           `json:"-"`
}

Scaling Action that resulted because of bot demand.

func (*ScalingAction) Descriptor Uses

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

func (*ScalingAction) GetActionable Uses

func (m *ScalingAction) GetActionable() Actionable

func (*ScalingAction) GetBotGroup Uses

func (m *ScalingAction) GetBotGroup() string

func (*ScalingAction) GetBotType Uses

func (m *ScalingAction) GetBotType() *BotType

func (*ScalingAction) GetBotsRequested Uses

func (m *ScalingAction) GetBotsRequested() int32

func (*ScalingAction) GetRegionalActions Uses

func (m *ScalingAction) GetRegionalActions() []*ScalingAction_RegionalAction

func (*ScalingAction) ProtoMessage Uses

func (*ScalingAction) ProtoMessage()

func (*ScalingAction) Reset Uses

func (m *ScalingAction) Reset()

func (*ScalingAction) String Uses

func (m *ScalingAction) String() string

func (*ScalingAction) XXX_DiscardUnknown Uses

func (m *ScalingAction) XXX_DiscardUnknown()

func (*ScalingAction) XXX_Marshal Uses

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

func (*ScalingAction) XXX_Merge Uses

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

func (*ScalingAction) XXX_Size Uses

func (m *ScalingAction) XXX_Size() int

func (*ScalingAction) XXX_Unmarshal Uses

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

type ScalingAction_RegionalAction Uses

type ScalingAction_RegionalAction struct {
    // Region of the bot sub-group.
    Region string `protobuf:"bytes,1,opt,name=region,proto3" json:"region,omitempty"`
    // Specific prefix of the bot sub-group.
    Prefix string `protobuf:"bytes,2,opt,name=prefix,proto3" json:"prefix,omitempty"`
    // Number of bots requested from the sub-group.
    BotsRequested        int32    `protobuf:"varint,3,opt,name=bots_requested,json=botsRequested,proto3" json:"bots_requested,omitempty"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

How the bot requests are distributed between regions & prefixes.

func (*ScalingAction_RegionalAction) Descriptor Uses

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

func (*ScalingAction_RegionalAction) GetBotsRequested Uses

func (m *ScalingAction_RegionalAction) GetBotsRequested() int32

func (*ScalingAction_RegionalAction) GetPrefix Uses

func (m *ScalingAction_RegionalAction) GetPrefix() string

func (*ScalingAction_RegionalAction) GetRegion Uses

func (m *ScalingAction_RegionalAction) GetRegion() string

func (*ScalingAction_RegionalAction) ProtoMessage Uses

func (*ScalingAction_RegionalAction) ProtoMessage()

func (*ScalingAction_RegionalAction) Reset Uses

func (m *ScalingAction_RegionalAction) Reset()

func (*ScalingAction_RegionalAction) String Uses

func (m *ScalingAction_RegionalAction) String() string

func (*ScalingAction_RegionalAction) XXX_DiscardUnknown Uses

func (m *ScalingAction_RegionalAction) XXX_DiscardUnknown()

func (*ScalingAction_RegionalAction) XXX_Marshal Uses

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

func (*ScalingAction_RegionalAction) XXX_Merge Uses

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

func (*ScalingAction_RegionalAction) XXX_Size Uses

func (m *ScalingAction_RegionalAction) XXX_Size() int

func (*ScalingAction_RegionalAction) XXX_Unmarshal Uses

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

type SignerType Uses

type SignerType int32
const (
    SignerType_SIGNER_UNSPECIFIED SignerType = 0
    SignerType_SIGNER_PRODUCTION  SignerType = 1
    SignerType_SIGNER_STAGING     SignerType = 2
    SignerType_SIGNER_DEV         SignerType = 3
)

func (SignerType) EnumDescriptor Uses

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

func (SignerType) String Uses

func (x SignerType) String() string

type SyncedDir Uses

type SyncedDir struct {
    // Required.
    // The directory being synced.
    Dir                  string   `protobuf:"bytes,1,opt,name=dir,proto3" json:"dir,omitempty"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

A SyncedDir will have all of its contents transferred into a tmp directory in the chroot before the endpoint is called, and afterwords its contents will be exactly what was in the tmp directory when the endpoint completed.

func (*SyncedDir) Descriptor Uses

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

func (*SyncedDir) GetDir Uses

func (m *SyncedDir) GetDir() string

func (*SyncedDir) ProtoMessage Uses

func (*SyncedDir) ProtoMessage()

func (*SyncedDir) Reset Uses

func (m *SyncedDir) Reset()

func (*SyncedDir) String Uses

func (m *SyncedDir) String() string

func (*SyncedDir) XXX_DiscardUnknown Uses

func (m *SyncedDir) XXX_DiscardUnknown()

func (*SyncedDir) XXX_Marshal Uses

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

func (*SyncedDir) XXX_Merge Uses

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

func (*SyncedDir) XXX_Size Uses

func (m *SyncedDir) XXX_Size() int

func (*SyncedDir) XXX_Unmarshal Uses

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

type UseFlag Uses

type UseFlag struct {
    // The use flag.
    Flag                 string   `protobuf:"bytes,1,opt,name=flag,proto3" json:"flag,omitempty"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

Message for USE flags.

func (*UseFlag) Descriptor Uses

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

func (*UseFlag) GetFlag Uses

func (m *UseFlag) GetFlag() string

func (*UseFlag) ProtoMessage Uses

func (*UseFlag) ProtoMessage()

func (*UseFlag) Reset Uses

func (m *UseFlag) Reset()

func (*UseFlag) String Uses

func (m *UseFlag) String() string

func (*UseFlag) XXX_DiscardUnknown Uses

func (m *UseFlag) XXX_DiscardUnknown()

func (*UseFlag) XXX_Marshal Uses

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

func (*UseFlag) XXX_Merge Uses

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

func (*UseFlag) XXX_Size Uses

func (m *UseFlag) XXX_Size() int

func (*UseFlag) XXX_Unmarshal Uses

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

Package chromiumos imports 5 packages (graph) and is imported by 8 packages. Updated 2020-01-29. Refresh now. Tools for package owners.