config

package
v0.0.0-...-34cbb95 Latest Latest
Warning

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

Go to latest
Published: Dec 26, 2024 License: BSD-3-Clause Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// MaxRollerNameLength is the maximum roller name length. This is limited
	// by Kubernetes, which has a 63-character limit for various names. This
	// length is derived from that limit, accounting for the prefixes and
	// suffixes which are automatically added by our tooling, eg. the
	// "autoroll-be-" prefix and "-storage" suffix for disks, controller hashes,
	// etc.
	MaxRollerNameLength = 41

	// DefaultSafetyThrottleAttemptCount is the default attempt count for
	// safety throttling.
	DefaultSafetyThrottleAttemptCount = 3
	// DefaultSafetyThrottleTimeWindow is the default time window for safety
	// throttling.
	DefaultSafetyThrottleTimeWindow = "30m"
)

Variables

View Source
var (
	// DefaultSafetyThrottleConfig is the default safety throttling config.
	DefaultSafetyThrottleConfig = &ThrottleConfig{
		AttemptCount: DefaultSafetyThrottleAttemptCount,
		TimeWindow:   DefaultSafetyThrottleTimeWindow,
	}

	// ValidK8sLabel matches valid labels for Kubernetes.
	ValidK8sLabel = regexp.MustCompile(`^[a-z0-9][a-z0-9-]{0,61}[a-z0-9]$`)
)
View Source
var (
	PreUploadStep_name = map[int32]string{
		0:  "ANGLE_CODE_GENERATION",
		1:  "ANGLE_GN_TO_BP",
		2:  "ANGLE_ROLL_CHROMIUM",
		3:  "GO_GENERATE_CIPD",
		4:  "FLUTTER_LICENSE_SCRIPTS",
		5:  "FLUTTER_LICENSE_SCRIPTS_FOR_DART",
		6:  "FLUTTER_LICENSE_SCRIPTS_FOR_FUCHSIA",
		7:  "SKIA_GN_TO_BP",
		8:  "TRAIN_INFRA",
		9:  "UPDATE_FLUTTER_DEPS_FOR_DART",
		10: "VULKAN_DEPS_UPDATE_COMMIT_MESSAGE",
		11: "UPDATE_BORINGSSL",
		12: "CHROMIUM_ROLL_WEBGPU_CTS",
	}
	PreUploadStep_value = map[string]int32{
		"ANGLE_CODE_GENERATION":               0,
		"ANGLE_GN_TO_BP":                      1,
		"ANGLE_ROLL_CHROMIUM":                 2,
		"GO_GENERATE_CIPD":                    3,
		"FLUTTER_LICENSE_SCRIPTS":             4,
		"FLUTTER_LICENSE_SCRIPTS_FOR_DART":    5,
		"FLUTTER_LICENSE_SCRIPTS_FOR_FUCHSIA": 6,
		"SKIA_GN_TO_BP":                       7,
		"TRAIN_INFRA":                         8,
		"UPDATE_FLUTTER_DEPS_FOR_DART":        9,
		"VULKAN_DEPS_UPDATE_COMMIT_MESSAGE":   10,
		"UPDATE_BORINGSSL":                    11,
		"CHROMIUM_ROLL_WEBGPU_CTS":            12,
	}
)

Enum value maps for PreUploadStep.

View Source
var (
	Mode_name = map[int32]string{
		0: "RUNNING",
		1: "STOPPED",
		2: "DRY_RUN",
		3: "OFFLINE",
	}
	Mode_value = map[string]int32{
		"RUNNING": 0,
		"STOPPED": 1,
		"DRY_RUN": 2,
		"OFFLINE": 3,
	}
)

Enum value maps for Mode.

View Source
var (
	CommitMsgConfig_BuiltIn_name = map[int32]string{
		0: "DEFAULT",
		1: "ANDROID",
		2: "ANDROID_NO_CR",
		3: "CANARY",
	}
	CommitMsgConfig_BuiltIn_value = map[string]int32{
		"DEFAULT":       0,
		"ANDROID":       1,
		"ANDROID_NO_CR": 2,
		"CANARY":        3,
	}
)

Enum value maps for CommitMsgConfig_BuiltIn.

View Source
var (
	GerritConfig_Config_name = map[int32]string{
		0: "ANDROID",
		1: "ANGLE",
		2: "CHROMIUM",
		3: "CHROMIUM_NO_CQ",
		4: "LIBASSISTANT",
		5: "CHROMIUM_BOT_COMMIT",
		6: "CHROMIUM_BOT_COMMIT_NO_CQ",
		7: "ANDROID_NO_CR",
		8: "ANDROID_NO_CR_NO_PR",
		9: "CHROMIUM_NO_CR",
	}
	GerritConfig_Config_value = map[string]int32{
		"ANDROID":                   0,
		"ANGLE":                     1,
		"CHROMIUM":                  2,
		"CHROMIUM_NO_CQ":            3,
		"LIBASSISTANT":              4,
		"CHROMIUM_BOT_COMMIT":       5,
		"CHROMIUM_BOT_COMMIT_NO_CQ": 6,
		"ANDROID_NO_CR":             7,
		"ANDROID_NO_CR_NO_PR":       8,
		"CHROMIUM_NO_CR":            9,
	}
)

Enum value maps for GerritConfig_Config.

View Source
var (
	NotifierConfig_LogLevel_name = map[int32]string{
		0: "SILENT",
		1: "ERROR",
		2: "WARNING",
		3: "INFO",
		4: "DEBUG",
	}
	NotifierConfig_LogLevel_value = map[string]int32{
		"SILENT":  0,
		"ERROR":   1,
		"WARNING": 2,
		"INFO":    3,
		"DEBUG":   4,
	}
)

Enum value maps for NotifierConfig_LogLevel.

View Source
var (
	NotifierConfig_MsgType_name = map[int32]string{
		0: "ISSUE_UPDATE",
		1: "LAST_N_FAILED",
		2: "MODE_CHANGE",
		3: "NEW_FAILURE",
		4: "NEW_SUCCESS",
		5: "ROLL_CREATION_FAILED",
		6: "SAFETY_THROTTLE",
		7: "STRATEGY_CHANGE",
		8: "SUCCESS_THROTTLE",
		9: "MANUAL_ROLL_CREATION_FAILED",
	}
	NotifierConfig_MsgType_value = map[string]int32{
		"ISSUE_UPDATE":                0,
		"LAST_N_FAILED":               1,
		"MODE_CHANGE":                 2,
		"NEW_FAILURE":                 3,
		"NEW_SUCCESS":                 4,
		"ROLL_CREATION_FAILED":        5,
		"SAFETY_THROTTLE":             6,
		"STRATEGY_CHANGE":             7,
		"SUCCESS_THROTTLE":            8,
		"MANUAL_ROLL_CREATION_FAILED": 9,
	}
)

Enum value maps for NotifierConfig_MsgType.

View Source
var File_config_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type AndroidRepoManagerConfig

type AndroidRepoManagerConfig struct {

	// child_repo_url is the URL of the child repo.
	ChildRepoUrl string `protobuf:"bytes,1,opt,name=child_repo_url,json=childRepoUrl,proto3" json:"child_repo_url,omitempty"`
	// child_branch is the Git branch of the child repo to track.
	ChildBranch string `protobuf:"bytes,2,opt,name=child_branch,json=childBranch,proto3" json:"child_branch,omitempty"`
	// child_path is the path to the child repo within the parent.
	ChildPath string `protobuf:"bytes,3,opt,name=child_path,json=childPath,proto3" json:"child_path,omitempty"`
	// parent_repo_url is the URL of the parent repo.
	ParentRepoUrl string `protobuf:"bytes,4,opt,name=parent_repo_url,json=parentRepoUrl,proto3" json:"parent_repo_url,omitempty"`
	// parent_branch is the Git branch of the parent repo to track.
	ParentBranch string `protobuf:"bytes,5,opt,name=parent_branch,json=parentBranch,proto3" json:"parent_branch,omitempty"`
	// child_rev_link_tmpl is a template used to create links to revisions of
	// the child repo. If not supplied, no links will be created.
	ChildRevLinkTmpl string `protobuf:"bytes,6,opt,name=child_rev_link_tmpl,json=childRevLinkTmpl,proto3" json:"child_rev_link_tmpl,omitempty"`
	// child_subdir indicates the subdirectory of the working directory (not the
	// parent repo) in which the child_path should be rooted. In most cases this
	// should be empty, but if child_path is relative to the parent repo dir
	// (eg. when DEPS specifies use_relative_paths), then this is required.
	ChildSubdir string `protobuf:"bytes,7,opt,name=child_subdir,json=childSubdir,proto3" json:"child_subdir,omitempty"`
	// pre_upload_steps are named steps to run before uploading roll CLs.
	PreUploadSteps []PreUploadStep `` /* 148-byte string literal not displayed */
	// metadata about the child project which should be updated in a file
	// checked into the parent repo.
	Metadata *AndroidRepoManagerConfig_ProjectMetadataFileConfig `protobuf:"bytes,9,opt,name=metadata,proto3" json:"metadata,omitempty"`
	// include_authors_as_reviewers determines whether the authors of rolled
	// changes should be included as change reviewers.
	IncludeAuthorsAsReviewers bool `` /* 142-byte string literal not displayed */
	// pre_upload describes command(s) to run before uploading roll CLs.
	PreUploadCommands *PreUploadConfig `protobuf:"bytes,11,opt,name=pre_upload_commands,json=preUploadCommands,proto3" json:"pre_upload_commands,omitempty"`
	// auto_approver_secret indicates that the roller should use the given
	// secret containing an auto-approver service account key to approve its own
	// changes.
	AutoApproverSecret string `protobuf:"bytes,12,opt,name=auto_approver_secret,json=autoApproverSecret,proto3" json:"auto_approver_secret,omitempty"`
	// default_bug_project indicates the Monorail project used when no project
	// is specified in "Bug: 123" lines in commit messages.
	DefaultBugProject string `protobuf:"bytes,13,opt,name=default_bug_project,json=defaultBugProject,proto3" json:"default_bug_project,omitempty"`
	// contains filtered or unexported fields
}

AndroidRepoManagerConfig provides configuration for a roller which rolls into Android.

func (*AndroidRepoManagerConfig) DefaultStrategy

func (c *AndroidRepoManagerConfig) DefaultStrategy() string

DefaultStrategy implements RepoManagerConfig.

func (*AndroidRepoManagerConfig) Descriptor deprecated

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

Deprecated: Use AndroidRepoManagerConfig.ProtoReflect.Descriptor instead.

func (*AndroidRepoManagerConfig) GetAutoApproverSecret

func (x *AndroidRepoManagerConfig) GetAutoApproverSecret() string

func (*AndroidRepoManagerConfig) GetChildBranch

func (x *AndroidRepoManagerConfig) GetChildBranch() string

func (*AndroidRepoManagerConfig) GetChildPath

func (x *AndroidRepoManagerConfig) GetChildPath() string

func (*AndroidRepoManagerConfig) GetChildRepoUrl

func (x *AndroidRepoManagerConfig) GetChildRepoUrl() string

func (*AndroidRepoManagerConfig) GetChildRevLinkTmpl

func (x *AndroidRepoManagerConfig) GetChildRevLinkTmpl() string

func (*AndroidRepoManagerConfig) GetChildSubdir

func (x *AndroidRepoManagerConfig) GetChildSubdir() string

func (*AndroidRepoManagerConfig) GetDefaultBugProject

func (x *AndroidRepoManagerConfig) GetDefaultBugProject() string

func (*AndroidRepoManagerConfig) GetIncludeAuthorsAsReviewers

func (x *AndroidRepoManagerConfig) GetIncludeAuthorsAsReviewers() bool

func (*AndroidRepoManagerConfig) GetMetadata

func (*AndroidRepoManagerConfig) GetParentBranch

func (x *AndroidRepoManagerConfig) GetParentBranch() string

func (*AndroidRepoManagerConfig) GetParentRepoUrl

func (x *AndroidRepoManagerConfig) GetParentRepoUrl() string

func (*AndroidRepoManagerConfig) GetPreUploadCommands

func (x *AndroidRepoManagerConfig) GetPreUploadCommands() *PreUploadConfig

func (*AndroidRepoManagerConfig) GetPreUploadSteps

func (x *AndroidRepoManagerConfig) GetPreUploadSteps() []PreUploadStep

func (*AndroidRepoManagerConfig) NoCheckout

func (c *AndroidRepoManagerConfig) NoCheckout() bool

NoCheckout implements RepoManagerConfig.

func (*AndroidRepoManagerConfig) ProtoMessage

func (*AndroidRepoManagerConfig) ProtoMessage()

func (*AndroidRepoManagerConfig) ProtoReflect

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

func (*AndroidRepoManagerConfig) Reset

func (x *AndroidRepoManagerConfig) Reset()

func (*AndroidRepoManagerConfig) String

func (x *AndroidRepoManagerConfig) String() string

func (*AndroidRepoManagerConfig) ValidStrategies

func (c *AndroidRepoManagerConfig) ValidStrategies() []string

ValidStrategies implements RepoManagerConfig.

func (*AndroidRepoManagerConfig) Validate

func (c *AndroidRepoManagerConfig) Validate() error

Validate implements util.Validator.

type AndroidRepoManagerConfig_ProjectMetadataFileConfig

type AndroidRepoManagerConfig_ProjectMetadataFileConfig struct {

	// file_path of the project metadata file within the repo.
	FilePath string `protobuf:"bytes,1,opt,name=file_path,json=filePath,proto3" json:"file_path,omitempty"`
	// name of the project.
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// description of the project.
	Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
	// home_page of the project.
	HomePage string `protobuf:"bytes,4,opt,name=home_page,json=homePage,proto3" json:"home_page,omitempty"`
	// git_url of the project.
	GitUrl string `protobuf:"bytes,5,opt,name=git_url,json=gitUrl,proto3" json:"git_url,omitempty"`
	// license_type of the project.
	LicenseType string `protobuf:"bytes,6,opt,name=license_type,json=licenseType,proto3" json:"license_type,omitempty"`
	// contains filtered or unexported fields
}

ProjectMetadataFileConfig provides configuration for METADATA files in the Android repo.

func (*AndroidRepoManagerConfig_ProjectMetadataFileConfig) Descriptor deprecated

Deprecated: Use AndroidRepoManagerConfig_ProjectMetadataFileConfig.ProtoReflect.Descriptor instead.

func (*AndroidRepoManagerConfig_ProjectMetadataFileConfig) GetDescription

func (*AndroidRepoManagerConfig_ProjectMetadataFileConfig) GetFilePath

func (*AndroidRepoManagerConfig_ProjectMetadataFileConfig) GetGitUrl

func (*AndroidRepoManagerConfig_ProjectMetadataFileConfig) GetHomePage

func (*AndroidRepoManagerConfig_ProjectMetadataFileConfig) GetLicenseType

func (*AndroidRepoManagerConfig_ProjectMetadataFileConfig) GetName

func (*AndroidRepoManagerConfig_ProjectMetadataFileConfig) ProtoMessage

func (*AndroidRepoManagerConfig_ProjectMetadataFileConfig) ProtoReflect

func (*AndroidRepoManagerConfig_ProjectMetadataFileConfig) Reset

func (*AndroidRepoManagerConfig_ProjectMetadataFileConfig) String

func (*AndroidRepoManagerConfig_ProjectMetadataFileConfig) Validate

Validate implements util.Validator.

type BuildbucketRevisionFilterConfig

type BuildbucketRevisionFilterConfig struct {
	Project            string   `protobuf:"bytes,1,opt,name=project,proto3" json:"project,omitempty"`
	Bucket             string   `protobuf:"bytes,2,opt,name=bucket,proto3" json:"bucket,omitempty"`
	BuildsetCommitTmpl string   `protobuf:"bytes,3,opt,name=buildset_commit_tmpl,json=buildsetCommitTmpl,proto3" json:"buildset_commit_tmpl,omitempty"`
	Builder            []string `protobuf:"bytes,4,rep,name=builder,proto3" json:"builder,omitempty"`
	// contains filtered or unexported fields
}

BuildbucketRevisionFilterConfig provides configuration for a revision filter which uses Buildbucket.

func (*BuildbucketRevisionFilterConfig) Descriptor deprecated

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

Deprecated: Use BuildbucketRevisionFilterConfig.ProtoReflect.Descriptor instead.

func (*BuildbucketRevisionFilterConfig) GetBucket

func (x *BuildbucketRevisionFilterConfig) GetBucket() string

func (*BuildbucketRevisionFilterConfig) GetBuilder

func (x *BuildbucketRevisionFilterConfig) GetBuilder() []string

func (*BuildbucketRevisionFilterConfig) GetBuildsetCommitTmpl

func (x *BuildbucketRevisionFilterConfig) GetBuildsetCommitTmpl() string

func (*BuildbucketRevisionFilterConfig) GetProject

func (x *BuildbucketRevisionFilterConfig) GetProject() string

func (*BuildbucketRevisionFilterConfig) ProtoMessage

func (*BuildbucketRevisionFilterConfig) ProtoMessage()

func (*BuildbucketRevisionFilterConfig) ProtoReflect

func (*BuildbucketRevisionFilterConfig) Reset

func (*BuildbucketRevisionFilterConfig) String

func (*BuildbucketRevisionFilterConfig) Validate

func (c *BuildbucketRevisionFilterConfig) Validate() error

Validate implements util.Validator.

type CIPDChildConfig

