list

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Apr 5, 2026 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Overview

Package list implements the "krci pipelinerun list" command.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCmdList

func NewCmdList(f *cmdutil.Factory, runF func(*ListOptions) error) *cobra.Command

NewCmdList returns the "pipelinerun list" cobra.Command. runF is the business logic function; pass nil to use the default listRun.

Types

type ListOptions

type ListOptions struct {
	IO            *iostreams.IOStreams
	PortalClient  func() (*portal.Client, error)
	Config        func() (*config.Config, error)
	Project       string
	PRNumber      int
	Author        string
	Branch        string
	Type          string
	Status        string
	OutputFormat  string
	IncludeLogs   bool
	IncludeReason bool
}

ListOptions holds all inputs for the pipelinerun list command.

Jump to

Keyboard shortcuts

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