istioctl

package
v1.1.1 Latest Latest
Warning

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

Go to latest
Published: Jun 23, 2021 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const IstioVersionNoPodRunningMsg = "no running Istio pods in \"istio-system\""

This is the message put into stdout of "istioctl version" command when there are no istiod running in istio-system, i.e. the case where istio is not installed. And this is used for handling that case in "getmesh version" and "getmesh check-upgrade" commands. https://github.com/istio/istio/blob/593b8777047af29ed1307a8a0a96aa6481fb2664/pkg/kube/client.go#L698

Variables

This section is empty.

Functions

func Exec

func Exec(homeDir string, args []string) error

getmesh istioctl

func ExecWithWriters

func ExecWithWriters(homeDir string, args []string, stdout, stderr io.Writer) error

func Fetch

func Fetch(homeDir string, target *api.IstioDistribution, ms *api.Manifest) error

func GetCurrentExecutable

func GetCurrentExecutable(homeDir string) (*api.IstioDistribution, error)

func GetFetchedVersions

func GetFetchedVersions(homedir string) ([]*api.IstioDistribution, error)

func GetIstioctlPath

func GetIstioctlPath(homeDir string, distribution *api.IstioDistribution) string

func PrintFetchedVersions

func PrintFetchedVersions(homeDir string) error

func Remove

func Remove(homeDir string, target, current *api.IstioDistribution) error

entrypoint for prune cmd

func Switch

func Switch(homeDir string, distribution *api.IstioDistribution) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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