test

package
v3.8.0 Latest Latest
Warning

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

Go to latest
Published: Feb 26, 2018 License: Apache-2.0 Imports: 7 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

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

func (*TestBuild) WithNodeSelector

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

func (*TestBuild) WithSourceStrategy

func (b *TestBuild) WithSourceStrategy() *TestBuild

type TestPod

type TestPod v1.Pod

func Pod

func Pod() *TestPod

func (*TestPod) AsPod

func (p *TestPod) AsPod() *v1.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

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