Documentation
¶
Overview ¶
Package logs are convenience methods for fetching logs from a minikube cluster
Index ¶
- func FindProblems(r cruntime.Manager, bs bootstrapper.Bootstrapper, runner command.Runner) map[string][]string
- func Follow(r cruntime.Manager, bs bootstrapper.Bootstrapper, runner command.Runner) error
- func IsProblem(line string) bool
- func Output(r cruntime.Manager, bs bootstrapper.Bootstrapper, runner command.Runner, ...) error
- func OutputProblems(problems map[string][]string, maxLines int)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FindProblems ¶
func FindProblems(r cruntime.Manager, bs bootstrapper.Bootstrapper, runner command.Runner) map[string][]string
FindProblems finds possible root causes among the logs
func Follow ¶
func Follow(r cruntime.Manager, bs bootstrapper.Bootstrapper, runner command.Runner) error
Follow follows logs from multiple files in tail(1) format
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 ¶
OutputProblems outputs discovered problems.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.