ufspb

package
v0.0.0-...-e560ebb Latest Latest
Warning

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

Go to latest
Published: Jul 13, 2021 License: BSD-3-Clause Imports: 4 Imported by: 0

Documentation

Overview

Package ufspb contains the fleet service API.

Index

Constants

This section is empty.

Variables

View Source
var (
	ManufacturingConfig_Phase_name = map[int32]string{
		0: "PHASE_INVALID",
		1: "PHASE_EVT",
		2: "PHASE_EVT2",
		3: "PHASE_DVT",
		4: "PHASE_DVT2",
		5: "PHASE_PVT",
		6: "PHASE_PVT2",
		7: "PHASE_PVT3",
		8: "PHASE_MP",
	}
	ManufacturingConfig_Phase_value = map[string]int32{
		"PHASE_INVALID": 0,
		"PHASE_EVT":     1,
		"PHASE_EVT2":    2,
		"PHASE_DVT":     3,
		"PHASE_DVT2":    4,
		"PHASE_PVT":     5,
		"PHASE_PVT2":    6,
		"PHASE_PVT3":    7,
		"PHASE_MP":      8,
	}
)

Enum value maps for ManufacturingConfig_Phase.

View Source
var (
	ManufacturingConfig_CR50Phase_name = map[int32]string{
		0: "CR50_PHASE_INVALID",
		1: "CR50_PHASE_PREPVT",
		2: "CR50_PHASE_PVT",
	}
	ManufacturingConfig_CR50Phase_value = map[string]int32{
		"CR50_PHASE_INVALID": 0,
		"CR50_PHASE_PREPVT":  1,
		"CR50_PHASE_PVT":     2,
	}
)

Enum value maps for ManufacturingConfig_CR50Phase.

View Source
var (
	ManufacturingConfig_CR50KeyEnv_name = map[int32]string{
		0: "CR50_KEYENV_INVALID",
		1: "CR50_KEYENV_PROD",
		2: "CR50_KEYENV_DEV",
	}
	ManufacturingConfig_CR50KeyEnv_value = map[string]int32{
		"CR50_KEYENV_INVALID": 0,
		"CR50_KEYENV_PROD":    1,
		"CR50_KEYENV_DEV":     2,
	}
)

Enum value maps for ManufacturingConfig_CR50KeyEnv.

View Source
var File_infra_unifiedfleet_api_v1_models_chromeos_manufacturing_config_id_proto protoreflect.FileDescriptor
View Source
var File_infra_unifiedfleet_api_v1_models_chromeos_manufacturing_config_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type ConfigID

