collectlogfiles

package
v0.0.0-...-bf8e85a Latest Latest
Warning

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

Go to latest
Published: Mar 18, 2024 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Overview

Package collectlogfiles searches various directories and aggregates log files into a single .tar.gz package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateLogsArchive

func CreateLogsArchive(fname string, logDirs []string, logPath string) (err error)

CreateLogsArchive creates a .tar.gz file containing all relevant log files relevant to an RBE build.

func DeduplicateDirs

func DeduplicateDirs(dirs []string) ([]string, error)

DeduplicateDirs filters out duplicate entries from dirs

func UploadDirsToCas

func UploadDirsToCas(grpcClient *client.Client, dirs []string, logPath string) ([]*spb.LogDirectory, error)

UploadDirsToCas uploads a list of directories to CAS and returns a list of the root digests.

Types

This section is empty.

Jump to

Keyboard shortcuts

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