fakes

package
v0.0.0-...-8605621 Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2015 License: Apache-2.0 Imports: 3 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FakeSettingsService

type FakeSettingsService struct {
	LoadSettingsError  error
	SettingsWereLoaded bool

	InvalidateSettingsError error
	SettingsWereInvalidated bool

	Settings boshsettings.Settings
}

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

type FakeSettingsServiceProvider

type FakeSettingsServiceProvider struct {
	NewServiceFs              boshsys.FileSystem
	NewServiceDir             string
	NewServiceFetcher         boshsettings.Fetcher
	NewDefaultNetworkResolver boshsettings.DefaultNetworkDelegate
	NewServiceSettingsService *FakeSettingsService
}

func NewServiceProvider

func NewServiceProvider() *FakeSettingsServiceProvider

func (*FakeSettingsServiceProvider) NewService

func (provider *FakeSettingsServiceProvider) NewService(
	fs boshsys.FileSystem,
	dir string,
	fetcher boshsettings.Fetcher,
	defaultNetworkResolver boshsettings.DefaultNetworkDelegate,
	logger boshlog.Logger,
) boshsettings.Service

Jump to

Keyboard shortcuts

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