Documentation ¶
Index ¶
- Variables
- type PrototypeConfigBundle
- func (*PrototypeConfigBundle) Descriptor() ([]byte, []int)deprecated
- func (x *PrototypeConfigBundle) GetReleaseTargets() []*ReleaseTarget
- func (x *PrototypeConfigBundle) GetSystemBuilds() []*api.SystemImage_BuildMetadata
- func (x *PrototypeConfigBundle) GetTestPlanSpecs() []*v1.Specification
- func (*PrototypeConfigBundle) ProtoMessage()
- func (x *PrototypeConfigBundle) ProtoReflect() protoreflect.Message
- func (x *PrototypeConfigBundle) Reset()
- func (x *PrototypeConfigBundle) String() string
- type ReleaseTarget
- func (*ReleaseTarget) Descriptor() ([]byte, []int)deprecated
- func (x *ReleaseTarget) GetBuildTarget() *api.SystemImage_BuildTarget
- func (x *ReleaseTarget) GetCriticality() ReleaseTarget_TargetCriticality
- func (x *ReleaseTarget) GetId() *ReleaseTargetId
- func (x *ReleaseTarget) GetName() string
- func (x *ReleaseTarget) GetSigningInstructions() *SigningInstructions
- func (x *ReleaseTarget) GetVariantTargets() []*ReleaseTarget
- func (*ReleaseTarget) ProtoMessage()
- func (x *ReleaseTarget) ProtoReflect() protoreflect.Message
- func (x *ReleaseTarget) Reset()
- func (x *ReleaseTarget) String() string
- type ReleaseTargetId
- type ReleaseTarget_TargetCriticality
- func (ReleaseTarget_TargetCriticality) Descriptor() protoreflect.EnumDescriptor
- func (x ReleaseTarget_TargetCriticality) Enum() *ReleaseTarget_TargetCriticality
- func (ReleaseTarget_TargetCriticality) EnumDescriptor() ([]byte, []int)deprecated
- func (x ReleaseTarget_TargetCriticality) Number() protoreflect.EnumNumber
- func (x ReleaseTarget_TargetCriticality) String() string
- func (ReleaseTarget_TargetCriticality) Type() protoreflect.EnumType
- type SigningInstructions
- func (*SigningInstructions) Descriptor() ([]byte, []int)deprecated
- func (x *SigningInstructions) GetAllowPassword() bool
- func (x *SigningInstructions) GetFirmwareUpdate() bool
- func (x *SigningInstructions) GetInputFiles() string
- func (x *SigningInstructions) GetMpKeyset() string
- func (x *SigningInstructions) GetOutputNames() string
- func (x *SigningInstructions) GetPrempKeyset() string
- func (*SigningInstructions) ProtoMessage()
- func (x *SigningInstructions) ProtoReflect() protoreflect.Message
- func (x *SigningInstructions) Reset()
- func (x *SigningInstructions) String() string
Constants ¶
This section is empty.
Variables ¶
var ( ReleaseTarget_TargetCriticality_name = map[int32]string{ 0: "CRIT_UNDEFINED", 1: "CRIT_EXPERIMENTAL", 2: "CRIT_INFORMATIONAL", 3: "CRIT_PRODUCTION", } ReleaseTarget_TargetCriticality_value = map[string]int32{ "CRIT_UNDEFINED": 0, "CRIT_EXPERIMENTAL": 1, "CRIT_INFORMATIONAL": 2, "CRIT_PRODUCTION": 3, } )
Enum value maps for ReleaseTarget_TargetCriticality.
var File_chromiumos_config_prototype_prototype_config_bundle_proto protoreflect.FileDescriptor
var File_chromiumos_config_prototype_release_target_id_proto protoreflect.FileDescriptor
var File_chromiumos_config_prototype_release_target_proto protoreflect.FileDescriptor
var File_chromiumos_config_prototype_signing_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type PrototypeConfigBundle ¶
type PrototypeConfigBundle struct { // Chrome OS test planning & coverage rule config TestPlanSpecs []*v1.Specification `protobuf:"bytes,1,rep,name=test_plan_specs,json=testPlanSpecs,proto3" json:"test_plan_specs,omitempty"` ReleaseTargets []*ReleaseTarget `protobuf:"bytes,2,rep,name=release_targets,json=releaseTargets,proto3" json:"release_targets,omitempty"` SystemBuilds []*api.SystemImage_BuildMetadata `protobuf:"bytes,3,rep,name=system_builds,json=systemBuilds,proto3" json:"system_builds,omitempty"` // contains filtered or unexported fields }
Configuration payload that is generated for prototyping purposes.
func (*PrototypeConfigBundle) Descriptor
deprecated
func (*PrototypeConfigBundle) Descriptor() ([]byte, []int)
Deprecated: Use PrototypeConfigBundle.ProtoReflect.Descriptor instead.
func (*PrototypeConfigBundle) GetReleaseTargets ¶
func (x *PrototypeConfigBundle) GetReleaseTargets() []*ReleaseTarget
func (*PrototypeConfigBundle) GetSystemBuilds ¶
func (x *PrototypeConfigBundle) GetSystemBuilds() []*api.SystemImage_BuildMetadata
func (*PrototypeConfigBundle) GetTestPlanSpecs ¶
func (x *PrototypeConfigBundle) GetTestPlanSpecs() []*v1.Specification
func (*PrototypeConfigBundle) ProtoMessage ¶
func (*PrototypeConfigBundle) ProtoMessage()
func (*PrototypeConfigBundle) ProtoReflect ¶
func (x *PrototypeConfigBundle) ProtoReflect() protoreflect.Message
func (*PrototypeConfigBundle) Reset ¶
func (x *PrototypeConfigBundle) Reset()
func (*PrototypeConfigBundle) String ¶
func (x *PrototypeConfigBundle) String() string
type ReleaseTarget ¶
type ReleaseTarget struct { Id *ReleaseTargetId `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // Human friendly name Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // Defines the primary build target for a given release. BuildTarget *api.SystemImage_BuildTarget `protobuf:"bytes,3,opt,name=build_target,json=buildTarget,proto3" json:"build_target,omitempty"` // Defines the uprev build variants for a given release. VariantTargets []*ReleaseTarget `protobuf:"bytes,4,rep,name=variant_targets,json=variantTargets,proto3" json:"variant_targets,omitempty"` // Defines the signing instructions set for this release. SigningInstructions *SigningInstructions `protobuf:"bytes,5,opt,name=signing_instructions,json=signingInstructions,proto3" json:"signing_instructions,omitempty"` // This target's level of. Criticality ReleaseTarget_TargetCriticality `` /* 141-byte string literal not displayed */ // contains filtered or unexported fields }
Defines a collection of build targets that are all part of the same logical release target and corresponding config tied to the release target. E.g. octopus -> octopus-kernel-debug, octopus-kernel_4_14, octopus Build targets will change over time with alternate builds, but the release target will remain stable over time.
func (*ReleaseTarget) Descriptor
deprecated
func (*ReleaseTarget) Descriptor() ([]byte, []int)
Deprecated: Use ReleaseTarget.ProtoReflect.Descriptor instead.
func (*ReleaseTarget) GetBuildTarget ¶
func (x *ReleaseTarget) GetBuildTarget() *api.SystemImage_BuildTarget
func (*ReleaseTarget) GetCriticality ¶
func (x *ReleaseTarget) GetCriticality() ReleaseTarget_TargetCriticality
func (*ReleaseTarget) GetId ¶
func (x *ReleaseTarget) GetId() *ReleaseTargetId
func (*ReleaseTarget) GetName ¶
func (x *ReleaseTarget) GetName() string
func (*ReleaseTarget) GetSigningInstructions ¶
func (x *ReleaseTarget) GetSigningInstructions() *SigningInstructions
func (*ReleaseTarget) GetVariantTargets ¶
func (x *ReleaseTarget) GetVariantTargets() []*ReleaseTarget
func (*ReleaseTarget) ProtoMessage ¶
func (*ReleaseTarget) ProtoMessage()
func (*ReleaseTarget) ProtoReflect ¶
func (x *ReleaseTarget) ProtoReflect() protoreflect.Message
func (*ReleaseTarget) Reset ¶
func (x *ReleaseTarget) Reset()
func (*ReleaseTarget) String ¶
func (x *ReleaseTarget) String() string
type ReleaseTargetId ¶
type ReleaseTargetId struct { Value string `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
An id that other messages can use as a foreign key to specify a ReleaseTarget. Id messages are equal iff their binary serialization is equal.
func (*ReleaseTargetId) Descriptor
deprecated
func (*ReleaseTargetId) Descriptor() ([]byte, []int)
Deprecated: Use ReleaseTargetId.ProtoReflect.Descriptor instead.
func (*ReleaseTargetId) GetValue ¶
func (x *ReleaseTargetId) GetValue() string
func (*ReleaseTargetId) ProtoMessage ¶
func (*ReleaseTargetId) ProtoMessage()
func (*ReleaseTargetId) ProtoReflect ¶
func (x *ReleaseTargetId) ProtoReflect() protoreflect.Message
func (*ReleaseTargetId) Reset ¶
func (x *ReleaseTargetId) Reset()
func (*ReleaseTargetId) String ¶
func (x *ReleaseTargetId) String() string
type ReleaseTarget_TargetCriticality ¶
type ReleaseTarget_TargetCriticality int32
Defines the criticality of the target when used to determine things like the overall build return status, as well as if we should update the LKGM version, etc.
const ( // Should not be used. ReleaseTarget_CRIT_UNDEFINED ReleaseTarget_TargetCriticality = 0 // In bringup or otherwise not ready, ignore for overall status. ReleaseTarget_CRIT_EXPERIMENTAL ReleaseTarget_TargetCriticality = 1 // Used for informational purposes. Might affect some status calculations. ReleaseTarget_CRIT_INFORMATIONAL ReleaseTarget_TargetCriticality = 2 // In production, deployed or otherwise critical. ReleaseTarget_CRIT_PRODUCTION ReleaseTarget_TargetCriticality = 3 )
func (ReleaseTarget_TargetCriticality) Descriptor ¶
func (ReleaseTarget_TargetCriticality) Descriptor() protoreflect.EnumDescriptor
func (ReleaseTarget_TargetCriticality) Enum ¶
func (x ReleaseTarget_TargetCriticality) Enum() *ReleaseTarget_TargetCriticality
func (ReleaseTarget_TargetCriticality) EnumDescriptor
deprecated
func (ReleaseTarget_TargetCriticality) EnumDescriptor() ([]byte, []int)
Deprecated: Use ReleaseTarget_TargetCriticality.Descriptor instead.
func (ReleaseTarget_TargetCriticality) Number ¶
func (x ReleaseTarget_TargetCriticality) Number() protoreflect.EnumNumber
func (ReleaseTarget_TargetCriticality) String ¶
func (x ReleaseTarget_TargetCriticality) String() string
func (ReleaseTarget_TargetCriticality) Type ¶
func (ReleaseTarget_TargetCriticality) Type() protoreflect.EnumType
type SigningInstructions ¶
type SigningInstructions struct { // Managing separate keysets for premp/mp allows projects to co-exist (still // share the build) that are in different development stages. // This could potentially be used to generate separate signed builds that // group premp versus mp projects together. // // Prototyping notes: // // Channel signing configuration is going to be tied to // design projects configs instead, since that is the driving factor as to // whether a build should be pushed that far into release. // Design projects will manage their first stable channel and once the // project progresses to MP, it will trigger signing on those respective // channels. PrempKeyset string `protobuf:"bytes,1,opt,name=premp_keyset,json=prempKeyset,proto3" json:"premp_keyset,omitempty"` MpKeyset string `protobuf:"bytes,2,opt,name=mp_keyset,json=mpKeyset,proto3" json:"mp_keyset,omitempty"` // Force enable firmware update. FirmwareUpdate bool `protobuf:"varint,3,opt,name=firmware_update,json=firmwareUpdate,proto3" json:"firmware_update,omitempty"` // Should we ensure the image is not configured with a login password. // Note: The old .instructions was 'ensure_no_password` but we'll take a // default (safe) value of false. AllowPassword bool `protobuf:"varint,4,opt,name=allow_password,json=allowPassword,proto3" json:"allow_password,omitempty"` // This is overridden to control firmware image output names. // e.g. chromeos_@VERSION@_bloonchipper_@KEYSET_VER@ OutputNames string `protobuf:"bytes,5,opt,name=output_names,json=outputNames,proto3" json:"output_names,omitempty"` // This is used for firmware signing to locate ec files embedded in the // firmware. // e.g. nami_fp/release/ec.bin InputFiles string `protobuf:"bytes,6,opt,name=input_files,json=inputFiles,proto3" json:"input_files,omitempty"` // contains filtered or unexported fields }
Defines the specific version of keyset used for mp/premp signing. Keysets are managed agnostic of milestone branches, however, since different milestones may use different keyset versions, this config needs to be versioned as such.
func (*SigningInstructions) Descriptor
deprecated
func (*SigningInstructions) Descriptor() ([]byte, []int)
Deprecated: Use SigningInstructions.ProtoReflect.Descriptor instead.
func (*SigningInstructions) GetAllowPassword ¶
func (x *SigningInstructions) GetAllowPassword() bool
func (*SigningInstructions) GetFirmwareUpdate ¶
func (x *SigningInstructions) GetFirmwareUpdate() bool
func (*SigningInstructions) GetInputFiles ¶
func (x *SigningInstructions) GetInputFiles() string
func (*SigningInstructions) GetMpKeyset ¶
func (x *SigningInstructions) GetMpKeyset() string
func (*SigningInstructions) GetOutputNames ¶
func (x *SigningInstructions) GetOutputNames() string
func (*SigningInstructions) GetPrempKeyset ¶
func (x *SigningInstructions) GetPrempKeyset() string
func (*SigningInstructions) ProtoMessage ¶
func (*SigningInstructions) ProtoMessage()
func (*SigningInstructions) ProtoReflect ¶
func (x *SigningInstructions) ProtoReflect() protoreflect.Message
func (*SigningInstructions) Reset ¶
func (x *SigningInstructions) Reset()
func (*SigningInstructions) String ¶
func (x *SigningInstructions) String() string