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 ¶
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) FuzzyAsk ¶
func (opts *LogOptions) FuzzyAsk(resource string, options []string) error
func (*LogOptions) ValidateOpts ¶
func (opts *LogOptions) ValidateOpts() error
Click to show internal directories.
Click to hide internal directories.