overrides

package
v3.10.16-1+incompatible Latest Latest
Warning

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

Go to latest
Published: Jul 10, 2018 License: Apache-2.0 Imports: 11 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

This section is empty.

Functions

This section is empty.

Types

type BuildOverrides

type BuildOverrides struct {
	// contains filtered or unexported fields
}

func NewBuildOverrides

func NewBuildOverrides(pluginConfig map[string]*configapi.AdmissionPluginConfig) (BuildOverrides, error)

NewBuildOverrides creates a new BuildOverrides that will apply the overrides specified in the plugin config

func (BuildOverrides) ApplyOverrides

func (b BuildOverrides) ApplyOverrides(pod *v1.Pod) error

ApplyOverrides applies configured overrides to a build in a build pod

Jump to

Keyboard shortcuts

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