Documentation ¶
Index ¶
- func GetAnalyze(p *Params) (map[string]string, error)
- func GetCRs(p *Params) (map[string]string, error)
- func GetClusterInfo(p *Params) (map[string]string, error)
- func GetCoredumps(p *Params) (map[string]string, error)
- func GetDescribePods(p *Params) (map[string]string, error)
- func GetEnterpriseAgentMetrics(p *Params) (map[string]string, error)
- func GetEnterpriseNetworkingMetrics(p *Params) (map[string]string, error)
- func GetEnterpriseNetworkingSnapshot(p *Params) (map[string]string, error)
- func GetEvents(p *Params) (map[string]string, error)
- func GetGlooMeshCRs(p *Params) (map[string]string, error)
- func GetIstiodInfo(p *Params) (map[string]string, error)
- func GetK8sResources(p *Params) (map[string]string, error)
- func GetNetstat(p *Params) (map[string]string, error)
- func GetNodeInfo(p *Params) (map[string]string, error)
- func GetProxyInfo(p *Params) (map[string]string, error)
- func GetSecrets(p *Params) (map[string]string, error)
- type Params
- func (p *Params) SetClient(client kube.ExtendedClient) *Params
- func (p *Params) SetContainer(container string) *Params
- func (p *Params) SetDryRun(dryRun bool) *Params
- func (p *Params) SetIstioNamespace(namespace string) *Params
- func (p *Params) SetNamespace(namespace string) *Params
- func (p *Params) SetPod(pod string) *Params
- func (p *Params) SetVerbose(verbose bool) *Params
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetAnalyze ¶
GetAnalyze returns the output of istioctl analyze.
func GetClusterInfo ¶
GetClusterInfo returns the cluster info.
func GetCoredumps ¶
GetCoredumps returns coredumps for the given namespace/pod/container.
func GetDescribePods ¶
GetDescribePods returns describe pods for istioNamespace.
func GetEnterpriseAgentMetrics ¶
GetEnterpriseAgentMetrics returns metrics for the given container.
func GetEnterpriseNetworkingMetrics ¶
GetEnterpriseNetworkingMetrics returns metrics for the given container.
func GetEnterpriseNetworkingSnapshot ¶
GetEnterpriseNetworkingSnapshot returns gloo mesh snapshot for the given container.
func GetGlooMeshCRs ¶
GetGlooMeshCRs returns CR contents for all GlooMesh CRDs in the cluster.
func GetIstiodInfo ¶
GetIstiodInfo returns internal Istiod debug info.
func GetK8sResources ¶
GetK8sResources returns all k8s cluster resources.
func GetNetstat ¶
GetNetstat returns netstat for the given container.
func GetNodeInfo ¶
GetNodeInfo returns node information.
func GetProxyInfo ¶
GetProxyInfo returns internal proxy debug info.
Types ¶
type Params ¶
type Params struct { Client kube.ExtendedClient DryRun bool Verbose bool ClusterVersion string Namespace string IstioNamespace string Pod string Container string KubeConfig string KubeContext string }
Params contains parameters for running a kubectl fetch command.