Documentation
¶
Index ¶
- Constants
- func Exec(homeDir string, args []string) error
- func ExecWithWriters(homeDir string, args []string, stdout, stderr io.Writer) error
- func Fetch(homeDir string, target *api.IstioDistribution, ms *api.Manifest) error
- func GetCurrentExecutable(homeDir string) (*api.IstioDistribution, error)
- func GetFetchedVersions(homedir string) ([]*api.IstioDistribution, error)
- func GetIstioctlPath(homeDir string, distribution *api.IstioDistribution) string
- func PrintFetchedVersions(homeDir string) error
- func Remove(homeDir string, target, current *api.IstioDistribution) error
- func Switch(homeDir string, distribution *api.IstioDistribution) error
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 ExecWithWriters ¶
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 ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.