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

builder_config.pb.go common.pb.go

Variables

var BuilderConfig_Id_Type_name = map[int32]string{
    0:  "TYPE_UNSPECIFIED",
    1:  "CQ",
    2:  "POSTSUBMIT",
}
var BuilderConfig_Id_Type_value = map[string]int32{
    "TYPE_UNSPECIFIED": 0,
    "CQ":               1,
    "POSTSUBMIT":       2,
}

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"`
    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) 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) 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_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"`
    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) GetCritical Uses

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

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_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
)

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"`
    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) 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 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 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

Package chromiumos imports 4 packages (graph). Updated 2019-03-19. Refresh now. Tools for package owners.