Documentation ¶
Index ¶
Constants ¶
View Source
const ( RootUsername = "root" VCAPUsername = "vcap" AdminGroup = "admin" EphemeralUserPrefix = "bosh_" )
View Source
const ( BlobstoreTypeDummy = "dummy" BlobstoreTypeLocal = "local" )
Variables ¶
This section is empty.
Functions ¶
func NewServiceProvider ¶
func NewServiceProvider() concreteServiceProvider
Types ¶
type DefaultNetworkDelegate ¶
type Disks ¶
type Disks struct { System string `json:"system"` Ephemeral string `json:"ephemeral"` Persistent map[string]string `json:"persistent"` }
func (Disks) PersistentDiskPath ¶
type Network ¶
type Networks ¶
func (Networks) DefaultNetworkFor ¶
type Service ¶
type Service interface { LoadSettings() error // GetSettings does not return error // because without settings Agent cannot start. GetSettings() Settings InvalidateSettings() error }
func NewService ¶
func NewService( fs boshsys.FileSystem, settingsPath string, settingsFetcher Fetcher, defaultNetworkDelegate DefaultNetworkDelegate, logger boshlog.Logger, ) (service Service)
type ServiceProvider ¶
type ServiceProvider interface { NewService( boshsys.FileSystem, string, Fetcher, DefaultNetworkDelegate, boshlog.Logger, ) Service }
Source Files ¶
Click to show internal directories.
Click to hide internal directories.