admission

package
v1.1.4-jenkins-build-c... Latest Latest
Warning

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

Go to latest
Published: Mar 29, 2016 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Overview

Package admission contains admission control plugins that work with builds or pods that are running builds.

Each admission control plugin has its own sub package. Common utilities live directly in this package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetBuild added in v1.1.2

GetBuild returns a build object encoded in a pod's BUILD environment variable along with its encoding version

func GetPod added in v1.1.2

func GetPod(a admission.Attributes) (*kapi.Pod, error)

GetPod returns a pod from an admission attributes object

func IsBuildPod added in v1.1.2

func IsBuildPod(a admission.Attributes) bool

IsBuildPod returns true if a pod is a pod generated for a Build

func ReadPluginConfig added in v1.1.2

func ReadPluginConfig(reader io.Reader, config runtime.Object) error

ReadPluginConfig will read a plugin configuration object from a reader stream

func SetBuild added in v1.1.2

func SetBuild(a admission.Attributes, build *buildapi.Build, groupVersion unversioned.GroupVersion) error

SetBuild encodes a build object and sets it in a pod's BUILD environment variable

Types

This section is empty.

Directories

Path Synopsis
Package defaults contains the BuildDefaults admission control plugin.
Package defaults contains the BuildDefaults admission control plugin.
api
Package overrides contains the BuildOverrides admission control plugin.
Package overrides contains the BuildOverrides admission control plugin.
api

Jump to

Keyboard shortcuts

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