test

package
v3.11.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Oct 9, 2018 License: Apache-2.0 Imports: 8 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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