type CIPDChildConfig struct {

	// name of the package.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// tag to track.
	Tag string `protobuf:"bytes,2,opt,name=tag,proto3" json:"tag,omitempty"`
	// gitiles_repo is an optional config for a git repo which should be used
	// for generating the list of revisions in a roll. Both the old and new
	// CIPD package version must provide a git_revision tag in order for this
	// to work. If provided, the revision ID will be of the form
	// `git_revision:<hash>` instead of using the CIPD package instance ID.
	// Deprecated in favor of source_repo.
	GitilesRepo string `protobuf:"bytes,4,opt,name=gitiles_repo,json=gitilesRepo,proto3" json:"gitiles_repo,omitempty"`
	// revision_id_tag is a tag key whose value will be used as the revision ID
	// instead of the CIPD package instance ID.  Overrides git_revision for the
	// revision ID if gitiles_repo was provided.
	RevisionIdTag string `protobuf:"bytes,5,opt,name=revision_id_tag,json=revisionIdTag,proto3" json:"revision_id_tag,omitempty"`
	// revision_id_tag_strip_key indicates that the revision ID should not
	// include the revision_id_tag key.  Only relevant if revision_id_tag is
	// set.
	RevisionIdTagStripKey bool `` /* 131-byte string literal not displayed */
	// source_repo is an optional config for a gitiles repo which should be used
	// for generating the list of revisions in a roll. Both the old and new
	// CIPD package version must provide a git_revision tag in order for this
	// to work. If provided, the revision ID will be of the form
	// `git_revision:<hash>` instead of using the CIPD package instance ID.
	SourceRepo *GitilesConfig `protobuf:"bytes,7,opt,name=source_repo,json=sourceRepo,proto3" json:"source_repo,omitempty"`
	// contains filtered or unexported fields
}

CIPDChildConfig provides configuration for a CIPD package Child.

func (*CIPDChildConfig) Descriptor deprecated

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

Deprecated: Use CIPDChildConfig.ProtoReflect.Descriptor instead.

func (*CIPDChildConfig) GetGitilesRepo

func (x *CIPDChildConfig) GetGitilesRepo() string

func (*CIPDChildConfig) GetName

func (x *CIPDChildConfig) GetName() string

func (*CIPDChildConfig) GetRevisionIdTag

func (x *CIPDChildConfig) GetRevisionIdTag() string

func (*CIPDChildConfig) GetRevisionIdTagStripKey

func (x *CIPDChildConfig) GetRevisionIdTagStripKey() bool

func (*CIPDChildConfig) GetSourceRepo

func (x *CIPDChildConfig) GetSourceRepo() *GitilesConfig

func (*CIPDChildConfig) GetTag

func (x *CIPDChildConfig) GetTag() string

func (*CIPDChildConfig) ProtoMessage

func (*CIPDChildConfig) ProtoMessage()

func (*CIPDChildConfig) ProtoReflect

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

func (*CIPDChildConfig) Reset

func (x *CIPDChildConfig) Reset()

func (*CIPDChildConfig) String

func (x *CIPDChildConfig) String() string

func (*CIPDChildConfig) Validate

func (c *CIPDChildConfig) Validate() error

Validate implements util.Validator.

type CIPDRevisionFilterConfig

type CIPDRevisionFilterConfig struct {
	Package  []string `protobuf:"bytes,1,rep,name=package,proto3" json:"package,omitempty"`
	Platform []string `protobuf:"bytes,2,rep,name=platform,proto3" json:"platform,omitempty"`
	TagKey   string   `protobuf:"bytes,3,opt,name=tag_key,json=tagKey,proto3" json:"tag_key,omitempty"`
	// contains filtered or unexported fields
}

CIPDRevisionFilterConfig provides configuration for a revision filter which filters out revisions which don't exist on all of the configured packages and platforms.

func (*CIPDRevisionFilterConfig) Descriptor deprecated

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

Deprecated: Use CIPDRevisionFilterConfig.ProtoReflect.Descriptor instead.

func (*CIPDRevisionFilterConfig) GetPackage

func (x *CIPDRevisionFilterConfig) GetPackage() []string

func (*CIPDRevisionFilterConfig) GetPlatform

func (x *CIPDRevisionFilterConfig) GetPlatform() []string

func (*CIPDRevisionFilterConfig) GetTagKey

func (x *CIPDRevisionFilterConfig) GetTagKey() string

func (*CIPDRevisionFilterConfig) ProtoMessage

func (*CIPDRevisionFilterConfig) ProtoMessage()

func (*CIPDRevisionFilterConfig) ProtoReflect

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

func (*CIPDRevisionFilterConfig) Reset

func (x *CIPDRevisionFilterConfig) Reset()

func (*CIPDRevisionFilterConfig) String

func (x *CIPDRevisionFilterConfig) String() string

func (*CIPDRevisionFilterConfig) Validate

func (c *CIPDRevisionFilterConfig) Validate() error

Validate implements util.Validator.

type ChatNotifierConfig

type ChatNotifierConfig struct {

	// room_id in which to post messages.
	RoomId string `protobuf:"bytes,1,opt,name=room_id,json=roomId,proto3" json:"room_id,omitempty"`
	// contains filtered or unexported fields
}

ChatNotifierConfig provides configuration for Google Chat notifications.

func (*ChatNotifierConfig) Descriptor deprecated

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

Deprecated: Use ChatNotifierConfig.ProtoReflect.Descriptor instead.

func (*ChatNotifierConfig) GetRoomId

func (x *ChatNotifierConfig) GetRoomId() string

func (*ChatNotifierConfig) ProtoMessage

func (*ChatNotifierConfig) ProtoMessage()

func (*ChatNotifierConfig) ProtoReflect

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

func (*ChatNotifierConfig) Reset

func (x *ChatNotifierConfig) Reset()

func (*ChatNotifierConfig) String

func (x *ChatNotifierConfig) String() string

func (*ChatNotifierConfig) Validate

func (c *ChatNotifierConfig) Validate() error

Validate implements util.Validator.

type CommandRepoManagerConfig

type CommandRepoManagerConfig struct {

	// git_checkout configures the Git checkout of the parent repo.
	GitCheckout *GitCheckoutConfig `protobuf:"bytes,1,opt,name=git_checkout,json=gitCheckout,proto3" json:"git_checkout,omitempty"`
	// short_rev_regex is a regular expression used to shorten revision IDs for
	// display.
	ShortRevRegex string `protobuf:"bytes,2,opt,name=short_rev_regex,json=shortRevRegex,proto3" json:"short_rev_regex,omitempty"`
	// get_tip_rev is a command used to obtain the latest revision of the Child.
	GetTipRev *CommandRepoManagerConfig_CommandConfig `protobuf:"bytes,3,opt,name=get_tip_rev,json=getTipRev,proto3" json:"get_tip_rev,omitempty"`
	// get_pinned_rev is a command used to obtain the currently-pinned revision
	// of the Child.
	GetPinnedRev *CommandRepoManagerConfig_CommandConfig `protobuf:"bytes,4,opt,name=get_pinned_rev,json=getPinnedRev,proto3" json:"get_pinned_rev,omitempty"`
	// set_pinned_rev is a command used to update the currently-pinned revision
	// of the Child.
	SetPinnedRev *CommandRepoManagerConfig_CommandConfig `protobuf:"bytes,5,opt,name=set_pinned_rev,json=setPinnedRev,proto3" json:"set_pinned_rev,omitempty"`
	// contains filtered or unexported fields
}

CommandRepoManagerConfig provides configuration for a roller which runs specified commands to perform different functions.

func (*CommandRepoManagerConfig) DefaultStrategy

func (c *CommandRepoManagerConfig) DefaultStrategy() string

DefaultStrategy implements RepoManagerConfig.

func (*CommandRepoManagerConfig) Descriptor deprecated

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

Deprecated: Use CommandRepoManagerConfig.ProtoReflect.Descriptor instead.

func (*CommandRepoManagerConfig) GetGetPinnedRev

func (*CommandRepoManagerConfig) GetGetTipRev

func (*CommandRepoManagerConfig) GetGitCheckout

func (x *CommandRepoManagerConfig) GetGitCheckout() *GitCheckoutConfig

func (*CommandRepoManagerConfig) GetSetPinnedRev

func (*CommandRepoManagerConfig) GetShortRevRegex

func (x *CommandRepoManagerConfig) GetShortRevRegex() string

func (*CommandRepoManagerConfig) NoCheckout

func (c *CommandRepoManagerConfig) NoCheckout() bool

NoCheckout implements RepoManagerConfig.

func (*CommandRepoManagerConfig) ProtoMessage

func (*CommandRepoManagerConfig) ProtoMessage()

func (*CommandRepoManagerConfig) ProtoReflect

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

func (*CommandRepoManagerConfig) Reset

func (x *CommandRepoManagerConfig) Reset()

func (*CommandRepoManagerConfig) String

func (x *CommandRepoManagerConfig) String() string

func (*CommandRepoManagerConfig) ValidStrategies

func (c *CommandRepoManagerConfig) ValidStrategies() []string

ValidStrategies implements RepoManagerConfig.

func (*CommandRepoManagerConfig) Validate

func (c *CommandRepoManagerConfig) Validate() error

Validate implements util.Validator.

type CommandRepoManagerConfig_CommandConfig

type CommandRepoManagerConfig_CommandConfig struct {

	// command to run. If this is the command used to update the revision of
	// the Child, this should be a text template which uses SetPinnedRevVars
	// to get the from- and to-revisions.
	Command []string `protobuf:"bytes,1,rep,name=command,proto3" json:"command,omitempty"`
	// dir is the relative path within the Git checkout to run the command.
	Dir string `protobuf:"bytes,2,opt,name=dir,proto3" json:"dir,omitempty"`
	// env are environment variables to supply to the command, in KEY=VALUE
	// format.
	Env []string `protobuf:"bytes,3,rep,name=env,proto3" json:"env,omitempty"`
	// contains filtered or unexported fields
}

func (*CommandRepoManagerConfig_CommandConfig) Descriptor deprecated

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

Deprecated: Use CommandRepoManagerConfig_CommandConfig.ProtoReflect.Descriptor instead.

func (*CommandRepoManagerConfig_CommandConfig) GetCommand

func (*CommandRepoManagerConfig_CommandConfig) GetDir

func (*CommandRepoManagerConfig_CommandConfig) GetEnv

func (*CommandRepoManagerConfig_CommandConfig) ProtoMessage

func (*CommandRepoManagerConfig_CommandConfig) ProtoReflect

func (*CommandRepoManagerConfig_CommandConfig) Reset

func (*CommandRepoManagerConfig_CommandConfig) String

func (*CommandRepoManagerConfig_CommandConfig) Validate

Validate implements util.Validator.

type CommitMsgConfig

type CommitMsgConfig struct {

	// bug_project indicates which project (eg. in Monorail) the bugs attached
	// to various revisions are associated with.  If provided, any "Bug: " lines
	// from revisions in the roll which match the given project name will be
	// included in the roll itself.
	BugProject string `protobuf:"bytes,1,opt,name=bug_project,json=bugProject,proto3" json:"bug_project,omitempty"`
	// child_log_url_tmpl is a template for building log URLs using the IDs of
	// the from- and to-revisions of the child for a given roll.
	ChildLogUrlTmpl string `protobuf:"bytes,2,opt,name=child_log_url_tmpl,json=childLogUrlTmpl,proto3" json:"child_log_url_tmpl,omitempty"`
	// cq_extra_trybots are additional tryjobs to trigger as part of the commit
	// queue for every roll.
	CqExtraTrybots []string `protobuf:"bytes,3,rep,name=cq_extra_trybots,json=cqExtraTrybots,proto3" json:"cq_extra_trybots,omitempty"`
	// cq_do_not_cancel_trybots indicates that the commit queue should not
	// cancel tryjobs from old patch sets when a new patch set is uploaded.
	CqDoNotCancelTrybots bool `` /* 128-byte string literal not displayed */
	// include_log indicates whether the list of revisions contained in the roll
	// should be included as part of the commit message.
	IncludeLog bool `protobuf:"varint,5,opt,name=include_log,json=includeLog,proto3" json:"include_log,omitempty"`
	// include_revision_count indicates whether the number of revisions
	// contained in the roll should be included in the subject line of the
	// commit message.
	IncludeRevisionCount bool `protobuf:"varint,6,opt,name=include_revision_count,json=includeRevisionCount,proto3" json:"include_revision_count,omitempty"`
	// include_tbr_line indicates whether the "TBR:" line should be included in
	// the commit message. This is required for some commit queues.
	IncludeTbrLine bool `protobuf:"varint,7,opt,name=include_tbr_line,json=includeTbrLine,proto3" json:"include_tbr_line,omitempty"`
	// include_tests indicates whether the "Test: " lines from the revisions in
	// the roll should be propagated through to the roll itself.
	IncludeTests bool `protobuf:"varint,8,opt,name=include_tests,json=includeTests,proto3" json:"include_tests,omitempty"`
	// extra_footers are any extra footers which should be added to all roll
	// commit messages.
	ExtraFooters []string `protobuf:"bytes,11,rep,name=extra_footers,json=extraFooters,proto3" json:"extra_footers,omitempty"`
	// word_wrap indicates that the commit message should be limited to the
	// given number of characters per line if provided.
	WordWrap int32 `protobuf:"varint,12,opt,name=word_wrap,json=wordWrap,proto3" json:"word_wrap,omitempty"`
	// built_in is the name of a built-in commit message template.
	BuiltIn CommitMsgConfig_BuiltIn `` /* 128-byte string literal not displayed */
	// custom is a full custom commit message template string. It is possible to
	// specify a built-in template and then override parts of it in the custom
	// template.
	Custom string `protobuf:"bytes,10,opt,name=custom,proto3" json:"custom,omitempty"`
	// contains filtered or unexported fields
}

CommitMsgConfig provides configuration for commit messages.

func (*CommitMsgConfig) Descriptor deprecated

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

Deprecated: Use CommitMsgConfig.ProtoReflect.Descriptor instead.

func (*CommitMsgConfig) GetBugProject

func (x *CommitMsgConfig) GetBugProject() string

func (*CommitMsgConfig) GetBuiltIn

func (x *CommitMsgConfig) GetBuiltIn() CommitMsgConfig_BuiltIn

func (*CommitMsgConfig) GetChildLogUrlTmpl

func (x *CommitMsgConfig) GetChildLogUrlTmpl() string

func (*CommitMsgConfig) GetCqDoNotCancelTrybots

func (x *CommitMsgConfig) GetCqDoNotCancelTrybots() bool

func (*CommitMsgConfig) GetCqExtraTrybots

func (x *CommitMsgConfig) GetCqExtraTrybots() []string

func (*CommitMsgConfig) GetCustom

func (x *CommitMsgConfig) GetCustom() string

func (*CommitMsgConfig) GetExtraFooters

func (x *CommitMsgConfig) GetExtraFooters() []string

func (*CommitMsgConfig) GetIncludeLog

func (x *CommitMsgConfig) GetIncludeLog() bool

func (*CommitMsgConfig) GetIncludeRevisionCount

func (x *CommitMsgConfig) GetIncludeRevisionCount() bool

func (*CommitMsgConfig) GetIncludeTbrLine

func (x *CommitMsgConfig) GetIncludeTbrLine() bool

func (*CommitMsgConfig) GetIncludeTests

func (x *CommitMsgConfig) GetIncludeTests() bool

func (*CommitMsgConfig) GetWordWrap

func (x *CommitMsgConfig) GetWordWrap() int32

func (*CommitMsgConfig) ProtoMessage

func (*CommitMsgConfig) ProtoMessage()

func (*CommitMsgConfig) ProtoReflect

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

func (*CommitMsgConfig) Reset

func (x *CommitMsgConfig) Reset()

func (*CommitMsgConfig) String

func (x *CommitMsgConfig) String() string

func (*CommitMsgConfig) Validate

func (c *CommitMsgConfig) Validate() error

Validate implements util.Validator.

type CommitMsgConfig_BuiltIn

type CommitMsgConfig_BuiltIn int32

BuiltIn lists the built-in commit message templates.

const (
	// DEFAULT is the default commit message template.
	CommitMsgConfig_DEFAULT CommitMsgConfig_BuiltIn = 0
	// ANDROID is the commit message template used for Android rollers.
	CommitMsgConfig_ANDROID CommitMsgConfig_BuiltIn = 1
	// ANDROID_NO_CR is the commit message template used for Android rollers
	// where the service account does not have CR+2 access.
	CommitMsgConfig_ANDROID_NO_CR CommitMsgConfig_BuiltIn = 2
	// CANARY is the commit message template used for canary rolls.
	CommitMsgConfig_CANARY CommitMsgConfig_BuiltIn = 3
)

func (CommitMsgConfig_BuiltIn) Descriptor

func (CommitMsgConfig_BuiltIn) Enum

func (CommitMsgConfig_BuiltIn) EnumDescriptor deprecated

func (CommitMsgConfig_BuiltIn) EnumDescriptor() ([]byte, []int)

Deprecated: Use CommitMsgConfig_BuiltIn.Descriptor instead.

func (CommitMsgConfig_BuiltIn) Number

func (CommitMsgConfig_BuiltIn) String

func (x CommitMsgConfig_BuiltIn) String() string

func (CommitMsgConfig_BuiltIn) Type

func (CommitMsgConfig_BuiltIn) Validate

func (c CommitMsgConfig_BuiltIn) Validate() error

Validate implements util.Validator.

type Config

type Config struct {

	// roller_name is the name for this roller. It is used as the unique ID for
	// the roller and must be non-empty.
	// TODO(borenet): Use an actual DB-generated ID for the roller.
	RollerName string `protobuf:"bytes,1,opt,name=roller_name,json=rollerName,proto3" json:"roller_name,omitempty"`
	// child_bug_link is a link to file a bug for the child project.
	ChildBugLink string `protobuf:"bytes,29,opt,name=child_bug_link,json=childBugLink,proto3" json:"child_bug_link,omitempty"`
	// child_display_name is the human-readable display name of the child.
	ChildDisplayName string `protobuf:"bytes,2,opt,name=child_display_name,json=childDisplayName,proto3" json:"child_display_name,omitempty"`
	// parent_bug_link is a link to file a bug for the parent project.
	ParentBugLink string `protobuf:"bytes,30,opt,name=parent_bug_link,json=parentBugLink,proto3" json:"parent_bug_link,omitempty"`
	// parent_display_name is the human-readable display name of the parent.
	ParentDisplayName string `protobuf:"bytes,3,opt,name=parent_display_name,json=parentDisplayName,proto3" json:"parent_display_name,omitempty"`
	// parent_waterfall is the URL of the waterfall display of the parent repo.
	ParentWaterfall string `protobuf:"bytes,4,opt,name=parent_waterfall,json=parentWaterfall,proto3" json:"parent_waterfall,omitempty"`
	// owner_primary is the primary owner of this roller.
	OwnerPrimary string `protobuf:"bytes,5,opt,name=owner_primary,json=ownerPrimary,proto3" json:"owner_primary,omitempty"`
	// owner_secondary is the secondary owner of this roller.
	OwnerSecondary string `protobuf:"bytes,6,opt,name=owner_secondary,json=ownerSecondary,proto3" json:"owner_secondary,omitempty"`
	// contacts is a list of email addresses of contacts for this roller, used
	// for sending PSAs, asking questions, etc. At least one contact is required.
	Contacts []string `protobuf:"bytes,7,rep,name=contacts,proto3" json:"contacts,omitempty"`
	// service_account is the full email address of the service account for this
	// roller.
	ServiceAccount string `protobuf:"bytes,8,opt,name=service_account,json=serviceAccount,proto3" json:"service_account,omitempty"`
	// is_internal indicates whether this roller is internal, ie. only visible
	// to Googlers.
	// TODO(borenet): Is this necessary?
	IsInternal bool `protobuf:"varint,9,opt,name=is_internal,json=isInternal,proto3" json:"is_internal,omitempty"`
	// reviewer are the email addresses to add as reviewers on rolls, or URL(s)
	// from which to obtain those email addresses. At least one reviewer is required.
	Reviewer []string `protobuf:"bytes,10,rep,name=reviewer,proto3" json:"reviewer,omitempty"`
	// reviewer_backup are backup email addresses to add as reviewers on rolls,
	// in case obtaining the email addresses from the URL fails. Only required
	// if a URL is specified for the reviewer.
	ReviewerBackup []string `protobuf:"bytes,11,rep,name=reviewer_backup,json=reviewerBackup,proto3" json:"reviewer_backup,omitempty"`
	// roll_cooldown is a period of time after a successful roll attempt during
	// which no new roll attempts will be created. Optional. The default is 10m.
	RollCooldown string `protobuf:"bytes,12,opt,name=roll_cooldown,json=rollCooldown,proto3" json:"roll_cooldown,omitempty"`
	// dry_run_cooldown specifies how long successful dry run CLs will be left
	// open before closing in favor of a new roll.
	DryRunCooldown string `protobuf:"bytes,35,opt,name=dry_run_cooldown,json=dryRunCooldown,proto3" json:"dry_run_cooldown,omitempty"`
	// time_window in which the roller is allowed to upload roll CLs. See the
	// go/time_window package for supported format.
	TimeWindow string `protobuf:"bytes,13,opt,name=time_window,json=timeWindow,proto3" json:"time_window,omitempty"`
	// supports_manual_rolls indicates whether this roller supports manual
	// rolls.
	SupportsManualRolls bool `protobuf:"varint,14,opt,name=supports_manual_rolls,json=supportsManualRolls,proto3" json:"supports_manual_rolls,omitempty"`
	// commit_msg provides configuration for the commit message.
	CommitMsg *CommitMsgConfig `protobuf:"bytes,15,opt,name=commit_msg,json=commitMsg,proto3" json:"commit_msg,omitempty"`
	// code_review provides configuration for code review.
	//
	// Types that are assignable to CodeReview:
	//
	//	*Config_Gerrit
	//	*Config_Github
	//	*Config_Google3
	CodeReview isConfig_CodeReview `protobuf_oneof:"code_review"`
	// kubernetes provides configuration for Kubernetes.
	Kubernetes *KubernetesConfig `protobuf:"bytes,19,opt,name=kubernetes,proto3" json:"kubernetes,omitempty"`
	// repo_manager provides configuration for the repo manager.
	//
	// Types that are assignable to RepoManager:
	//
	//	*Config_ParentChildRepoManager
	//	*Config_AndroidRepoManager
	//	*Config_CommandRepoManager
	//	*Config_FreetypeRepoManager
	//	*Config_Google3RepoManager
	RepoManager isConfig_RepoManager `protobuf_oneof:"repo_manager"`
	// notifiers configures any extra notifications used by this roller. Optional.
	Notifiers []*NotifierConfig `protobuf:"bytes,26,rep,name=notifiers,proto3" json:"notifiers,omitempty"`
	// safety_throttle provides configuration for safety-throttling the roller
	// in case of persistent errors.
	SafetyThrottle *ThrottleConfig `protobuf:"bytes,27,opt,name=safety_throttle,json=safetyThrottle,proto3" json:"safety_throttle,omitempty"`
	// transitive_deps is an optional mapping of dependency ID (eg. repo URL)
	// to the paths within the parent and child repo, respectively, where
	// those dependencies are versioned, eg. "DEPS".
	// TODO(borenet): Where is this used? Why isn't it nested within the repo
	// manager config?
	TransitiveDeps []*TransitiveDepConfig `protobuf:"bytes,28,rep,name=transitive_deps,json=transitiveDeps,proto3" json:"transitive_deps,omitempty"`
	// use_workload_identity indicates whether the roller uses workload
	// identity. See skbug.com/12323
	UseWorkloadIdentity bool `protobuf:"varint,31,opt,name=use_workload_identity,json=useWorkloadIdentity,proto3" json:"use_workload_identity,omitempty"`
	// valid_modes lists the valid modes for the roller. If not specified, all
	// modes are allowed.
	ValidModes []Mode `` /* 126-byte string literal not displayed */
	// max_roll_cq_attempts indicates the maximum number of commit queue
	// attempts before abandoning a roll CL. If not set, the default is 3.
	MaxRollCqAttempts int32 `protobuf:"varint,33,opt,name=max_roll_cq_attempts,json=maxRollCqAttempts,proto3" json:"max_roll_cq_attempts,omitempty"`
	// max_roll_cls_to_same_revision indicates the maximum number of roll CLs to
	// the same revision before giving up. If not set, the default is 3.
	MaxRollClsToSameRevision int32 `` /* 143-byte string literal not displayed */
	// contains filtered or unexported fields
}

Config provides configuration for one AutoRoller.

func (*Config) DefaultStrategy

func (c *Config) DefaultStrategy() string

DefaultStrategy returns the default strategy for this roller.

func (*Config) Descriptor deprecated

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

Deprecated: Use Config.ProtoReflect.Descriptor instead.

func (*Config) GetAndroidRepoManager

func (x *Config) GetAndroidRepoManager() *AndroidRepoManagerConfig
func (x *Config) GetChildBugLink() string

func (*Config) GetChildDisplayName

func (x *Config) GetChildDisplayName() string

func (*Config) GetCodeReview

func (m *Config) GetCodeReview() isConfig_CodeReview

func (*Config) GetCommandRepoManager

func (x *Config) GetCommandRepoManager() *CommandRepoManagerConfig

func (*Config) GetCommitMsg

func (x *Config) GetCommitMsg() *CommitMsgConfig

func (*Config) GetContacts

func (x *Config) GetContacts() []string

func (*Config) GetDryRunCooldown

func (x *Config) GetDryRunCooldown() string

func (*Config) GetFreetypeRepoManager

func (x *Config) GetFreetypeRepoManager() *FreeTypeRepoManagerConfig

func (*Config) GetGerrit

func (x *Config) GetGerrit() *GerritConfig

func (*Config) GetGithub

func (x *Config) GetGithub() *GitHubConfig

func (*Config) GetGoogle3

func (x *Config) GetGoogle3() *Google3Config

func (*Config) GetGoogle3RepoManager

func (x *Config) GetGoogle3RepoManager() *Google3RepoManagerConfig

func (*Config) GetIsInternal

func (x *Config) GetIsInternal() bool

func (*Config) GetKubernetes

func (x *Config) GetKubernetes() *KubernetesConfig

func (*Config) GetMaxRollClsToSameRevision

func (x *Config) GetMaxRollClsToSameRevision() int32

func (*Config) GetMaxRollCqAttempts

func (x *Config) GetMaxRollCqAttempts() int32

func (*Config) GetNotifiers

func (x *Config) GetNotifiers() []*NotifierConfig

func (*Config) GetOwnerPrimary

func (x *Config) GetOwnerPrimary() string

func (*Config) GetOwnerSecondary

func (x *Config) GetOwnerSecondary() string
func (x *Config) GetParentBugLink() string

func (*Config) GetParentChildRepoManager

func (x *Config) GetParentChildRepoManager() *ParentChildRepoManagerConfig

func (*Config) GetParentDisplayName

func (x *Config) GetParentDisplayName() string

func (*Config) GetParentWaterfall

func (x *Config) GetParentWaterfall() string

func (*Config) GetRepoManager

func (m *Config) GetRepoManager() isConfig_RepoManager

func (*Config) GetRepoManagerConfig

func (c *Config) GetRepoManagerConfig() RepoManagerConfig

GetRepoManagerConfig returns the RepoManager config for the roller.

func (*Config) GetReviewer

func (x *Config) GetReviewer() []string

func (*Config) GetReviewerBackup

func (x *Config) GetReviewerBackup() []string

func (*Config) GetRollCooldown

func (x *Config) GetRollCooldown() string

func (*Config) GetRollerName

func (x *Config) GetRollerName() string

func (*Config) GetSafetyThrottle

func (x *Config) GetSafetyThrottle() *ThrottleConfig

func (*Config) GetServiceAccount

func (x *Config) GetServiceAccount() string

func (*Config) GetSupportsManualRolls

func (x *Config) GetSupportsManualRolls() bool

func (*Config) GetTimeWindow

func (x *Config) GetTimeWindow() string

func (*Config) GetTransitiveDeps

func (x *Config) GetTransitiveDeps() []*TransitiveDepConfig

func (*Config) GetUseWorkloadIdentity

func (x *Config) GetUseWorkloadIdentity() bool

func (*Config) GetValidModes

func (x *Config) GetValidModes() []Mode

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

func (*Config) ValidStrategies

func (c *Config) ValidStrategies() []string

ValidStrategies returns the valid strategies for this roller.

func (*Config) Validate

func (c *Config) Validate() error

Validate implements util.Validator.

type Config_AndroidRepoManager

type Config_AndroidRepoManager struct {
	AndroidRepoManager *AndroidRepoManagerConfig `protobuf:"bytes,21,opt,name=android_repo_manager,json=androidRepoManager,proto3,oneof"`
}

type Config_CommandRepoManager

type Config_CommandRepoManager struct {
	CommandRepoManager *CommandRepoManagerConfig `protobuf:"bytes,22,opt,name=command_repo_manager,json=commandRepoManager,proto3,oneof"`
}

type Config_FreetypeRepoManager

type Config_FreetypeRepoManager struct {
	FreetypeRepoManager *FreeTypeRepoManagerConfig `protobuf:"bytes,23,opt,name=freetype_repo_manager,json=freetypeRepoManager,proto3,oneof"`
}

type Config_Gerrit

type Config_Gerrit struct {
	// gerrit provides configuration for code review using Gerrit.
	Gerrit *GerritConfig `protobuf:"bytes,16,opt,name=gerrit,proto3,oneof"`
}

type Config_Github

type Config_Github struct {
	// github provides configuration for code review using GitHub.
	Github *GitHubConfig `protobuf:"bytes,17,opt,name=github,proto3,oneof"`
}

type Config_Google3

type Config_Google3 struct {
	// google3 provides configuration for code review using Google3.
	Google3 *Google3Config `protobuf:"bytes,18,opt,name=google3,proto3,oneof"`
}

type Config_Google3RepoManager

type Config_Google3RepoManager struct {
	Google3RepoManager *Google3RepoManagerConfig `protobuf:"bytes,25,opt,name=google3_repo_manager,json=google3RepoManager,proto3,oneof"`
}

type Config_ParentChildRepoManager

type Config_ParentChildRepoManager struct {
	ParentChildRepoManager *ParentChildRepoManagerConfig `protobuf:"bytes,20,opt,name=parent_child_repo_manager,json=parentChildRepoManager,proto3,oneof"`
}

type Configs

type Configs struct {
	Config []*Config `protobuf:"bytes,1,rep,name=config,proto3" json:"config,omitempty"`
	// contains filtered or unexported fields
}

Configs provides configuration for multiple autorollers.

func (*Configs) Descriptor deprecated

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

Deprecated: Use Configs.ProtoReflect.Descriptor instead.

func (*Configs) GetConfig

func (x *Configs) GetConfig() []*Config

func (*Configs) ProtoMessage

func (*Configs) ProtoMessage()

func (*Configs) ProtoReflect

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

func (*Configs) Reset

func (x *Configs) Reset()

func (*Configs) String

func (x *Configs) String() string

type CopyParentConfig

type CopyParentConfig struct {
	Gitiles *GitilesParentConfig          `protobuf:"bytes,1,opt,name=gitiles,proto3" json:"gitiles,omitempty"`
	Copies  []*CopyParentConfig_CopyEntry `protobuf:"bytes,2,rep,name=copies,proto3" json:"copies,omitempty"`
	// contains filtered or unexported fields
}

CopyParentConfig provides configuration for a Parent which copies the Child into itself. It uses Gitiles and Gerrit instead of a local checkout.

func (*CopyParentConfig) Descriptor deprecated

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

Deprecated: Use CopyParentConfig.ProtoReflect.Descriptor instead.

func (*CopyParentConfig) GetCopies

func (x *CopyParentConfig) GetCopies() []*CopyParentConfig_CopyEntry

func (*CopyParentConfig) GetGitiles

func (x *CopyParentConfig) GetGitiles() *GitilesParentConfig

func (*CopyParentConfig) ProtoMessage

func (*CopyParentConfig) ProtoMessage()

func (*CopyParentConfig) ProtoReflect

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

func (*CopyParentConfig) Reset

func (x *CopyParentConfig) Reset()

func (*CopyParentConfig) String

func (x *CopyParentConfig) String() string

func (*CopyParentConfig) Validate

func (c *CopyParentConfig) Validate() error

Validate implements util.Validator.

type CopyParentConfig_CopyEntry

type CopyParentConfig_CopyEntry struct {

	// src_rel_path is the relative path within the Child.
	SrcRelPath string `protobuf:"bytes,1,opt,name=src_rel_path,json=srcRelPath,proto3" json:"src_rel_path,omitempty"`
	// dst_rel_path is the relative path within the Parent.
	DstRelPath string `protobuf:"bytes,2,opt,name=dst_rel_path,json=dstRelPath,proto3" json:"dst_rel_path,omitempty"`
	// contains filtered or unexported fields
}

func (*CopyParentConfig_CopyEntry) Descriptor deprecated

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

Deprecated: Use CopyParentConfig_CopyEntry.ProtoReflect.Descriptor instead.

func (*CopyParentConfig_CopyEntry) GetDstRelPath

func (x *CopyParentConfig_CopyEntry) GetDstRelPath() string

func (*CopyParentConfig_CopyEntry) GetSrcRelPath

func (x *CopyParentConfig_CopyEntry) GetSrcRelPath() string

func (*CopyParentConfig_CopyEntry) ProtoMessage

func (*CopyParentConfig_CopyEntry) ProtoMessage()

func (*CopyParentConfig_CopyEntry) ProtoReflect

func (*CopyParentConfig_CopyEntry) Reset

func (x *CopyParentConfig_CopyEntry) Reset()

func (*CopyParentConfig_CopyEntry) String

func (x *CopyParentConfig_CopyEntry) String() string

func (*CopyParentConfig_CopyEntry) Validate

func (c *CopyParentConfig_CopyEntry) Validate() error

Validate implements util.Validator.

type DEPSLocalGerritParentConfig

type DEPSLocalGerritParentConfig struct {
	DepsLocal *DEPSLocalParentConfig `protobuf:"bytes,1,opt,name=deps_local,json=depsLocal,proto3" json:"deps_local,omitempty"`
	Gerrit    *GerritConfig          `protobuf:"bytes,2,opt,name=gerrit,proto3" json:"gerrit,omitempty"`
	// contains filtered or unexported fields
}

DEPSLocalGerritParentConfig provides configuration for a Parent which uses a local Git checkout with DEPS and uploads CLs to Gerrit.

func (*DEPSLocalGerritParentConfig) Descriptor deprecated

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

Deprecated: Use DEPSLocalGerritParentConfig.ProtoReflect.Descriptor instead.

func (*DEPSLocalGerritParentConfig) GetDepsLocal

func (*DEPSLocalGerritParentConfig) GetGerrit

func (x *DEPSLocalGerritParentConfig) GetGerrit() *GerritConfig

func (*DEPSLocalGerritParentConfig) ProtoMessage

func (*DEPSLocalGerritParentConfig) ProtoMessage()

func (*DEPSLocalGerritParentConfig) ProtoReflect

func (*DEPSLocalGerritParentConfig) Reset

func (x *DEPSLocalGerritParentConfig) Reset()

func (*DEPSLocalGerritParentConfig) String

func (x *DEPSLocalGerritParentConfig) String() string

func (*DEPSLocalGerritParentConfig) Validate

func (c *DEPSLocalGerritParentConfig) Validate() error

Validate implements util.Validator.

type DEPSLocalGitHubParentConfig

