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 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)
- func DownloadFromPod(options AddDownloadOutputOptions)
- func FindDaemonSet(cfg *config.Config, namespace string, name string) (*appsv1.DaemonSet, error)
- 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 EndpointsOutputOptions
- type PodConfig
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddDescription ¶
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 ¶
AddResourceUsage path must include '%d' to replace the execution number within the file path
func DownloadFromPod ¶ added in v1.1.2
func DownloadFromPod(options AddDownloadOutputOptions)
func FindDaemonSet ¶
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 EndpointsOutputOptions ¶ added in v1.1.2
Click to show internal directories.
Click to hide internal directories.