test

package
v1.4.0-alpha.1 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TestBuild

type TestBuild buildapi.Build

func Build

func Build() *TestBuild

func (*TestBuild) AsBuild

func (b *TestBuild) AsBuild() *buildapi.Build

func (*TestBuild) WithCustomStrategy

func (b *TestBuild) WithCustomStrategy() *TestBuild

func (*TestBuild) WithDockerStrategy

func (b *TestBuild) WithDockerStrategy() *TestBuild

func (*TestBuild) WithImageLabels added in v1.4.0

func (b *TestBuild) WithImageLabels(labels []buildapi.ImageLabel) *TestBuild

func (*TestBuild) WithNodeSelector added in v1.4.0

func (b *TestBuild) WithNodeSelector(ns map[string]string) *TestBuild

func (*TestBuild) WithSourceStrategy

func (b *TestBuild) WithSourceStrategy() *TestBuild

type TestPod

type TestPod kapi.Pod

func Pod

func Pod() *TestPod

func (*TestPod) AsPod

func (p *TestPod) AsPod() *kapi.Pod

func (*TestPod) EnvValue

func (p *TestPod) EnvValue(name string) string

func (*TestPod) GetBuild

func (p *TestPod) GetBuild(t *testing.T) *buildapi.Build

func (*TestPod) InitEnvValue added in v1.3.0

func (p *TestPod) InitEnvValue(name string) string

func (*TestPod) ToAttributes

func (p *TestPod) ToAttributes() admission.Attributes

func (*TestPod) WithAnnotation

func (p *TestPod) WithAnnotation(name, value string) *TestPod

func (*TestPod) WithBuild

func (p *TestPod) WithBuild(t *testing.T, build *buildapi.Build, version string) *TestPod

func (*TestPod) WithEnvVar

func (p *TestPod) WithEnvVar(name, value string) *TestPod

Jump to

Keyboard shortcuts

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