type DEPSLocalGitHubParentConfig struct {
	DepsLocal   *DEPSLocalParentConfig `protobuf:"bytes,1,opt,name=deps_local,json=depsLocal,proto3" json:"deps_local,omitempty"`
	Github      *GitHubConfig          `protobuf:"bytes,2,opt,name=github,proto3" json:"github,omitempty"`
	ForkRepoUrl string                 `protobuf:"bytes,3,opt,name=fork_repo_url,json=forkRepoUrl,proto3" json:"fork_repo_url,omitempty"`
	// contains filtered or unexported fields
}

DEPSLocalGitHubParentConfig provides configuration for a Parent which uses a local Git checkout with DEPS and uploads pull requests to GitHub.

func (*DEPSLocalGitHubParentConfig) Descriptor deprecated

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

Deprecated: Use DEPSLocalGitHubParentConfig.ProtoReflect.Descriptor instead.

func (*DEPSLocalGitHubParentConfig) GetDepsLocal

func (*DEPSLocalGitHubParentConfig) GetForkRepoUrl

func (x *DEPSLocalGitHubParentConfig) GetForkRepoUrl() string

func (*DEPSLocalGitHubParentConfig) GetGithub

func (x *DEPSLocalGitHubParentConfig) GetGithub() *GitHubConfig

func (*DEPSLocalGitHubParentConfig) ProtoMessage

func (*DEPSLocalGitHubParentConfig) ProtoMessage()

func (*DEPSLocalGitHubParentConfig) ProtoReflect

func (*DEPSLocalGitHubParentConfig) Reset

func (x *DEPSLocalGitHubParentConfig) Reset()

func (*DEPSLocalGitHubParentConfig) String

func (x *DEPSLocalGitHubParentConfig) String() string

func (*DEPSLocalGitHubParentConfig) Validate

func (c *DEPSLocalGitHubParentConfig) Validate() error

Validate implements util.Validator.

type DEPSLocalParentConfig

type DEPSLocalParentConfig struct {
	GitCheckout *GitCheckoutParentConfig `protobuf:"bytes,1,opt,name=git_checkout,json=gitCheckout,proto3" json:"git_checkout,omitempty"`
	// child_path is the path to the child repo within the parent.
	ChildPath string `protobuf:"bytes,2,opt,name=child_path,json=childPath,proto3" json:"child_path,omitempty"`
	// child_subdir is the subdirectory of the workdir in which the child_path
	// should be rooted.  In most cases, this should be empty, but if child_path
	// is relative to the parent repo dir (eg. when DEPS specifies
	// use_relative_paths), then this is required.
	ChildSubdir string `protobuf:"bytes,3,opt,name=child_subdir,json=childSubdir,proto3" json:"child_subdir,omitempty"`
	// checkout_path is the path to the repo within the checkout root
	CheckoutPath string `protobuf:"bytes,4,opt,name=checkout_path,json=checkoutPath,proto3" json:"checkout_path,omitempty"`
	// gclient_spec overrides the default gclient spec.
	GclientSpec string `protobuf:"bytes,5,opt,name=gclient_spec,json=gclientSpec,proto3" json:"gclient_spec,omitempty"`
	// pre_upload_steps are steps to run before uploading the CL.
	PreUploadSteps []PreUploadStep `` /* 148-byte string literal not displayed */
	// run_hooks indicates whether to run "gclient runhooks" after syncing.
	RunHooks bool `protobuf:"varint,7,opt,name=run_hooks,json=runHooks,proto3" json:"run_hooks,omitempty"`
	// pre_upload describes command(s) to run before uploading roll CLs.
	PreUploadCommands *PreUploadConfig `protobuf:"bytes,8,opt,name=pre_upload_commands,json=preUploadCommands,proto3" json:"pre_upload_commands,omitempty"`
	// contains filtered or unexported fields
}

DEPSLocalConfig provides configuration for a Parent which uses a local checkout and DEPS to manage dependencies.

func (*DEPSLocalParentConfig) Descriptor deprecated

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

Deprecated: Use DEPSLocalParentConfig.ProtoReflect.Descriptor instead.

func (*DEPSLocalParentConfig) GetCheckoutPath

func (x *DEPSLocalParentConfig) GetCheckoutPath() string

func (*DEPSLocalParentConfig) GetChildPath

func (x *DEPSLocalParentConfig) GetChildPath() string

func (*DEPSLocalParentConfig) GetChildSubdir

func (x *DEPSLocalParentConfig) GetChildSubdir() string

func (*DEPSLocalParentConfig) GetGclientSpec

func (x *DEPSLocalParentConfig) GetGclientSpec() string

func (*DEPSLocalParentConfig) GetGitCheckout

func (x *DEPSLocalParentConfig) GetGitCheckout() *GitCheckoutParentConfig

func (*DEPSLocalParentConfig) GetPreUploadCommands

func (x *DEPSLocalParentConfig) GetPreUploadCommands() *PreUploadConfig

func (*DEPSLocalParentConfig) GetPreUploadSteps

func (x *DEPSLocalParentConfig) GetPreUploadSteps() []PreUploadStep

func (*DEPSLocalParentConfig) GetRunHooks

func (x *DEPSLocalParentConfig) GetRunHooks() bool

func (*DEPSLocalParentConfig) ProtoMessage

func (*DEPSLocalParentConfig) ProtoMessage()

func (*DEPSLocalParentConfig) ProtoReflect

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

func (*DEPSLocalParentConfig) Reset

func (x *DEPSLocalParentConfig) Reset()

func (*DEPSLocalParentConfig) String

func (x *DEPSLocalParentConfig) String() string

func (*DEPSLocalParentConfig) Validate

func (c *DEPSLocalParentConfig) Validate() error

Validate implements util.Validator.

type DependencyConfig

type DependencyConfig struct {

	// primary dependency.
	Primary *VersionFileConfig `protobuf:"bytes,1,opt,name=primary,proto3" json:"primary,omitempty"`
	// transitive dependencies.
	Transitive []*TransitiveDepConfig `protobuf:"bytes,2,rep,name=transitive,proto3" json:"transitive,omitempty"`
	// find_and_replace lists additional files in which all instances of the
	// previous primary revision ID should be replaced with the new primary
	// revision ID.
	FindAndReplace []string `protobuf:"bytes,3,rep,name=find_and_replace,json=findAndReplace,proto3" json:"find_and_replace,omitempty"`
	// contains filtered or unexported fields
}

DependencyConfig provides configuration for a dependency whose version is pinned in a file and which may have transitive dependencies.

func (*DependencyConfig) Descriptor deprecated

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

Deprecated: Use DependencyConfig.ProtoReflect.Descriptor instead.

func (*DependencyConfig) GetFindAndReplace

func (x *DependencyConfig) GetFindAndReplace() []string

func (*DependencyConfig) GetPrimary

func (x *DependencyConfig) GetPrimary() *VersionFileConfig

func (*DependencyConfig) GetTransitive

func (x *DependencyConfig) GetTransitive() []*TransitiveDepConfig

func (*DependencyConfig) ProtoMessage

func (*DependencyConfig) ProtoMessage()

func (*DependencyConfig) ProtoReflect

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

func (*DependencyConfig) Reset

func (x *DependencyConfig) Reset()

func (*DependencyConfig) String

func (x *DependencyConfig) String() string

func (*DependencyConfig) Validate

func (c *DependencyConfig) Validate() error

Validate implements util.Validator.

type DockerChildConfig

type DockerChildConfig struct {

	// registry which stores the Docker image, eg. "gcr.io".
	Registry string `protobuf:"bytes,1,opt,name=registry,proto3" json:"registry,omitempty"`
	// repository of the image, eg. "skia-public/autoroll-be".
	Repository string `protobuf:"bytes,2,opt,name=repository,proto3" json:"repository,omitempty"`
	// tag of the image to track, eg. "latest".
	Tag string `protobuf:"bytes,3,opt,name=tag,proto3" json:"tag,omitempty"`
	// contains filtered or unexported fields
}

DockerChildConfig provides configuration for a Child which uses Docker.

func (*DockerChildConfig) Descriptor deprecated

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

Deprecated: Use DockerChildConfig.ProtoReflect.Descriptor instead.

func (*DockerChildConfig) GetRegistry

func (x *DockerChildConfig) GetRegistry() string

func (*DockerChildConfig) GetRepository

func (x *DockerChildConfig) GetRepository() string

func (*DockerChildConfig) GetTag

func (x *DockerChildConfig) GetTag() string

func (*DockerChildConfig) ProtoMessage

func (*DockerChildConfig) ProtoMessage()

func (*DockerChildConfig) ProtoReflect

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

func (*DockerChildConfig) Reset

func (x *DockerChildConfig) Reset()

func (*DockerChildConfig) String

func (x *DockerChildConfig) String() string

func (*DockerChildConfig) Validate

func (c *DockerChildConfig) Validate() error

Validate implements util.Validator.

type EmailNotifierConfig

type EmailNotifierConfig struct {

	// emails are the email addresses which should receive notifications.
	Emails []string `protobuf:"bytes,1,rep,name=emails,proto3" json:"emails,omitempty"`
	// contains filtered or unexported fields
}

EmailNotifierConfig provides configuration for email notifications.

func (*EmailNotifierConfig) Descriptor deprecated

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

Deprecated: Use EmailNotifierConfig.ProtoReflect.Descriptor instead.

func (*EmailNotifierConfig) GetEmails

func (x *EmailNotifierConfig) GetEmails() []string

func (*EmailNotifierConfig) ProtoMessage

func (*EmailNotifierConfig) ProtoMessage()

func (*EmailNotifierConfig) ProtoReflect

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

func (*EmailNotifierConfig) Reset

func (x *EmailNotifierConfig) Reset()

func (*EmailNotifierConfig) String

func (x *EmailNotifierConfig) String() string

func (*EmailNotifierConfig) Validate

func (c *EmailNotifierConfig) Validate() error

Validate implements util.Validator.

type FreeTypeParentConfig

type FreeTypeParentConfig struct {
	Gitiles *GitilesParentConfig `protobuf:"bytes,1,opt,name=gitiles,proto3" json:"gitiles,omitempty"`
	// contains filtered or unexported fields
}

FreeTypeParentConfig provides configuration for the FreeType Parent.

func (*FreeTypeParentConfig) Descriptor deprecated

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

Deprecated: Use FreeTypeParentConfig.ProtoReflect.Descriptor instead.

func (*FreeTypeParentConfig) GetGitiles

func (x *FreeTypeParentConfig) GetGitiles() *GitilesParentConfig

func (*FreeTypeParentConfig) ProtoMessage

func (*FreeTypeParentConfig) ProtoMessage()

func (*FreeTypeParentConfig) ProtoReflect

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

func (*FreeTypeParentConfig) Reset

func (x *FreeTypeParentConfig) Reset()

func (*FreeTypeParentConfig) String

func (x *FreeTypeParentConfig) String() string

func (*FreeTypeParentConfig) Validate

func (c *FreeTypeParentConfig) Validate() error

Validate implements util.Validator.

type FreeTypeRepoManagerConfig

type FreeTypeRepoManagerConfig struct {
	Parent *FreeTypeParentConfig `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	Child  *GitilesChildConfig   `protobuf:"bytes,2,opt,name=child,proto3" json:"child,omitempty"`
	// contains filtered or unexported fields
}

FreeTypeRepoManagerConfig provides configuration for the FreeType roller.

func (*FreeTypeRepoManagerConfig) DefaultStrategy

func (c *FreeTypeRepoManagerConfig) DefaultStrategy() string

DefaultStrategy implements RepoManagerConfig.

func (*FreeTypeRepoManagerConfig) Descriptor deprecated

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

Deprecated: Use FreeTypeRepoManagerConfig.ProtoReflect.Descriptor instead.

func (*FreeTypeRepoManagerConfig) GetChild

func (*FreeTypeRepoManagerConfig) GetParent

func (*FreeTypeRepoManagerConfig) NoCheckout

func (c *FreeTypeRepoManagerConfig) NoCheckout() bool

NoCheckout implements RepoManagerConfig.

func (*FreeTypeRepoManagerConfig) ProtoMessage

func (*FreeTypeRepoManagerConfig) ProtoMessage()

func (*FreeTypeRepoManagerConfig) ProtoReflect

func (*FreeTypeRepoManagerConfig) Reset

func (x *FreeTypeRepoManagerConfig) Reset()

func (*FreeTypeRepoManagerConfig) String

func (x *FreeTypeRepoManagerConfig) String() string

func (*FreeTypeRepoManagerConfig) ValidStrategies

func (c *FreeTypeRepoManagerConfig) ValidStrategies() []string

ValidStrategies implements RepoManagerConfig.

func (*FreeTypeRepoManagerConfig) Validate

func (c *FreeTypeRepoManagerConfig) Validate() error

Validate implements util.Validator.

type FuchsiaSDKChildConfig

type FuchsiaSDKChildConfig struct {

	// include_mac_sdk indicates whether to also roll the version of the Mac
	// SDK. Note that the dependency is not tracked separately; the Mac SDK is
	// simply rolled to the newest available version.
	// DEPRECATED: The presence of latest_mac_path indicates whether the Mac
	// SDK is included.
	IncludeMacSdk bool `protobuf:"varint,1,opt,name=include_mac_sdk,json=includeMacSdk,proto3" json:"include_mac_sdk,omitempty"`
	// gcs_bucket containing the SDK tarballs.
	GcsBucket string `protobuf:"bytes,2,opt,name=gcs_bucket,json=gcsBucket,proto3" json:"gcs_bucket,omitempty"`
	// latest_linux_path is the path to the file containing the ID of the latest
	// Linux SDK.
	LatestLinuxPath string `protobuf:"bytes,3,opt,name=latest_linux_path,json=latestLinuxPath,proto3" json:"latest_linux_path,omitempty"`
	// latest_mac_path is the path to the file containing the ID of the latest
	// Mac SDK.
	LatestMacPath string `protobuf:"bytes,4,opt,name=latest_mac_path,json=latestMacPath,proto3" json:"latest_mac_path,omitempty"`
	// tarball_linux_path_tmpl is a template for the GCS path of the Linux SDK,
	// with the version ID to be inserted later.
	TarballLinuxPathTmpl string `protobuf:"bytes,5,opt,name=tarball_linux_path_tmpl,json=tarballLinuxPathTmpl,proto3" json:"tarball_linux_path_tmpl,omitempty"`
	// contains filtered or unexported fields
}

FuchsiaSDKChildConfig provides configuration for the Fuchsia SDK Child.

func (*FuchsiaSDKChildConfig) Descriptor deprecated

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

Deprecated: Use FuchsiaSDKChildConfig.ProtoReflect.Descriptor instead.

func (*FuchsiaSDKChildConfig) GetGcsBucket

func (x *FuchsiaSDKChildConfig) GetGcsBucket() string

func (*FuchsiaSDKChildConfig) GetIncludeMacSdk

func (x *FuchsiaSDKChildConfig) GetIncludeMacSdk() bool

func (*FuchsiaSDKChildConfig) GetLatestLinuxPath

func (x *FuchsiaSDKChildConfig) GetLatestLinuxPath() string

func (*FuchsiaSDKChildConfig) GetLatestMacPath

func (x *FuchsiaSDKChildConfig) GetLatestMacPath() string

func (*FuchsiaSDKChildConfig) GetTarballLinuxPathTmpl

func (x *FuchsiaSDKChildConfig) GetTarballLinuxPathTmpl() string

func (*FuchsiaSDKChildConfig) ProtoMessage

func (*FuchsiaSDKChildConfig) ProtoMessage()

func (*FuchsiaSDKChildConfig) ProtoReflect

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

func (*FuchsiaSDKChildConfig) Reset

func (x *FuchsiaSDKChildConfig) Reset()

func (*FuchsiaSDKChildConfig) String

func (x *FuchsiaSDKChildConfig) String() string

func (*FuchsiaSDKChildConfig) Validate

func (c *FuchsiaSDKChildConfig) Validate() error

Validate implements util.Validator.

type GCSChildConfig

type GCSChildConfig struct {

	// gcs_bucket used for finding Child revisions.
	GcsBucket string `protobuf:"bytes,1,opt,name=gcs_bucket,json=gcsBucket,proto3" json:"gcs_bucket,omitempty"`
	// gcs_path within the bucket which contains child revisions.
	GcsPath string `protobuf:"bytes,2,opt,name=gcs_path,json=gcsPath,proto3" json:"gcs_path,omitempty"`
	// revision_id_regex is used to extract the revision ID from a full GCS file
	// path. If not provided, the base name of the file is used.
	RevisionIdRegex string `protobuf:"bytes,3,opt,name=revision_id_regex,json=revisionIdRegex,proto3" json:"revision_id_regex,omitempty"`
	// contains filtered or unexported fields
}

GCSChildConfig provides configuration for a Child in GCS.

func (*GCSChildConfig) Descriptor deprecated

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

Deprecated: Use GCSChildConfig.ProtoReflect.Descriptor instead.

func (*GCSChildConfig) GetGcsBucket

func (x *GCSChildConfig) GetGcsBucket() string

func (*GCSChildConfig) GetGcsPath

func (x *GCSChildConfig) GetGcsPath() string

func (*GCSChildConfig) GetRevisionIdRegex

func (x *GCSChildConfig) GetRevisionIdRegex() string

func (*GCSChildConfig) ProtoMessage

func (*GCSChildConfig) ProtoMessage()

func (*GCSChildConfig) ProtoReflect

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

func (*GCSChildConfig) Reset

func (x *GCSChildConfig) Reset()

func (*GCSChildConfig) String

func (x *GCSChildConfig) String() string

func (*GCSChildConfig) Validate

func (c *GCSChildConfig) Validate() error

Validate implements util.Validator.

type GerritConfig

type GerritConfig struct {

	// url of the Gerrit host.
	Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"`
	// project name for uploaded CLs.
	Project string `protobuf:"bytes,2,opt,name=project,proto3" json:"project,omitempty"`
	// config indicates the mode of operation used by the Gerrit host, which
	// informs the roller of, for example, which labels to set. See the
	// autoroll/go/codereview package for possible values.
	Config GerritConfig_Config `protobuf:"varint,3,opt,name=config,proto3,enum=autoroll.config.GerritConfig_Config" json:"config,omitempty"`
	// contains filtered or unexported fields
}

