Documentation ¶
Index ¶
- Variables
- func PipelineRunAbort(Namespace string, runID *api.CustomJSON) f.PipelineRunTest
- func PipelineRunFail(Namespace string, runID *api.CustomJSON) f.PipelineRunTest
- func PipelineRunK8SPlugin(Namespace string, runID *api.CustomJSON) f.PipelineRunTest
- func PipelineRunMissingSecret(Namespace string, runID *api.CustomJSON) f.PipelineRunTest
- func PipelineRunOK(Namespace string, runID *api.CustomJSON) f.PipelineRunTest
- func PipelineRunSleep(Namespace string, runID *api.CustomJSON) f.PipelineRunTest
- func PipelineRunWithSecret(Namespace string, runID *api.CustomJSON) f.PipelineRunTest
- func PipelineRunWrongJenkinsfilePath(Namespace string, runID *api.CustomJSON) f.PipelineRunTest
- func PipelineRunWrongJenkinsfileRepo(Namespace string, runID *api.CustomJSON) f.PipelineRunTest
- func PipelineRunWrongJenkinsfileRepoWithUser(Namespace string, runID *api.CustomJSON) f.PipelineRunTest
Constants ¶
This section is empty.
Variables ¶
var AllTestBuilders = []f.PipelineRunTestBuilder{ PipelineRunAbort, PipelineRunSleep, PipelineRunFail, PipelineRunOK, PipelineRunK8SPlugin, PipelineRunWithSecret, PipelineRunWrongJenkinsfileRepo, PipelineRunWrongJenkinsfilePath, PipelineRunWrongJenkinsfileRepoWithUser, }
AllTestBuilders is a list of all test builders
Functions ¶
func PipelineRunAbort ¶
func PipelineRunAbort(Namespace string, runID *api.CustomJSON) f.PipelineRunTest
PipelineRunAbort is a PipelineRunTestBuilder to build a PipelineRunTest with aborted pipeline
func PipelineRunFail ¶
func PipelineRunFail(Namespace string, runID *api.CustomJSON) f.PipelineRunTest
PipelineRunFail is a PipelineRunTestBuilder to build PipelineRunTest which fails
func PipelineRunK8SPlugin ¶ added in v0.4.8
func PipelineRunK8SPlugin(Namespace string, runID *api.CustomJSON) f.PipelineRunTest
PipelineRunK8SPlugin is a PipelineRunTestBuilder to build PipelineRunTest which uses k8s plugin
func PipelineRunMissingSecret ¶
func PipelineRunMissingSecret(Namespace string, runID *api.CustomJSON) f.PipelineRunTest
PipelineRunMissingSecret is a PipelineRunTestBuilder to build PipelineRunTest which uses Secrets
func PipelineRunOK ¶
func PipelineRunOK(Namespace string, runID *api.CustomJSON) f.PipelineRunTest
PipelineRunOK is a PipelineRunTestBuilder to build PipelineRunTest which succeeds
func PipelineRunSleep ¶
func PipelineRunSleep(Namespace string, runID *api.CustomJSON) f.PipelineRunTest
PipelineRunSleep is a PipelineRunTestBuilder to build PipelineRunTest which sleeps for one second
func PipelineRunWithSecret ¶
func PipelineRunWithSecret(Namespace string, runID *api.CustomJSON) f.PipelineRunTest
PipelineRunWithSecret is a PipelineRunTestBuilder to build PipelineRunTest which uses Secrets
func PipelineRunWrongJenkinsfilePath ¶
func PipelineRunWrongJenkinsfilePath(Namespace string, runID *api.CustomJSON) f.PipelineRunTest
PipelineRunWrongJenkinsfilePath is a PipelineRunTestBuilder to build PipelineRunTest with wrong jenkinsfile path
func PipelineRunWrongJenkinsfileRepo ¶
func PipelineRunWrongJenkinsfileRepo(Namespace string, runID *api.CustomJSON) f.PipelineRunTest
PipelineRunWrongJenkinsfileRepo is a PipelineRunTestBuilder to build PipelineRunTest with wrong jenkinsfile repo url
func PipelineRunWrongJenkinsfileRepoWithUser ¶
func PipelineRunWrongJenkinsfileRepoWithUser(Namespace string, runID *api.CustomJSON) f.PipelineRunTest
PipelineRunWrongJenkinsfileRepoWithUser is a PipelineRunTestBuilder to build PipelineRunTest with wrong jenkinsfile repo url
Types ¶
This section is empty.