fake

package
v0.0.0-...-e56e09a Latest Latest
Warning

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

Go to latest
Published: Dec 12, 2017 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FakeRunner

type FakeRunner struct {
	// Update
	FailCopyCommand           bool
	FailCopyCommandWrongParam bool
	FailInstallCommand        bool
	InstallCommand            string
	FailReconnecting          bool
	FailShowVersionCommand    bool
	SuccessShowVersion        bool
	ImageFileName             []string
	DowngradeNonDisruptive    bool

	// GetConfig
	FailShowConfigCommand bool

	//Get Firmware Version
	FailShowFirmwareVersionCommand bool

	//Check Vlan
	FailCheckVlanCommand      bool
	SuccessShowVlanNullResult bool

	TimeoutInstall bool
	IsShowVersion  bool
	CopyCounter    int
}

func (*FakeRunner) Run

func (fr *FakeRunner) Run(command string, method string, timeout time.Duration) (string, error)

Jump to

Keyboard shortcuts

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