Documentation ¶
Index ¶
- type FakeSettingsService
- func (service *FakeSettingsService) GetAllPersistentDiskSettings() (map[string]boshsettings.DiskSettings, error)
- func (service *FakeSettingsService) GetPersistentDiskSettings(diskCID 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) RemovePersistentDiskSettings(diskID string) error
- func (service *FakeSettingsService) SavePersistentDiskSettings(settings 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 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
Click to show internal directories.
Click to hide internal directories.