luci: go.chromium.org/luci/lucicfg/external/crostesting/proto/config Index | Files

package config

import "go.chromium.org/luci/lucicfg/external/crostesting/proto/config"

Index

Package Files

generate.go source_tree_test_config.pb.go target_test_requirements_config.pb.go

type BuildCriteria Uses

type BuildCriteria struct {
    // Types that are valid to be assigned to TargetType:
    //	*BuildCriteria_ReferenceDesign
    //	*BuildCriteria_BuildTarget
    TargetType           isBuildCriteria_TargetType `protobuf_oneof:"target_type"`
    XXX_NoUnkeyedLiteral struct{}                   `json:"-"`
    XXX_unrecognized     []byte                     `json:"-"`
    XXX_sizecache        int32                      `json:"-"`
}

Specifies a CrOS build, either by reference design or by a specific build target.

func (*BuildCriteria) Descriptor Uses

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

func (*BuildCriteria) GetBuildTarget Uses

func (m *BuildCriteria) GetBuildTarget() string

func (*BuildCriteria) GetReferenceDesign Uses

func (m *BuildCriteria) GetReferenceDesign() string

func (*BuildCriteria) GetTargetType Uses

func (m *BuildCriteria) GetTargetType() isBuildCriteria_TargetType

func (*BuildCriteria) ProtoMessage Uses

func (*BuildCriteria) ProtoMessage()

func (*BuildCriteria) Reset Uses

func (m *BuildCriteria) Reset()

func (*BuildCriteria) String Uses

func (m *BuildCriteria) String() string

func (*BuildCriteria) XXX_DiscardUnknown Uses

func (m *BuildCriteria) XXX_DiscardUnknown()

func (*BuildCriteria) XXX_Marshal Uses

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

func (*BuildCriteria) XXX_Merge Uses

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

func (*BuildCriteria) XXX_OneofWrappers Uses

func (*BuildCriteria) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*BuildCriteria) XXX_Size Uses

func (m *BuildCriteria) XXX_Size() int

func (*BuildCriteria) XXX_Unmarshal Uses

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

type BuildCriteria_BuildTarget Uses

type BuildCriteria_BuildTarget struct {
    BuildTarget string `protobuf:"bytes,2,opt,name=build_target,json=buildTarget,proto3,oneof"`
}

type BuildCriteria_ReferenceDesign Uses

type BuildCriteria_ReferenceDesign struct {
    ReferenceDesign string `protobuf:"bytes,1,opt,name=reference_design,json=referenceDesign,proto3,oneof"`
}

type GceTestCfg Uses

type GceTestCfg struct {
    GceTest              []*GceTestCfg_GceTest `protobuf:"bytes,1,rep,name=gce_test,json=gceTest,proto3" json:"gce_test,omitempty"`
    XXX_NoUnkeyedLiteral struct{}              `json:"-"`
    XXX_unrecognized     []byte                `json:"-"`
    XXX_sizecache        int32                 `json:"-"`
}

func (*GceTestCfg) Descriptor Uses

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

func (*GceTestCfg) GetGceTest Uses

func (m *GceTestCfg) GetGceTest() []*GceTestCfg_GceTest

func (*GceTestCfg) ProtoMessage Uses

func (*GceTestCfg) ProtoMessage()

func (*GceTestCfg) Reset Uses

func (m *GceTestCfg) Reset()

func (*GceTestCfg) String Uses

func (m *GceTestCfg) String() string

func (*GceTestCfg) XXX_DiscardUnknown Uses

func (m *GceTestCfg) XXX_DiscardUnknown()

func (*GceTestCfg) XXX_Marshal Uses

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

func (*GceTestCfg) XXX_Merge Uses

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

func (*GceTestCfg) XXX_Size Uses

func (m *GceTestCfg) XXX_Size() int

func (*GceTestCfg) XXX_Unmarshal Uses

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

type GceTestCfg_GceTest Uses

type GceTestCfg_GceTest struct {
    // Test type to be run.
    TestType string `protobuf:"bytes,1,opt,name=test_type,json=testType,proto3" json:"test_type,omitempty"`
    // Test suite to be run in GCETest.
    TestSuite string `protobuf:"bytes,2,opt,name=test_suite,json=testSuite,proto3" json:"test_suite,omitempty"`
    // Number of seconds to wait before timing out waiting for results.
    TimeoutSec int32 `protobuf:"varint,3,opt,name=timeout_sec,json=timeoutSec,proto3" json:"timeout_sec,omitempty"`
    // Use the old ctest code path rather than the new chromite one.
    UseCtest             bool     `protobuf:"varint,4,opt,name=use_ctest,json=useCtest,proto3" json:"use_ctest,omitempty"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

func (*GceTestCfg_GceTest) Descriptor Uses

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

func (*GceTestCfg_GceTest) GetTestSuite Uses

func (m *GceTestCfg_GceTest) GetTestSuite() string

func (*GceTestCfg_GceTest) GetTestType Uses

func (m *GceTestCfg_GceTest) GetTestType() string

func (*GceTestCfg_GceTest) GetTimeoutSec Uses

func (m *GceTestCfg_GceTest) GetTimeoutSec() int32

func (*GceTestCfg_GceTest) GetUseCtest Uses

func (m *GceTestCfg_GceTest) GetUseCtest() bool

func (*GceTestCfg_GceTest) ProtoMessage Uses

func (*GceTestCfg_GceTest) ProtoMessage()

func (*GceTestCfg_GceTest) Reset Uses

func (m *GceTestCfg_GceTest) Reset()

func (*GceTestCfg_GceTest) String Uses

func (m *GceTestCfg_GceTest) String() string

func (*GceTestCfg_GceTest) XXX_DiscardUnknown Uses

func (m *GceTestCfg_GceTest) XXX_DiscardUnknown()

func (*GceTestCfg_GceTest) XXX_Marshal Uses

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

func (*GceTestCfg_GceTest) XXX_Merge Uses

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

func (*GceTestCfg_GceTest) XXX_Size Uses

func (m *GceTestCfg_GceTest) XXX_Size() int

func (*GceTestCfg_GceTest) XXX_Unmarshal Uses

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

type HwTestCfg Uses

type HwTestCfg struct {
    HwTest               []*HwTestCfg_HwTest `protobuf:"bytes,1,rep,name=hw_test,json=hwTest,proto3" json:"hw_test,omitempty"`
    XXX_NoUnkeyedLiteral struct{}            `json:"-"`
    XXX_unrecognized     []byte              `json:"-"`
    XXX_sizecache        int32               `json:"-"`
}

func (*HwTestCfg) Descriptor Uses

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

func (*HwTestCfg) GetHwTest Uses

func (m *HwTestCfg) GetHwTest() []*HwTestCfg_HwTest

func (*HwTestCfg) ProtoMessage Uses

func (*HwTestCfg) ProtoMessage()

func (*HwTestCfg) Reset Uses

func (m *HwTestCfg) Reset()

func (*HwTestCfg) String Uses

func (m *HwTestCfg) String() string

func (*HwTestCfg) XXX_DiscardUnknown Uses

func (m *HwTestCfg) XXX_DiscardUnknown()

func (*HwTestCfg) XXX_Marshal Uses

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

func (*HwTestCfg) XXX_Merge Uses

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

func (*HwTestCfg) XXX_Size Uses

func (m *HwTestCfg) XXX_Size() int

func (*HwTestCfg) XXX_Unmarshal Uses

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

type HwTestCfg_HwTest Uses

type HwTestCfg_HwTest struct {
    // Name of the test suite to run.
    Suite string `protobuf:"bytes,1,opt,name=suite,proto3" json:"suite,omitempty"`
    // Number of seconds to wait before timing out waiting for results.
    TimeoutSec int32 `protobuf:"varint,2,opt,name=timeout_sec,json=timeoutSec,proto3" json:"timeout_sec,omitempty"`
    // Failure on HW tests warns only (does not generate error).
    WarnOnly bool `protobuf:"varint,3,opt,name=warn_only,json=warnOnly,proto3" json:"warn_only,omitempty"`
    // Usually we consider structural failures here as OK.
    Critical bool `protobuf:"varint,4,opt,name=critical,proto3" json:"critical,omitempty"`
    // Should we file bugs if a test fails in a suite run.
    FileBugs bool `protobuf:"varint,5,opt,name=file_bugs,json=fileBugs,proto3" json:"file_bugs,omitempty"`
    // Minimum number of DUTs required for testing in the hw lab.
    MinimumDuts int32 `protobuf:"varint,6,opt,name=minimum_duts,json=minimumDuts,proto3" json:"minimum_duts,omitempty"`
    // Whether we should retry tests that fail in a suite run.
    Retry bool `protobuf:"varint,7,opt,name=retry,proto3" json:"retry,omitempty"`
    // Maximum job retries allowed at suite level. 0 for no max.
    MaxRetries int32 `protobuf:"varint,8,opt,name=max_retries,json=maxRetries,proto3" json:"max_retries,omitempty"`
    // Preferred minimum duts. Lab will prioritize on getting such
    // number of duts even if the suite is competing with
    // other suites that have higher priority.
    SuiteMinDuts int32 `protobuf:"varint,9,opt,name=suite_min_duts,json=suiteMinDuts,proto3" json:"suite_min_duts,omitempty"`
    // Only offload failed tests to Google Storage.
    OffloadFailuresOnly  bool     `protobuf:"varint,10,opt,name=offload_failures_only,json=offloadFailuresOnly,proto3" json:"offload_failures_only,omitempty"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

Configuration for a hardware test suite.

func (*HwTestCfg_HwTest) Descriptor Uses

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

func (*HwTestCfg_HwTest) GetCritical Uses

func (m *HwTestCfg_HwTest) GetCritical() bool

func (*HwTestCfg_HwTest) GetFileBugs Uses

func (m *HwTestCfg_HwTest) GetFileBugs() bool

func (*HwTestCfg_HwTest) GetMaxRetries Uses

func (m *HwTestCfg_HwTest) GetMaxRetries() int32

func (*HwTestCfg_HwTest) GetMinimumDuts Uses

func (m *HwTestCfg_HwTest) GetMinimumDuts() int32

func (*HwTestCfg_HwTest) GetOffloadFailuresOnly Uses

func (m *HwTestCfg_HwTest) GetOffloadFailuresOnly() bool

func (*HwTestCfg_HwTest) GetRetry Uses

func (m *HwTestCfg_HwTest) GetRetry() bool

func (*HwTestCfg_HwTest) GetSuite Uses

func (m *HwTestCfg_HwTest) GetSuite() string

func (*HwTestCfg_HwTest) GetSuiteMinDuts Uses

func (m *HwTestCfg_HwTest) GetSuiteMinDuts() int32

func (*HwTestCfg_HwTest) GetTimeoutSec Uses

func (m *HwTestCfg_HwTest) GetTimeoutSec() int32

func (*HwTestCfg_HwTest) GetWarnOnly Uses

func (m *HwTestCfg_HwTest) GetWarnOnly() bool

func (*HwTestCfg_HwTest) ProtoMessage Uses

func (*HwTestCfg_HwTest) ProtoMessage()

func (*HwTestCfg_HwTest) Reset Uses

func (m *HwTestCfg_HwTest) Reset()

func (*HwTestCfg_HwTest) String Uses

func (m *HwTestCfg_HwTest) String() string

func (*HwTestCfg_HwTest) XXX_DiscardUnknown Uses

func (m *HwTestCfg_HwTest) XXX_DiscardUnknown()

func (*HwTestCfg_HwTest) XXX_Marshal Uses

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

func (*HwTestCfg_HwTest) XXX_Merge Uses

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

func (*HwTestCfg_HwTest) XXX_Size Uses

func (m *HwTestCfg_HwTest) XXX_Size() int

func (*HwTestCfg_HwTest) XXX_Unmarshal Uses

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

type MoblabVmTestCfg Uses

type MoblabVmTestCfg struct {
    MoblabTest           []*MoblabVmTestCfg_MoblabTest `protobuf:"bytes,1,rep,name=moblab_test,json=moblabTest,proto3" json:"moblab_test,omitempty"`
    XXX_NoUnkeyedLiteral struct{}                      `json:"-"`
    XXX_unrecognized     []byte                        `json:"-"`
    XXX_sizecache        int32                         `json:"-"`
}

func (*MoblabVmTestCfg) Descriptor Uses

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

func (*MoblabVmTestCfg) GetMoblabTest Uses

func (m *MoblabVmTestCfg) GetMoblabTest() []*MoblabVmTestCfg_MoblabTest

func (*MoblabVmTestCfg) ProtoMessage Uses

func (*MoblabVmTestCfg) ProtoMessage()

func (*MoblabVmTestCfg) Reset Uses

func (m *MoblabVmTestCfg) Reset()

func (*MoblabVmTestCfg) String Uses

func (m *MoblabVmTestCfg) String() string

func (*MoblabVmTestCfg) XXX_DiscardUnknown Uses

func (m *MoblabVmTestCfg) XXX_DiscardUnknown()

func (*MoblabVmTestCfg) XXX_Marshal Uses

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

func (*MoblabVmTestCfg) XXX_Merge Uses

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

func (*MoblabVmTestCfg) XXX_Size Uses

func (m *MoblabVmTestCfg) XXX_Size() int

func (*MoblabVmTestCfg) XXX_Unmarshal Uses

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

type MoblabVmTestCfg_MoblabTest Uses

type MoblabVmTestCfg_MoblabTest struct {
    // Test type to be run.
    TestType string `protobuf:"bytes,1,opt,name=test_type,json=testType,proto3" json:"test_type,omitempty"`
    // Number of seconds to wait before timing out waiting for results.
    TimeoutSec           int32    `protobuf:"varint,2,opt,name=timeout_sec,json=timeoutSec,proto3" json:"timeout_sec,omitempty"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

func (*MoblabVmTestCfg_MoblabTest) Descriptor Uses

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

func (*MoblabVmTestCfg_MoblabTest) GetTestType Uses

func (m *MoblabVmTestCfg_MoblabTest) GetTestType() string

func (*MoblabVmTestCfg_MoblabTest) GetTimeoutSec Uses

func (m *MoblabVmTestCfg_MoblabTest) GetTimeoutSec() int32

func (*MoblabVmTestCfg_MoblabTest) ProtoMessage Uses

func (*MoblabVmTestCfg_MoblabTest) ProtoMessage()

func (*MoblabVmTestCfg_MoblabTest) Reset Uses

func (m *MoblabVmTestCfg_MoblabTest) Reset()

func (*MoblabVmTestCfg_MoblabTest) String Uses

func (m *MoblabVmTestCfg_MoblabTest) String() string

func (*MoblabVmTestCfg_MoblabTest) XXX_DiscardUnknown Uses

func (m *MoblabVmTestCfg_MoblabTest) XXX_DiscardUnknown()

func (*MoblabVmTestCfg_MoblabTest) XXX_Marshal Uses

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

func (*MoblabVmTestCfg_MoblabTest) XXX_Merge Uses

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

func (*MoblabVmTestCfg_MoblabTest) XXX_Size Uses

func (m *MoblabVmTestCfg_MoblabTest) XXX_Size() int

func (*MoblabVmTestCfg_MoblabTest) XXX_Unmarshal Uses

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

type PerTargetTestRequirements Uses

type PerTargetTestRequirements struct {
    // Specifies the builds to which these testing requirements should be applied.
    BuildCriteria *BuildCriteria `protobuf:"bytes,1,opt,name=build_criteria,json=buildCriteria,proto3" json:"build_criteria,omitempty"`
    // These configure what testing is needed for these BuildCriteria.
    GceTestCfg           *GceTestCfg      `protobuf:"bytes,2,opt,name=gce_test_cfg,json=gceTestCfg,proto3" json:"gce_test_cfg,omitempty"`
    HwTestCfg            *HwTestCfg       `protobuf:"bytes,3,opt,name=hw_test_cfg,json=hwTestCfg,proto3" json:"hw_test_cfg,omitempty"`
    MoblabVmTestCfg      *MoblabVmTestCfg `protobuf:"bytes,4,opt,name=moblab_vm_test_cfg,json=moblabVmTestCfg,proto3" json:"moblab_vm_test_cfg,omitempty"`
    TastVmTestCfg        *TastVmTestCfg   `protobuf:"bytes,6,opt,name=tast_vm_test_cfg,json=tastVmTestCfg,proto3" json:"tast_vm_test_cfg,omitempty"`
    VmTestCfg            *VmTestCfg       `protobuf:"bytes,5,opt,name=vm_test_cfg,json=vmTestCfg,proto3" json:"vm_test_cfg,omitempty"`
    XXX_NoUnkeyedLiteral struct{}         `json:"-"`
    XXX_unrecognized     []byte           `json:"-"`
    XXX_sizecache        int32            `json:"-"`
}

Details which testing is needed for a single CrOS build target.

func (*PerTargetTestRequirements) Descriptor Uses

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

func (*PerTargetTestRequirements) GetBuildCriteria Uses

func (m *PerTargetTestRequirements) GetBuildCriteria() *BuildCriteria

func (*PerTargetTestRequirements) GetGceTestCfg Uses

func (m *PerTargetTestRequirements) GetGceTestCfg() *GceTestCfg

func (*PerTargetTestRequirements) GetHwTestCfg Uses

func (m *PerTargetTestRequirements) GetHwTestCfg() *HwTestCfg

func (*PerTargetTestRequirements) GetMoblabVmTestCfg Uses

func (m *PerTargetTestRequirements) GetMoblabVmTestCfg() *MoblabVmTestCfg

func (*PerTargetTestRequirements) GetTastVmTestCfg Uses

func (m *PerTargetTestRequirements) GetTastVmTestCfg() *TastVmTestCfg

func (*PerTargetTestRequirements) GetVmTestCfg Uses

func (m *PerTargetTestRequirements) GetVmTestCfg() *VmTestCfg

func (*PerTargetTestRequirements) ProtoMessage Uses

func (*PerTargetTestRequirements) ProtoMessage()

func (*PerTargetTestRequirements) Reset Uses

func (m *PerTargetTestRequirements) Reset()

func (*PerTargetTestRequirements) String Uses

func (m *PerTargetTestRequirements) String() string

func (*PerTargetTestRequirements) XXX_DiscardUnknown Uses

func (m *PerTargetTestRequirements) XXX_DiscardUnknown()

func (*PerTargetTestRequirements) XXX_Marshal Uses

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

func (*PerTargetTestRequirements) XXX_Merge Uses

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

func (*PerTargetTestRequirements) XXX_Size Uses

func (m *PerTargetTestRequirements) XXX_Size() int

func (*PerTargetTestRequirements) XXX_Unmarshal Uses

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

type SourceTree Uses

type SourceTree struct {
    // The path of a source tree,
    // e.g. "src/platform2" or "src/third_party/kernel/v4.19".
    Path                 string   `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

A unit of the CrOS codebase. As of 2019-01, this concept maps 1-to-1 with "paths" in the the internal and external full.xml files.

func (*SourceTree) Descriptor Uses

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

func (*SourceTree) GetPath Uses

func (m *SourceTree) GetPath() string

func (*SourceTree) ProtoMessage Uses

func (*SourceTree) ProtoMessage()

func (*SourceTree) Reset Uses

func (m *SourceTree) Reset()

func (*SourceTree) String Uses

func (m *SourceTree) String() string

func (*SourceTree) XXX_DiscardUnknown Uses

func (m *SourceTree) XXX_DiscardUnknown()

func (*SourceTree) XXX_Marshal Uses

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

func (*SourceTree) XXX_Merge Uses

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

func (*SourceTree) XXX_Size Uses

func (m *SourceTree) XXX_Size() int

func (*SourceTree) XXX_Unmarshal Uses

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

type SourceTreeTestCfg Uses

type SourceTreeTestCfg struct {
    // (Source tree, test restriction) pairs.
    SourceTreeTestRestriction []*SourceTreeTestRestriction `protobuf:"bytes,1,rep,name=source_tree_test_restriction,json=sourceTreeTestRestriction,proto3" json:"source_tree_test_restriction,omitempty"`
    XXX_NoUnkeyedLiteral      struct{}                     `json:"-"`
    XXX_unrecognized          []byte                       `json:"-"`
    XXX_sizecache             int32                        `json:"-"`
}

Configures test restrictions for all relevant source trees. This is the root message.

func (*SourceTreeTestCfg) Descriptor Uses

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

func (*SourceTreeTestCfg) GetSourceTreeTestRestriction Uses

func (m *SourceTreeTestCfg) GetSourceTreeTestRestriction() []*SourceTreeTestRestriction

func (*SourceTreeTestCfg) ProtoMessage Uses

func (*SourceTreeTestCfg) ProtoMessage()

func (*SourceTreeTestCfg) Reset Uses

func (m *SourceTreeTestCfg) Reset()

func (*SourceTreeTestCfg) String Uses

func (m *SourceTreeTestCfg) String() string

func (*SourceTreeTestCfg) XXX_DiscardUnknown Uses

func (m *SourceTreeTestCfg) XXX_DiscardUnknown()

func (*SourceTreeTestCfg) XXX_Marshal Uses

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

func (*SourceTreeTestCfg) XXX_Merge Uses

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

func (*SourceTreeTestCfg) XXX_Size Uses

func (m *SourceTreeTestCfg) XXX_Size() int

func (*SourceTreeTestCfg) XXX_Unmarshal Uses

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

type SourceTreeTestRestriction Uses

type SourceTreeTestRestriction struct {
    // A CrOS source tree.
    SourceTree *SourceTree `protobuf:"bytes,1,opt,name=source_tree,json=sourceTree,proto3" json:"source_tree,omitempty"`
    // The test restrictions to apply to the source tree.
    TestRestriction      *TestRestriction `protobuf:"bytes,2,opt,name=test_restriction,json=testRestriction,proto3" json:"test_restriction,omitempty"`
    XXX_NoUnkeyedLiteral struct{}         `json:"-"`
    XXX_unrecognized     []byte           `json:"-"`
    XXX_sizecache        int32            `json:"-"`
}

A set of test restrictions for a source tree.

func (*SourceTreeTestRestriction) Descriptor Uses

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

func (*SourceTreeTestRestriction) GetSourceTree Uses

func (m *SourceTreeTestRestriction) GetSourceTree() *SourceTree

func (*SourceTreeTestRestriction) GetTestRestriction Uses

func (m *SourceTreeTestRestriction) GetTestRestriction() *TestRestriction

func (*SourceTreeTestRestriction) ProtoMessage Uses

func (*SourceTreeTestRestriction) ProtoMessage()

func (*SourceTreeTestRestriction) Reset Uses

func (m *SourceTreeTestRestriction) Reset()

func (*SourceTreeTestRestriction) String Uses

func (m *SourceTreeTestRestriction) String() string

func (*SourceTreeTestRestriction) XXX_DiscardUnknown Uses

func (m *SourceTreeTestRestriction) XXX_DiscardUnknown()

func (*SourceTreeTestRestriction) XXX_Marshal Uses

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

func (*SourceTreeTestRestriction) XXX_Merge Uses

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

func (*SourceTreeTestRestriction) XXX_Size Uses

func (m *SourceTreeTestRestriction) XXX_Size() int

func (*SourceTreeTestRestriction) XXX_Unmarshal Uses

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

type TargetTestRequirementsCfg Uses

type TargetTestRequirementsCfg struct {
    // The testing that should be performed for a single CrOS build target or
    // reference design.
    PerTargetTestRequirements []*PerTargetTestRequirements `protobuf:"bytes,1,rep,name=per_target_test_requirements,json=perTargetTestRequirements,proto3" json:"per_target_test_requirements,omitempty"`
    XXX_NoUnkeyedLiteral      struct{}                     `json:"-"`
    XXX_unrecognized          []byte                       `json:"-"`
    XXX_sizecache             int32                        `json:"-"`
}

A listing of all testing that should be done for all CrOS builds.

func (*TargetTestRequirementsCfg) Descriptor Uses

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

func (*TargetTestRequirementsCfg) GetPerTargetTestRequirements Uses

func (m *TargetTestRequirementsCfg) GetPerTargetTestRequirements() []*PerTargetTestRequirements

func (*TargetTestRequirementsCfg) ProtoMessage Uses

func (*TargetTestRequirementsCfg) ProtoMessage()

func (*TargetTestRequirementsCfg) Reset Uses

func (m *TargetTestRequirementsCfg) Reset()

func (*TargetTestRequirementsCfg) String Uses

func (m *TargetTestRequirementsCfg) String() string

func (*TargetTestRequirementsCfg) XXX_DiscardUnknown Uses

func (m *TargetTestRequirementsCfg) XXX_DiscardUnknown()

func (*TargetTestRequirementsCfg) XXX_Marshal Uses

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

func (*TargetTestRequirementsCfg) XXX_Merge Uses

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

func (*TargetTestRequirementsCfg) XXX_Size Uses

func (m *TargetTestRequirementsCfg) XXX_Size() int

func (*TargetTestRequirementsCfg) XXX_Unmarshal Uses

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

type TastVmTestCfg Uses

type TastVmTestCfg struct {
    TastVmTest           []*TastVmTestCfg_TastVmTest `protobuf:"bytes,1,rep,name=tast_vm_test,json=tastVmTest,proto3" json:"tast_vm_test,omitempty"`
    XXX_NoUnkeyedLiteral struct{}                    `json:"-"`
    XXX_unrecognized     []byte                      `json:"-"`
    XXX_sizecache        int32                       `json:"-"`
}

func (*TastVmTestCfg) Descriptor Uses

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

func (*TastVmTestCfg) GetTastVmTest Uses

func (m *TastVmTestCfg) GetTastVmTest() []*TastVmTestCfg_TastVmTest

func (*TastVmTestCfg) ProtoMessage Uses

func (*TastVmTestCfg) ProtoMessage()

func (*TastVmTestCfg) Reset Uses

func (m *TastVmTestCfg) Reset()

func (*TastVmTestCfg) String Uses

func (m *TastVmTestCfg) String() string

func (*TastVmTestCfg) XXX_DiscardUnknown Uses

func (m *TastVmTestCfg) XXX_DiscardUnknown()

func (*TastVmTestCfg) XXX_Marshal Uses

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

func (*TastVmTestCfg) XXX_Merge Uses

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

func (*TastVmTestCfg) XXX_Size Uses

func (m *TastVmTestCfg) XXX_Size() int

func (*TastVmTestCfg) XXX_Unmarshal Uses

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

type TastVmTestCfg_TastTestExpr Uses

type TastVmTestCfg_TastTestExpr struct {
    // A single tast test expression. See https://goo.gl/UPNEgT
    TestExpr             string   `protobuf:"bytes,1,opt,name=test_expr,json=testExpr,proto3" json:"test_expr,omitempty"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

func (*TastVmTestCfg_TastTestExpr) Descriptor Uses

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

func (*TastVmTestCfg_TastTestExpr) GetTestExpr Uses

func (m *TastVmTestCfg_TastTestExpr) GetTestExpr() string

func (*TastVmTestCfg_TastTestExpr) ProtoMessage Uses

func (*TastVmTestCfg_TastTestExpr) ProtoMessage()

func (*TastVmTestCfg_TastTestExpr) Reset Uses

func (m *TastVmTestCfg_TastTestExpr) Reset()

func (*TastVmTestCfg_TastTestExpr) String Uses

func (m *TastVmTestCfg_TastTestExpr) String() string

func (*TastVmTestCfg_TastTestExpr) XXX_DiscardUnknown Uses

func (m *TastVmTestCfg_TastTestExpr) XXX_DiscardUnknown()

func (*TastVmTestCfg_TastTestExpr) XXX_Marshal Uses

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

func (*TastVmTestCfg_TastTestExpr) XXX_Merge Uses

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

func (*TastVmTestCfg_TastTestExpr) XXX_Size Uses

func (m *TastVmTestCfg_TastTestExpr) XXX_Size() int

func (*TastVmTestCfg_TastTestExpr) XXX_Unmarshal Uses

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

type TastVmTestCfg_TastVmTest Uses

type TastVmTestCfg_TastVmTest struct {
    // String containing short human-readable name describing test suite.
    SuiteName string `protobuf:"bytes,1,opt,name=suite_name,json=suiteName,proto3" json:"suite_name,omitempty"`
    // List of string expressions describing which tests to run; this
    // is passed directly to the 'tast run' command. See
    // https://goo.gl/UPNEgT for info about test expressions.
    TastTestExpr []*TastVmTestCfg_TastTestExpr `protobuf:"bytes,2,rep,name=tast_test_expr,json=tastTestExpr,proto3" json:"tast_test_expr,omitempty"`
    // Number of seconds to wait before timing out waiting for results.
    TimeoutSec           int32    `protobuf:"varint,3,opt,name=timeout_sec,json=timeoutSec,proto3" json:"timeout_sec,omitempty"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

func (*TastVmTestCfg_TastVmTest) Descriptor Uses

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

func (*TastVmTestCfg_TastVmTest) GetSuiteName Uses

func (m *TastVmTestCfg_TastVmTest) GetSuiteName() string

func (*TastVmTestCfg_TastVmTest) GetTastTestExpr Uses

func (m *TastVmTestCfg_TastVmTest) GetTastTestExpr() []*TastVmTestCfg_TastTestExpr

func (*TastVmTestCfg_TastVmTest) GetTimeoutSec Uses

func (m *TastVmTestCfg_TastVmTest) GetTimeoutSec() int32

func (*TastVmTestCfg_TastVmTest) ProtoMessage Uses

func (*TastVmTestCfg_TastVmTest) ProtoMessage()

func (*TastVmTestCfg_TastVmTest) Reset Uses

func (m *TastVmTestCfg_TastVmTest) Reset()

func (*TastVmTestCfg_TastVmTest) String Uses

func (m *TastVmTestCfg_TastVmTest) String() string

func (*TastVmTestCfg_TastVmTest) XXX_DiscardUnknown Uses

func (m *TastVmTestCfg_TastVmTest) XXX_DiscardUnknown()

func (*TastVmTestCfg_TastVmTest) XXX_Marshal Uses

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

func (*TastVmTestCfg_TastVmTest) XXX_Merge Uses

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

func (*TastVmTestCfg_TastVmTest) XXX_Size Uses

func (m *TastVmTestCfg_TastVmTest) XXX_Size() int

func (*TastVmTestCfg_TastVmTest) XXX_Unmarshal Uses

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

type TestRestriction Uses

type TestRestriction struct {
    // Whether to disable hardware tests.
    DisableHwTests bool `protobuf:"varint,1,opt,name=disable_hw_tests,json=disableHwTests,proto3" json:"disable_hw_tests,omitempty"`
    // Whether to disable image tests.
    DisableImageTests bool `protobuf:"varint,2,opt,name=disable_image_tests,json=disableImageTests,proto3" json:"disable_image_tests,omitempty"`
    // Whether to disable virtual machine tests.
    DisableVmTests       bool     `protobuf:"varint,3,opt,name=disable_vm_tests,json=disableVmTests,proto3" json:"disable_vm_tests,omitempty"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

Testing restrictions to apply to a source tree.

func (*TestRestriction) Descriptor Uses

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

func (*TestRestriction) GetDisableHwTests Uses

func (m *TestRestriction) GetDisableHwTests() bool

func (*TestRestriction) GetDisableImageTests Uses

func (m *TestRestriction) GetDisableImageTests() bool

func (*TestRestriction) GetDisableVmTests Uses

func (m *TestRestriction) GetDisableVmTests() bool

func (*TestRestriction) ProtoMessage Uses

func (*TestRestriction) ProtoMessage()

func (*TestRestriction) Reset Uses

func (m *TestRestriction) Reset()

func (*TestRestriction) String Uses

func (m *TestRestriction) String() string

func (*TestRestriction) XXX_DiscardUnknown Uses

func (m *TestRestriction) XXX_DiscardUnknown()

func (*TestRestriction) XXX_Marshal Uses

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

func (*TestRestriction) XXX_Merge Uses

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

func (*TestRestriction) XXX_Size Uses

func (m *TestRestriction) XXX_Size() int

func (*TestRestriction) XXX_Unmarshal Uses

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

type VmTestCfg Uses

type VmTestCfg struct {
    VmTest               []*VmTestCfg_VmTest `protobuf:"bytes,1,rep,name=vm_test,json=vmTest,proto3" json:"vm_test,omitempty"`
    XXX_NoUnkeyedLiteral struct{}            `json:"-"`
    XXX_unrecognized     []byte              `json:"-"`
    XXX_sizecache        int32               `json:"-"`
}

func (*VmTestCfg) Descriptor Uses

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

func (*VmTestCfg) GetVmTest Uses

func (m *VmTestCfg) GetVmTest() []*VmTestCfg_VmTest

func (*VmTestCfg) ProtoMessage Uses

func (*VmTestCfg) ProtoMessage()

func (*VmTestCfg) Reset Uses

func (m *VmTestCfg) Reset()

func (*VmTestCfg) String Uses

func (m *VmTestCfg) String() string

func (*VmTestCfg) XXX_DiscardUnknown Uses

func (m *VmTestCfg) XXX_DiscardUnknown()

func (*VmTestCfg) XXX_Marshal Uses

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

func (*VmTestCfg) XXX_Merge Uses

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

func (*VmTestCfg) XXX_Size Uses

func (m *VmTestCfg) XXX_Size() int

func (*VmTestCfg) XXX_Unmarshal Uses

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

type VmTestCfg_VmTest Uses

type VmTestCfg_VmTest struct {
    // Test type to be run.
    TestType string `protobuf:"bytes,1,opt,name=test_type,json=testType,proto3" json:"test_type,omitempty"`
    // Test suite to be run in VMTest.
    TestSuite string `protobuf:"bytes,2,opt,name=test_suite,json=testSuite,proto3" json:"test_suite,omitempty"`
    // Number of seconds to wait before timing out waiting for results.
    TimeoutSec int32 `protobuf:"varint,3,opt,name=timeout_sec,json=timeoutSec,proto3" json:"timeout_sec,omitempty"`
    // Whether we should retry tests that fail in a suite run.
    Retry bool `protobuf:"varint,4,opt,name=retry,proto3" json:"retry,omitempty"`
    // Maximum job retries allowed at suite level. 0 for no max.
    MaxRetries int32 `protobuf:"varint,5,opt,name=max_retries,json=maxRetries,proto3" json:"max_retries,omitempty"`
    // Failure on VM tests warns only.
    WarnOnly bool `protobuf:"varint,6,opt,name=warn_only,json=warnOnly,proto3" json:"warn_only,omitempty"`
    // Use the old ctest code path rather than the new chromite one.
    UseCtest             bool     `protobuf:"varint,7,opt,name=use_ctest,json=useCtest,proto3" json:"use_ctest,omitempty"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

func (*VmTestCfg_VmTest) Descriptor Uses

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

func (*VmTestCfg_VmTest) GetMaxRetries Uses

func (m *VmTestCfg_VmTest) GetMaxRetries() int32

func (*VmTestCfg_VmTest) GetRetry Uses

func (m *VmTestCfg_VmTest) GetRetry() bool

func (*VmTestCfg_VmTest) GetTestSuite Uses

func (m *VmTestCfg_VmTest) GetTestSuite() string

func (*VmTestCfg_VmTest) GetTestType Uses

func (m *VmTestCfg_VmTest) GetTestType() string

func (*VmTestCfg_VmTest) GetTimeoutSec Uses

func (m *VmTestCfg_VmTest) GetTimeoutSec() int32

func (*VmTestCfg_VmTest) GetUseCtest Uses

func (m *VmTestCfg_VmTest) GetUseCtest() bool

func (*VmTestCfg_VmTest) GetWarnOnly Uses

func (m *VmTestCfg_VmTest) GetWarnOnly() bool

func (*VmTestCfg_VmTest) ProtoMessage Uses

func (*VmTestCfg_VmTest) ProtoMessage()

func (*VmTestCfg_VmTest) Reset Uses

func (m *VmTestCfg_VmTest) Reset()

func (*VmTestCfg_VmTest) String Uses

func (m *VmTestCfg_VmTest) String() string

func (*VmTestCfg_VmTest) XXX_DiscardUnknown Uses

func (m *VmTestCfg_VmTest) XXX_DiscardUnknown()

func (*VmTestCfg_VmTest) XXX_Marshal Uses

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

func (*VmTestCfg_VmTest) XXX_Merge Uses

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

func (*VmTestCfg_VmTest) XXX_Size Uses

func (m *VmTestCfg_VmTest) XXX_Size() int

func (*VmTestCfg_VmTest) XXX_Unmarshal Uses

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

Package config imports 3 packages (graph) and is imported by 2 packages. Updated 2019-02-24. Refresh now. Tools for package owners.