Documentation ¶
Index ¶
- Constants
- func CaptureAllResources(cp CaptureParams) error
- func CaptureClusterInfo(skipNodes bool, kubeClient kubernetes.Interface, outDir string, ...)
- func CaptureCuratedResources(cp CaptureParams) error
- func CapturePodLog(kubeClient kubernetes.Interface, outDir, namespace string, podName string, ...) error
- type CaptureParams
- type PodLogs
Constants ¶
View Source
const ( // Indentation when the resource is marshalled as Json JSONIndent = " " // The prefix used for the json.MarshalIndent JSONPrefix = "" )
Variables ¶
This section is empty.
Functions ¶
func CaptureAllResources ¶
func CaptureAllResources(cp CaptureParams) error
CaptureAllResources captures all resources except Secrets and ConfigMaps
func CaptureClusterInfo ¶
func CaptureCuratedResources ¶
func CaptureCuratedResources(cp CaptureParams) error
CaptureCuratedResources captures a set of curated or well-known resources
func CapturePodLog ¶
func CapturePodLog(kubeClient kubernetes.Interface, outDir, namespace string, podName string, duration int64) error
CapturePodLog captures the log from the pod in the outDir
Types ¶
type CaptureParams ¶
Click to show internal directories.
Click to hide internal directories.