GerritConfig provides configuration for code review using Gerrit.

func (*GerritConfig) CanQueryTrybots

func (c *GerritConfig) CanQueryTrybots() bool

CanQueryTrybots implements CodeReviewConfig.

func (*GerritConfig) Descriptor deprecated

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

Deprecated: Use GerritConfig.ProtoReflect.Descriptor instead.

func (*GerritConfig) GetConfig

func (x *GerritConfig) GetConfig() GerritConfig_Config

func (*GerritConfig) GetProject

func (x *GerritConfig) GetProject() string

func (*GerritConfig) GetUrl

func (x *GerritConfig) GetUrl() string

func (*GerritConfig) ProtoMessage

func (*GerritConfig) ProtoMessage()

func (*GerritConfig) ProtoReflect

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

func (*GerritConfig) Reset

func (x *GerritConfig) Reset()

func (*GerritConfig) String

func (x *GerritConfig) String() string

func (*GerritConfig) Validate

func (c *GerritConfig) Validate() error

Validate implements util.Validator.

type GerritConfig_Config

type GerritConfig_Config int32

Config lists the built-in Gerrit configs, named for the projects which use them.

const (
	GerritConfig_ANDROID                   GerritConfig_Config = 0
	GerritConfig_ANGLE                     GerritConfig_Config = 1
	GerritConfig_CHROMIUM                  GerritConfig_Config = 2
	GerritConfig_CHROMIUM_NO_CQ            GerritConfig_Config = 3
	GerritConfig_LIBASSISTANT              GerritConfig_Config = 4
	GerritConfig_CHROMIUM_BOT_COMMIT       GerritConfig_Config = 5
	GerritConfig_CHROMIUM_BOT_COMMIT_NO_CQ GerritConfig_Config = 6
	GerritConfig_ANDROID_NO_CR             GerritConfig_Config = 7
	GerritConfig_ANDROID_NO_CR_NO_PR       GerritConfig_Config = 8
	GerritConfig_CHROMIUM_NO_CR            GerritConfig_Config = 9
)

func (GerritConfig_Config) Descriptor

func (GerritConfig_Config) Enum

func (GerritConfig_Config) EnumDescriptor deprecated

func (GerritConfig_Config) EnumDescriptor() ([]byte, []int)

Deprecated: Use GerritConfig_Config.Descriptor instead.

func (GerritConfig_Config) Number

func (GerritConfig_Config) String

func (x GerritConfig_Config) String() string

func (GerritConfig_Config) Type

func (GerritConfig_Config) Validate

func (c GerritConfig_Config) Validate() error

Validate implements util.Validator.

type GitCheckoutChildConfig

type GitCheckoutChildConfig struct {
	GitCheckout *GitCheckoutConfig `protobuf:"bytes,1,opt,name=git_checkout,json=gitCheckout,proto3" json:"git_checkout,omitempty"`
	// contains filtered or unexported fields
}

GitCheckoutChildConfig provides configuration for a Child which uses a local Git checkout.

func (*GitCheckoutChildConfig) Descriptor deprecated

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

Deprecated: Use GitCheckoutChildConfig.ProtoReflect.Descriptor instead.

func (*GitCheckoutChildConfig) GetGitCheckout

func (x *GitCheckoutChildConfig) GetGitCheckout() *GitCheckoutConfig

func (*GitCheckoutChildConfig) ProtoMessage

func (*GitCheckoutChildConfig) ProtoMessage()

func (*GitCheckoutChildConfig) ProtoReflect

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

func (*GitCheckoutChildConfig) Reset

func (x *GitCheckoutChildConfig) Reset()

func (*GitCheckoutChildConfig) String

func (x *GitCheckoutChildConfig) String() string

func (*GitCheckoutChildConfig) Validate

func (c *GitCheckoutChildConfig) Validate() error

Validate implements util.Validator.

type GitCheckoutConfig

type GitCheckoutConfig struct {

	// branch to track.
	Branch string `protobuf:"bytes,1,opt,name=branch,proto3" json:"branch,omitempty"`
	// repo_url to check out.
	RepoUrl string `protobuf:"bytes,2,opt,name=repo_url,json=repoUrl,proto3" json:"repo_url,omitempty"`
	// rev_link_tmpl is an optional template used for generating links to
	// revisions. If not specified, revisions generated by the checkout will not
	// have an associated URL.
	RevLinkTmpl string `protobuf:"bytes,3,opt,name=rev_link_tmpl,json=revLinkTmpl,proto3" json:"rev_link_tmpl,omitempty"`
	// dependencies is an optional specification of dependencies to track.
	// Revisions generated by the checkout will contain the pinned versions of
	// these dependencies.
	Dependencies []*VersionFileConfig `protobuf:"bytes,4,rep,name=dependencies,proto3" json:"dependencies,omitempty"`
	// default_bug_project indicates the Monorail project used when no project
	// is specified in "Bug: 123" lines in commit messages.
	DefaultBugProject string `protobuf:"bytes,5,opt,name=default_bug_project,json=defaultBugProject,proto3" json:"default_bug_project,omitempty"`
	// contains filtered or unexported fields
}

GitCheckoutConfig provides configuration for a Git checkout.

func (*GitCheckoutConfig) Descriptor deprecated

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

Deprecated: Use GitCheckoutConfig.ProtoReflect.Descriptor instead.

func (*GitCheckoutConfig) GetBranch

func (x *GitCheckoutConfig) GetBranch() string

func (*GitCheckoutConfig) GetDefaultBugProject

func (x *GitCheckoutConfig) GetDefaultBugProject() string

func (*GitCheckoutConfig) GetDependencies

func (x *GitCheckoutConfig) GetDependencies() []*VersionFileConfig

func (*GitCheckoutConfig) GetRepoUrl

func (x *GitCheckoutConfig) GetRepoUrl() string

func (*GitCheckoutConfig) GetRevLinkTmpl

func (x *GitCheckoutConfig) GetRevLinkTmpl() string

func (*GitCheckoutConfig) ProtoMessage

func (*GitCheckoutConfig) ProtoMessage()

func (*GitCheckoutConfig) ProtoReflect

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

func (*GitCheckoutConfig) Reset

func (x *GitCheckoutConfig) Reset()

func (*GitCheckoutConfig) String

func (x *GitCheckoutConfig) String() string

func (*GitCheckoutConfig) Validate

func (c *GitCheckoutConfig) Validate() error

Validate implements util.Validator.

type GitCheckoutGerritParentConfig

type GitCheckoutGerritParentConfig struct {
	GitCheckout *GitCheckoutParentConfig `protobuf:"bytes,1,opt,name=git_checkout,json=gitCheckout,proto3" json:"git_checkout,omitempty"`
	// pre_upload describes command(s) to run before uploading roll CLs.
	PreUploadCommands *PreUploadConfig `protobuf:"bytes,2,opt,name=pre_upload_commands,json=preUploadCommands,proto3" json:"pre_upload_commands,omitempty"`
	// contains filtered or unexported fields
}

GitCheckoutGerritParentConfig provides configuration for a Parent which uses a local Git checkout and uploads CLs to Gerrit.

func (*GitCheckoutGerritParentConfig) Descriptor deprecated

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

Deprecated: Use GitCheckoutGerritParentConfig.ProtoReflect.Descriptor instead.

func (*GitCheckoutGerritParentConfig) GetGitCheckout

func (*GitCheckoutGerritParentConfig) GetPreUploadCommands

func (x *GitCheckoutGerritParentConfig) GetPreUploadCommands() *PreUploadConfig

func (*GitCheckoutGerritParentConfig) ProtoMessage

func (*GitCheckoutGerritParentConfig) ProtoMessage()

func (*GitCheckoutGerritParentConfig) ProtoReflect

func (*GitCheckoutGerritParentConfig) Reset

func (x *GitCheckoutGerritParentConfig) Reset()

func (*GitCheckoutGerritParentConfig) String

func (*GitCheckoutGerritParentConfig) Validate

func (c *GitCheckoutGerritParentConfig) Validate() error

Validate implements util.Validator.

type GitCheckoutGitHubChildConfig

type GitCheckoutGitHubChildConfig struct {
	GitCheckout *GitCheckoutChildConfig `protobuf:"bytes,1,opt,name=git_checkout,json=gitCheckout,proto3" json:"git_checkout,omitempty"`
	RepoOwner   string                  `protobuf:"bytes,2,opt,name=repo_owner,json=repoOwner,proto3" json:"repo_owner,omitempty"`
	RepoName    string                  `protobuf:"bytes,3,opt,name=repo_name,json=repoName,proto3" json:"repo_name,omitempty"`
	// contains filtered or unexported fields
}

GitCheckoutGitHubChildConfig provides configuration for a Child which uses a local checkout of a GitHub repo.

func (*GitCheckoutGitHubChildConfig) Descriptor deprecated

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

Deprecated: Use GitCheckoutGitHubChildConfig.ProtoReflect.Descriptor instead.

func (*GitCheckoutGitHubChildConfig) GetGitCheckout

func (*GitCheckoutGitHubChildConfig) GetRepoName

func (x *GitCheckoutGitHubChildConfig) GetRepoName() string

func (*GitCheckoutGitHubChildConfig) GetRepoOwner

func (x *GitCheckoutGitHubChildConfig) GetRepoOwner() string

func (*GitCheckoutGitHubChildConfig) ProtoMessage

func (*GitCheckoutGitHubChildConfig) ProtoMessage()

func (*GitCheckoutGitHubChildConfig) ProtoReflect

func (*GitCheckoutGitHubChildConfig) Reset

func (x *GitCheckoutGitHubChildConfig) Reset()

func (*GitCheckoutGitHubChildConfig) String

func (*GitCheckoutGitHubChildConfig) Validate

func (c *GitCheckoutGitHubChildConfig) Validate() error

Validate implements util.Validator.

type GitCheckoutGitHubFileParentConfig

type GitCheckoutGitHubFileParentConfig struct {
	GitCheckout    *GitCheckoutGitHubParentConfig `protobuf:"bytes,1,opt,name=git_checkout,json=gitCheckout,proto3" json:"git_checkout,omitempty"`
	PreUploadSteps []PreUploadStep                `` /* 148-byte string literal not displayed */
	// pre_upload describes command(s) to run before uploading roll CLs.
	PreUploadCommands *PreUploadConfig `protobuf:"bytes,3,opt,name=pre_upload_commands,json=preUploadCommands,proto3" json:"pre_upload_commands,omitempty"`
	// contains filtered or unexported fields
}

GitCheckoutGitHubFileParentConfig provides configuration for a Parent which uses a local Git checkout and uploads pull requests to GitHub.

func (*GitCheckoutGitHubFileParentConfig) Descriptor deprecated

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

Deprecated: Use GitCheckoutGitHubFileParentConfig.ProtoReflect.Descriptor instead.

func (*GitCheckoutGitHubFileParentConfig) GetGitCheckout

func (*GitCheckoutGitHubFileParentConfig) GetPreUploadCommands

func (x *GitCheckoutGitHubFileParentConfig) GetPreUploadCommands() *PreUploadConfig

func (*GitCheckoutGitHubFileParentConfig) GetPreUploadSteps

func (x *GitCheckoutGitHubFileParentConfig) GetPreUploadSteps() []PreUploadStep

func (*GitCheckoutGitHubFileParentConfig) ProtoMessage

func (*GitCheckoutGitHubFileParentConfig) ProtoMessage()

func (*GitCheckoutGitHubFileParentConfig) ProtoReflect

func (*GitCheckoutGitHubFileParentConfig) Reset

func (*GitCheckoutGitHubFileParentConfig) String

func (*GitCheckoutGitHubFileParentConfig) Validate

Validate implements util.Validator.

type GitCheckoutGitHubParentConfig

type GitCheckoutGitHubParentConfig struct {
	GitCheckout *GitCheckoutParentConfig `protobuf:"bytes,1,opt,name=git_checkout,json=gitCheckout,proto3" json:"git_checkout,omitempty"`
	ForkRepoUrl string                   `protobuf:"bytes,2,opt,name=fork_repo_url,json=forkRepoUrl,proto3" json:"fork_repo_url,omitempty"`
	// contains filtered or unexported fields
}

GitCheckoutGitHubParentConfig provides configuration for a Parent which uses a local Git checkout and uploads pull requests to GitHub. TODO(borenet): Why doesn't this contain the GitHubConfig? Is this even needed?

func (*GitCheckoutGitHubParentConfig) Descriptor deprecated

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

Deprecated: Use GitCheckoutGitHubParentConfig.ProtoReflect.Descriptor instead.

func (*GitCheckoutGitHubParentConfig) GetForkRepoUrl

func (x *GitCheckoutGitHubParentConfig) GetForkRepoUrl() string

func (*GitCheckoutGitHubParentConfig) GetGitCheckout

func (*GitCheckoutGitHubParentConfig) ProtoMessage

func (*GitCheckoutGitHubParentConfig) ProtoMessage()

func (*GitCheckoutGitHubParentConfig) ProtoReflect

func (*GitCheckoutGitHubParentConfig) Reset

func (x *GitCheckoutGitHubParentConfig) Reset()

func (*GitCheckoutGitHubParentConfig) String

func (*GitCheckoutGitHubParentConfig) Validate

func (c *GitCheckoutGitHubParentConfig) Validate() error

Validate implements util.Validator.

type GitCheckoutParentConfig

type GitCheckoutParentConfig struct {
	GitCheckout *GitCheckoutConfig `protobuf:"bytes,1,opt,name=git_checkout,json=gitCheckout,proto3" json:"git_checkout,omitempty"`
	Dep         *DependencyConfig  `protobuf:"bytes,2,opt,name=dep,proto3" json:"dep,omitempty"`
	// contains filtered or unexported fields
}

GitCheckoutParentConfig provides configuration for a Parent which uses a local checkout to create changes.

func (*GitCheckoutParentConfig) Descriptor deprecated

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

Deprecated: Use GitCheckoutParentConfig.ProtoReflect.Descriptor instead.

func (*GitCheckoutParentConfig) GetDep

func (*GitCheckoutParentConfig) GetGitCheckout

func (x *GitCheckoutParentConfig) GetGitCheckout() *GitCheckoutConfig

func (*GitCheckoutParentConfig) ProtoMessage

func (*GitCheckoutParentConfig) ProtoMessage()

func (*GitCheckoutParentConfig) ProtoReflect

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

func (*GitCheckoutParentConfig) Reset

func (x *GitCheckoutParentConfig) Reset()

func (*GitCheckoutParentConfig) String

func (x *GitCheckoutParentConfig) String() string

func (*GitCheckoutParentConfig) Validate

func (c *GitCheckoutParentConfig) Validate() error

Validate implements util.Validator.

type GitHubConfig

type GitHubConfig struct {

	// repo_owner is the owner of the GitHub repo.
	RepoOwner string `protobuf:"bytes,1,opt,name=repo_owner,json=repoOwner,proto3" json:"repo_owner,omitempty"`
	// repo_name is the name of the GitHub repo.
	RepoName string `protobuf:"bytes,2,opt,name=repo_name,json=repoName,proto3" json:"repo_name,omitempty"`
	// checks_wait_for indicates which GitHub checks must succeed before a pull
	// request may be merged. If they are failing, we wait for them to succeed
	// (eg. tree-status checks). Note: These checks are ignored during dry runs
	// because the PR is not going to be submitted so the tree-status checks
	// will not be important in that case.
	ChecksWaitFor []string `protobuf:"bytes,3,rep,name=checks_wait_for,json=checksWaitFor,proto3" json:"checks_wait_for,omitempty"`
	// token_secret is the name of the secret containing the auth token used to
	// access the GitHub API.
	TokenSecret string `protobuf:"bytes,4,opt,name=token_secret,json=tokenSecret,proto3" json:"token_secret,omitempty"`
	// ssh_key_secret is the name of the secret containing the SSH key used to
	// access GitHub repos.
	SshKeySecret string `protobuf:"bytes,5,opt,name=ssh_key_secret,json=sshKeySecret,proto3" json:"ssh_key_secret,omitempty"`
	// contains filtered or unexported fields
}

GitHubConfig provides configuration for code review using GitHub.

func (*GitHubConfig) Descriptor deprecated

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

Deprecated: Use GitHubConfig.ProtoReflect.Descriptor instead.

func (*GitHubConfig) GetChecksWaitFor

func (x *GitHubConfig) GetChecksWaitFor() []string

func (*GitHubConfig) GetRepoName

func (x *GitHubConfig) GetRepoName() string

func (*GitHubConfig) GetRepoOwner

func (x *GitHubConfig) GetRepoOwner() string

func (*GitHubConfig) GetSshKeySecret

func (x *GitHubConfig) GetSshKeySecret() string

func (*GitHubConfig) GetTokenSecret

func (x *GitHubConfig) GetTokenSecret() string

func (*GitHubConfig) ProtoMessage

func (*GitHubConfig) ProtoMessage()

func (*GitHubConfig) ProtoReflect

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

func (*GitHubConfig) Reset

func (x *GitHubConfig) Reset()

func (*GitHubConfig) String

func (x *GitHubConfig) String() string

func (*GitHubConfig) Validate

func (c *GitHubConfig) Validate() error

Validate implements util.Validator.

type GitilesChildConfig

type GitilesChildConfig struct {
	Gitiles *GitilesConfig `protobuf:"bytes,1,opt,name=gitiles,proto3" json:"gitiles,omitempty"`
	// path indicates an optional single path of the repo to watch for changes;
	// all commits which do not change this path are ignored.  Note that this
	// may produce strange results if the Git history for the path is not
	// linear.
	Path string `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"`
	// contains filtered or unexported fields
}

