Documentation ¶
Index ¶
- Variables
- type ConfigBundle
- func (*ConfigBundle) Descriptor() ([]byte, []int)deprecated
- func (x *ConfigBundle) GetBrandConfigs() []*software.BrandConfig
- func (x *ConfigBundle) GetComponents() []*api.Component
- func (x *ConfigBundle) GetDesignList() []*api.Design
- func (x *ConfigBundle) GetDeviceBrandList() []*api.DeviceBrand
- func (x *ConfigBundle) GetPartnerList() []*api.Partner
- func (x *ConfigBundle) GetProgramList() []*api.Program
- func (x *ConfigBundle) GetSoftwareConfigs() []*software.SoftwareConfig
- func (*ConfigBundle) ProtoMessage()
- func (x *ConfigBundle) ProtoReflect() protoreflect.Message
- func (x *ConfigBundle) Reset()
- func (x *ConfigBundle) String() string
- type ConfigBundleList
- type FlatConfig
- func (*FlatConfig) Descriptor() ([]byte, []int)deprecated
- func (x *FlatConfig) GetBrandSwConfig() *software.BrandConfig
- func (x *FlatConfig) GetDeviceBrand() *api.DeviceBrand
- func (x *FlatConfig) GetHwComponents() []*api.Component
- func (x *FlatConfig) GetHwDesign() *api.Design
- func (x *FlatConfig) GetHwDesignConfig() *api.Design_Config
- func (x *FlatConfig) GetOdm() *api.Partner
- func (x *FlatConfig) GetOem() *api.Partner
- func (x *FlatConfig) GetProgram() *api.Program
- func (x *FlatConfig) GetSwConfig() *software.SoftwareConfig
- func (*FlatConfig) ProtoMessage()
- func (x *FlatConfig) ProtoReflect() protoreflect.Message
- func (x *FlatConfig) Reset()
- func (x *FlatConfig) String() string
- type FlatConfigList
Constants ¶
This section is empty.
Variables ¶
var File_chromiumos_config_payload_config_bundle_proto protoreflect.FileDescriptor
var File_chromiumos_config_payload_flat_config_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type ConfigBundle ¶
type ConfigBundle struct { // Chrome OS program and hw design project config PartnerList []*api.Partner `protobuf:"bytes,11,rep,name=partner_list,json=partnerList,proto3" json:"partner_list,omitempty"` Components []*api.Component `protobuf:"bytes,12,rep,name=components,proto3" json:"components,omitempty"` ProgramList []*api.Program `protobuf:"bytes,13,rep,name=program_list,json=programList,proto3" json:"program_list,omitempty"` DesignList []*api.Design `protobuf:"bytes,14,rep,name=design_list,json=designList,proto3" json:"design_list,omitempty"` DeviceBrandList []*api.DeviceBrand `protobuf:"bytes,15,rep,name=device_brand_list,json=deviceBrandList,proto3" json:"device_brand_list,omitempty"` // Chrome OS build and software config SoftwareConfigs []*software.SoftwareConfig `protobuf:"bytes,9,rep,name=software_configs,json=softwareConfigs,proto3" json:"software_configs,omitempty"` BrandConfigs []*software.BrandConfig `protobuf:"bytes,10,rep,name=brand_configs,json=brandConfigs,proto3" json:"brand_configs,omitempty"` // contains filtered or unexported fields }
Defines a config payload that can be generated from a given config git repo. Based on the distributed nature of the config, these bundles are then eventually stitched together to drive build config payloads or any infra/analysis related access/processing.
func (*ConfigBundle) Descriptor
deprecated
func (*ConfigBundle) Descriptor() ([]byte, []int)
Deprecated: Use ConfigBundle.ProtoReflect.Descriptor instead.
func (*ConfigBundle) GetBrandConfigs ¶
func (x *ConfigBundle) GetBrandConfigs() []*software.BrandConfig
func (*ConfigBundle) GetComponents ¶
func (x *ConfigBundle) GetComponents() []*api.Component
func (*ConfigBundle) GetDesignList ¶
func (x *ConfigBundle) GetDesignList() []*api.Design
func (*ConfigBundle) GetDeviceBrandList ¶
func (x *ConfigBundle) GetDeviceBrandList() []*api.DeviceBrand
func (*ConfigBundle) GetPartnerList ¶
func (x *ConfigBundle) GetPartnerList() []*api.Partner
func (*ConfigBundle) GetProgramList ¶
func (x *ConfigBundle) GetProgramList() []*api.Program
func (*ConfigBundle) GetSoftwareConfigs ¶
func (x *ConfigBundle) GetSoftwareConfigs() []*software.SoftwareConfig
func (*ConfigBundle) ProtoMessage ¶
func (*ConfigBundle) ProtoMessage()
func (*ConfigBundle) ProtoReflect ¶
func (x *ConfigBundle) ProtoReflect() protoreflect.Message
func (*ConfigBundle) Reset ¶
func (x *ConfigBundle) Reset()
func (*ConfigBundle) String ¶
func (x *ConfigBundle) String() string
type ConfigBundleList ¶
type ConfigBundleList struct { Values []*ConfigBundle `protobuf:"bytes,1,rep,name=values,proto3" json:"values,omitempty"` // contains filtered or unexported fields }
List to hold multiple ConfigBundles
func (*ConfigBundleList) Descriptor
deprecated
func (*ConfigBundleList) Descriptor() ([]byte, []int)
Deprecated: Use ConfigBundleList.ProtoReflect.Descriptor instead.
func (*ConfigBundleList) GetValues ¶
func (x *ConfigBundleList) GetValues() []*ConfigBundle
func (*ConfigBundleList) ProtoMessage ¶
func (*ConfigBundleList) ProtoMessage()
func (*ConfigBundleList) ProtoReflect ¶
func (x *ConfigBundleList) ProtoReflect() protoreflect.Message
func (*ConfigBundleList) Reset ¶
func (x *ConfigBundleList) Reset()
func (*ConfigBundleList) String ¶
func (x *ConfigBundleList) String() string
type FlatConfig ¶
type FlatConfig struct { Program *api.Program `protobuf:"bytes,1,opt,name=program,proto3" json:"program,omitempty"` HwDesign *api.Design `protobuf:"bytes,3,opt,name=hw_design,json=hwDesign,proto3" json:"hw_design,omitempty"` Odm *api.Partner `protobuf:"bytes,4,opt,name=odm,proto3" json:"odm,omitempty"` HwDesignConfig *api.Design_Config `protobuf:"bytes,5,opt,name=hw_design_config,json=hwDesignConfig,proto3" json:"hw_design_config,omitempty"` HwComponents []*api.Component `protobuf:"bytes,11,rep,name=hw_components,json=hwComponents,proto3" json:"hw_components,omitempty"` DeviceBrand *api.DeviceBrand `protobuf:"bytes,6,opt,name=device_brand,json=deviceBrand,proto3" json:"device_brand,omitempty"` Oem *api.Partner `protobuf:"bytes,7,opt,name=oem,proto3" json:"oem,omitempty"` SwConfig *software.SoftwareConfig `protobuf:"bytes,9,opt,name=sw_config,json=swConfig,proto3" json:"sw_config,omitempty"` BrandSwConfig *software.BrandConfig `protobuf:"bytes,10,opt,name=brand_sw_config,json=brandSwConfig,proto3" json:"brand_sw_config,omitempty"` // contains filtered or unexported fields }
Provides a configuration that has been completely flattened with all ids already resolved. This is specifically targeted at supporting easier analysis from declarative languages that query over the configs. It reduces join operations and also simplifies queries greatly.
func (*FlatConfig) Descriptor
deprecated
func (*FlatConfig) Descriptor() ([]byte, []int)
Deprecated: Use FlatConfig.ProtoReflect.Descriptor instead.
func (*FlatConfig) GetBrandSwConfig ¶
func (x *FlatConfig) GetBrandSwConfig() *software.BrandConfig
func (*FlatConfig) GetDeviceBrand ¶
func (x *FlatConfig) GetDeviceBrand() *api.DeviceBrand
func (*FlatConfig) GetHwComponents ¶
func (x *FlatConfig) GetHwComponents() []*api.Component
func (*FlatConfig) GetHwDesign ¶
func (x *FlatConfig) GetHwDesign() *api.Design
func (*FlatConfig) GetHwDesignConfig ¶
func (x *FlatConfig) GetHwDesignConfig() *api.Design_Config
func (*FlatConfig) GetOdm ¶
func (x *FlatConfig) GetOdm() *api.Partner
func (*FlatConfig) GetOem ¶
func (x *FlatConfig) GetOem() *api.Partner
func (*FlatConfig) GetProgram ¶
func (x *FlatConfig) GetProgram() *api.Program
func (*FlatConfig) GetSwConfig ¶
func (x *FlatConfig) GetSwConfig() *software.SoftwareConfig
func (*FlatConfig) ProtoMessage ¶
func (*FlatConfig) ProtoMessage()
func (*FlatConfig) ProtoReflect ¶
func (x *FlatConfig) ProtoReflect() protoreflect.Message
func (*FlatConfig) Reset ¶
func (x *FlatConfig) Reset()
func (*FlatConfig) String ¶
func (x *FlatConfig) String() string
type FlatConfigList ¶
type FlatConfigList struct { Values []*FlatConfig `protobuf:"bytes,1,rep,name=values,proto3" json:"values,omitempty"` // contains filtered or unexported fields }
A list of FlatConfigs for ease of serialization into a file.
func (*FlatConfigList) Descriptor
deprecated
func (*FlatConfigList) Descriptor() ([]byte, []int)
Deprecated: Use FlatConfigList.ProtoReflect.Descriptor instead.
func (*FlatConfigList) GetValues ¶
func (x *FlatConfigList) GetValues() []*FlatConfig
func (*FlatConfigList) ProtoMessage ¶
func (*FlatConfigList) ProtoMessage()
func (*FlatConfigList) ProtoReflect ¶
func (x *FlatConfigList) ProtoReflect() protoreflect.Message
func (*FlatConfigList) Reset ¶
func (x *FlatConfigList) Reset()
func (*FlatConfigList) String ¶
func (x *FlatConfigList) String() string