params

package
v0.14.0 Latest Latest
Warning

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

Go to latest
Published: Nov 18, 2022 License: Apache-2.0 Imports: 13 Imported by: 1

Documentation

Index

Constants

View Source
const (
	PACConfigmapName = "pipelines-as-code"
)

Variables

This section is empty.

Functions

func StringToBool

func StringToBool(s string) bool

Types

type PacCliOpts

type PacCliOpts struct {
	NoColoring    bool
	AllNameSpaces bool
	Namespace     string
	AskOpts       survey.AskOpt
}

func NewCliOptions

func NewCliOptions(cmd *cobra.Command) *PacCliOpts

func (*PacCliOpts) Ask

func (c *PacCliOpts) Ask(qss []*survey.Question, ans interface{}) error

type Run

type Run struct {
	Clients clients.Clients
	Info    info.Info
}

func New

func New() *Run

func (*Run) UpdatePACInfo added in v0.12.0

func (r *Run) UpdatePACInfo(ctx context.Context) error

func (*Run) WatchConfigMapChanges added in v0.12.0

func (r *Run) WatchConfigMapChanges(ctx context.Context, run *Run) error

WatchConfigMapChanges watches for provide configmap

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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