mungeopts

package
v0.0.5 Latest Latest
Warning

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

Go to latest
Published: Sep 7, 2018 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// GCS holds the values of GCS options.
	GCS struct {
		BucketName string
		LogDir     string

		// PullLogDir is the directory of the pr builder jenkins
		PullLogDir string

		// PullKey is a string to look for in a job name to figure out if it's
		// a pull (presubmit) job.
		PullKey string
	}

	// RequiredContexts holds options that specify which status contexts are required for various
	// actions.
	RequiredContexts struct {
		Merge  []string
		Retest []string
	}

	// Maximum time to wait for tests in a PR to start or finish.
	// This should be >2x as long as it normally takes for a PR
	// to complete, to avoid congestion collapse in the queue.
	PRMaxWaitTime time.Duration

	// App is the mungegithub app (like 'submit-queue', 'cherrypick', or 'misc-mungers')
	App string
)

Functions

func RegisterOptions

func RegisterOptions(opts *options.Options) sets.String

RegisterOptions registers options that may be used by any munger, feature, or report. It returns any options that require a restart when changed.

Types

This section is empty.

Jump to

Keyboard shortcuts

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