config

package
v0.0.0-...-12b77bc Latest Latest
Warning

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

Go to latest
Published: Apr 18, 2024 License: Apache-2.0 Imports: 8 Imported by: 8

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Parse

func Parse()

Parse overrides any unset command line flags beginning with "istio.test" with values provided from a YAML file.

func Parsed

func Parsed() bool

Types

type Map

type Map map[string]any

func (Map) Bool

func (m Map) Bool(key string) *bool

func (Map) Int

func (m Map) Int(key string) int

func (Map) Map

func (m Map) Map(key string) Map

func (Map) Slice

func (m Map) Slice(key string) []Map

func (Map) String

func (m Map) String(key string) string

type Value

type Value interface {
	flag.Value
	// SetConfig will receive either a Map or a []Map
	SetConfig(any) error
}

Jump to

Keyboard shortcuts

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