istio: Index | Files

package content

import ""


Package Files


func GetAnalyze Uses

func GetAnalyze(p *Params) (map[string]string, error)

GetAnalyze returns the output of istioctl analyze.

func GetCRs Uses

func GetCRs(p *Params) (map[string]string, error)

GetCRs returns CR contents for all CRDs in the cluster.

func GetClusterContext Uses

func GetClusterContext() (string, error)

GetClusterContext returns the cluster context.

func GetClusterInfo Uses

func GetClusterInfo(p *Params) (map[string]string, error)

GetClusterInfo returns the cluster info.

func GetCoredumps Uses

func GetCoredumps(p *Params) (map[string]string, error)

GetCoredumps returns coredumps for the given namespace/pod/container.

func GetDescribePods Uses

func GetDescribePods(p *Params) (map[string]string, error)

GetDescribePods returns describe pods for istioNamespace.

func GetEvents Uses

func GetEvents(params *Params) (map[string]string, error)

GetEvents returns events for all namespaces.

func GetIstiodInfo Uses

func GetIstiodInfo(p *Params) (map[string]string, error)

GetIstiodInfo returns internal Istiod debug info.

func GetK8sResources Uses

func GetK8sResources(p *Params) (map[string]string, error)

GetK8sResources returns all k8s cluster resources.

func GetNetstat Uses

func GetNetstat(p *Params) (map[string]string, error)

GetNetstat returns netstat for the given container.

func GetProxyInfo Uses

func GetProxyInfo(p *Params) (map[string]string, error)

GetProxyInfo returns internal proxy debug info.

func GetSecrets Uses

func GetSecrets(p *Params) (map[string]string, error)

GetSecrets returns all k8s secrets. If full is set, the secret contents are also returned.

type Params Uses

type Params struct {
    Client         kube.ExtendedClient
    DryRun         bool
    Verbose        bool
    ClusterVersion string
    Namespace      string
    IstioNamespace string
    Pod            string
    Container      string

Params contains parameters for running a kubectl fetch command.

func (*Params) SetClient Uses

func (p *Params) SetClient(client kube.ExtendedClient) *Params

func (*Params) SetContainer Uses

func (p *Params) SetContainer(container string) *Params

func (*Params) SetDryRun Uses

func (p *Params) SetDryRun(dryRun bool) *Params

func (*Params) SetIstioNamespace Uses

func (p *Params) SetIstioNamespace(namespace string) *Params

func (*Params) SetNamespace Uses

func (p *Params) SetNamespace(namespace string) *Params

func (*Params) SetPod Uses

func (p *Params) SetPod(pod string) *Params

func (*Params) SetVerbose Uses

func (p *Params) SetVerbose(verbose bool) *Params

Package content imports 14 packages (graph) and is imported by 1 packages. Updated 2020-11-14. Refresh now. Tools for package owners.