Help us shape the future of Go! Take the 2026 Go Developer Survey

options

package
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: Apr 29, 2020 License: Apache-2.0 Imports: 14 Imported by: 9

Documentation

Index

Constants

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

Variables

This section is empty.

Functions

This section is empty.

Types

type DeleteOptions

type DeleteOptions struct {
	Resource           string
	ParentResource     string
	ParentResourceName string
	ForceDelete        bool
	DeleteRelated      bool
	DeleteAllNs        bool
	DeleteAll          bool
	Keep               int
}

func (*DeleteOptions) CheckOptions

func (o *DeleteOptions) CheckOptions(s *cli.Stream, resourceNames []string, ns string) error

type LogOptions

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

func NewLogOptions

func NewLogOptions(p cli.Params) *LogOptions

func (*LogOptions) Ask

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

func (*LogOptions) FuzzyAsk

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

func (*LogOptions) ValidateOpts

func (opts *LogOptions) ValidateOpts() error

Jump to

Keyboard shortcuts

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