Documentation ¶
Index ¶
- type TestBuild
- func (b *TestBuild) AsBuild() *buildapi.Build
- func (b *TestBuild) WithCustomStrategy() *TestBuild
- func (b *TestBuild) WithDockerStrategy() *TestBuild
- func (b *TestBuild) WithImageLabels(labels []buildapi.ImageLabel) *TestBuild
- func (b *TestBuild) WithNodeSelector(ns map[string]string) *TestBuild
- func (b *TestBuild) WithSourceStrategy() *TestBuild
- type TestPod
- func (p *TestPod) AsPod() *kapi.Pod
- func (p *TestPod) EnvValue(name string) string
- func (p *TestPod) GetBuild(t *testing.T) *buildapi.Build
- func (p *TestPod) InitEnvValue(name string) string
- func (p *TestPod) ToAttributes() admission.Attributes
- func (p *TestPod) WithAnnotation(name, value string) *TestPod
- func (p *TestPod) WithBuild(t *testing.T, build *buildapi.Build, version string) *TestPod
- func (p *TestPod) WithEnvVar(name, value string) *TestPod
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TestBuild ¶
func (*TestBuild) WithCustomStrategy ¶
func (*TestBuild) WithDockerStrategy ¶
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 (*TestBuild) WithSourceStrategy ¶
type TestPod ¶
func (*TestPod) InitEnvValue ¶ added in v1.3.0
func (*TestPod) ToAttributes ¶
func (p *TestPod) ToAttributes() admission.Attributes
func (*TestPod) WithAnnotation ¶
func (*TestPod) WithEnvVar ¶
Click to show internal directories.
Click to hide internal directories.