logs

package
v1.10.0-beta.2 Latest Latest
Warning

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

Go to latest
Published: Apr 29, 2020 License: Apache-2.0 Imports: 15 Imported by: 4

Documentation

Overview

Package logs are convenience methods for fetching logs from a minikube cluster

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FindProblems

func FindProblems(r cruntime.Manager, bs bootstrapper.Bootstrapper, cfg config.ClusterConfig, cr logRunner) map[string][]string

FindProblems finds possible root causes among the logs

func Follow

func Follow(r cruntime.Manager, bs bootstrapper.Bootstrapper, cfg config.ClusterConfig, cr logRunner) error

Follow follows logs from multiple files in tail(1) format

func IsProblem

func IsProblem(line string) bool

IsProblem returns whether this line matches a known problem

func Output

Output displays logs from multiple sources in tail(1) format

func OutputProblems

func OutputProblems(problems map[string][]string, maxLines int)

OutputProblems outputs discovered problems.

Types

This section is empty.

Jump to

Keyboard shortcuts

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