fakes

package
v2.225.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Jun 4, 2019 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

	GetPersistentDiskSettingsError    error
	GetAllPersistentDiskSettingsError error
	PersistentDiskSettingsWereLoaded  bool

	RemovePersistentDiskSettingsError error

	InvalidateSettingsError error
	SettingsWereInvalidated bool

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

	GetPersistentDiskSettingsCallCount    int
	RemovePersistentDiskSettingsCallCount int
	RemovePersistentDiskSettingsLastArg   string
	SavePersistentDiskSettingsCallCount   int
	SavePersistentDiskSettingsErr         error
	SavePersistentDiskSettingsLastArg     boshsettings.DiskSettings
}

func (*FakeSettingsService) GetAllPersistentDiskSettings

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

func (*FakeSettingsService) GetPersistentDiskSettings

func (service *FakeSettingsService) GetPersistentDiskSettings(diskCID 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) RemovePersistentDiskSettings

func (service *FakeSettingsService) RemovePersistentDiskSettings(diskID string) error

func (*FakeSettingsService) SavePersistentDiskSettings

func (service *FakeSettingsService) SavePersistentDiskSettings(settings boshsettings.DiskSettings) error

Jump to

Keyboard shortcuts

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