getmesh

package
v1.1.2 Latest Latest
Warning

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

Go to latest
Published: Aug 4, 2021 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var GlobalConfigMux sync.Mutex

GlobalConfigMux for test purpose

Functions

func InitConfig

func InitConfig(homedir string) error

func SetDefaultHub

func SetDefaultHub(homedir, hub string) error

for default-hub

func SetIstioVersion

func SetIstioVersion(homedir string, d *api.IstioDistribution) error

for switch

Types

type Config

type Config struct {
	IstioDistribution *api.IstioDistribution `json:"istio_distribution"`
	DefaultHub        string                 `json:"default_hub,omitempty"`
}

func GetActiveConfig

func GetActiveConfig() Config

for istio cmd

Jump to

Keyboard shortcuts

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