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
DeleteAll bool
}
func (*DeleteOptions) CheckOptions ¶
func (o *DeleteOptions) CheckOptions(s *cli.Stream, resourceNames []string) error
type LogOptions ¶ added in v0.6.0
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
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
Click to show internal directories.
Click to hide internal directories.