Documentation
¶
Index ¶
Constants ¶
View Source
const ( ResourceNamePipeline = "pipeline" ResourceNamePipelineRun = "pipelinerun" ResourceNameTask = "task" ResourceNameTaskRun = "taskrun" ResourceNameTriggerTemplate = "triggertemplate" ResourceNameTriggerBinding = "triggerbinding" ResourceNameClusterTriggerBinding = "clustertriggerbinding" ResourceNameEventListener = "eventlistener" )
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
KeepSince int
IgnoreRunning bool
IgnoreRunningPipelinerun bool
LabelSelector string
}
func (*DeleteOptions) CheckOptions ¶
type DescribeOptions ¶ added in v0.10.0
type DescribeOptions struct {
Params cli.Params
PipelineName string
PipelineRunName string
TaskName string
TaskrunName string
Tasks []string
TriggerTemplateName string
TriggerBindingName string
EventListenerName string
ClusterTriggerBindingName string
Limit int
AskOpts survey.AskOpt
Fzf bool
Last bool
}
func NewDescribeOptions ¶ added in v0.10.0
func NewDescribeOptions(p cli.Params) *DescribeOptions
func (*DescribeOptions) Ask ¶ added in v0.10.0
func (opts *DescribeOptions) Ask(resource string, options []string) error
func (*DescribeOptions) FuzzyAsk ¶ added in v0.10.0
func (opts *DescribeOptions) FuzzyAsk(resource string, options []string) error
func (*DescribeOptions) ValidateOpts ¶ added in v0.10.0
func (opts *DescribeOptions) ValidateOpts() error
type InteractiveOpts ¶ added in v0.10.0
type InteractiveOpts struct {
Stream *cli.Stream
CliParams cli.Params
InputResources []string
OutputResources []string
Params []string
Workspaces []string
AskOpts survey.AskOpt
Ns string
SkipOptionalWorkspace bool
}
func (*InteractiveOpts) TaskParams ¶ added in v0.10.0
func (*InteractiveOpts) TaskWorkspaces ¶ added in v0.10.0
func (intOpts *InteractiveOpts) TaskWorkspaces(task *v1beta1.Task) 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
Tail int64
Timestamps bool
Prefixing bool
ExitWithPrError bool
// ActivityTimeout is the amount of time to wait for some activity
// (e.g. Pod ready) before giving up.
ActivityTimeout time.Duration
}
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
type TaskRunOpts ¶ added in v0.13.0
func (*TaskRunOpts) UseTaskRunFrom ¶ added in v0.13.0
Click to show internal directories.
Click to hide internal directories.