type ConfigID struct {

	// The ID that uniquely identifies the hardware configuration of a Chrome OS device.
	Value string `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

func (*ConfigID) Descriptor deprecated

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

Deprecated: Use ConfigID.ProtoReflect.Descriptor instead.

func (*ConfigID) GetValue

func (x *ConfigID) GetValue() string

func (*ConfigID) ProtoMessage

func (*ConfigID) ProtoMessage()

func (*ConfigID) ProtoReflect

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

func (*ConfigID) Reset

func (x *ConfigID) Reset()

func (*ConfigID) String

func (x *ConfigID) String() string

type ManufacturingConfig

type ManufacturingConfig struct {
	ManufacturingId *ConfigID                     `protobuf:"bytes,1,opt,name=manufacturing_id,json=manufacturingId,proto3" json:"manufacturing_id,omitempty"`
	DevicePhase     ManufacturingConfig_Phase     `` /* 176-byte string literal not displayed */
	Cr50Phase       ManufacturingConfig_CR50Phase `` /* 174-byte string literal not displayed */
	// Detected based on the cr50 RW version that the DUT is running on.
	Cr50KeyEnv ManufacturingConfig_CR50KeyEnv `` /* 180-byte string literal not displayed */
	// wifi chip that is installed on the DUT in manufacturing stage.
	WifiChip string `protobuf:"bytes,5,opt,name=wifi_chip,json=wifiChip,proto3" json:"wifi_chip,omitempty"`
	// Save repeated hwid components obtained from hwid service
	HwidComponent []string `protobuf:"bytes,6,rep,name=hwid_component,json=hwidComponent,proto3" json:"hwid_component,omitempty"`
	// contains filtered or unexported fields
}

These are the configs that's provided in manufacture stage of a ChromeOS device. Next Tag: 7

func (*ManufacturingConfig) Descriptor deprecated

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

Deprecated: Use ManufacturingConfig.ProtoReflect.Descriptor instead.

func (*ManufacturingConfig) GetCr50KeyEnv

func (*ManufacturingConfig) GetCr50Phase

func (*ManufacturingConfig) GetDevicePhase

func (x *ManufacturingConfig) GetDevicePhase() ManufacturingConfig_Phase

func (*ManufacturingConfig) GetHwidComponent

func (x *ManufacturingConfig) GetHwidComponent() []string

func (*ManufacturingConfig) GetManufacturingId

func (x *ManufacturingConfig) GetManufacturingId() *ConfigID

func (*ManufacturingConfig) GetWifiChip

func (x *ManufacturingConfig) GetWifiChip() string

func (*ManufacturingConfig) ProtoMessage

func (*ManufacturingConfig) ProtoMessage()

func (*ManufacturingConfig) ProtoReflect

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

func (*ManufacturingConfig) Reset

func (x *ManufacturingConfig) Reset()

func (*ManufacturingConfig) String

func (x *ManufacturingConfig) String() string

type ManufacturingConfigList

type ManufacturingConfigList struct {
	Value []*ManufacturingConfig `protobuf:"bytes,1,rep,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

Message contains all ChromeOS manufacturing configs.

func (*ManufacturingConfigList) Descriptor deprecated

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

Deprecated: Use ManufacturingConfigList.ProtoReflect.Descriptor instead.

func (*ManufacturingConfigList) GetValue

func (*ManufacturingConfigList) ProtoMessage

func (*ManufacturingConfigList) ProtoMessage()

func (*ManufacturingConfigList) ProtoReflect

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

func (*ManufacturingConfigList) Reset

func (x *ManufacturingConfigList) Reset()

func (*ManufacturingConfigList) String

func (x *ManufacturingConfigList) String() string

type ManufacturingConfig_CR50KeyEnv

type ManufacturingConfig_CR50KeyEnv int32

key env for cr50 RW version. Next Tag: 3

const (
	ManufacturingConfig_CR50_KEYENV_INVALID ManufacturingConfig_CR50KeyEnv = 0
	ManufacturingConfig_CR50_KEYENV_PROD    ManufacturingConfig_CR50KeyEnv = 1
	ManufacturingConfig_CR50_KEYENV_DEV     ManufacturingConfig_CR50KeyEnv = 2
)

func (ManufacturingConfig_CR50KeyEnv) Descriptor

func (ManufacturingConfig_CR50KeyEnv) Enum

func (ManufacturingConfig_CR50KeyEnv) EnumDescriptor deprecated

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

Deprecated: Use ManufacturingConfig_CR50KeyEnv.Descriptor instead.

func (ManufacturingConfig_CR50KeyEnv) Number

func (ManufacturingConfig_CR50KeyEnv) String

func (ManufacturingConfig_CR50KeyEnv) Type

type ManufacturingConfig_CR50Phase

type ManufacturingConfig_CR50Phase int32

phases for cr50 module. Next Tag: 3

const (
	ManufacturingConfig_CR50_PHASE_INVALID ManufacturingConfig_CR50Phase = 0
	ManufacturingConfig_CR50_PHASE_PREPVT  ManufacturingConfig_CR50Phase = 1
	ManufacturingConfig_CR50_PHASE_PVT     ManufacturingConfig_CR50Phase = 2
)

func (ManufacturingConfig_CR50Phase) Descriptor

func (ManufacturingConfig_CR50Phase) Enum

func (ManufacturingConfig_CR50Phase) EnumDescriptor deprecated

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

Deprecated: Use ManufacturingConfig_CR50Phase.Descriptor instead.

func (ManufacturingConfig_CR50Phase) Number

func (ManufacturingConfig_CR50Phase) String

func (ManufacturingConfig_CR50Phase) Type

type ManufacturingConfig_Phase

type ManufacturingConfig_Phase int32

phase for the device. Next Tag: 9

const (
	ManufacturingConfig_PHASE_INVALID ManufacturingConfig_Phase = 0
	ManufacturingConfig_PHASE_EVT     ManufacturingConfig_Phase = 1
	ManufacturingConfig_PHASE_EVT2    ManufacturingConfig_Phase = 2
	ManufacturingConfig_PHASE_DVT     ManufacturingConfig_Phase = 3
	ManufacturingConfig_PHASE_DVT2    ManufacturingConfig_Phase = 4
	ManufacturingConfig_PHASE_PVT     ManufacturingConfig_Phase = 5
	ManufacturingConfig_PHASE_PVT2    ManufacturingConfig_Phase = 6
	ManufacturingConfig_PHASE_PVT3    ManufacturingConfig_Phase = 7
	ManufacturingConfig_PHASE_MP      ManufacturingConfig_Phase = 8
)

func (ManufacturingConfig_Phase) Descriptor

func (ManufacturingConfig_Phase) Enum

func (ManufacturingConfig_Phase) EnumDescriptor deprecated

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

Deprecated: Use ManufacturingConfig_Phase.Descriptor instead.

func (ManufacturingConfig_Phase) Number

func (ManufacturingConfig_Phase) String

func (x ManufacturingConfig_Phase) String() string

func (ManufacturingConfig_Phase) Type

Jump to

Keyboard shortcuts

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