fakes

package
v0.0.0-...-ee2a6a4 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FakeConfig

type FakeConfig struct {
	Username, Password, TargetUrl string

	GetPathString string

	LoadConfigConfigInfo config.ConfigInfo
	LoadConfigErr        error

	SaveConfigConfigInfo config.ConfigInfo
	SaveConfigErr        error
}

func NewFakeConfig

func NewFakeConfig(username, password, targetUrl string) *FakeConfig

func (*FakeConfig) GetPath

func (f *FakeConfig) GetPath() string

func (*FakeConfig) LoadConfig

func (f *FakeConfig) LoadConfig() (config.ConfigInfo, error)

func (*FakeConfig) SaveConfig

func (f *FakeConfig) SaveConfig(configInfo config.ConfigInfo) error

Jump to

Keyboard shortcuts

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