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: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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