Documentation
¶
Index ¶
- Constants
- type DeleteOptions
- type DescribeOptions
- type InteractiveOpts
- func (intOpts *InteractiveOpts) ClusterTaskInputResources(clustertask *v1beta1.ClusterTask, ...) error
- func (intOpts *InteractiveOpts) ClusterTaskOutputResources(clustertask *v1beta1.ClusterTask, ...) error
- func (intOpts *InteractiveOpts) ClusterTaskParams(clustertask *v1beta1.ClusterTask, skipParams map[string]string, ...) error
- func (intOpts *InteractiveOpts) ClusterTaskWorkspaces(clustertask *v1beta1.ClusterTask) error
- func (intOpts *InteractiveOpts) TaskInputResources(task *v1beta1.Task, ...) error
- func (intOpts *InteractiveOpts) TaskOutputResources(task *v1beta1.Task, ...) error
- func (intOpts *InteractiveOpts) TaskParams(task *v1beta1.Task, skipParams map[string]string, useParamDefaults bool) error
- func (intOpts *InteractiveOpts) TaskWorkspaces(task *v1beta1.Task) error
- type LogOptions
- type TaskRunOpts
Constants ¶
View Source
const ( ResourceNamePipeline = "pipeline" ResourceNamePipelineRun = "pipelinerun" ResourceNamePipelineResource = "pipelineresource" ResourceNameTask = "task" ResourceNameTaskRun = "taskrun" ResourceNameClusterTask = "clustertask" 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
PipelineResourceName string
ClusterTaskName 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) ClusterTaskInputResources ¶ added in v0.12.0
func (intOpts *InteractiveOpts) ClusterTaskInputResources(clustertask *v1beta1.ClusterTask, f func(v1alpha1.PipelineResourceType, survey.AskOpt, cli.Params, *cli.Stream) (*v1alpha1.PipelineResource, error)) error
func (*InteractiveOpts) ClusterTaskOutputResources ¶ added in v0.12.0
func (intOpts *InteractiveOpts) ClusterTaskOutputResources(clustertask *v1beta1.ClusterTask, f func(v1alpha1.PipelineResourceType, survey.AskOpt, cli.Params, *cli.Stream) (*v1alpha1.PipelineResource, error)) error
func (*InteractiveOpts) ClusterTaskParams ¶ added in v0.12.0
func (intOpts *InteractiveOpts) ClusterTaskParams(clustertask *v1beta1.ClusterTask, skipParams map[string]string, useParamDefaults bool) error
func (*InteractiveOpts) ClusterTaskWorkspaces ¶ added in v0.12.0
func (intOpts *InteractiveOpts) ClusterTaskWorkspaces(clustertask *v1beta1.ClusterTask) error
func (*InteractiveOpts) TaskInputResources ¶ added in v0.10.0
func (intOpts *InteractiveOpts) TaskInputResources(task *v1beta1.Task, f func(v1alpha1.PipelineResourceType, survey.AskOpt, cli.Params, *cli.Stream) (*v1alpha1.PipelineResource, error)) error
func (*InteractiveOpts) TaskOutputResources ¶ added in v0.10.0
func (intOpts *InteractiveOpts) TaskOutputResources(task *v1beta1.Task, f func(v1alpha1.PipelineResourceType, survey.AskOpt, cli.Params, *cli.Stream) (*v1alpha1.PipelineResource, error)) error
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
ClusterTaskName 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
// 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.