overrides

package
v1.1.2 Latest Latest
Warning

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

Go to latest
Published: Feb 6, 2016 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

Package overrides contains the BuildOverrides admission control plugin.

The plugin allows overriding settings on builds via the build pod.

Configuration

Configuration is done via a BuildOverridesConfig object:

apiVersion: v1
kind: BuildOverridesConfig
forcePull: true

Index

Constants

This section is empty.

Variables

View Source
var SchemeGroupVersion = unversioned.GroupVersion{Group: "", Version: ""}

SchemeGroupVersion is group version used to register these objects

Functions

func Kind

func Kind(kind string) unversioned.GroupKind

Kind takes an unqualified kind and returns back a Group qualified GroupKind

func NewBuildOverrides

func NewBuildOverrides(overridesConfig *BuildOverridesConfig) admission.Interface

NewBuildOverrides returns an admission control for builds that overrides settings on builds

func Resource

func Resource(resource string) unversioned.GroupResource

Resource takes an unqualified resource and returns back a Group qualified GroupResource

Types

type BuildOverridesConfig

type BuildOverridesConfig struct {
	unversioned.TypeMeta

	// ForcePull indicates whether the build strategy should always be set to ForcePull=true
	ForcePull bool
}

BuildOverridesConfig controls override settings for builds

func (*BuildOverridesConfig) IsAnAPIObject

func (*BuildOverridesConfig) IsAnAPIObject()

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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