config

package
v0.2.2 Latest Latest
Warning

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

Go to latest
Published: Apr 3, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Stream *tkncli.Stream
	// contains filtered or unexported fields
}

func NewConfig

func NewConfig() *Config

NewConfig sets up a new Config using the default STDIN, STDOUT and STDERR.

func NewConfigWithFlags

func NewConfigWithFlags(stream *tkncli.Stream, flags *pflag.FlagSet) *Config

NewConfigWithFlags sets up a new Config instance adding command-line flags to set its attributes.

func (*Config) Errorf

func (c *Config) Errorf(format string, a ...any)

func (*Config) GetClientsOrPanic

func (c *Config) GetClientsOrPanic() *tkncli.Clients

func (*Config) GetNamespace

func (c *Config) GetNamespace() string

func (*Config) GetTektonParams

func (c *Config) GetTektonParams() *tkncli.TektonParams

func (*Config) Infof

func (c *Config) Infof(format string, a ...any)

Jump to

Keyboard shortcuts

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