Documentation ¶
Index ¶
- func ComputeTestsReasons(s sdk.JUnitTestsSuites) []string
- func GetArtifactFromIntegrationPlugin(ctx context.Context, wk workerruntime.Runtime, res sdk.Result, pattern string, ...) (sdk.Result, error)
- func ParseTestsuiteAlone(data []byte) (sdk.JUnitTestSuite, bool)
- func PushBuildInfo(ctx context.Context, wk workerruntime.Runtime, _ sdk.Action, _ []sdk.Variable) (sdk.Result, error)
- func RunArtifactDownload(ctx context.Context, wk workerruntime.Runtime, a sdk.Action, _ []sdk.Variable) (sdk.Result, error)
- func RunArtifactUpload(ctx context.Context, wk workerruntime.Runtime, a sdk.Action, _ []sdk.Variable) (sdk.Result, error)
- func RunCheckoutApplication(ctx context.Context, wk workerruntime.Runtime, a sdk.Action, ...) (sdk.Result, error)
- func RunDeployApplication(ctx context.Context, wk workerruntime.Runtime, _ sdk.Action, _ []sdk.Variable) (sdk.Result, error)
- func RunGitClone(ctx context.Context, wk workerruntime.Runtime, a sdk.Action, ...) (sdk.Result, error)
- func RunGitTag(ctx context.Context, wk workerruntime.Runtime, a sdk.Action, ...) (sdk.Result, error)
- func RunInstallKey(ctx context.Context, wk workerruntime.Runtime, a sdk.Action, ...) (sdk.Result, error)
- func RunParseCoverageResultAction(ctx context.Context, wk workerruntime.Runtime, a sdk.Action, _ []sdk.Variable) (sdk.Result, error)
- func RunParseJunitTestResultAction(ctx context.Context, wk workerruntime.Runtime, a sdk.Action, ...) (sdk.Result, error)
- func RunPromote(ctx context.Context, wk workerruntime.Runtime, a sdk.Action, _ []sdk.Variable) (sdk.Result, error)
- func RunRelease(ctx context.Context, wk workerruntime.Runtime, a sdk.Action, _ []sdk.Variable) (sdk.Result, error)
- func RunReleaseActionPrepare(ctx context.Context, wk workerruntime.Runtime, a sdk.Action) ([]string, error)
- func RunReleaseVCS(ctx context.Context, wk workerruntime.Runtime, a sdk.Action, ...) (sdk.Result, error)
- func RunScriptAction(ctx context.Context, wk workerruntime.Runtime, a sdk.Action, ...) (sdk.Result, error)
- type TestWorker
- func (w *TestWorker) AddStepOutput(ctx context.Context, outputName string, outputValue string)
- func (wk TestWorker) BaseDir() afero.Fs
- func (w *TestWorker) Blur(i interface{}) error
- func (w *TestWorker) CDNHttpURL() string
- func (w *TestWorker) Client() cdsclient.WorkerInterface
- func (w *TestWorker) ClientV2() cdsclient.V2WorkerInterface
- func (_ *TestWorker) Environ() []string
- func (w *TestWorker) FeatureEnabled(featureName sdk.FeatureName) bool
- func (w *TestWorker) GetActionPlugin(t string) *sdk.GRPCPlugin
- func (w *TestWorker) GetIntegrationPlugin(t string) *sdk.GRPCPlugin
- func (w *TestWorker) GetJobIdentifiers() (int64, int64, int64)
- func (_ *TestWorker) HTTPPort() int32
- func (w *TestWorker) InstallKey(key sdk.Variable) (*workerruntime.KeyResponse, error)
- func (w *TestWorker) InstallKeyTo(key sdk.Variable, destinationPath string) (*workerruntime.KeyResponse, error)
- func (w *TestWorker) KeyDirectory() *afero.BasePathFile
- func (_ *TestWorker) Name() string
- func (w *TestWorker) Parameters() []sdk.Parameter
- func (w *TestWorker) PluginGet(pluginName string) (*sdk.GRPCPlugin, error)
- func (w *TestWorker) PluginGetBinary(name, os, arch string, wr io.Writer) error
- func (_ *TestWorker) ProcessJob(job sdk.WorkflowNodeJobRunData) sdk.Result
- func (_ *TestWorker) Register(ctx context.Context) error
- func (w *TestWorker) RunResultSignature(artifactName string, perm uint32, t sdk.WorkflowRunResultType) (string, error)
- func (w *TestWorker) SendLog(ctx context.Context, level workerruntime.Level, format string)
- func (w *TestWorker) SetActionPlugin(p *sdk.GRPCPlugin)
- func (_ *TestWorker) Take(ctx context.Context, job sdk.WorkflowNodeJobRun) error
- func (_ *TestWorker) Unregister(ctx context.Context) error
- func (w *TestWorker) V2AddRunResult(ctx context.Context, req workerruntime.V2RunResultRequest) (*workerruntime.V2AddResultResponse, error)
- func (*TestWorker) V2GetIntegrationByName(ctx context.Context, name string) (*sdk.ProjectIntegration, error)
- func (*TestWorker) V2GetJobContext(ctx context.Context) *sdk.WorkflowRunJobsContext
- func (*TestWorker) V2GetJobRun(ctx context.Context) *sdk.V2WorkflowRunJob
- func (*TestWorker) V2GetRunResult(ctx context.Context, filter workerruntime.V2FilterRunResult) (*workerruntime.V2GetResultResponse, error)
- func (w *TestWorker) V2UpdateRunResult(ctx context.Context, req workerruntime.V2RunResultRequest) (*workerruntime.V2UpdateResultResponse, error)
- func (w *TestWorker) WorkerCacheSignature(tag string) (string, error)
- func (w *TestWorker) WorkingDirectory() *afero.BasePathFile
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ComputeTestsReasons ¶ added in v0.52.0
func ComputeTestsReasons(s sdk.JUnitTestsSuites) []string
func ParseTestsuiteAlone ¶
func ParseTestsuiteAlone(data []byte) (sdk.JUnitTestSuite, bool)
func PushBuildInfo ¶
func RunArtifactDownload ¶
func RunArtifactUpload ¶
func RunCheckoutApplication ¶
func RunDeployApplication ¶
func RunGitClone ¶
func RunInstallKey ¶
func RunPromote ¶
func RunRelease ¶
func RunReleaseActionPrepare ¶ added in v0.52.0
func RunReleaseVCS ¶
Types ¶
type TestWorker ¶
func (*TestWorker) AddStepOutput ¶ added in v0.53.1
func (w *TestWorker) AddStepOutput(ctx context.Context, outputName string, outputValue string)
func (TestWorker) BaseDir ¶
func (wk TestWorker) BaseDir() afero.Fs
func (*TestWorker) Blur ¶
func (w *TestWorker) Blur(i interface{}) error
func (*TestWorker) CDNHttpURL ¶
func (w *TestWorker) CDNHttpURL() string
func (*TestWorker) Client ¶
func (w *TestWorker) Client() cdsclient.WorkerInterface
func (*TestWorker) ClientV2 ¶ added in v0.53.0
func (w *TestWorker) ClientV2() cdsclient.V2WorkerInterface
func (*TestWorker) Environ ¶
func (_ *TestWorker) Environ() []string
func (*TestWorker) FeatureEnabled ¶
func (w *TestWorker) FeatureEnabled(featureName sdk.FeatureName) bool
func (*TestWorker) GetActionPlugin ¶ added in v0.53.0
func (w *TestWorker) GetActionPlugin(t string) *sdk.GRPCPlugin
func (*TestWorker) GetIntegrationPlugin ¶ added in v0.53.0
func (w *TestWorker) GetIntegrationPlugin(t string) *sdk.GRPCPlugin
func (*TestWorker) GetJobIdentifiers ¶
func (w *TestWorker) GetJobIdentifiers() (int64, int64, int64)
func (*TestWorker) HTTPPort ¶
func (_ *TestWorker) HTTPPort() int32
func (*TestWorker) InstallKey ¶
func (w *TestWorker) InstallKey(key sdk.Variable) (*workerruntime.KeyResponse, error)
func (*TestWorker) InstallKeyTo ¶
func (w *TestWorker) InstallKeyTo(key sdk.Variable, destinationPath string) (*workerruntime.KeyResponse, error)
func (*TestWorker) KeyDirectory ¶
func (w *TestWorker) KeyDirectory() *afero.BasePathFile
func (*TestWorker) Name ¶
func (_ *TestWorker) Name() string
func (*TestWorker) Parameters ¶
func (w *TestWorker) Parameters() []sdk.Parameter
func (*TestWorker) PluginGet ¶ added in v0.53.0
func (w *TestWorker) PluginGet(pluginName string) (*sdk.GRPCPlugin, error)
func (*TestWorker) PluginGetBinary ¶ added in v0.53.0
func (w *TestWorker) PluginGetBinary(name, os, arch string, wr io.Writer) error
func (*TestWorker) ProcessJob ¶
func (_ *TestWorker) ProcessJob(job sdk.WorkflowNodeJobRunData) sdk.Result
func (*TestWorker) RunResultSignature ¶
func (w *TestWorker) RunResultSignature(artifactName string, perm uint32, t sdk.WorkflowRunResultType) (string, error)
func (*TestWorker) SendLog ¶
func (w *TestWorker) SendLog(ctx context.Context, level workerruntime.Level, format string)
func (*TestWorker) SetActionPlugin ¶ added in v0.53.0
func (w *TestWorker) SetActionPlugin(p *sdk.GRPCPlugin)
func (*TestWorker) Take ¶
func (_ *TestWorker) Take(ctx context.Context, job sdk.WorkflowNodeJobRun) error
func (*TestWorker) Unregister ¶
func (_ *TestWorker) Unregister(ctx context.Context) error
func (*TestWorker) V2AddRunResult ¶ added in v0.53.1
func (w *TestWorker) V2AddRunResult(ctx context.Context, req workerruntime.V2RunResultRequest) (*workerruntime.V2AddResultResponse, error)
func (*TestWorker) V2GetIntegrationByName ¶ added in v0.53.1
func (*TestWorker) V2GetIntegrationByName(ctx context.Context, name string) (*sdk.ProjectIntegration, error)
V2GetIntegrationByName implements workerruntime.Runtime.
func (*TestWorker) V2GetJobContext ¶ added in v0.53.1
func (*TestWorker) V2GetJobContext(ctx context.Context) *sdk.WorkflowRunJobsContext
V2GetJobContext implements workerruntime.Runtime.
func (*TestWorker) V2GetJobRun ¶ added in v0.53.1
func (*TestWorker) V2GetJobRun(ctx context.Context) *sdk.V2WorkflowRunJob
V2GetJobRun implements workerruntime.Runtime.
func (*TestWorker) V2GetRunResult ¶ added in v0.53.1
func (*TestWorker) V2GetRunResult(ctx context.Context, filter workerruntime.V2FilterRunResult) (*workerruntime.V2GetResultResponse, error)
func (*TestWorker) V2UpdateRunResult ¶ added in v0.53.1
func (w *TestWorker) V2UpdateRunResult(ctx context.Context, req workerruntime.V2RunResultRequest) (*workerruntime.V2UpdateResultResponse, error)
func (*TestWorker) WorkerCacheSignature ¶
func (w *TestWorker) WorkerCacheSignature(tag string) (string, error)
func (*TestWorker) WorkingDirectory ¶
func (w *TestWorker) WorkingDirectory() *afero.BasePathFile
Source Files ¶
- builtin_artifact_download.go
- builtin_artifact_upload.go
- builtin_build_info.go
- builtin_checkout_application.go
- builtin_coverage.go
- builtin_deploy_application.go
- builtin_gitclone.go
- builtin_gittag.go
- builtin_junit.go
- builtin_key_install.go
- builtin_promote.go
- builtin_release.go
- builtin_release_vcs.go
- builtin_script.go
- test_helper.go
- vcs_strategy.go
Click to show internal directories.
Click to hide internal directories.