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

package prototype

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

Index

Package Files

prototype_config_bundle.pb.go release_target.pb.go release_target_id.pb.go

type PrototypeConfigBundle Uses

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         []*software.SystemImage_BuildMetadata `protobuf:"bytes,3,rep,name=system_builds,json=systemBuilds,proto3" json:"system_builds,omitempty"`
    XXX_NoUnkeyedLiteral struct{}                              `json:"-"`
    XXX_unrecognized     []byte                                `json:"-"`
    XXX_sizecache        int32                                 `json:"-"`
}

Configuration payload that is generated for prototyping purposes.

func (*PrototypeConfigBundle) Descriptor Uses

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

func (*PrototypeConfigBundle) GetReleaseTargets Uses

func (m *PrototypeConfigBundle) GetReleaseTargets() []*ReleaseTarget

func (*PrototypeConfigBundle) GetSystemBuilds Uses

func (m *PrototypeConfigBundle) GetSystemBuilds() []*software.SystemImage_BuildMetadata

func (*PrototypeConfigBundle) GetTestPlanSpecs Uses

func (m *PrototypeConfigBundle) GetTestPlanSpecs() []*v1.Specification

func (*PrototypeConfigBundle) ProtoMessage Uses

func (*PrototypeConfigBundle) ProtoMessage()

func (*PrototypeConfigBundle) Reset Uses

func (m *PrototypeConfigBundle) Reset()

func (*PrototypeConfigBundle) String Uses

func (m *PrototypeConfigBundle) String() string

func (*PrototypeConfigBundle) XXX_DiscardUnknown Uses

func (m *PrototypeConfigBundle) XXX_DiscardUnknown()

func (*PrototypeConfigBundle) XXX_Marshal Uses

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

func (*PrototypeConfigBundle) XXX_Merge Uses

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

func (*PrototypeConfigBundle) XXX_Size Uses

func (m *PrototypeConfigBundle) XXX_Size() int

func (*PrototypeConfigBundle) XXX_Unmarshal Uses

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

type ReleaseTarget Uses

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.
    MainTarget *software.SystemImage_BuildTarget `protobuf:"bytes,5,opt,name=main_target,json=mainTarget,proto3" json:"main_target,omitempty"`
    // Defines the uprev build target for a given release.
    UprevTarget          *software.SystemImage_BuildTarget `protobuf:"bytes,6,opt,name=uprev_target,json=uprevTarget,proto3" json:"uprev_target,omitempty"`
    Signing              *ReleaseTarget_Signing            `protobuf:"bytes,4,opt,name=signing,proto3" json:"signing,omitempty"`
    XXX_NoUnkeyedLiteral struct{}                          `json:"-"`
    XXX_unrecognized     []byte                            `json:"-"`
    XXX_sizecache        int32                             `json:"-"`
}

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 Uses

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

func (*ReleaseTarget) GetId Uses

func (m *ReleaseTarget) GetId() *ReleaseTargetId

func (*ReleaseTarget) GetMainTarget Uses

func (m *ReleaseTarget) GetMainTarget() *software.SystemImage_BuildTarget

func (*ReleaseTarget) GetName Uses

func (m *ReleaseTarget) GetName() string

func (*ReleaseTarget) GetSigning Uses

func (m *ReleaseTarget) GetSigning() *ReleaseTarget_Signing

func (*ReleaseTarget) GetUprevTarget Uses

func (m *ReleaseTarget) GetUprevTarget() *software.SystemImage_BuildTarget

func (*ReleaseTarget) ProtoMessage Uses

func (*ReleaseTarget) ProtoMessage()

func (*ReleaseTarget) Reset Uses

func (m *ReleaseTarget) Reset()

func (*ReleaseTarget) String Uses

func (m *ReleaseTarget) String() string

func (*ReleaseTarget) XXX_DiscardUnknown Uses

func (m *ReleaseTarget) XXX_DiscardUnknown()

func (*ReleaseTarget) XXX_Marshal Uses

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

func (*ReleaseTarget) XXX_Merge Uses

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

func (*ReleaseTarget) XXX_Size Uses

func (m *ReleaseTarget) XXX_Size() int

func (*ReleaseTarget) XXX_Unmarshal Uses

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

type ReleaseTargetId Uses

type ReleaseTargetId struct {
    Value                string   `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

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 Uses

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

func (*ReleaseTargetId) GetValue Uses

func (m *ReleaseTargetId) GetValue() string

func (*ReleaseTargetId) ProtoMessage Uses

func (*ReleaseTargetId) ProtoMessage()

func (*ReleaseTargetId) Reset Uses

func (m *ReleaseTargetId) Reset()

func (*ReleaseTargetId) String Uses

func (m *ReleaseTargetId) String() string

func (*ReleaseTargetId) XXX_DiscardUnknown Uses

func (m *ReleaseTargetId) XXX_DiscardUnknown()

func (*ReleaseTargetId) XXX_Marshal Uses

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

func (*ReleaseTargetId) XXX_Merge Uses

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

func (*ReleaseTargetId) XXX_Size Uses

func (m *ReleaseTargetId) XXX_Size() int

func (*ReleaseTargetId) XXX_Unmarshal Uses

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

type ReleaseTarget_Signing Uses

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

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 be versioned as such.

func (*ReleaseTarget_Signing) Descriptor Uses

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

func (*ReleaseTarget_Signing) GetMpKeyset Uses

func (m *ReleaseTarget_Signing) GetMpKeyset() string

func (*ReleaseTarget_Signing) GetPrempKeyset Uses

func (m *ReleaseTarget_Signing) GetPrempKeyset() string

func (*ReleaseTarget_Signing) ProtoMessage Uses

func (*ReleaseTarget_Signing) ProtoMessage()

func (*ReleaseTarget_Signing) Reset Uses

func (m *ReleaseTarget_Signing) Reset()

func (*ReleaseTarget_Signing) String Uses

func (m *ReleaseTarget_Signing) String() string

func (*ReleaseTarget_Signing) XXX_DiscardUnknown Uses

func (m *ReleaseTarget_Signing) XXX_DiscardUnknown()

func (*ReleaseTarget_Signing) XXX_Marshal Uses

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

func (*ReleaseTarget_Signing) XXX_Merge Uses

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

func (*ReleaseTarget_Signing) XXX_Size Uses

func (m *ReleaseTarget_Signing) XXX_Size() int

func (*ReleaseTarget_Signing) XXX_Unmarshal Uses

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

Package prototype imports 5 packages (graph). Updated 2020-12-03. Refresh now. Tools for package owners.