gather

package
v1.14.16-dcf8320c8c4e Latest Latest
Warning

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

Go to latest
Published: Sep 12, 2024 License: Apache-2.0 Imports: 10 Imported by: 4

Documentation

Overview

Package gather contains platform specific methods for gathering console logs.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CombineArchives

func CombineArchives(archiveName string, archives map[string]string) error

CombineArchives creates a single gzipped tar file from multiple archives. archiveName is the target gzipped tar file. archives maps the existing gzipped tar files to a subdirectory in the new gzipped tar file.

func CreateArchive

func CreateArchive(files []string, archiveName string) error

CreateArchive creates a gzipped tar file.

func DeleteArchiveDirectory

func DeleteArchiveDirectory(archiveDirectory string) error

DeleteArchiveDirectory deletes an archive directory

func New

func New(logger logrus.FieldLogger, serialLogBundle string, bootstrap string, masters []string, rootDir string) (providers.Gather, error)

New returns a Gather based on `metadata.json` in `rootDir`.

Types

This section is empty.

Directories

Path Synopsis
Package service is used to analyze service json files from an installation that failing to bootstrap.
Package service is used to analyze service json files from an installation that failing to bootstrap.
Package ssh contains utilities that help gather logs, etc.
Package ssh contains utilities that help gather logs, etc.

Jump to

Keyboard shortcuts

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