params

package
v0.11.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

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

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

GetConfigFromConfigMap get config from configmap, we should remove all the logics from cobra flags and just support configmap config and env config in the future.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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