test

package
v3.11.4-1+incompatible Latest Latest
Warning

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

Go to latest
Published: Sep 13, 2018 License: Apache-2.0 Imports: 8 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 buildv1.Build

func Build

func Build() *TestBuild

func (*TestBuild) AsBuild

func (b *TestBuild) AsBuild() *buildv1.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 []buildv1.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 corev1.Pod

func Pod

func Pod() *TestPod

func (*TestPod) AsPod

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

func (*TestPod) EnvValue

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

func (*TestPod) GetBuild

func (p *TestPod) GetBuild(t *testing.T) *buildv1.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 *buildv1.Build) *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