content

package
v1.1.2 Latest Latest
Warning

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

Go to latest
Published: Sep 29, 2021 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetAnalyze

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

GetAnalyze returns the output of istioctl analyze.

func GetCRs

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

GetCRs returns CR contents for all CRDs in the cluster.

func GetClusterInfo

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

GetClusterInfo returns the cluster info.

func GetCoredumps

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

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

func GetDescribePods

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

GetDescribePods returns describe pods for istioNamespace.

func GetEnterpriseAgentMetrics

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

GetEnterpriseAgentMetrics returns metrics for the given container.

func GetEnterpriseNetworkingMetrics

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

GetEnterpriseNetworkingMetrics returns metrics for the given container.

func GetEnterpriseNetworkingSnapshot

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

GetEnterpriseNetworkingSnapshot returns gloo mesh snapshot for the given container.

func GetEvents

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

GetEvents returns events for all namespaces.

func GetGlooMeshCRs

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

GetGlooMeshCRs returns CR contents for all GlooMesh CRDs in the cluster.

func GetIstiodInfo

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

GetIstiodInfo returns internal Istiod debug info.

func GetK8sResources

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

GetK8sResources returns all k8s cluster resources.

func GetNetstat

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

GetNetstat returns netstat for the given container.

func GetNodeInfo

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

GetNodeInfo returns node information.

func GetProxyInfo

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

GetProxyInfo returns internal proxy debug info.

func GetSecrets

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

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

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.

func (*Params) SetClient

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

func (*Params) SetContainer

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

func (*Params) SetDryRun

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

func (*Params) SetIstioNamespace

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

func (*Params) SetNamespace

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

func (*Params) SetPod

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

func (*Params) SetVerbose

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

Jump to

Keyboard shortcuts

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