diagnostics

package
v0.19.0 Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2021 License: Apache-2.0 Imports: 27 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ObjectWithDir      printMode = "ObjectsWithDir"
	ObjectListWithDirs printMode = "ObjectListWithDirs" // print each object into its own nested directory based on its name and kind
	RuntimeObject      printMode = "RuntimeObject"      // print as a file based on its kind only
)
View Source
const DefaultDiagDir = "diag"

Variables

This section is empty.

Functions

func Collect

func Collect(fs afero.Fs, instance string, options *Options, c *kudo.Client, s *env.Settings) error

Types

type Options

type Options struct {
	LogSince *int64
	// contains filtered or unexported fields
}

func NewDefaultOptions added in v0.16.0

func NewDefaultOptions() *Options

func NewOptions

func NewOptions(logSince time.Duration, outputDir string) *Options

func (*Options) DiagDir added in v0.16.0

func (o *Options) DiagDir() string

func (*Options) KudoDir added in v0.16.0

func (o *Options) KudoDir() string

Jump to

Keyboard shortcuts

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