Versions in this module Expand all Collapse all v1 v1.7.0 Feb 14, 2023 Changes in this version + const NodeUnreachablePodReason + type DataFetcher struct + func NewDataFetcher(k8sClient k8s.Client, writer FileWriter, kubeconfig, directory string, ...) *DataFetcher + func (df *DataFetcher) GatherAndWriteData() + type FileWriter interface + Close func(file *os.File) error + Mkdir func(name string) error + MkdirAll func(name string) error + OpenFile func(name string) (*os.File, error) + RemoveAll func(name string) error + TempDir func(name string) (string, error) + Write func(filename, contents string) error + WriteFromReader func(filename string, contents io.ReadCloser) error + WriteTarFile func(directory, filename string) error + type Writer struct + func NewWriter() *Writer + func (w *Writer) Close(file *os.File) error + func (w *Writer) Mkdir(name string) error + func (w *Writer) MkdirAll(name string) error + func (w *Writer) OpenFile(name string) (*os.File, error) + func (w *Writer) RemoveAll(name string) error + func (w *Writer) TempDir(name string) (string, error) + func (w *Writer) Write(filename, contents string) error + func (w *Writer) WriteFromReader(filename string, contents io.ReadCloser) error + func (w *Writer) WriteTarFile(directory, filename string) error