project_mgmt

package
v0.0.0-...-1726a6a Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 18, 2024 License: BSD-3-Clause Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_project_mgmt_config_proto protoreflect.FileDescriptor
View Source
var File_project_mgmt_program_proto protoreflect.FileDescriptor
View Source
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) Descriptor() ([]byte, []int)

Deprecated: Use Config.ProtoReflect.Descriptor instead.

func (*Config) GetPrograms

func (x *Config) GetPrograms() *ProgramList

func (*Config) ProtoMessage

func (*Config) ProtoMessage()

func (*Config) ProtoReflect

func (x *Config) ProtoReflect() protoreflect.Message

func (*Config) Reset

func (x *Config) Reset()

func (*Config) String

func (x *Config) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use HWIDInfo.ProtoReflect.Descriptor instead.

func (*HWIDInfo) GetProjectKey

func (x *HWIDInfo) GetProjectKey() string

func (*HWIDInfo) ProtoMessage

func (*HWIDInfo) ProtoMessage()

func (*HWIDInfo) ProtoReflect

func (x *HWIDInfo) ProtoReflect() protoreflect.Message

func (*HWIDInfo) Reset

func (x *HWIDInfo) Reset()

func (*HWIDInfo) String

func (x *HWIDInfo) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use Program.ProtoReflect.Descriptor instead.

func (*Program) GetConfigPath

func (x *Program) GetConfigPath() string

func (*Program) GetGsBucket

func (x *Program) GetGsBucket() string

func (*Program) GetName

func (x *Program) GetName() string

func (*Program) GetProjects

func (x *Program) GetProjects() *ProjectList

func (*Program) GetRepo

func (x *Program) GetRepo() string

func (*Program) GetRepoCheckoutPath

func (x *Program) GetRepoCheckoutPath() string

func (*Program) ProtoMessage

func (*Program) ProtoMessage()

func (*Program) ProtoReflect

func (x *Program) ProtoReflect() protoreflect.Message

func (*Program) Reset

func (x *Program) Reset()

func (*Program) String

func (x *Program) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use Project.ProtoReflect.Descriptor instead.

func (*Project) GetBuildbucketAcls

func (x *Project) GetBuildbucketAcls() *BuildbucketAcls

func (*Project) GetConfigPath

func (x *Project) GetConfigPath() string

func (*Project) GetGsBucket

func (x *Project) GetGsBucket() string

func (*Project) GetHwidInfo

func (x *Project) GetHwidInfo() *HWIDInfo

func (*Project) GetLocalManifest

func (x *Project) GetLocalManifest() *LocalManifest

func (*Project) GetName

func (x *Project) GetName() string

func (*Project) GetRepo

func (x *Project) GetRepo() string

func (*Project) GetRepoCheckoutPath

func (x *Project) GetRepoCheckoutPath() string

func (*Project) ProtoMessage

func (*Project) ProtoMessage()

func (*Project) ProtoReflect

func (x *Project) ProtoReflect() protoreflect.Message

func (*Project) Reset

func (x *Project) Reset()

func (*Project) String

func (x *Project) String() string

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL