constants

package
v1.13.1 Latest Latest
Warning

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

Go to latest
Published: Aug 4, 2020 License: Apache-2.0 Imports: 0 Imported by: 5

Documentation

Index

Constants

View Source
const (
	// GithubAccessToken is the env variable auth for container-tools-bot is stored in
	GithubAccessToken = "GITHUB_ACCESS_TOKEN"
	// GithubOwner is the owner of the repository
	GithubOwner = "GoogleContainerTools"
	// GithubRepo is the name of the repo
	GithubRepo = "skaffold"
	// GithubEventHeader is the header key used to describe a github event
	GithubEventHeader = "X-GitHub-Event"
	// PullRequestEvent is the Github header value for pull requests
	PullRequestEvent = "pull_request"
	// OpenState is the state of an open PR
	OpenState = "open"

	// when a PR is closed
	ClosedAction = "closed"
	// when a PR is labeled
	LabeledAction = "labeled"

	// DocsLabel kicks off the controller when added to a PR
	DocsLabel = "docs-modifications"

	// Namespace is the namespace deployments and services will be created in
	Namespace = "default"

	// HugoPort is the port that hugo defaults to
	HugoPort = 1313

	// DeploymentImage is the image the controller deploys, must contain hugo and git
	DeploymentImage = "gcr.io/k8s-skaffold/docs-controller:latest"

	// LogsGCSBucket is the GCS bucket logs are uploaded to
	LogsGCSBucket = "webhook-logs"
)

Variables

This section is empty.

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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