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

package manufacturing

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

Index

Package Files

config.pb.go config_id.pb.go

Variables

var Config_CR50KeyEnv_name = map[int32]string{
    0:  "CR50_KEYENV_INVALID",
    1:  "CR50_KEYENV_PROD",
    2:  "CR50_KEYENV_DEV",
}
var Config_CR50KeyEnv_value = map[string]int32{
    "CR50_KEYENV_INVALID": 0,
    "CR50_KEYENV_PROD":    1,
    "CR50_KEYENV_DEV":     2,
}
var Config_CR50Phase_name = map[int32]string{
    0:  "CR50_PHASE_INVALID",
    1:  "CR50_PHASE_PREPVT",
    2:  "CR50_PHASE_PVT",
}
var Config_CR50Phase_value = map[string]int32{
    "CR50_PHASE_INVALID": 0,
    "CR50_PHASE_PREPVT":  1,
    "CR50_PHASE_PVT":     2,
}
var Config_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",
}
var Config_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,
}

type Config Uses

type Config struct {
    ManufacturingId *ConfigID        `protobuf:"bytes,1,opt,name=manufacturing_id,json=manufacturingId,proto3" json:"manufacturing_id,omitempty"`
    DevicePhase     Config_Phase     `protobuf:"varint,2,opt,name=device_phase,json=devicePhase,proto3,enum=manufacturing.Config_Phase" json:"device_phase,omitempty"`
    Cr50Phase       Config_CR50Phase `protobuf:"varint,3,opt,name=cr50_phase,json=cr50Phase,proto3,enum=manufacturing.Config_CR50Phase" json:"cr50_phase,omitempty"`
    // Detected based on the cr50 RW version that the DUT is running on.
    Cr50KeyEnv           Config_CR50KeyEnv `protobuf:"varint,4,opt,name=cr50_key_env,json=cr50KeyEnv,proto3,enum=manufacturing.Config_CR50KeyEnv" json:"cr50_key_env,omitempty"`
    XXX_NoUnkeyedLiteral struct{}          `json:"-"`
    XXX_unrecognized     []byte            `json:"-"`
    XXX_sizecache        int32             `json:"-"`
}

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

func (*Config) Descriptor Uses

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

func (*Config) GetCr50KeyEnv Uses

func (m *Config) GetCr50KeyEnv() Config_CR50KeyEnv

func (*Config) GetCr50Phase Uses

func (m *Config) GetCr50Phase() Config_CR50Phase

func (*Config) GetDevicePhase Uses

func (m *Config) GetDevicePhase() Config_Phase

func (*Config) GetManufacturingId Uses

func (m *Config) GetManufacturingId() *ConfigID

func (*Config) ProtoMessage Uses

func (*Config) ProtoMessage()

func (*Config) Reset Uses

func (m *Config) Reset()

func (*Config) String Uses

func (m *Config) String() string

func (*Config) XXX_DiscardUnknown Uses

func (m *Config) XXX_DiscardUnknown()

func (*Config) XXX_Marshal Uses

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

func (*Config) XXX_Merge Uses

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

func (*Config) XXX_Size Uses

func (m *Config) XXX_Size() int

func (*Config) XXX_Unmarshal Uses

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

type ConfigID Uses

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"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

func (*ConfigID) Descriptor Uses

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

func (*ConfigID) GetValue Uses

func (m *ConfigID) GetValue() string

func (*ConfigID) ProtoMessage Uses

func (*ConfigID) ProtoMessage()

func (*ConfigID) Reset Uses

func (m *ConfigID) Reset()

func (*ConfigID) String Uses

func (m *ConfigID) String() string

func (*ConfigID) XXX_DiscardUnknown Uses

func (m *ConfigID) XXX_DiscardUnknown()

func (*ConfigID) XXX_Marshal Uses

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

func (*ConfigID) XXX_Merge Uses

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

func (*ConfigID) XXX_Size Uses

func (m *ConfigID) XXX_Size() int

func (*ConfigID) XXX_Unmarshal Uses

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

type Config_CR50KeyEnv Uses

type Config_CR50KeyEnv int32

key env for cr50 RW version. Next Tag: 3

const (
    Config_CR50_KEYENV_INVALID Config_CR50KeyEnv = 0
    Config_CR50_KEYENV_PROD    Config_CR50KeyEnv = 1
    Config_CR50_KEYENV_DEV     Config_CR50KeyEnv = 2
)

func (Config_CR50KeyEnv) EnumDescriptor Uses

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

func (Config_CR50KeyEnv) String Uses

func (x Config_CR50KeyEnv) String() string

type Config_CR50Phase Uses

type Config_CR50Phase int32

phases for cr50 module. Next Tag: 3

const (
    Config_CR50_PHASE_INVALID Config_CR50Phase = 0
    Config_CR50_PHASE_PREPVT  Config_CR50Phase = 1
    Config_CR50_PHASE_PVT     Config_CR50Phase = 2
)

func (Config_CR50Phase) EnumDescriptor Uses

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

func (Config_CR50Phase) String Uses

func (x Config_CR50Phase) String() string

type Config_Phase Uses

type Config_Phase int32

phase for the device. Next Tag: 9

const (
    Config_PHASE_INVALID Config_Phase = 0
    Config_PHASE_EVT     Config_Phase = 1
    Config_PHASE_EVT2    Config_Phase = 2
    Config_PHASE_DVT     Config_Phase = 3
    Config_PHASE_DVT2    Config_Phase = 4
    Config_PHASE_PVT     Config_Phase = 5
    Config_PHASE_PVT2    Config_Phase = 6
    Config_PHASE_PVT3    Config_Phase = 7
    Config_PHASE_MP      Config_Phase = 8
)

func (Config_Phase) EnumDescriptor Uses

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

func (Config_Phase) String Uses

func (x Config_Phase) String() string

Package manufacturing imports 3 packages (graph) and is imported by 1 packages. Updated 2019-12-14. Refresh now. Tools for package owners.