GitilesChildConfig provides configuration for a Child which uses Gitiles.

func (*GitilesChildConfig) Descriptor deprecated

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

Deprecated: Use GitilesChildConfig.ProtoReflect.Descriptor instead.

func (*GitilesChildConfig) GetGitiles

func (x *GitilesChildConfig) GetGitiles() *GitilesConfig

func (*GitilesChildConfig) GetPath

func (x *GitilesChildConfig) GetPath() string

func (*GitilesChildConfig) ProtoMessage

func (*GitilesChildConfig) ProtoMessage()

func (*GitilesChildConfig) ProtoReflect

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

func (*GitilesChildConfig) Reset

func (x *GitilesChildConfig) Reset()

func (*GitilesChildConfig) String

func (x *GitilesChildConfig) String() string

func (*GitilesChildConfig) Validate

func (c *GitilesChildConfig) Validate() error

Validate implements util.Validator.

type GitilesConfig

type GitilesConfig struct {

	// branch to track.
	Branch string `protobuf:"bytes,1,opt,name=branch,proto3" json:"branch,omitempty"`
	// repo_url from which to load Git data.
	RepoUrl string `protobuf:"bytes,2,opt,name=repo_url,json=repoUrl,proto3" json:"repo_url,omitempty"`
	// dependencies is an optional specification of dependencies to track.
	// Revisions generated by the checkout will contain the pinned versions of
	// these dependencies.
	Dependencies []*VersionFileConfig `protobuf:"bytes,3,rep,name=dependencies,proto3" json:"dependencies,omitempty"`
	// default_bug_project indicates the Monorail project used when no project
	// is specified in "Bug: 123" lines in commit messages.
	DefaultBugProject string `protobuf:"bytes,4,opt,name=default_bug_project,json=defaultBugProject,proto3" json:"default_bug_project,omitempty"`
	// contains filtered or unexported fields
}

GitilesConfig provides configuration for a Git repo in Gitiles.

func (*GitilesConfig) Descriptor deprecated

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

Deprecated: Use GitilesConfig.ProtoReflect.Descriptor instead.

func (*GitilesConfig) GetBranch

func (x *GitilesConfig) GetBranch() string

func (*GitilesConfig) GetDefaultBugProject

func (x *GitilesConfig) GetDefaultBugProject() string

func (*GitilesConfig) GetDependencies

func (x *GitilesConfig) GetDependencies() []*VersionFileConfig

func (*GitilesConfig) GetRepoUrl

func (x *GitilesConfig) GetRepoUrl() string

func (*GitilesConfig) ProtoMessage

func (*GitilesConfig) ProtoMessage()

func (*GitilesConfig) ProtoReflect

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

func (*GitilesConfig) Reset

func (x *GitilesConfig) Reset()

func (*GitilesConfig) String

func (x *GitilesConfig) String() string

func (*GitilesConfig) Validate

func (c *GitilesConfig) Validate() error

Validate implements util.Validator.

type GitilesParentConfig

type GitilesParentConfig struct {
	Gitiles *GitilesConfig    `protobuf:"bytes,1,opt,name=gitiles,proto3" json:"gitiles,omitempty"`
	Dep     *DependencyConfig `protobuf:"bytes,2,opt,name=dep,proto3" json:"dep,omitempty"`
	Gerrit  *GerritConfig     `protobuf:"bytes,3,opt,name=gerrit,proto3" json:"gerrit,omitempty"`
	// contains filtered or unexported fields
}

GitilesParentConfig provides configuration for a Parent which uses Gitiles.

func (*GitilesParentConfig) Descriptor deprecated

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

Deprecated: Use GitilesParentConfig.ProtoReflect.Descriptor instead.

func (*GitilesParentConfig) GetDep

func (*GitilesParentConfig) GetGerrit

func (x *GitilesParentConfig) GetGerrit() *GerritConfig

func (*GitilesParentConfig) GetGitiles

func (x *GitilesParentConfig) GetGitiles() *GitilesConfig

func (*GitilesParentConfig) ProtoMessage

func (*GitilesParentConfig) ProtoMessage()

func (*GitilesParentConfig) ProtoReflect

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

func (*GitilesParentConfig) Reset

func (x *GitilesParentConfig) Reset()

func (*GitilesParentConfig) String

func (x *GitilesParentConfig) String() string

func (*GitilesParentConfig) Validate

func (c *GitilesParentConfig) Validate() error

Validate implements util.Validator.

type GoModGerritParentConfig

type GoModGerritParentConfig struct {
	GoMod  *GoModParentConfig `protobuf:"bytes,1,opt,name=go_mod,json=goMod,proto3" json:"go_mod,omitempty"`
	Gerrit *GerritConfig      `protobuf:"bytes,2,opt,name=gerrit,proto3" json:"gerrit,omitempty"`
	// contains filtered or unexported fields
}

GoModGerritParentConfig provides configuration for a Parent which uses Go modules and uploads pull requests to Gerrit.

func (*GoModGerritParentConfig) Descriptor deprecated

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

Deprecated: Use GoModGerritParentConfig.ProtoReflect.Descriptor instead.

func (*GoModGerritParentConfig) GetGerrit

func (x *GoModGerritParentConfig) GetGerrit() *GerritConfig

func (*GoModGerritParentConfig) GetGoMod

func (*GoModGerritParentConfig) ProtoMessage

func (*GoModGerritParentConfig) ProtoMessage()

func (*GoModGerritParentConfig) ProtoReflect

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

func (*GoModGerritParentConfig) Reset

func (x *GoModGerritParentConfig) Reset()

func (*GoModGerritParentConfig) String

func (x *GoModGerritParentConfig) String() string

func (*GoModGerritParentConfig) Validate

func (c *GoModGerritParentConfig) Validate() error

Validate implements util.Validator.

type GoModParentConfig

type GoModParentConfig struct {
	GitCheckout *GitCheckoutConfig `protobuf:"bytes,1,opt,name=git_checkout,json=gitCheckout,proto3" json:"git_checkout,omitempty"`
	// module_path is the Go module path of the dependency.
	ModulePath string `protobuf:"bytes,2,opt,name=module_path,json=modulePath,proto3" json:"module_path,omitempty"`
	// find_and_replace lists additional files in which all instances of the
	// previous primary revision ID should be replaced with the new primary
	// revision ID.
	FindAndReplace []string `protobuf:"bytes,3,rep,name=find_and_replace,json=findAndReplace,proto3" json:"find_and_replace,omitempty"`
	// pre_upload_steps are steps to run before uploading the CL.
	PreUploadSteps []PreUploadStep `` /* 148-byte string literal not displayed */
	// pre_upload describes command(s) to run before uploading roll CLs.
	PreUploadCommands *PreUploadConfig `protobuf:"bytes,5,opt,name=pre_upload_commands,json=preUploadCommands,proto3" json:"pre_upload_commands,omitempty"`
	// go_cmd is an alternate command to run to invoke Go, eg. for hermetic
	// installation via Bazel.
	GoCmd string `protobuf:"bytes,6,opt,name=go_cmd,json=goCmd,proto3" json:"go_cmd,omitempty"`
	// contains filtered or unexported fields
}

GoModParentConfig provides configuration for a Parent which uses Go modules.

func (*GoModParentConfig) Descriptor deprecated

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

Deprecated: Use GoModParentConfig.ProtoReflect.Descriptor instead.

func (*GoModParentConfig) GetFindAndReplace

func (x *GoModParentConfig) GetFindAndReplace() []string

func (*GoModParentConfig) GetGitCheckout

func (x *GoModParentConfig) GetGitCheckout() *GitCheckoutConfig

func (*GoModParentConfig) GetGoCmd

func (x *GoModParentConfig) GetGoCmd() string

func (*GoModParentConfig) GetModulePath

func (x *GoModParentConfig) GetModulePath() string

func (*GoModParentConfig) GetPreUploadCommands

func (x *GoModParentConfig) GetPreUploadCommands() *PreUploadConfig

func (*GoModParentConfig) GetPreUploadSteps

func (x *GoModParentConfig) GetPreUploadSteps() []PreUploadStep

func (*GoModParentConfig) ProtoMessage

func (*GoModParentConfig) ProtoMessage()

func (*GoModParentConfig) ProtoReflect

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

func (*GoModParentConfig) Reset

func (x *GoModParentConfig) Reset()

func (*GoModParentConfig) String

func (x *GoModParentConfig) String() string

func (*GoModParentConfig) Validate

func (c *GoModParentConfig) Validate() error

Validate implements util.Validator.

type Google3Config

type Google3Config struct {
	// contains filtered or unexported fields
}

Google3Config is an empty configuration object for Google3.

func (*Google3Config) Descriptor deprecated

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

Deprecated: Use Google3Config.ProtoReflect.Descriptor instead.

func (*Google3Config) ProtoMessage

func (*Google3Config) ProtoMessage()

func (*Google3Config) ProtoReflect

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

func (*Google3Config) Reset

func (x *Google3Config) Reset()

func (*Google3Config) String

func (x *Google3Config) String() string

func (*Google3Config) Validate

func (c *Google3Config) Validate() error

Validate implements util.Validator.

type Google3RepoManagerConfig

type Google3RepoManagerConfig struct {

	// child_branch is the branch of the child repo to track.
	ChildBranch string `protobuf:"bytes,1,opt,name=child_branch,json=childBranch,proto3" json:"child_branch,omitempty"`
	// child_repo is the URL of the child repo.
	ChildRepo string `protobuf:"bytes,2,opt,name=child_repo,json=childRepo,proto3" json:"child_repo,omitempty"`
	// contains filtered or unexported fields
}

Google3RepoManagerConfig provides configuration for a roller into Google3.

func (*Google3RepoManagerConfig) DefaultStrategy

func (c *Google3RepoManagerConfig) DefaultStrategy() string

DefaultStrategy implements RepoManagerConfig.

func (*Google3RepoManagerConfig) Descriptor deprecated

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

Deprecated: Use Google3RepoManagerConfig.ProtoReflect.Descriptor instead.

func (*Google3RepoManagerConfig) GetChildBranch

func (x *Google3RepoManagerConfig) GetChildBranch() string

func (*Google3RepoManagerConfig) GetChildRepo

func (x *Google3RepoManagerConfig) GetChildRepo() string

func (*Google3RepoManagerConfig) NoCheckout

func (c *Google3RepoManagerConfig) NoCheckout() bool

NoCheckout implements RepoManagerConfig.

func (*Google3RepoManagerConfig) ProtoMessage

func (*Google3RepoManagerConfig) ProtoMessage()

func (*Google3RepoManagerConfig) ProtoReflect

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

func (*Google3RepoManagerConfig) Reset

func (x *Google3RepoManagerConfig) Reset()

func (*Google3RepoManagerConfig) String

func (x *Google3RepoManagerConfig) String() string

func (*Google3RepoManagerConfig) ValidStrategies

func (c *Google3RepoManagerConfig) ValidStrategies() []string

ValidStrategies implements RepoManagerConfig.

func (*Google3RepoManagerConfig) Validate

func (c *Google3RepoManagerConfig) Validate() error

Validate implements util.Validator.

type KubernetesConfig

type KubernetesConfig struct {

	// cpu is the requested number of CPUs, eg. "250m".
	Cpu string `protobuf:"bytes,1,opt,name=cpu,proto3" json:"cpu,omitempty"`
	// memory is the requested memory, eg. "2Gi".
	Memory string `protobuf:"bytes,2,opt,name=memory,proto3" json:"memory,omitempty"`
	// readiness_failure_threshold indicates how many times the ready check may
	// fail.
	ReadinessFailureThreshold int32 `` /* 139-byte string literal not displayed */
	// readiness_initial_delay_seconds indicates how long to wait before
	// performing the ready check for the first time.
	ReadinessInitialDelaySeconds int32 `` /* 150-byte string literal not displayed */
	// readiness_period_seconds indicates how often to perform the ready check.
	ReadinessPeriodSeconds int32 `` /* 130-byte string literal not displayed */
	// disk indicates the size of the requested persistent disk.  If not
	// specified, no persistent disk is used.
	Disk string `protobuf:"bytes,6,opt,name=disk,proto3" json:"disk,omitempty"`
	// image used for the autoroll backend container.
	Image string `protobuf:"bytes,8,opt,name=image,proto3" json:"image,omitempty"`
	// extra_flags to pass to the autoroll-be binary.
	ExtraFlags []string `protobuf:"bytes,9,rep,name=extra_flags,json=extraFlags,proto3" json:"extra_flags,omitempty"`
	// contains filtered or unexported fields
}

KubernetesConfig provides Kubernetes configuration for the autoroll backend service for this roller.

func (*KubernetesConfig) Descriptor deprecated

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

Deprecated: Use KubernetesConfig.ProtoReflect.Descriptor instead.

func (*KubernetesConfig) GetCpu

func (x *KubernetesConfig) GetCpu() string

func (*KubernetesConfig) GetDisk

func (x *KubernetesConfig) GetDisk() string

func (*KubernetesConfig) GetExtraFlags

func (x *KubernetesConfig) GetExtraFlags() []string

func (*KubernetesConfig) GetImage

func (x *KubernetesConfig) GetImage() string

func (*KubernetesConfig) GetMemory

func (x *KubernetesConfig) GetMemory() string

func (*KubernetesConfig) GetReadinessFailureThreshold

func (x *KubernetesConfig) GetReadinessFailureThreshold() int32

func (*KubernetesConfig) GetReadinessInitialDelaySeconds

func (x *KubernetesConfig) GetReadinessInitialDelaySeconds() int32

func (*KubernetesConfig) GetReadinessPeriodSeconds

func (x *KubernetesConfig) GetReadinessPeriodSeconds() int32

func (*KubernetesConfig) ProtoMessage

func (*KubernetesConfig) ProtoMessage()

func (*KubernetesConfig) ProtoReflect

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

func (*KubernetesConfig) Reset

func (x *KubernetesConfig) Reset()

func (*KubernetesConfig) String

func (x *KubernetesConfig) String() string

func (*KubernetesConfig) Validate

func (c *KubernetesConfig) Validate() error

Validate implements util.Validator.

type Mode

type Mode int32

Mode describes the valid operating modes of an autoroller. These must be kept in sync with autoroll/go/modes/modes.go.

const (
	// RUNNING is the typical operating mode of the autoroller. It will upload and
	// land CLs as new revisions appear in the Child.
	Mode_RUNNING Mode = 0
	// STOPPED prevents the autoroller from uploading any CLs. The roller will
	// continue to update any local checkouts to prevent them from getting too far
	// out of date, and any requested manual rolls will be fulfilled.
	Mode_STOPPED Mode = 1
	// DRY_RUN is similar to RUNNING but does not land the roll CLs after the
	// commit queue finishes. Instead, the active roll is left open until new
	// revisions appear in the child, at which point the roll is closed and a new
	// one is uploaded.
	Mode_DRY_RUN Mode = 2
	// OFFLINE is similar to STOPPED, but the roller does not update its checkouts
	// and requests for manual rolls are ignored.
	Mode_OFFLINE Mode = 3
)

func (Mode) Descriptor

func (Mode) Descriptor() protoreflect.EnumDescriptor

func (Mode) Enum

func (x Mode) Enum() *Mode

func (Mode) EnumDescriptor deprecated

func (Mode) EnumDescriptor() ([]byte, []int)

Deprecated: Use Mode.Descriptor instead.

func (Mode) Number

func (x Mode) Number() protoreflect.EnumNumber

func (Mode) String

func (x Mode) String() string

func (Mode) Type

func (Mode) Type() protoreflect.EnumType

type MonorailNotifierConfig

type MonorailNotifierConfig struct {

	// project name under which to file bugs. Required.
	Project string `protobuf:"bytes,1,opt,name=project,proto3" json:"project,omitempty"`
	// owner of bugs filed in Monorail. Required.
	Owner string `protobuf:"bytes,2,opt,name=owner,proto3" json:"owner,omitempty"`
	// cc these email addresses on bugs filed in Monorail.
	Cc []string `protobuf:"bytes,3,rep,name=cc,proto3" json:"cc,omitempty"`
	// components to apply to bugs filed in Monorail.
	Components []string `protobuf:"bytes,4,rep,name=components,proto3" json:"components,omitempty"`
	// labels to apply to bugs filed in Monorail.
	Labels []string `protobuf:"bytes,5,rep,name=labels,proto3" json:"labels,omitempty"`
	// contains filtered or unexported fields
}

MonorailNotifierConfig provides configuration for bug-filing "notifications" using Monorail.

func (*MonorailNotifierConfig) Descriptor deprecated

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

Deprecated: Use MonorailNotifierConfig.ProtoReflect.Descriptor instead.

func (*MonorailNotifierConfig) GetCc

func (x *MonorailNotifierConfig) GetCc() []string

func (*MonorailNotifierConfig) GetComponents

func (x *MonorailNotifierConfig) GetComponents() []string

func (*MonorailNotifierConfig) GetLabels

func (x *MonorailNotifierConfig) GetLabels() []string

func (*MonorailNotifierConfig) GetOwner

func (x *MonorailNotifierConfig) GetOwner() string

func (*MonorailNotifierConfig) GetProject

func (x *MonorailNotifierConfig) GetProject() string

func (*MonorailNotifierConfig) ProtoMessage

func (*MonorailNotifierConfig) ProtoMessage()

func (*MonorailNotifierConfig) ProtoReflect

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

func (*MonorailNotifierConfig) Reset

func (x *MonorailNotifierConfig) Reset()

func (*MonorailNotifierConfig) String

func (x *MonorailNotifierConfig) String() string

func (*MonorailNotifierConfig) Validate

func (c *MonorailNotifierConfig) Validate() error

Validate implements util.Validator.

type NotifierConfig

type NotifierConfig struct {

	// log_level allows all messages at and above the given severity to be
	// sent. Mutually exclusive with msg_type.
	LogLevel NotifierConfig_LogLevel `` /* 131-byte string literal not displayed */
	// msg_type limits the notifier to only send messages of the given
	// types. Mutually exclusive with log_level.
	MsgType []NotifierConfig_MsgType `` /* 134-byte string literal not displayed */
	// config provides configuration for the specific type of notifier.
	//
	// Types that are assignable to Config:
	//
	//	*NotifierConfig_Email
	//	*NotifierConfig_Chat
	//	*NotifierConfig_Monorail
	//	*NotifierConfig_Pubsub
	Config isNotifierConfig_Config `protobuf_oneof:"config"`
	// subject indicates a subject line which overrides the default subject line
	// for every notification message, if provided.
	Subject string `protobuf:"bytes,7,opt,name=subject,proto3" json:"subject,omitempty"`
	// contains filtered or unexported fields
}

NotifierConfig provides configuration for a notification system.

func (*NotifierConfig) Descriptor deprecated

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

Deprecated: Use NotifierConfig.ProtoReflect.Descriptor instead.

func (*NotifierConfig) GetChat

func (x *NotifierConfig) GetChat() *ChatNotifierConfig

func (*NotifierConfig) GetConfig

func (m *NotifierConfig) GetConfig() isNotifierConfig_Config

func (*NotifierConfig) GetEmail

func (x *NotifierConfig) GetEmail() *EmailNotifierConfig

func (*NotifierConfig) GetLogLevel

func (x *NotifierConfig) GetLogLevel() NotifierConfig_LogLevel

func (*NotifierConfig) GetMonorail

func (x *NotifierConfig) GetMonorail() *MonorailNotifierConfig

func (*NotifierConfig) GetMsgType

func (x *NotifierConfig) GetMsgType() []NotifierConfig_MsgType

func (*NotifierConfig) GetPubsub

func (x *NotifierConfig) GetPubsub() *PubSubNotifierConfig

func (*NotifierConfig) GetSubject

func (x *NotifierConfig) GetSubject() string

func (*NotifierConfig) ProtoMessage

func (*NotifierConfig) ProtoMessage()

func (*NotifierConfig) ProtoReflect

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

func (*NotifierConfig) Reset

func (x *NotifierConfig) Reset()

func (*NotifierConfig) String

func (x *NotifierConfig) String() string

func (*NotifierConfig) Validate

func (c *NotifierConfig) Validate() error

Validate implements util.Validator.

type NotifierConfig_Chat

type NotifierConfig_Chat struct {
	Chat *ChatNotifierConfig `protobuf:"bytes,4,opt,name=chat,proto3,oneof"`
}

type NotifierConfig_Email

type NotifierConfig_Email struct {
	Email *EmailNotifierConfig `protobuf:"bytes,3,opt,name=email,proto3,oneof"`
}

type NotifierConfig_LogLevel

type NotifierConfig_LogLevel int32

LogLevel categorizes messages similarly to log severity.

const (
	NotifierConfig_SILENT  NotifierConfig_LogLevel = 0
	NotifierConfig_ERROR   NotifierConfig_LogLevel = 1
	NotifierConfig_WARNING NotifierConfig_LogLevel = 2
	NotifierConfig_INFO    NotifierConfig_LogLevel = 3
	NotifierConfig_DEBUG   NotifierConfig_LogLevel = 4
)

func (NotifierConfig_LogLevel) Descriptor

func (NotifierConfig_LogLevel) Enum

func (NotifierConfig_LogLevel) EnumDescriptor deprecated

func (NotifierConfig_LogLevel) EnumDescriptor() ([]byte, []int)

Deprecated: Use NotifierConfig_LogLevel.Descriptor instead.

func (NotifierConfig_LogLevel) Number

func (NotifierConfig_LogLevel) String

func (x NotifierConfig_LogLevel) String() string

func (NotifierConfig_LogLevel) Type

func (NotifierConfig_LogLevel) Validate

func (c NotifierConfig_LogLevel) Validate() error

Validate implements util.Validator.

type NotifierConfig_Monorail

type NotifierConfig_Monorail struct {
	Monorail *MonorailNotifierConfig `protobuf:"bytes,5,opt,name=monorail,proto3,oneof"`
}

type NotifierConfig_MsgType

type NotifierConfig_MsgType int32

MsgType categorizes notifications based on their type.

const (
	NotifierConfig_ISSUE_UPDATE                NotifierConfig_MsgType = 0
	NotifierConfig_LAST_N_FAILED               NotifierConfig_MsgType = 1
	NotifierConfig_MODE_CHANGE                 NotifierConfig_MsgType = 2
	NotifierConfig_NEW_FAILURE                 NotifierConfig_MsgType = 3
	NotifierConfig_NEW_SUCCESS                 NotifierConfig_MsgType = 4
	NotifierConfig_ROLL_CREATION_FAILED        NotifierConfig_MsgType = 5
	NotifierConfig_SAFETY_THROTTLE             NotifierConfig_MsgType = 6
	NotifierConfig_STRATEGY_CHANGE             NotifierConfig_MsgType = 7
	NotifierConfig_SUCCESS_THROTTLE            NotifierConfig_MsgType = 8
	NotifierConfig_MANUAL_ROLL_CREATION_FAILED NotifierConfig_MsgType = 9
)

func (NotifierConfig_MsgType) Descriptor

func (NotifierConfig_MsgType) Enum

func (NotifierConfig_MsgType) EnumDescriptor deprecated

func (NotifierConfig_MsgType) EnumDescriptor() ([]byte, []int)

Deprecated: Use NotifierConfig_MsgType.Descriptor instead.

func (NotifierConfig_MsgType) Number

func (NotifierConfig_MsgType) String

func (x NotifierConfig_MsgType) String() string

func (NotifierConfig_MsgType) Type

func (NotifierConfig_MsgType) Validate

func (c NotifierConfig_MsgType) Validate() error

Validate implements util.Validator.

type NotifierConfig_Pubsub

type NotifierConfig_Pubsub struct {
	Pubsub *PubSubNotifierConfig `protobuf:"bytes,6,opt,name=pubsub,proto3,oneof"`
}

type ParentChildRepoManagerConfig

type ParentChildRepoManagerConfig struct {

	// parent is the entity which depends on the child and receives the rolls.
	//
	// Types that are assignable to Parent:
	//
	//	*ParentChildRepoManagerConfig_CopyParent
	//	*ParentChildRepoManagerConfig_DepsLocalGithubParent
	//	*ParentChildRepoManagerConfig_DepsLocalGerritParent
	//	*ParentChildRepoManagerConfig_GitCheckoutGithubFileParent
	//	*ParentChildRepoManagerConfig_GitilesParent
	//	*ParentChildRepoManagerConfig_GoModGerritParent
	//	*ParentChildRepoManagerConfig_GitCheckoutGerritParent
	Parent isParentChildRepoManagerConfig_Parent `protobuf_oneof:"parent"`
	// child is the entity which is depended on by the parent and is rolled.
	//
	// Types that are assignable to Child:
	//
	//	*ParentChildRepoManagerConfig_CipdChild
	//	*ParentChildRepoManagerConfig_FuchsiaSdkChild
	//	*ParentChildRepoManagerConfig_GitCheckoutChild
	//	*ParentChildRepoManagerConfig_GitCheckoutGithubChild
	//	*ParentChildRepoManagerConfig_GitilesChild
	//	*ParentChildRepoManagerConfig_SemverGcsChild
	//	*ParentChildRepoManagerConfig_DockerChild
	Child isParentChildRepoManagerConfig_Child `protobuf_oneof:"child"`
	// revision_filter filters out revisions of the child which should not be
	// considered as roll candidates.
	BuildbucketRevisionFilter []*BuildbucketRevisionFilterConfig `` /* 139-byte string literal not displayed */
	CipdRevisionFilter        []*CIPDRevisionFilterConfig        `protobuf:"bytes,13,rep,name=cipd_revision_filter,json=cipdRevisionFilter,proto3" json:"cipd_revision_filter,omitempty"`
	ValidHttpRevisionFilter   []*ValidHttpRevisionFilterConfig   `` /* 135-byte string literal not displayed */
	// contains filtered or unexported fields
}

ParentChildRepoManagerConfig provides configuration for a roller which combines a pre-defined Parent and Child type.

func (*ParentChildRepoManagerConfig) DefaultStrategy

func (c *ParentChildRepoManagerConfig) DefaultStrategy() string

DefaultStrategy implements RepoManagerConfig.

func (*ParentChildRepoManagerConfig) Descriptor deprecated

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

Deprecated: Use ParentChildRepoManagerConfig.ProtoReflect.Descriptor instead.

func (*ParentChildRepoManagerConfig) GetBuildbucketRevisionFilter

func (x *ParentChildRepoManagerConfig) GetBuildbucketRevisionFilter() []*BuildbucketRevisionFilterConfig

func (*ParentChildRepoManagerConfig) GetChild

func (m *ParentChildRepoManagerConfig) GetChild() isParentChildRepoManagerConfig_Child

func (*ParentChildRepoManagerConfig) GetCipdChild

func (x *ParentChildRepoManagerConfig) GetCipdChild() *CIPDChildConfig

func (*ParentChildRepoManagerConfig) GetCipdRevisionFilter

func (x *ParentChildRepoManagerConfig) GetCipdRevisionFilter() []*CIPDRevisionFilterConfig

func (*ParentChildRepoManagerConfig) GetCopyParent

func (x *ParentChildRepoManagerConfig) GetCopyParent() *CopyParentConfig

func (*ParentChildRepoManagerConfig) GetDepsLocalGerritParent

func (x *ParentChildRepoManagerConfig) GetDepsLocalGerritParent() *DEPSLocalGerritParentConfig

func (*ParentChildRepoManagerConfig) GetDepsLocalGithubParent

func (x *ParentChildRepoManagerConfig) GetDepsLocalGithubParent() *DEPSLocalGitHubParentConfig

func (*ParentChildRepoManagerConfig) GetDockerChild

func (x *ParentChildRepoManagerConfig) GetDockerChild() *DockerChildConfig

func (*ParentChildRepoManagerConfig) GetFuchsiaSdkChild

func (x *ParentChildRepoManagerConfig) GetFuchsiaSdkChild() *FuchsiaSDKChildConfig

func (*ParentChildRepoManagerConfig) GetGitCheckoutChild

func (x *ParentChildRepoManagerConfig) GetGitCheckoutChild() *GitCheckoutChildConfig

func (*ParentChildRepoManagerConfig) GetGitCheckoutGerritParent

func (x *ParentChildRepoManagerConfig) GetGitCheckoutGerritParent() *GitCheckoutGerritParentConfig

func (*ParentChildRepoManagerConfig) GetGitCheckoutGithubChild

func (x *ParentChildRepoManagerConfig) GetGitCheckoutGithubChild() *GitCheckoutGitHubChildConfig

func (*ParentChildRepoManagerConfig) GetGitCheckoutGithubFileParent

func (x *ParentChildRepoManagerConfig) GetGitCheckoutGithubFileParent() *GitCheckoutGitHubFileParentConfig

func (*ParentChildRepoManagerConfig) GetGitilesChild

func (x *ParentChildRepoManagerConfig) GetGitilesChild() *GitilesChildConfig

func (*ParentChildRepoManagerConfig) GetGitilesParent

func (x *ParentChildRepoManagerConfig) GetGitilesParent() *GitilesParentConfig

func (*ParentChildRepoManagerConfig) GetGoModGerritParent

func (x *ParentChildRepoManagerConfig) GetGoModGerritParent() *GoModGerritParentConfig

func (*ParentChildRepoManagerConfig) GetParent

func (m *ParentChildRepoManagerConfig) GetParent() isParentChildRepoManagerConfig_Parent

func (*ParentChildRepoManagerConfig) GetSemverGcsChild

func (x *ParentChildRepoManagerConfig) GetSemverGcsChild() *SemVerGCSChildConfig

func (*ParentChildRepoManagerConfig) GetValidHttpRevisionFilter

func (x *ParentChildRepoManagerConfig) GetValidHttpRevisionFilter() []*ValidHttpRevisionFilterConfig

func (*ParentChildRepoManagerConfig) NoCheckout

func (c *ParentChildRepoManagerConfig) NoCheckout() bool

NoCheckout implements RepoManagerConfig.

func (*ParentChildRepoManagerConfig) ProtoMessage

func (*ParentChildRepoManagerConfig) ProtoMessage()

func (*ParentChildRepoManagerConfig) ProtoReflect

func (*ParentChildRepoManagerConfig) Reset

func (x *ParentChildRepoManagerConfig) Reset()

func (*ParentChildRepoManagerConfig) String

func (*ParentChildRepoManagerConfig) ValidStrategies

func (c *ParentChildRepoManagerConfig) ValidStrategies() []string

ValidStrategies implements RepoManagerConfig.

func (*ParentChildRepoManagerConfig) Validate

func (c *ParentChildRepoManagerConfig) Validate() error

Validate implements util.Validator.

type ParentChildRepoManagerConfig_CipdChild

type ParentChildRepoManagerConfig_CipdChild struct {
	CipdChild *CIPDChildConfig `protobuf:"bytes,6,opt,name=cipd_child,json=cipdChild,proto3,oneof"`
}

type ParentChildRepoManagerConfig_CopyParent

type ParentChildRepoManagerConfig_CopyParent struct {
	CopyParent *CopyParentConfig `protobuf:"bytes,1,opt,name=copy_parent,json=copyParent,proto3,oneof"`
}

type ParentChildRepoManagerConfig_DepsLocalGerritParent

type ParentChildRepoManagerConfig_DepsLocalGerritParent struct {
	DepsLocalGerritParent *DEPSLocalGerritParentConfig `protobuf:"bytes,3,opt,name=deps_local_gerrit_parent,json=depsLocalGerritParent,proto3,oneof"`
}

type ParentChildRepoManagerConfig_DepsLocalGithubParent

type ParentChildRepoManagerConfig_DepsLocalGithubParent struct {
	DepsLocalGithubParent *DEPSLocalGitHubParentConfig `protobuf:"bytes,2,opt,name=deps_local_github_parent,json=depsLocalGithubParent,proto3,oneof"`
}

type ParentChildRepoManagerConfig_DockerChild

type ParentChildRepoManagerConfig_DockerChild struct {
	DockerChild *DockerChildConfig `protobuf:"bytes,16,opt,name=docker_child,json=dockerChild,proto3,oneof"`
}

type ParentChildRepoManagerConfig_FuchsiaSdkChild

type ParentChildRepoManagerConfig_FuchsiaSdkChild struct {
	FuchsiaSdkChild *FuchsiaSDKChildConfig `protobuf:"bytes,7,opt,name=fuchsia_sdk_child,json=fuchsiaSdkChild,proto3,oneof"`
}

type ParentChildRepoManagerConfig_GitCheckoutChild

type ParentChildRepoManagerConfig_GitCheckoutChild struct {
	GitCheckoutChild *GitCheckoutChildConfig `protobuf:"bytes,8,opt,name=git_checkout_child,json=gitCheckoutChild,proto3,oneof"`
}

type ParentChildRepoManagerConfig_GitCheckoutGerritParent

type ParentChildRepoManagerConfig_GitCheckoutGerritParent struct {
	GitCheckoutGerritParent *GitCheckoutGerritParentConfig `protobuf:"bytes,17,opt,name=git_checkout_gerrit_parent,json=gitCheckoutGerritParent,proto3,oneof"`
}

type ParentChildRepoManagerConfig_GitCheckoutGithubChild

type ParentChildRepoManagerConfig_GitCheckoutGithubChild struct {
	GitCheckoutGithubChild *GitCheckoutGitHubChildConfig `protobuf:"bytes,9,opt,name=git_checkout_github_child,json=gitCheckoutGithubChild,proto3,oneof"`
}

type ParentChildRepoManagerConfig_GitCheckoutGithubFileParent

type ParentChildRepoManagerConfig_GitCheckoutGithubFileParent struct {
	GitCheckoutGithubFileParent *GitCheckoutGitHubFileParentConfig `protobuf:"bytes,4,opt,name=git_checkout_github_file_parent,json=gitCheckoutGithubFileParent,proto3,oneof"`
}

type ParentChildRepoManagerConfig_GitilesChild

type ParentChildRepoManagerConfig_GitilesChild struct {
	GitilesChild *GitilesChildConfig `protobuf:"bytes,10,opt,name=gitiles_child,json=gitilesChild,proto3,oneof"`
}

type ParentChildRepoManagerConfig_GitilesParent

type ParentChildRepoManagerConfig_GitilesParent struct {
	GitilesParent *GitilesParentConfig `protobuf:"bytes,5,opt,name=gitiles_parent,json=gitilesParent,proto3,oneof"`
}

type ParentChildRepoManagerConfig_GoModGerritParent

type ParentChildRepoManagerConfig_GoModGerritParent struct {
	GoModGerritParent *GoModGerritParentConfig `protobuf:"bytes,14,opt,name=go_mod_gerrit_parent,json=goModGerritParent,proto3,oneof"`
}

type ParentChildRepoManagerConfig_SemverGcsChild

type ParentChildRepoManagerConfig_SemverGcsChild struct {
	SemverGcsChild *SemVerGCSChildConfig `protobuf:"bytes,11,opt,name=semver_gcs_child,json=semverGcsChild,proto3,oneof"`
}

type PreUploadCIPDPackageConfig

type PreUploadCIPDPackageConfig struct {

	// Full CIPD package name.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Relative path within the root dir to install the package.
	Path string `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"`
	// Version of the package.
	Version string `protobuf:"bytes,3,opt,name=version,proto3" json:"version,omitempty"`
	// contains filtered or unexported fields
}

CIPDPackageConfig describes a CIPD package.

func (*PreUploadCIPDPackageConfig) Descriptor deprecated

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

