package
0.40.0
Repository: https://github.com/sap/stewardci-core.git
Documentation: pkg.go.dev

# Functions

CreatePipelineRunCondition returns a WaitCondition for a PipelineRun with a dedicated PipelineCheck.
CreatePipelineRunFromJSON creates a PipelineRun resource on a client.
CreatePipelineRunFromYAML creates a PipelineRun resource on a client.
DeletePipelineRun deletes a PipelineRun resource from a client.
ExecutePipelineRunTests execute a set of testPlans.
GetClientFactory returns the client factory from the context.
GetNamespace returns the client namespace from the context.
GetPipelineRun returns the pipeline run from the context.
GetRealmUUID returns an UUID for the test execution.
GetTestName returns the test Name from the context.
GetWaitInterval returns the wait Interval Defaults to 1s if nothing was set.
PipelineRunHasStateResult returns a PipelineRunCheck which Checks if a PipelineRun has a dedicated result.
PipelineRunMessageOnFinished returns a PipelineRunCheck which Checks if a PipelineRun has a dedicated message when it is in state finished.
SetClientFactory returns a context with client factory.
SetNamespace sets the client namespace to the context.
SetPipelineRun sets the Namespace to the context.
SetRealmUUID returns an UUID for the test execution.
SetTestName sets the test Name to the context.
Setup prepares the test environment.
SetWaitInterval sets the test Name to the context.
WaitFor waits for a condition it returns the duration the waiting took it returns an error if condition cannot be fullfilled anymore.

# Structs

PipelineRunTest is a test for a pipeline run.
TestPlan defines a test plan.

# Type aliases

PipelineRunCheck is a Check for a PipelineRun.
PipelineRunTestBuilder is a funciton creating a PipelineRunTest for a defined Namespace and a buildID for the elasticsearch.
WaitConditionFunc is a function waiting for a condition return true,nil if condition is fullfilled return false,nil if condition may be fullfilled in the future returns nil,error if condition is not fullfilled.