Help us shape the future of Go! Take the 2026 Go Developer Survey

flags

package
v0.46.2 Latest Latest
Warning

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

Go to latest
Published: Oct 22, 2026 License: Apache-2.0 Imports: 6 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddTektonOptions

func AddTektonOptions(cmd *cobra.Command)

AddTektonOptions amends command to add flags required to initialise a cli.Param

func InitParams

func InitParams(p cli.Params, cmd *cobra.Command) error

InitParams initialises cli.Params based on flags defined in command

Types

type TektonOptions added in v0.11.0

type TektonOptions struct {
	KubeConfig, Context, Namespace string
	Nocolour                       bool
}

TektonOptions all global tekton options

func GetTektonOptions added in v0.11.0

func GetTektonOptions(cmd *cobra.Command) TektonOptions

GetTektonOptions get the global tekton Options that are not passed to a subcommands

Jump to

Keyboard shortcuts

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