Deprecated: Use PreUploadCIPDPackageConfig.ProtoReflect.Descriptor instead.

func (*PreUploadCIPDPackageConfig) GetName

func (x *PreUploadCIPDPackageConfig) GetName() string

func (*PreUploadCIPDPackageConfig) GetPath

func (x *PreUploadCIPDPackageConfig) GetPath() string

func (*PreUploadCIPDPackageConfig) GetVersion

func (x *PreUploadCIPDPackageConfig) GetVersion() string

func (*PreUploadCIPDPackageConfig) ProtoMessage

func (*PreUploadCIPDPackageConfig) ProtoMessage()

func (*PreUploadCIPDPackageConfig) ProtoReflect

func (*PreUploadCIPDPackageConfig) Reset

func (x *PreUploadCIPDPackageConfig) Reset()

func (*PreUploadCIPDPackageConfig) String

func (x *PreUploadCIPDPackageConfig) String() string

type PreUploadCommandConfig

type PreUploadCommandConfig struct {

	// Command to run.
	Command string `protobuf:"bytes,1,opt,name=command,proto3" json:"command,omitempty"`
	// Working directory in which to run the command.
	Cwd string `protobuf:"bytes,2,opt,name=cwd,proto3" json:"cwd,omitempty"`
	// Environment variables needed by the command, in "KEY=VALUE" format.
	Env []string `protobuf:"bytes,3,rep,name=env,proto3" json:"env,omitempty"`
	// If true, log the error returned by the command but don't error out.
	IgnoreFailure bool `protobuf:"varint,4,opt,name=ignore_failure,json=ignoreFailure,proto3" json:"ignore_failure,omitempty"`
	// contains filtered or unexported fields
}

PreUploadCommandConfig describes a command to run.

func (*PreUploadCommandConfig) Descriptor deprecated

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

Deprecated: Use PreUploadCommandConfig.ProtoReflect.Descriptor instead.

func (*PreUploadCommandConfig) GetCommand

func (x *PreUploadCommandConfig) GetCommand() string

func (*PreUploadCommandConfig) GetCwd

func (x *PreUploadCommandConfig) GetCwd() string

func (*PreUploadCommandConfig) GetEnv

func (x *PreUploadCommandConfig) GetEnv() []string

func (*PreUploadCommandConfig) GetIgnoreFailure

func (x *PreUploadCommandConfig) GetIgnoreFailure() bool

func (*PreUploadCommandConfig) ProtoMessage

func (*PreUploadCommandConfig) ProtoMessage()

func (*PreUploadCommandConfig) ProtoReflect

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

func (*PreUploadCommandConfig) Reset

func (x *PreUploadCommandConfig) Reset()

func (*PreUploadCommandConfig) String

func (x *PreUploadCommandConfig) String() string

type PreUploadConfig

type PreUploadConfig struct {

	// CIPD packages needed by the command(s).
	CipdPackage []*PreUploadCIPDPackageConfig `protobuf:"bytes,1,rep,name=cipd_package,json=cipdPackage,proto3" json:"cipd_package,omitempty"`
	// Command(s) to run.
	Command []*PreUploadCommandConfig `protobuf:"bytes,2,rep,name=command,proto3" json:"command,omitempty"`
	// contains filtered or unexported fields
}

PreUploadConfig describes additional steps to run after updating the dependency but before uploading the CL, on rollers which use a local checkout.

func (*PreUploadConfig) Descriptor deprecated

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

Deprecated: Use PreUploadConfig.ProtoReflect.Descriptor instead.

func (*PreUploadConfig) GetCipdPackage

func (x *PreUploadConfig) GetCipdPackage() []*PreUploadCIPDPackageConfig

func (*PreUploadConfig) GetCommand

func (x *PreUploadConfig) GetCommand() []*PreUploadCommandConfig

func (*PreUploadConfig) ProtoMessage

func (*PreUploadConfig) ProtoMessage()

func (*PreUploadConfig) ProtoReflect

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

func (*PreUploadConfig) Reset

func (x *PreUploadConfig) Reset()

func (*PreUploadConfig) String

func (x *PreUploadConfig) String() string

type PreUploadStep

type PreUploadStep int32

PreUploadStep lists the known pre-upload steps which may be run before roll CLs are uploaded. These must be kept in sync with go/repo_manager/parent/pre_upload_steps.go.

const (
	PreUploadStep_ANGLE_CODE_GENERATION               PreUploadStep = 0
	PreUploadStep_ANGLE_GN_TO_BP                      PreUploadStep = 1
	PreUploadStep_ANGLE_ROLL_CHROMIUM                 PreUploadStep = 2
	PreUploadStep_GO_GENERATE_CIPD                    PreUploadStep = 3
	PreUploadStep_FLUTTER_LICENSE_SCRIPTS             PreUploadStep = 4
	PreUploadStep_FLUTTER_LICENSE_SCRIPTS_FOR_DART    PreUploadStep = 5
	PreUploadStep_FLUTTER_LICENSE_SCRIPTS_FOR_FUCHSIA PreUploadStep = 6
	PreUploadStep_SKIA_GN_TO_BP                       PreUploadStep = 7
	PreUploadStep_TRAIN_INFRA                         PreUploadStep = 8
	PreUploadStep_UPDATE_FLUTTER_DEPS_FOR_DART        PreUploadStep = 9
	PreUploadStep_VULKAN_DEPS_UPDATE_COMMIT_MESSAGE   PreUploadStep = 10
	PreUploadStep_UPDATE_BORINGSSL                    PreUploadStep = 11
	PreUploadStep_CHROMIUM_ROLL_WEBGPU_CTS            PreUploadStep = 12
)

func (PreUploadStep) Descriptor

func (PreUploadStep) Enum

func (x PreUploadStep) Enum() *PreUploadStep

func (PreUploadStep) EnumDescriptor deprecated

func (PreUploadStep) EnumDescriptor() ([]byte, []int)

Deprecated: Use PreUploadStep.Descriptor instead.

func (PreUploadStep) Number

func (PreUploadStep) String

func (x PreUploadStep) String() string

func (PreUploadStep) Type

func (PreUploadStep) Validate

func (s PreUploadStep) Validate() error

Validate implements util.Validator.

type PubSubNotifierConfig

type PubSubNotifierConfig struct {

	// topic under which to publish PubSub messages.
	Topic string `protobuf:"bytes,1,opt,name=topic,proto3" json:"topic,omitempty"`
	// contains filtered or unexported fields
}

PubSubNotifierConfig provides configuration for PubSub notifications.

func (*PubSubNotifierConfig) Descriptor deprecated

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

Deprecated: Use PubSubNotifierConfig.ProtoReflect.Descriptor instead.

func (*PubSubNotifierConfig) GetTopic

func (x *PubSubNotifierConfig) GetTopic() string

func (*PubSubNotifierConfig) ProtoMessage

func (*PubSubNotifierConfig) ProtoMessage()

func (*PubSubNotifierConfig) ProtoReflect

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

func (*PubSubNotifierConfig) Reset

func (x *PubSubNotifierConfig) Reset()

func (*PubSubNotifierConfig) String

func (x *PubSubNotifierConfig) String() string

func (*PubSubNotifierConfig) Validate

func (c *PubSubNotifierConfig) Validate() error

Validate implements util.Validator.

type RepoManagerConfig

type RepoManagerConfig interface {
	util.Validator

	// Return the default NextRollStrategy name.
	DefaultStrategy() string

	// Return true if the RepoManager does not use a local checkout.
	NoCheckout() bool

	// Return the list of valid NextRollStrategy names for this RepoManager.
	ValidStrategies() []string
}

RepoManagerConfig provides configuration information for RepoManagers.

type SemVerGCSChildConfig

type SemVerGCSChildConfig struct {
	Gcs *GCSChildConfig `protobuf:"bytes,1,opt,name=gcs,proto3" json:"gcs,omitempty"`
	// short_rev_regex is a regular expression string which indicates what part
	// of the revision ID string should be used as the shortened ID for display.
	// If not specified, the full ID string is used.
	ShortRevRegex string `protobuf:"bytes,2,opt,name=short_rev_regex,json=shortRevRegex,proto3" json:"short_rev_regex,omitempty"`
	// version_regex is a regular expression string containing one or more
	// integer capture groups. The integers matched by the capture groups are
	// compared, in order, when comparing two revisions.
	VersionRegex string `protobuf:"bytes,3,opt,name=version_regex,json=versionRegex,proto3" json:"version_regex,omitempty"`
	// contains filtered or unexported fields
}

SemVerGCSChildConfig provides configuration for a Child in GCS which uses semantic versioning.

func (*SemVerGCSChildConfig) Descriptor deprecated

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

Deprecated: Use SemVerGCSChildConfig.ProtoReflect.Descriptor instead.

func (*SemVerGCSChildConfig) GetGcs

func (x *SemVerGCSChildConfig) GetGcs() *GCSChildConfig

func (*SemVerGCSChildConfig) GetShortRevRegex

func (x *SemVerGCSChildConfig) GetShortRevRegex() string

func (*SemVerGCSChildConfig) GetVersionRegex

func (x *SemVerGCSChildConfig) GetVersionRegex() string

func (*SemVerGCSChildConfig) ProtoMessage

func (*SemVerGCSChildConfig) ProtoMessage()

func (*SemVerGCSChildConfig) ProtoReflect

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

func (*SemVerGCSChildConfig) Reset

func (x *SemVerGCSChildConfig) Reset()

func (*SemVerGCSChildConfig) String

func (x *SemVerGCSChildConfig) String() string

func (*SemVerGCSChildConfig) Validate

func (c *SemVerGCSChildConfig) Validate() error

Validate implements util.Validator.

type ThrottleConfig

type ThrottleConfig struct {

	// attempt_count indicates the number of failed attempts after which to
	// begin throttling.
	AttemptCount int32 `protobuf:"varint,1,opt,name=attempt_count,json=attemptCount,proto3" json:"attempt_count,omitempty"`
	// time_window during which, if the number of failed attempts exceeds the
	// specified attempt_count, throttling is enabled.
	TimeWindow string `protobuf:"bytes,2,opt,name=time_window,json=timeWindow,proto3" json:"time_window,omitempty"`
	// contains filtered or unexported fields
}

ThrottleConfig provides configuration for throttling.

func (*ThrottleConfig) Descriptor deprecated

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

Deprecated: Use ThrottleConfig.ProtoReflect.Descriptor instead.

func (*ThrottleConfig) GetAttemptCount

func (x *ThrottleConfig) GetAttemptCount() int32

func (*ThrottleConfig) GetTimeWindow

func (x *ThrottleConfig) GetTimeWindow() string

func (*ThrottleConfig) ProtoMessage

func (*ThrottleConfig) ProtoMessage()

func (*ThrottleConfig) ProtoReflect

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

func (*ThrottleConfig) Reset

func (x *ThrottleConfig) Reset()

func (*ThrottleConfig) String

func (x *ThrottleConfig) String() string

func (*ThrottleConfig) Validate

func (c *ThrottleConfig) Validate() error

Validate implements util.Validator.

type TransitiveDepConfig

type TransitiveDepConfig struct {

	// child dependency information.
	Child *VersionFileConfig `protobuf:"bytes,1,opt,name=child,proto3" json:"child,omitempty"`
	// parent dependency information.
	Parent *VersionFileConfig `protobuf:"bytes,2,opt,name=parent,proto3" json:"parent,omitempty"`
	// log_url_tmpl is a template for constructing a URL which displays the log
	// between two revisions.
	LogUrlTmpl string `protobuf:"bytes,3,opt,name=log_url_tmpl,json=logUrlTmpl,proto3" json:"log_url_tmpl,omitempty"`
	// contains filtered or unexported fields
}

TransitiveDepConfig provides configuration for a dependency referenced by both the parent and child, to be updated in the parent to match the revision depended on by the child at the revision being rolled.

func (*TransitiveDepConfig) Copy

Copy returns a deep copy.

func (*TransitiveDepConfig) Descriptor deprecated

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

Deprecated: Use TransitiveDepConfig.ProtoReflect.Descriptor instead.

func (*TransitiveDepConfig) GetChild

func (x *TransitiveDepConfig) GetChild() *VersionFileConfig

func (*TransitiveDepConfig) GetLogUrlTmpl

func (x *TransitiveDepConfig) GetLogUrlTmpl() string

func (*TransitiveDepConfig) GetParent

func (x *TransitiveDepConfig) GetParent() *VersionFileConfig

func (*TransitiveDepConfig) ProtoMessage

func (*TransitiveDepConfig) ProtoMessage()

func (*TransitiveDepConfig) ProtoReflect

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

func (*TransitiveDepConfig) Reset

func (x *TransitiveDepConfig) Reset()

func (*TransitiveDepConfig) String

func (x *TransitiveDepConfig) String() string

func (*TransitiveDepConfig) Validate

func (c *TransitiveDepConfig) Validate() error

Validate implements util.Validator.

type ValidHttpRevisionFilterConfig

type ValidHttpRevisionFilterConfig struct {

	// URL of the file containing the valid revision.
	FileUrl string `protobuf:"bytes,1,opt,name=file_url,json=fileUrl,proto3" json:"file_url,omitempty"`
	// Optional regular expression used to extract the valid revision from the
	// file after retrieval. If not provided, we assume that the entire contents
	// of the file comprise the revision ID.
	Regex string `protobuf:"bytes,2,opt,name=regex,proto3" json:"regex,omitempty"`
	// contains filtered or unexported fields
}

ValidHttpRevisionFilterConfig provides configuration for a revision filter which obtains a single valid revision from a file which is retrieved via HTTP.

func (*ValidHttpRevisionFilterConfig) Descriptor deprecated

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

Deprecated: Use ValidHttpRevisionFilterConfig.ProtoReflect.Descriptor instead.

func (*ValidHttpRevisionFilterConfig) GetFileUrl

func (x *ValidHttpRevisionFilterConfig) GetFileUrl() string

func (*ValidHttpRevisionFilterConfig) GetRegex

func (x *ValidHttpRevisionFilterConfig) GetRegex() string

func (*ValidHttpRevisionFilterConfig) ProtoMessage

func (*ValidHttpRevisionFilterConfig) ProtoMessage()

func (*ValidHttpRevisionFilterConfig) ProtoReflect

func (*ValidHttpRevisionFilterConfig) Reset

func (x *ValidHttpRevisionFilterConfig) Reset()

func (*ValidHttpRevisionFilterConfig) String

type VersionFileConfig

type VersionFileConfig struct {

	// id of the dependency to be rolled, eg. a repo URL.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// file in which the dependency is pinned. May be specified more than once,
	// in which case the first file is considered to be the source of truth,
	// but the others are updated when a roll is created.
	File []*VersionFileConfig_File `protobuf:"bytes,2,rep,name=file,proto3" json:"file,omitempty"`
	// contains filtered or unexported fields
}

VersionFileConfig provides configuration for a dependency whose version is pinned within a particular file or files.

func (*VersionFileConfig) Copy

Copy returns a deep copy.

func (*VersionFileConfig) Descriptor deprecated

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

Deprecated: Use VersionFileConfig.ProtoReflect.Descriptor instead.

func (*VersionFileConfig) GetFile

func (x *VersionFileConfig) GetFile() []*VersionFileConfig_File

func (*VersionFileConfig) GetId

func (x *VersionFileConfig) GetId() string

func (*VersionFileConfig) ProtoMessage

func (*VersionFileConfig) ProtoMessage()

func (*VersionFileConfig) ProtoReflect

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

func (*VersionFileConfig) Reset

func (x *VersionFileConfig) Reset()

func (*VersionFileConfig) String

func (x *VersionFileConfig) String() string

func (*VersionFileConfig) Validate

func (c *VersionFileConfig) Validate() error

Validate implements util.Validator.

type VersionFileConfig_File

type VersionFileConfig_File struct {

	// path within the repo of the file which pins the dependency. The name of
	// the file dictates how we read and write the revision pin:
	//
	//   - If `regex` is set, the name of this file is ignored.
	//
	//   - `DEPS`: we parse the file as a DEPS file using a Python parser.
	//
	//   - `*.pyl`: we assume the file contains a Python literal composed of
	//     dictionaries and lists. In this case, the `id` field must be a dot-
	//     separated path from the root of the object to the field which
	//     specifies the revision, where each element is either a dictionary key
	//     or a selector which matches a key+value of a given list element. For
	//     example, the id `key1.key2.id=my-dependency-id.revision` would
	//     traverse the following literal to find the revision ID:
	//
	//     {
	//     "key1": {
	//     "key2": [
	//     {
	//     "id": "my-dependency-id",
	//     "revision": "12345",
	//     },
	//     ],
	//     },
	//     }
	//
	//   - Otherwise, we assume that the file's sole contents are the revision
	//     ID and we read or write the entirety of the file.
	Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"`
	// regex which is used to extract the existing revision of the dependency
	// and to update the pin to the new revision. Optional.
	Regex string `protobuf:"bytes,2,opt,name=regex,proto3" json:"regex,omitempty"`
	// contains filtered or unexported fields
}

VersionFileConfig_File specifies details about the file which pins a dependency.

func (*VersionFileConfig_File) Descriptor deprecated

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

Deprecated: Use VersionFileConfig_File.ProtoReflect.Descriptor instead.

func (*VersionFileConfig_File) GetPath

func (x *VersionFileConfig_File) GetPath() string

func (*VersionFileConfig_File) GetRegex

func (x *VersionFileConfig_File) GetRegex() string

func (*VersionFileConfig_File) ProtoMessage

func (*VersionFileConfig_File) ProtoMessage()

func (*VersionFileConfig_File) ProtoReflect

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

func (*VersionFileConfig_File) Reset

func (x *VersionFileConfig_File) Reset()

func (*VersionFileConfig_File) String

func (x *VersionFileConfig_File) String() string

Directories

Path Synopsis
db

Jump to

Keyboard shortcuts

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