pipelineresource

package
v0.12.1 Latest Latest
Warning

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

Go to latest
Published: Sep 16, 2020 License: Apache-2.0 Imports: 28 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Command

func Command(p cli.Params) *cobra.Command

func Error added in v0.5.0

func Error(err error) error

func WithStdio added in v0.5.0

func WithStdio(stdio terminal.Stdio) survey.AskOpt

WithStdio helps to test interactive command by setting stdio for the ask function

Types

type ListOptions

type ListOptions struct {
	Type          string
	NoHeaders     bool
	AllNamespaces bool
}

type Resource added in v0.5.0

type Resource struct {
	Params cli.Params

	AskOpts          survey.AskOpt
	PipelineResource v1alpha1.PipelineResource
	// contains filtered or unexported fields
}

func (*Resource) AskCloudEventParams added in v0.5.0

func (res *Resource) AskCloudEventParams() error

func (*Resource) AskClusterParams added in v0.5.0

func (res *Resource) AskClusterParams() error

func (*Resource) AskGitParams added in v0.5.0

func (res *Resource) AskGitParams() error

func (*Resource) AskImageParams added in v0.5.0

func (res *Resource) AskImageParams() error

func (*Resource) AskMeta added in v0.5.0

func (res *Resource) AskMeta() error

func (*Resource) AskPullRequestParams added in v0.5.0

func (res *Resource) AskPullRequestParams() error

func (*Resource) AskStorageParams added in v0.5.0

func (res *Resource) AskStorageParams() error

func (*Resource) RunPromptTest added in v0.5.0

func (res *Resource) RunPromptTest(t *testing.T, test promptTest)

Jump to

Keyboard shortcuts

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