mkspipelinerun

package
v0.0.0-...-7a2b462 Latest Latest
Warning

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

Go to latest
Published: Feb 17, 2022 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Prdel = []*v1alpha1.MksPipelineRun{
	{
		ObjectMeta: v1.ObjectMeta{
			Name:      "delmpr1",
			Namespace: "default",
		},
		Spec: v1alpha1.MksPipelineRunSpec{
			PipelineRef: v1alpha1.MksPipelineRunRef{
				Name: "deletedpipelineref",
			},
		},
	},
}
View Source
var Prget = []*v1alpha1.MksPipelineRun{
	{
		ObjectMeta: v1.ObjectMeta{
			Name:      "getmpr1",
			Namespace: "default",
		},
		Spec: v1alpha1.MksPipelineRunSpec{
			PipelineRef: v1alpha1.MksPipelineRunRef{
				Name: "getpipelineref",
			},
		},
	},
}
View Source
var Prlist = []*v1alpha1.MksPipelineRun{
	{
		ObjectMeta: v1.ObjectMeta{
			Name:      "testmpr1",
			Namespace: "default",
		},
		Spec: v1alpha1.MksPipelineRunSpec{
			PipelineRef: v1alpha1.MksPipelineRunRef{
				Name: "mprref1",
			},
		},
	},
	{
		ObjectMeta: v1.ObjectMeta{
			Name:      "testmpr2",
			Namespace: "default",
		},
		Spec: v1alpha1.MksPipelineRunSpec{
			PipelineRef: v1alpha1.MksPipelineRunRef{
				Name: "mprref2",
			},
		},
	},
	{
		ObjectMeta: v1.ObjectMeta{
			Name:      "testmpr3",
			Namespace: "default",
		},
		Spec: v1alpha1.MksPipelineRunSpec{
			PipelineRef: v1alpha1.MksPipelineRunRef{
				Name: "mprref3",
			},
		},
	},
	{
		ObjectMeta: v1.ObjectMeta{
			Name:      "testmpr4",
			Namespace: "default",
		},
		Spec: v1alpha1.MksPipelineRunSpec{
			PipelineRef: v1alpha1.MksPipelineRunRef{
				Name: "mprref4",
			},
		},
	},
}

Functions

func Command

func Command(mksc *mconfig.Client) *cobra.Command

func GetTestData

func GetTestData(prdata ...*v1alpha1.MksPipelineRun) []runtime.Object

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