testpipelines

package
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 9, 2021 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AssertHasPullRequestForEnv

func AssertHasPullRequestForEnv(t *testing.T, ctx context.Context, activities typev1.PipelineActivityInterface, name, envName string)

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL