Documentation
¶
Index ¶
- func AddConfig(config *config.Config, outputPath string, kind string, namespace string, ...)
- func AddDescription(config *config.Config, outputPath string, kind string, namespace string, ...)
- func AddHttpConnectionTest(config *config.Config, outputPath string, namespace string, name string, ...)
- func AddKubernetesNodesInformation(cfg *config.Config)
- func AddLogs(cfg *config.Config, path string, namespace string, name string)
- func AddPodHttpEndpointOutput(options AddPodHttpEndpointOutputOptions)
- func AddPodHttpMultipleEndpointOutput(options AddPodHttpEndpointsOutputOptions)
- func AddPreviousLogs(cfg *config.Config, path string, namespace string, name string)
- func AddResourceUsage(cfg *config.Config, path string, namespace string, name string, executions int)
- func AddTracerouteConnectionTest(config *config.Config, outputPath string, namespace string, name string, ...)
- func AddWebsocketCurlHttp1ConnectionTest(config *config.Config, outputPath string, namespace string, name string, ...)
- func AddWebsocketCurlHttp2ConnectionTest(config *config.Config, outputPath string, namespace string, name string, ...)
- func AddWebsocketWebsocatConnectionTest(config *config.Config, outputPath string, namespace string, name string, ...)
- func DownloadFromPod(options AddDownloadOutputOptions)
- func FindDeployment(cfg *config.Config, namespace string, name string) (*appsv1.Deployment, error)
- func FindStatefulSet(cfg *config.Config, namespace string, name string) (*appsv1.StatefulSet, error)
- func ForEachNode(cfg *config.Config, fn func(node *v1.Node))
- func ForEachPod(cfg *config.Config, namespace string, selector *metav1.LabelSelector, ...)
- func ForEachPodViaMapSelector(cfg *config.Config, namespace string, selectorMap map[string]string, ...)
- func KillProcess(cmd *exec.Cmd, options PodConfig)
- func PreparePortforwarding(options PodConfig, port int) (string, *exec.Cmd, error)
- type AddDownloadOutputOptions
- type AddPodHttpEndpointOutputOptions
- type AddPodHttpEndpointsOutputOptions
- type Connection
- type EndpointsOutputOptions
- type PodConfig
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddDescription ¶
func AddHttpConnectionTest ¶ added in v1.2.4
func AddKubernetesNodesInformation ¶ added in v1.0.0
func AddPodHttpEndpointOutput ¶
func AddPodHttpEndpointOutput(options AddPodHttpEndpointOutputOptions)
func AddPodHttpMultipleEndpointOutput ¶ added in v1.1.2
func AddPodHttpMultipleEndpointOutput(options AddPodHttpEndpointsOutputOptions)
func AddPreviousLogs ¶
func AddResourceUsage ¶
func AddResourceUsage(cfg *config.Config, path string, namespace string, name string, executions int)
AddResourceUsage path must include '%d' to replace the execution number within the file path
func AddTracerouteConnectionTest ¶ added in v1.2.4
func AddWebsocketCurlHttp1ConnectionTest ¶ added in v1.2.4
func AddWebsocketCurlHttp2ConnectionTest ¶ added in v1.2.4
func AddWebsocketWebsocatConnectionTest ¶ added in v1.2.4
func DownloadFromPod ¶ added in v1.1.2
func DownloadFromPod(options AddDownloadOutputOptions)
func FindDeployment ¶
func FindStatefulSet ¶ added in v1.2.0
func ForEachNode ¶ added in v1.0.0
ForEachNode note that the function fn will be executed in parallel for each node
func ForEachPod ¶
func ForEachPod(cfg *config.Config, namespace string, selector *metav1.LabelSelector, fn func(pod *v1.Pod, idx int))
ForEachPod note that the function fn will be executed in parallel for each pod
func ForEachPodViaMapSelector ¶ added in v1.1.2
func ForEachPodViaMapSelector(cfg *config.Config, namespace string, selectorMap map[string]string, fn func(pod *v1.Pod, idx int))
ForEachPodViaMapSelector note that the function fn will be executed in parallel for each pod
func KillProcess ¶ added in v1.1.2
Types ¶
type AddDownloadOutputOptions ¶ added in v1.1.2
type AddPodHttpEndpointsOutputOptions ¶ added in v1.1.2
type AddPodHttpEndpointsOutputOptions struct { PodConfig PodConfig EndpointOptions []EndpointsOutputOptions }
type Connection ¶ added in v1.2.4
func GetExtensionConnections ¶ added in v1.2.4
func GetExtensionConnections(sharedPort int, podConfig PodConfig, cfg *config.Config) []Connection
type EndpointsOutputOptions ¶ added in v1.1.2
Click to show internal directories.
Click to hide internal directories.