Documentation ¶
Index ¶
- type FakeSettingsService
- func (service *FakeSettingsService) GetPersistentDiskHints() (map[string]boshsettings.DiskSettings, error)
- func (service FakeSettingsService) GetSettings() boshsettings.Settings
- func (service *FakeSettingsService) InvalidateSettings() error
- func (service *FakeSettingsService) LoadSettings() error
- func (service *FakeSettingsService) PublicSSHKeyForUsername(_ string) (string, error)
- func (service *FakeSettingsService) SavePersistentDiskHint(_ boshsettings.DiskSettings) error
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
Click to show internal directories.
Click to hide internal directories.