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 PipelineRunWithSecretInvalidRename(Namespace string, runID *api.CustomJSON) f.PipelineRunTest
- func PipelineRunWithSecretRename(Namespace string, runID *api.CustomJSON) f.PipelineRunTest
- func PipelineRunWithSecretRenameDuplicate(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, PipelineRunWithSecretRename, PipelineRunWithSecretInvalidRename, PipelineRunWithSecretRenameDuplicate, 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 PipelineRunWithSecretInvalidRename ¶ added in v0.6.3
func PipelineRunWithSecretInvalidRename(Namespace string, runID *api.CustomJSON) f.PipelineRunTest
PipelineRunWithSecretInvalidRename is a PipelineRunTestBuilder to build PipelineRunTest which uses Secrets with an invalid rename annotation
func PipelineRunWithSecretRename ¶ added in v0.6.3
func PipelineRunWithSecretRename(Namespace string, runID *api.CustomJSON) f.PipelineRunTest
PipelineRunWithSecretRename is a PipelineRunTestBuilder to build PipelineRunTest which uses Secrets with rename annotation
func PipelineRunWithSecretRenameDuplicate ¶ added in v0.6.3
func PipelineRunWithSecretRenameDuplicate(Namespace string, runID *api.CustomJSON) f.PipelineRunTest
PipelineRunWithSecretRenameDuplicate is a PipelineRunTestBuilder to build PipelineRunTest which uses Secrets with an invalid rename annotation
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.