dut

package
v0.0.0-...-b8a1838 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 9, 2024 License: Apache-2.0, BSD-2-Clause, BSD-3-Clause Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	DeviceStability_Stability_name = map[int32]string{
		0: "STABILITY_UNKNOWN",
		1: "STABLE",
		2: "UNSTABLE",
	}
	DeviceStability_Stability_value = map[string]int32{
		"STABILITY_UNKNOWN": 0,
		"STABLE":            1,
		"UNSTABLE":          2,
	}
)

Enum value maps for DeviceStability_Stability.

View Source
var File_chromiumos_test_dut_device_stability_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type DeviceStability

type DeviceStability struct {

	// DUTs included in the stability description.
	// All criteria must be met (AND logic is applied).
	DutCriteria []*api.DutCriterion       `protobuf:"bytes,1,rep,name=dut_criteria,json=dutCriteria,proto3" json:"dut_criteria,omitempty"`
	Stability   DeviceStability_Stability `protobuf:"varint,2,opt,name=stability,proto3,enum=chromiumos.test.dut.DeviceStability_Stability" json:"stability,omitempty"`
	// contains filtered or unexported fields
}

DeviceStability describes the stability of a groups of DUTs.

Stability can be used for decisions such as test planning. Stability is a temporary characteristic of a DUT; for example, due to a known hardware issue on a device.

func (*DeviceStability) Descriptor deprecated

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

Deprecated: Use DeviceStability.ProtoReflect.Descriptor instead.

func (*DeviceStability) GetDutCriteria

func (x *DeviceStability) GetDutCriteria() []*api.DutCriterion

func (*DeviceStability) GetStability

func (x *DeviceStability) GetStability() DeviceStability_Stability

func (*DeviceStability) ProtoMessage

func (*DeviceStability) ProtoMessage()

func (*DeviceStability) ProtoReflect

func (x *DeviceStability) ProtoReflect() protoreflect.Message

func (*DeviceStability) Reset

func (x *DeviceStability) Reset()

func (*DeviceStability) String

func (x *DeviceStability) String() string

type DeviceStabilityList

type DeviceStabilityList struct {
	Values []*DeviceStability `protobuf:"bytes,1,rep,name=values,proto3" json:"values,omitempty"`
	// contains filtered or unexported fields
}

func (*DeviceStabilityList) Descriptor deprecated

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

Deprecated: Use DeviceStabilityList.ProtoReflect.Descriptor instead.

func (*DeviceStabilityList) GetValues

func (x *DeviceStabilityList) GetValues() []*DeviceStability

func (*DeviceStabilityList) ProtoMessage

func (*DeviceStabilityList) ProtoMessage()

func (*DeviceStabilityList) ProtoReflect

func (x *DeviceStabilityList) ProtoReflect() protoreflect.Message

func (*DeviceStabilityList) Reset

func (x *DeviceStabilityList) Reset()

func (*DeviceStabilityList) String

func (x *DeviceStabilityList) String() string

type DeviceStability_Stability

type DeviceStability_Stability int32

Stability status of a DUT.

const (
	DeviceStability_STABILITY_UNKNOWN DeviceStability_Stability = 0
	DeviceStability_STABLE            DeviceStability_Stability = 1
	DeviceStability_UNSTABLE          DeviceStability_Stability = 2
)

func (DeviceStability_Stability) Descriptor

func (DeviceStability_Stability) Enum

func (DeviceStability_Stability) EnumDescriptor deprecated

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

Deprecated: Use DeviceStability_Stability.Descriptor instead.

func (DeviceStability_Stability) Number

func (DeviceStability_Stability) String

func (x DeviceStability_Stability) String() string

func (DeviceStability_Stability) Type

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL