config: go.chromium.org/chromiumos/config/go/payload Index | Files

package payload

import "go.chromium.org/chromiumos/config/go/payload"

Index

Package Files

config_bundle.pb.go flat_config.pb.go

type ConfigBundle Uses

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

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 Uses

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

func (*ConfigBundle) GetBrandConfigs Uses

func (m *ConfigBundle) GetBrandConfigs() []*software.BrandConfig

func (*ConfigBundle) GetComponents Uses

func (m *ConfigBundle) GetComponents() []*api.Component

func (*ConfigBundle) GetDesignList Uses

func (m *ConfigBundle) GetDesignList() []*api.Design

func (*ConfigBundle) GetDeviceBrandList Uses

func (m *ConfigBundle) GetDeviceBrandList() []*api.DeviceBrand

func (*ConfigBundle) GetPartnerList Uses

func (m *ConfigBundle) GetPartnerList() []*api.Partner

func (*ConfigBundle) GetProgramList Uses

func (m *ConfigBundle) GetProgramList() []*api.Program

func (*ConfigBundle) GetSoftwareConfigs Uses

func (m *ConfigBundle) GetSoftwareConfigs() []*software.SoftwareConfig

func (*ConfigBundle) ProtoMessage Uses

func (*ConfigBundle) ProtoMessage()

func (*ConfigBundle) Reset Uses

func (m *ConfigBundle) Reset()

func (*ConfigBundle) String Uses

func (m *ConfigBundle) String() string

func (*ConfigBundle) XXX_DiscardUnknown Uses

func (m *ConfigBundle) XXX_DiscardUnknown()

func (*ConfigBundle) XXX_Marshal Uses

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

func (*ConfigBundle) XXX_Merge Uses

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

func (*ConfigBundle) XXX_Size Uses

func (m *ConfigBundle) XXX_Size() int

func (*ConfigBundle) XXX_Unmarshal Uses

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

type ConfigBundleList Uses

type ConfigBundleList struct {
    Values               []*ConfigBundle `protobuf:"bytes,1,rep,name=values,proto3" json:"values,omitempty"`
    XXX_NoUnkeyedLiteral struct{}        `json:"-"`
    XXX_unrecognized     []byte          `json:"-"`
    XXX_sizecache        int32           `json:"-"`
}

List to hold multiple ConfigBundles

func (*ConfigBundleList) Descriptor Uses

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

func (*ConfigBundleList) GetValues Uses

func (m *ConfigBundleList) GetValues() []*ConfigBundle

func (*ConfigBundleList) ProtoMessage Uses

func (*ConfigBundleList) ProtoMessage()

func (*ConfigBundleList) Reset Uses

func (m *ConfigBundleList) Reset()

func (*ConfigBundleList) String Uses

func (m *ConfigBundleList) String() string

func (*ConfigBundleList) XXX_DiscardUnknown Uses

func (m *ConfigBundleList) XXX_DiscardUnknown()

func (*ConfigBundleList) XXX_Marshal Uses

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

func (*ConfigBundleList) XXX_Merge Uses

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

func (*ConfigBundleList) XXX_Size Uses

func (m *ConfigBundleList) XXX_Size() int

func (*ConfigBundleList) XXX_Unmarshal Uses

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

type FlatConfig Uses

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

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 Uses

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

func (*FlatConfig) GetBrandSwConfig Uses

func (m *FlatConfig) GetBrandSwConfig() *software.BrandConfig

func (*FlatConfig) GetDeviceBrand Uses

func (m *FlatConfig) GetDeviceBrand() *api.DeviceBrand

func (*FlatConfig) GetHwComponents Uses

func (m *FlatConfig) GetHwComponents() []*api.Component

func (*FlatConfig) GetHwDesign Uses

func (m *FlatConfig) GetHwDesign() *api.Design

func (*FlatConfig) GetHwDesignConfig Uses

func (m *FlatConfig) GetHwDesignConfig() *api.Design_Config

func (*FlatConfig) GetOdm Uses

func (m *FlatConfig) GetOdm() *api.Partner

func (*FlatConfig) GetOem Uses

func (m *FlatConfig) GetOem() *api.Partner

func (*FlatConfig) GetProgram Uses

func (m *FlatConfig) GetProgram() *api.Program

func (*FlatConfig) GetSwConfig Uses

func (m *FlatConfig) GetSwConfig() *software.SoftwareConfig

func (*FlatConfig) ProtoMessage Uses

func (*FlatConfig) ProtoMessage()

func (*FlatConfig) Reset Uses

func (m *FlatConfig) Reset()

func (*FlatConfig) String Uses

func (m *FlatConfig) String() string

func (*FlatConfig) XXX_DiscardUnknown Uses

func (m *FlatConfig) XXX_DiscardUnknown()

func (*FlatConfig) XXX_Marshal Uses

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

func (*FlatConfig) XXX_Merge Uses

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

func (*FlatConfig) XXX_Size Uses

func (m *FlatConfig) XXX_Size() int

func (*FlatConfig) XXX_Unmarshal Uses

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

type FlatConfigList Uses

type FlatConfigList struct {
    Values               []*FlatConfig `protobuf:"bytes,1,rep,name=values,proto3" json:"values,omitempty"`
    XXX_NoUnkeyedLiteral struct{}      `json:"-"`
    XXX_unrecognized     []byte        `json:"-"`
    XXX_sizecache        int32         `json:"-"`
}

A list of FlatConfigs for ease of serialization into a file.

func (*FlatConfigList) Descriptor Uses

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

func (*FlatConfigList) GetValues Uses

func (m *FlatConfigList) GetValues() []*FlatConfig

func (*FlatConfigList) ProtoMessage Uses

func (*FlatConfigList) ProtoMessage()

func (*FlatConfigList) Reset Uses

func (m *FlatConfigList) Reset()

func (*FlatConfigList) String Uses

func (m *FlatConfigList) String() string

func (*FlatConfigList) XXX_DiscardUnknown Uses

func (m *FlatConfigList) XXX_DiscardUnknown()

func (*FlatConfigList) XXX_Marshal Uses

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

func (*FlatConfigList) XXX_Merge Uses

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

func (*FlatConfigList) XXX_Size Uses

func (m *FlatConfigList) XXX_Size() int

func (*FlatConfigList) XXX_Unmarshal Uses

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

Package payload imports 5 packages (graph). Updated 2021-01-19. Refresh now. Tools for package owners.