testimports

package
v0.0.171 Latest Latest
Warning

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

Go to latest
Published: Jan 10, 2021 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// PipelineUsername the pipeline bot user name used in tests
	PipelineUsername = "my-pipeline-bot-user"
)

Variables

This section is empty.

Functions

func NewFakeRunnerWithoutGitPush

func NewFakeRunnerWithoutGitPush(t *testing.T) *fakerunner.FakeRunner

NewFakeRunnerWithoutGitPush create a fake command runner that fakes out git push

func SetFakeClients

func SetFakeClients(t *testing.T, o *importcmd.ImportOptions) (*fakescm.Data, *v1.Environment)

SetFakeClients sets the fake clients on the options

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL