constants

package
v2.12.0 Latest Latest
Warning

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

Go to latest
Published: May 14, 2024 License: Apache-2.0 Imports: 1 Imported by: 0

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"

	// 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

View Source
var DocsLabel = fmt.Sprintf("docs-modifications%s", DocsVersion)

DocsLabel kicks off the controller when added to a PR

View Source
var DocsVersion string

DocsVersion defines the version of the docs currently ""(for v1) and "-v2"(for v2) This variable is injected at build time based on what version of the controller is being built

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