Documentation ¶
Index ¶
- func AssertHasPullRequestForEnv(t *testing.T, ctx context.Context, activities typev1.PipelineActivityInterface, ...)
- func ClearTimestamps(pa *v1.PipelineActivity)
- func CreateTestPipelineActivity(ctx context.Context, jxClient versioned.Interface, ...) (*v1.PipelineActivity, error)
- func CreateTestPipelineActivityWithTime(ctx context.Context, jxClient versioned.Interface, ...) (*v1.PipelineActivity, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ClearTimestamps ¶
func ClearTimestamps(pa *v1.PipelineActivity)
func CreateTestPipelineActivity ¶
func CreateTestPipelineActivity(ctx context.Context, jxClient versioned.Interface, ns, folder, repo, branch, build string) (*v1.PipelineActivity, error)
CreateTestPipelineActivity creates a PipelineActivity with the given arguments
func CreateTestPipelineActivityWithTime ¶
func CreateTestPipelineActivityWithTime(ctx context.Context, jxClient versioned.Interface, ns, folder, repo, branch, build string, t metav1.Time) (*v1.PipelineActivity, error)
CreateTestPipelineActivityWithTime creates a PipelineActivity with the given timestamp and adds it to the list of activities
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.