Documentation ¶
Index ¶
- type TestBuild
- func (b *TestBuild) AsBuild() *buildv1.Build
- func (b *TestBuild) WithCustomStrategy() *TestBuild
- func (b *TestBuild) WithDockerStrategy() *TestBuild
- func (b *TestBuild) WithImageLabels(labels []buildv1.ImageLabel) *TestBuild
- func (b *TestBuild) WithNodeSelector(ns map[string]string) *TestBuild
- func (b *TestBuild) WithSourceStrategy() *TestBuild
- type TestPod
- func (p *TestPod) AsPod() *corev1.Pod
- func (p *TestPod) EnvValue(name string) string
- func (p *TestPod) GetBuild(t *testing.T) *buildv1.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 *buildv1.Build) *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 ¶
func (b *TestBuild) WithImageLabels(labels []buildv1.ImageLabel) *TestBuild
func (*TestBuild) WithNodeSelector ¶
func (*TestBuild) WithSourceStrategy ¶
type TestPod ¶
func (*TestPod) InitEnvValue ¶
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.