options

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Dec 11, 2019 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ResourceNamePipeline    = "pipeline"
	ResourceNamePipelineRun = "pipelinerun"
	ResourceNameTaskRun     = "taskrun"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type DeleteOptions

type DeleteOptions struct {
	Resource    string
	ForceDelete bool
	DeleteAll   bool
}

func (*DeleteOptions) CheckOptions

func (o *DeleteOptions) CheckOptions(s *cli.Stream, resourceName string) error

type LogOptions added in v0.6.0

type LogOptions struct {
	AllSteps        bool
	Follow          bool
	Params          cli.Params
	PipelineName    string
	PipelineRunName string
	TaskrunName     string
	Stream          *cli.Stream
	Streamer        stream.NewStreamerFunc
	Tasks           []string
	Last            bool
	Limit           int
	AskOpts         survey.AskOpt
}

func NewLogOptions added in v0.6.0

func NewLogOptions(p cli.Params) *LogOptions

func (*LogOptions) Ask added in v0.6.0

func (opts *LogOptions) Ask(resource string, options []string) error

func (*LogOptions) ValidateOpts added in v0.6.0

func (opts *LogOptions) ValidateOpts() error

Jump to

Keyboard shortcuts

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