params

package
v0.16.0 Latest Latest
Warning

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

Go to latest
Published: Feb 6, 2023 License: Apache-2.0 Imports: 13 Imported by: 1

Documentation

Index

Constants

View Source
const (
	PACConfigmapName        = "pipelines-as-code"
	StartingPipelineRunText = `` /* 197-byte string literal not displayed */

	QueuingPipelineRunText = `PipelineRun <b>%s</b> has been queued Queuing in namespace
  <b>%s</b><br><br>`
)

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) 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