Documentation ¶
Overview ¶
package logs are convenience methods for fetching logs from a minikube cluster
Index ¶
- func FindProblems(r cruntime.Manager, bs bootstrapper.Bootstrapper, ...) map[string][]string
- func Follow(r cruntime.Manager, bs bootstrapper.Bootstrapper, ...) error
- func IsProblem(line string) bool
- func Output(r cruntime.Manager, bs bootstrapper.Bootstrapper, ...) 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 bootstrapper.CommandRunner) map[string][]string
FindProblems finds possible root causes among the logs
func Follow ¶
func Follow(r cruntime.Manager, bs bootstrapper.Bootstrapper, runner bootstrapper.CommandRunner) error
Follow follows logs from multiple files in tail(1) format
func Output ¶
func Output(r cruntime.Manager, bs bootstrapper.Bootstrapper, runner bootstrapper.CommandRunner, 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.