Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IdentityScanConfig

type IdentityScanConfig struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Defines how devices are probed at runtime to dynamically determine the correct configuration payload.

func (*IdentityScanConfig) Descriptor

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

func (*IdentityScanConfig) ProtoMessage

func (*IdentityScanConfig) ProtoMessage()

func (*IdentityScanConfig) Reset

func (m *IdentityScanConfig) Reset()

func (*IdentityScanConfig) String

func (m *IdentityScanConfig) String() string

func (*IdentityScanConfig) XXX_DiscardUnknown

func (m *IdentityScanConfig) XXX_DiscardUnknown()

func (*IdentityScanConfig) XXX_Marshal

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

func (*IdentityScanConfig) XXX_Merge

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

func (*IdentityScanConfig) XXX_Size

func (m *IdentityScanConfig) XXX_Size() int

func (*IdentityScanConfig) XXX_Unmarshal

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

type IdentityScanConfig_BrandId

type IdentityScanConfig_BrandId struct {
	// 'whitelabel_tag' value set in the VPD.
	// See
	// https://chromeos.google.com/partner/dlm/docs/factory/vpd.html#field-whitelabel_tag.
	WhitelabelTag        string   `protobuf:"bytes,1,opt,name=whitelabel_tag,json=whitelabelTag,proto3" json:"whitelabel_tag,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Scanning config based on: config/api/deivce_brand_id.proto

func (*IdentityScanConfig_BrandId) Descriptor

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

func (*IdentityScanConfig_BrandId) GetWhitelabelTag

func (m *IdentityScanConfig_BrandId) GetWhitelabelTag() string

func (*IdentityScanConfig_BrandId) ProtoMessage

func (*IdentityScanConfig_BrandId) ProtoMessage()

func (*IdentityScanConfig_BrandId) Reset

func (m *IdentityScanConfig_BrandId) Reset()

func (*IdentityScanConfig_BrandId) String

func (m *IdentityScanConfig_BrandId) String() string

func (*IdentityScanConfig_BrandId) XXX_DiscardUnknown

func (m *IdentityScanConfig_BrandId) XXX_DiscardUnknown()

func (*IdentityScanConfig_BrandId) XXX_Marshal

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

func (*IdentityScanConfig_BrandId) XXX_Merge

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

func (*IdentityScanConfig_BrandId) XXX_Size

func (m *IdentityScanConfig_BrandId) XXX_Size() int

func (*IdentityScanConfig_BrandId) XXX_Unmarshal

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

type IdentityScanConfig_DesignConfigId

type IdentityScanConfig_DesignConfigId struct {
	// Types that are valid to be assigned to FirmwareNameMatch:
	//	*IdentityScanConfig_DesignConfigId_SmbiosNameMatch
	//	*IdentityScanConfig_DesignConfigId_DeviceTreeCompatibleMatch
	FirmwareNameMatch isIdentityScanConfig_DesignConfigId_FirmwareNameMatch `protobuf_oneof:"firmware_name_match"`
	// SKU configured during board manufacturing. Should match the value
	// returned by "cros_config /identity sku-id" (which abstracts how SKU is
	// encoded on the specific platform). Must be in the range [0, 0x7FFFFFFF].
	FirmwareSku          uint32   `protobuf:"varint,3,opt,name=firmware_sku,json=firmwareSku,proto3" json:"firmware_sku,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Scan config to identify a unique DesignConfigId, which determines which SoftwareConfig will be used.

func (*IdentityScanConfig_DesignConfigId) Descriptor

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

func (*IdentityScanConfig_DesignConfigId) GetDeviceTreeCompatibleMatch

func (m *IdentityScanConfig_DesignConfigId) GetDeviceTreeCompatibleMatch() string

func (*IdentityScanConfig_DesignConfigId) GetFirmwareNameMatch

func (m *IdentityScanConfig_DesignConfigId) GetFirmwareNameMatch() isIdentityScanConfig_DesignConfigId_FirmwareNameMatch

func (*IdentityScanConfig_DesignConfigId) GetFirmwareSku

func (m *IdentityScanConfig_DesignConfigId) GetFirmwareSku() uint32

func (*IdentityScanConfig_DesignConfigId) GetSmbiosNameMatch

func (m *IdentityScanConfig_DesignConfigId) GetSmbiosNameMatch() string

func (*IdentityScanConfig_DesignConfigId) ProtoMessage

func (*IdentityScanConfig_DesignConfigId) ProtoMessage()

func (*IdentityScanConfig_DesignConfigId) Reset

func (*IdentityScanConfig_DesignConfigId) String

func (*IdentityScanConfig_DesignConfigId) XXX_DiscardUnknown

func (m *IdentityScanConfig_DesignConfigId) XXX_DiscardUnknown()

func (*IdentityScanConfig_DesignConfigId) XXX_Marshal

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

func (*IdentityScanConfig_DesignConfigId) XXX_Merge

func (*IdentityScanConfig_DesignConfigId) XXX_OneofWrappers

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

XXX_OneofWrappers is for the internal use of the proto package.

func (*IdentityScanConfig_DesignConfigId) XXX_Size

func (m *IdentityScanConfig_DesignConfigId) XXX_Size() int

func (*IdentityScanConfig_DesignConfigId) XXX_Unmarshal

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

type IdentityScanConfig_DesignConfigId_DeviceTreeCompatibleMatch

type IdentityScanConfig_DesignConfigId_DeviceTreeCompatibleMatch struct {
	DeviceTreeCompatibleMatch string `protobuf:"bytes,2,opt,name=device_tree_compatible_match,json=deviceTreeCompatibleMatch,proto3,oneof"`
}

type IdentityScanConfig_DesignConfigId_SmbiosNameMatch

type IdentityScanConfig_DesignConfigId_SmbiosNameMatch struct {
	SmbiosNameMatch string `protobuf:"bytes,1,opt,name=smbios_name_match,json=smbiosNameMatch,proto3,oneof"`
}