debug

package
v0.0.0-...-850ae45 Latest Latest
Warning

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

Go to latest
Published: Sep 11, 2017 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ReceiverGuest = "Guest"
	ReceiverHost  = "Host"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Driver

type Driver interface {
	VBoxManage(arg ...string) (output []byte, err error)
}

type FS

type FS interface {
	Read(path string) (contents []byte, err error)
	Write(path string, contents io.Reader, append bool) error
	Compress(name string, path string, contentPaths []string) error
	TempDir() (tempDir string, err error)
}

type LogFetcher

type LogFetcher struct {
	FS     FS
	SSH    SSH
	Driver Driver

	VMConfig *config.VMConfig
	Config   *config.Config
}

func (*LogFetcher) FetchLogs

func (l *LogFetcher) FetchLogs() error

type SSH

type SSH interface {
	GetSSHOutput(command string, addresses []ssh.SSHAddress, privateKey []byte, timeout time.Duration) (combinedOutput string, err error)
}

type SensitiveInformationScrubber

type SensitiveInformationScrubber struct {
}

func (*SensitiveInformationScrubber) Scrub

func (s *SensitiveInformationScrubber) Scrub(information string) string

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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