logs

package
v1.5.2 Latest Latest
Warning

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

Go to latest
Published: Oct 31, 2019 License: Apache-2.0 Imports: 14 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, cr logRunner) map[string][]string

FindProblems finds possible root causes among the logs

func Follow

func Follow(r cruntime.Manager, bs bootstrapper.Bootstrapper, 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

func Output(r cruntime.Manager, bs bootstrapper.Bootstrapper, runner command.Runner, lines int) error

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