fakes

package
v2.61.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Jan 25, 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 FakeSettingsService

type FakeSettingsService struct {
	PublicKey    string
	PublicKeyErr error

	LoadSettingsError  error
	SettingsWereLoaded bool

	GetPersistentDiskHintsError   error
	PersistentDiskHintsWereLoaded bool

	InvalidateSettingsError error
	SettingsWereInvalidated bool

	PersistentDiskHints map[string]boshsettings.DiskSettings
	Settings            boshsettings.Settings

	GetPersistentDiskHintsCallCount int
	SavePersistentDiskHintCallCount int
}

func (*FakeSettingsService) GetPersistentDiskHints

func (service *FakeSettingsService) GetPersistentDiskHints() (map[string]boshsettings.DiskSettings, error)

func (FakeSettingsService) GetSettings

func (service FakeSettingsService) GetSettings() boshsettings.Settings

func (*FakeSettingsService) InvalidateSettings

func (service *FakeSettingsService) InvalidateSettings() error

func (*FakeSettingsService) LoadSettings

func (service *FakeSettingsService) LoadSettings() error

func (*FakeSettingsService) PublicSSHKeyForUsername

func (service *FakeSettingsService) PublicSSHKeyForUsername(_ string) (string, error)

func (*FakeSettingsService) SavePersistentDiskHint

func (service *FakeSettingsService) SavePersistentDiskHint(_ boshsettings.DiskSettings) error

Jump to

Keyboard shortcuts

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