Documentation ¶
Index ¶
- Variables
- type BuildbucketAcls
- type Config
- type HWIDInfo
- type LocalManifest
- func (*LocalManifest) Descriptor() ([]byte, []int)deprecated
- func (x *LocalManifest) GetManifestPath() string
- func (x *LocalManifest) GetRepoUrl() string
- func (*LocalManifest) ProtoMessage()
- func (x *LocalManifest) ProtoReflect() protoreflect.Message
- func (x *LocalManifest) Reset()
- func (x *LocalManifest) String() string
- type Program
- func (*Program) Descriptor() ([]byte, []int)deprecated
- func (x *Program) GetConfigPath() string
- func (x *Program) GetGsBucket() string
- func (x *Program) GetName() string
- func (x *Program) GetProjects() *ProjectList
- func (x *Program) GetRepo() string
- func (x *Program) GetRepoCheckoutPath() string
- func (*Program) ProtoMessage()
- func (x *Program) ProtoReflect() protoreflect.Message
- func (x *Program) Reset()
- func (x *Program) String() string
- type ProgramList
- type Project
- func (*Project) Descriptor() ([]byte, []int)deprecated
- func (x *Project) GetBuildbucketAcls() *BuildbucketAcls
- func (x *Project) GetConfigPath() string
- func (x *Project) GetGsBucket() string
- func (x *Project) GetHwidInfo() *HWIDInfo
- func (x *Project) GetLocalManifest() *LocalManifest
- func (x *Project) GetName() string
- func (x *Project) GetRepo() string
- func (x *Project) GetRepoCheckoutPath() string
- func (*Project) ProtoMessage()
- func (x *Project) ProtoReflect() protoreflect.Message
- func (x *Project) Reset()
- func (x *Project) String() string
- type ProjectList
Constants ¶
This section is empty.
Variables ¶
var File_project_mgmt_config_proto protoreflect.FileDescriptor
var File_project_mgmt_program_proto protoreflect.FileDescriptor
var File_project_mgmt_project_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type BuildbucketAcls ¶
type BuildbucketAcls struct { // A list of LUCI Auth Service groups that can view a project's builds. BuildbucketReaders []string `protobuf:"bytes,1,rep,name=buildbucket_readers,json=buildbucketReaders,proto3" json:"buildbucket_readers,omitempty"` // contains filtered or unexported fields }
Defines ACLs for a project's builders.
func (*BuildbucketAcls) Descriptor
deprecated
func (*BuildbucketAcls) Descriptor() ([]byte, []int)
Deprecated: Use BuildbucketAcls.ProtoReflect.Descriptor instead.
func (*BuildbucketAcls) GetBuildbucketReaders ¶
func (x *BuildbucketAcls) GetBuildbucketReaders() []string
func (*BuildbucketAcls) ProtoMessage ¶
func (*BuildbucketAcls) ProtoMessage()
func (*BuildbucketAcls) ProtoReflect ¶
func (x *BuildbucketAcls) ProtoReflect() protoreflect.Message
func (*BuildbucketAcls) Reset ¶
func (x *BuildbucketAcls) Reset()
func (*BuildbucketAcls) String ¶
func (x *BuildbucketAcls) String() string
type Config ¶
type Config struct { Programs *ProgramList `protobuf:"bytes,1,opt,name=programs,proto3" json:"programs,omitempty"` // contains filtered or unexported fields }
func (*Config) Descriptor
deprecated
func (*Config) GetPrograms ¶
func (x *Config) GetPrograms() *ProgramList
func (*Config) ProtoMessage ¶
func (*Config) ProtoMessage()
func (*Config) ProtoReflect ¶
func (x *Config) ProtoReflect() protoreflect.Message
type HWIDInfo ¶
type HWIDInfo struct { // A key in the project.yaml metadata file, to look up the branch, path, etc. // For example, to match the entry in the project.yaml file: // // MILKYWAY: // board: GALAXY // branch: master // version: 3 // path: v3/MILKYWAY // // project_key should be 'MILKYWAY'. The matching is case-insensitive. ProjectKey string `protobuf:"bytes,1,opt,name=project_key,json=projectKey,proto3" json:"project_key,omitempty"` // contains filtered or unexported fields }
Information about the project's HWID file in the chromeos-hwid repo.
func (*HWIDInfo) Descriptor
deprecated
func (*HWIDInfo) GetProjectKey ¶
func (*HWIDInfo) ProtoMessage ¶
func (*HWIDInfo) ProtoMessage()
func (*HWIDInfo) ProtoReflect ¶
func (x *HWIDInfo) ProtoReflect() protoreflect.Message
type LocalManifest ¶
type LocalManifest struct { // URL of the repo with the local manifest. E.g. // https://chrome-internal.googlesource.com/chromeos/project/... RepoUrl string `protobuf:"bytes,1,opt,name=repo_url,json=repoUrl,proto3" json:"repo_url,omitempty"` // Path to the local manifest. // Relative to the repo. ManifestPath string `protobuf:"bytes,2,opt,name=manifest_path,json=manifestPath,proto3" json:"manifest_path,omitempty"` // contains filtered or unexported fields }
Describes the location of a local manifest file. See https://gerrit.googlesource.com/git-repo/+/master/docs/manifest-format.md#local-manifests.
func (*LocalManifest) Descriptor
deprecated
func (*LocalManifest) Descriptor() ([]byte, []int)
Deprecated: Use LocalManifest.ProtoReflect.Descriptor instead.
func (*LocalManifest) GetManifestPath ¶
func (x *LocalManifest) GetManifestPath() string
func (*LocalManifest) GetRepoUrl ¶
func (x *LocalManifest) GetRepoUrl() string
func (*LocalManifest) ProtoMessage ¶
func (*LocalManifest) ProtoMessage()
func (*LocalManifest) ProtoReflect ¶
func (x *LocalManifest) ProtoReflect() protoreflect.Message
func (*LocalManifest) Reset ¶
func (x *LocalManifest) Reset()
func (*LocalManifest) String ¶
func (x *LocalManifest) String() string
type Program ¶
type Program struct { // Defines the human-readable name for the program. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Defines the git-repo path for the program. Repo string `protobuf:"bytes,2,opt,name=repo,proto3" json:"repo,omitempty"` // Defines the path that stores all of the program configuration. // Relative to the git-repo ConfigPath string `protobuf:"bytes,3,opt,name=config_path,json=configPath,proto3" json:"config_path,omitempty"` // Defines the path the repo is checked out to in the source tree, i.e. the // "path" attribute in the manifest. RepoCheckoutPath string `protobuf:"bytes,4,opt,name=repo_checkout_path,json=repoCheckoutPath,proto3" json:"repo_checkout_path,omitempty"` // Defines projects within this program. Projects *ProjectList `protobuf:"bytes,5,opt,name=projects,proto3" json:"projects,omitempty"` // The Google Storage bucket for artifacts from the program's builds. GsBucket string `protobuf:"bytes,6,opt,name=gs_bucket,json=gsBucket,proto3" json:"gs_bucket,omitempty"` // contains filtered or unexported fields }
Defines the metadata for a program, which ultimately controls how this program is managed throughout the infrastructure.
NEXT ID: 7
func (*Program) Descriptor
deprecated
func (*Program) GetConfigPath ¶
func (*Program) GetGsBucket ¶
func (*Program) GetProjects ¶
func (x *Program) GetProjects() *ProjectList
func (*Program) GetRepoCheckoutPath ¶
func (*Program) ProtoMessage ¶
func (*Program) ProtoMessage()
func (*Program) ProtoReflect ¶
func (x *Program) ProtoReflect() protoreflect.Message
type ProgramList ¶
type ProgramList struct { Value []*Program `protobuf:"bytes,1,rep,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
func (*ProgramList) Descriptor
deprecated
func (*ProgramList) Descriptor() ([]byte, []int)
Deprecated: Use ProgramList.ProtoReflect.Descriptor instead.
func (*ProgramList) GetValue ¶
func (x *ProgramList) GetValue() []*Program
func (*ProgramList) ProtoMessage ¶
func (*ProgramList) ProtoMessage()
func (*ProgramList) ProtoReflect ¶
func (x *ProgramList) ProtoReflect() protoreflect.Message
func (*ProgramList) Reset ¶
func (x *ProgramList) Reset()
func (*ProgramList) String ¶
func (x *ProgramList) String() string
type Project ¶
type Project struct { // Defines the human-readable name for the project. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Defines the git-repo path for the project. Repo string `protobuf:"bytes,2,opt,name=repo,proto3" json:"repo,omitempty"` // Defines the path that stores all of the project configuration. // Relative to the git-repo ConfigPath string `protobuf:"bytes,3,opt,name=config_path,json=configPath,proto3" json:"config_path,omitempty"` // Defines the path the repo is checked out to in the source tree, i.e. the // "path" attribute in the manifest. RepoCheckoutPath string `protobuf:"bytes,4,opt,name=repo_checkout_path,json=repoCheckoutPath,proto3" json:"repo_checkout_path,omitempty"` // Defines ACLs for a project's builders. BuildbucketAcls *BuildbucketAcls `protobuf:"bytes,5,opt,name=buildbucket_acls,json=buildbucketAcls,proto3" json:"buildbucket_acls,omitempty"` // Define the project's local_manifest. LocalManifest *LocalManifest `protobuf:"bytes,6,opt,name=local_manifest,json=localManifest,proto3" json:"local_manifest,omitempty"` // The Google Storage bucket for artifacts from the project's builds. GsBucket string `protobuf:"bytes,7,opt,name=gs_bucket,json=gsBucket,proto3" json:"gs_bucket,omitempty"` HwidInfo *HWIDInfo `protobuf:"bytes,8,opt,name=hwid_info,json=hwidInfo,proto3" json:"hwid_info,omitempty"` // contains filtered or unexported fields }
Defines the metadata for a project, which ultimately controls how this project is managed throughout the infrastructure.
NEXT ID: 9
func (*Project) Descriptor
deprecated
func (*Project) GetBuildbucketAcls ¶
func (x *Project) GetBuildbucketAcls() *BuildbucketAcls
func (*Project) GetConfigPath ¶
func (*Project) GetGsBucket ¶
func (*Project) GetHwidInfo ¶
func (*Project) GetLocalManifest ¶
func (x *Project) GetLocalManifest() *LocalManifest
func (*Project) GetRepoCheckoutPath ¶
func (*Project) ProtoMessage ¶
func (*Project) ProtoMessage()
func (*Project) ProtoReflect ¶
func (x *Project) ProtoReflect() protoreflect.Message
type ProjectList ¶
type ProjectList struct { Value []*Project `protobuf:"bytes,1,rep,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
func (*ProjectList) Descriptor
deprecated
func (*ProjectList) Descriptor() ([]byte, []int)
Deprecated: Use ProjectList.ProtoReflect.Descriptor instead.
func (*ProjectList) GetValue ¶
func (x *ProjectList) GetValue() []*Project
func (*ProjectList) ProtoMessage ¶
func (*ProjectList) ProtoMessage()
func (*ProjectList) ProtoReflect ¶
func (x *ProjectList) ProtoReflect() protoreflect.Message
func (*ProjectList) Reset ¶
func (x *ProjectList) Reset()
func (*ProjectList) String ¶
func (x *ProjectList) String() string