platformfakes

package
v2.118.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Jun 21, 2018 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

Code generated by counterfeiter. DO NOT EDIT.

Code generated by counterfeiter. DO NOT EDIT.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FakeAuditLogger

type FakeAuditLogger struct {
	DebugStub func(string)

	ErrStub func(string)

	StartLoggingStub func()
	// contains filtered or unexported fields
}

func (*FakeAuditLogger) Debug

func (fake *FakeAuditLogger) Debug(arg1 string)

func (*FakeAuditLogger) DebugArgsForCall

func (fake *FakeAuditLogger) DebugArgsForCall(i int) string

func (*FakeAuditLogger) DebugCallCount

func (fake *FakeAuditLogger) DebugCallCount() int

func (*FakeAuditLogger) Err

func (fake *FakeAuditLogger) Err(arg1 string)

func (*FakeAuditLogger) ErrArgsForCall

func (fake *FakeAuditLogger) ErrArgsForCall(i int) string

func (*FakeAuditLogger) ErrCallCount

func (fake *FakeAuditLogger) ErrCallCount() int

func (*FakeAuditLogger) Invocations

func (fake *FakeAuditLogger) Invocations() map[string][][]interface{}

func (*FakeAuditLogger) StartLogging

func (fake *FakeAuditLogger) StartLogging()

func (*FakeAuditLogger) StartLoggingCallCount

func (fake *FakeAuditLogger) StartLoggingCallCount() int

type FakePlatform

type FakePlatform struct {
	GetFsStub func() boshsys.FileSystem

	GetRunnerStub func() boshsys.CmdRunner

	GetCompressorStub func() boshcmd.Compressor

	GetCopierStub func() boshcmd.Copier

	GetDirProviderStub func() boshdir.Provider

	GetVitalsServiceStub func() boshvitals.Service

	GetAuditLoggerStub func() platform.AuditLogger

	GetDevicePathResolverStub func() (devicePathResolver boshdpresolv.DevicePathResolver)

	CreateUserStub func(username, basePath string) (err error)

	AddUserToGroupsStub func(username string, groups []string) (err error)

	DeleteEphemeralUsersMatchingStub func(regex string) (err error)

	SetupRootDiskStub func(ephemeralDiskPath string) (err error)

	SetupSSHStub func(publicKey []string, username string) (err error)

	SetUserPasswordStub func(user, encryptedPwd string) (err error)

	SetupIPv6Stub func(boshsettings.IPv6) error

	SetupHostnameStub func(hostname string) (err error)

	SetupNetworkingStub func(networks boshsettings.Networks) (err error)

	SetupLogrotateStub func(groupName, basePath, size string) (err error)

	SetTimeWithNtpServersStub func(servers []string) (err error)

	SetupEphemeralDiskWithPathStub func(devicePath string, desiredSwapSizeInBytes *uint64) (err error)

	SetupRawEphemeralDisksStub func(devices []boshsettings.DiskSettings) (err error)

	SetupDataDirStub func() (err error)

	SetupSharedMemoryStub func() (err error)

	SetupTmpDirStub func() (err error)

	SetupHomeDirStub func() (err error)

	SetupBlobsDirStub func() (err error)

	SetupMonitUserStub func() (err error)

	StartMonitStub func() (err error)

	SetupRuntimeConfigurationStub func() (err error)

	SetupLogDirStub func() (err error)

	SetupLoggingAndAuditingStub func() (err error)

	SetupRecordsJSONPermissionStub func(path string) error

	MountPersistentDiskStub func(diskSettings boshsettings.DiskSettings, mountPoint string) error

	UnmountPersistentDiskStub func(diskSettings boshsettings.DiskSettings) (didUnmount bool, err error)

	MigratePersistentDiskStub func(fromMountPoint, toMountPoint string) (err error)

	GetEphemeralDiskPathStub func(diskSettings boshsettings.DiskSettings) string

	IsMountPointStub func(path string) (partitionPath string, result bool, err error)

	IsPersistentDiskMountedStub func(diskSettings boshsettings.DiskSettings) (result bool, err error)

	IsPersistentDiskMountableStub func(diskSettings boshsettings.DiskSettings) (bool, error)

	AssociateDiskStub func(name string, settings boshsettings.DiskSettings) error

	GetFileContentsFromCDROMStub func(filePath string) (contents []byte, err error)

	GetFilesContentsFromDiskStub func(diskPath string, fileNames []string) (contents [][]byte, err error)

	GetDefaultNetworkStub func() (boshsettings.Network, error)

	GetConfiguredNetworkInterfacesStub func() ([]string, error)

	PrepareForNetworkingChangeStub func() error

	DeleteARPEntryWithIPStub func(ip string) error

	SaveDNSRecordsStub func(dnsRecords boshsettings.DNSRecords, hostname string) error

	GetMonitCredentialsStub func() (username, password string, err error)

	GetCertManagerStub func() cert.Manager

	GetHostPublicKeyStub func() (string, error)

	RemoveDevToolsStub func(packageFileListPath string) error

	RemoveStaticLibrariesStub func(packageFileListPath string) error

	ShutdownStub func() error
	// contains filtered or unexported fields
}

func (*FakePlatform) AddUserToGroups

func (fake *FakePlatform) AddUserToGroups(username string, groups []string) (err error)

func (*FakePlatform) AddUserToGroupsArgsForCall

func (fake *FakePlatform) AddUserToGroupsArgsForCall(i int) (string, []string)

func (*FakePlatform) AddUserToGroupsCallCount

func (fake *FakePlatform) AddUserToGroupsCallCount() int

func (*FakePlatform) AddUserToGroupsReturns

func (fake *FakePlatform) AddUserToGroupsReturns(result1 error)

func (*FakePlatform) AddUserToGroupsReturnsOnCall

func (fake *FakePlatform) AddUserToGroupsReturnsOnCall(i int, result1 error)

func (*FakePlatform) AssociateDisk

func (fake *FakePlatform) AssociateDisk(name string, settings boshsettings.DiskSettings) error

func (*FakePlatform) AssociateDiskArgsForCall

func (fake *FakePlatform) AssociateDiskArgsForCall(i int) (string, boshsettings.DiskSettings)

func (*FakePlatform) AssociateDiskCallCount

func (fake *FakePlatform) AssociateDiskCallCount() int

func (*FakePlatform) AssociateDiskReturns

func (fake *FakePlatform) AssociateDiskReturns(result1 error)

func (*FakePlatform) AssociateDiskReturnsOnCall

func (fake *FakePlatform) AssociateDiskReturnsOnCall(i int, result1 error)

func (*FakePlatform) CreateUser

func (fake *FakePlatform) CreateUser(username string, basePath string) (err error)

func (*FakePlatform) CreateUserArgsForCall

func (fake *FakePlatform) CreateUserArgsForCall(i int) (string, string)

func (*FakePlatform) CreateUserCallCount

func (fake *FakePlatform) CreateUserCallCount() int

func (*FakePlatform) CreateUserReturns

func (fake *FakePlatform) CreateUserReturns(result1 error)

func (*FakePlatform) CreateUserReturnsOnCall

func (fake *FakePlatform) CreateUserReturnsOnCall(i int, result1 error)

func (*FakePlatform) DeleteARPEntryWithIP

func (fake *FakePlatform) DeleteARPEntryWithIP(ip string) error

func (*FakePlatform) DeleteARPEntryWithIPArgsForCall

func (fake *FakePlatform) DeleteARPEntryWithIPArgsForCall(i int) string

func (*FakePlatform) DeleteARPEntryWithIPCallCount

func (fake *FakePlatform) DeleteARPEntryWithIPCallCount() int

func (*FakePlatform) DeleteARPEntryWithIPReturns

func (fake *FakePlatform) DeleteARPEntryWithIPReturns(result1 error)

func (*FakePlatform) DeleteARPEntryWithIPReturnsOnCall

func (fake *FakePlatform) DeleteARPEntryWithIPReturnsOnCall(i int, result1 error)

func (*FakePlatform) DeleteEphemeralUsersMatching

func (fake *FakePlatform) DeleteEphemeralUsersMatching(regex string) (err error)

func (*FakePlatform) DeleteEphemeralUsersMatchingArgsForCall

func (fake *FakePlatform) DeleteEphemeralUsersMatchingArgsForCall(i int) string

func (*FakePlatform) DeleteEphemeralUsersMatchingCallCount

func (fake *FakePlatform) DeleteEphemeralUsersMatchingCallCount() int

func (*FakePlatform) DeleteEphemeralUsersMatchingReturns

func (fake *FakePlatform) DeleteEphemeralUsersMatchingReturns(result1 error)

func (*FakePlatform) DeleteEphemeralUsersMatchingReturnsOnCall

func (fake *FakePlatform) DeleteEphemeralUsersMatchingReturnsOnCall(i int, result1 error)

func (*FakePlatform) GetAuditLogger

func (fake *FakePlatform) GetAuditLogger() platform.AuditLogger

func (*FakePlatform) GetAuditLoggerCallCount

func (fake *FakePlatform) GetAuditLoggerCallCount() int

func (*FakePlatform) GetAuditLoggerReturns

func (fake *FakePlatform) GetAuditLoggerReturns(result1 platform.AuditLogger)

func (*FakePlatform) GetAuditLoggerReturnsOnCall

func (fake *FakePlatform) GetAuditLoggerReturnsOnCall(i int, result1 platform.AuditLogger)

func (*FakePlatform) GetCertManager

func (fake *FakePlatform) GetCertManager() cert.Manager

func (*FakePlatform) GetCertManagerCallCount

func (fake *FakePlatform) GetCertManagerCallCount() int

func (*FakePlatform) GetCertManagerReturns

func (fake *FakePlatform) GetCertManagerReturns(result1 cert.Manager)

func (*FakePlatform) GetCertManagerReturnsOnCall

func (fake *FakePlatform) GetCertManagerReturnsOnCall(i int, result1 cert.Manager)

func (*FakePlatform) GetCompressor

func (fake *FakePlatform) GetCompressor() boshcmd.Compressor

func (*FakePlatform) GetCompressorCallCount

func (fake *FakePlatform) GetCompressorCallCount() int

func (*FakePlatform) GetCompressorReturns

func (fake *FakePlatform) GetCompressorReturns(result1 boshcmd.Compressor)

func (*FakePlatform) GetCompressorReturnsOnCall

func (fake *FakePlatform) GetCompressorReturnsOnCall(i int, result1 boshcmd.Compressor)

func (*FakePlatform) GetConfiguredNetworkInterfaces

func (fake *FakePlatform) GetConfiguredNetworkInterfaces() ([]string, error)

func (*FakePlatform) GetConfiguredNetworkInterfacesCallCount

func (fake *FakePlatform) GetConfiguredNetworkInterfacesCallCount() int

func (*FakePlatform) GetConfiguredNetworkInterfacesReturns

func (fake *FakePlatform) GetConfiguredNetworkInterfacesReturns(result1 []string, result2 error)

func (*FakePlatform) GetConfiguredNetworkInterfacesReturnsOnCall

func (fake *FakePlatform) GetConfiguredNetworkInterfacesReturnsOnCall(i int, result1 []string, result2 error)

func (*FakePlatform) GetCopier

func (fake *FakePlatform) GetCopier() boshcmd.Copier

func (*FakePlatform) GetCopierCallCount

func (fake *FakePlatform) GetCopierCallCount() int

func (*FakePlatform) GetCopierReturns

func (fake *FakePlatform) GetCopierReturns(result1 boshcmd.Copier)

func (*FakePlatform) GetCopierReturnsOnCall

func (fake *FakePlatform) GetCopierReturnsOnCall(i int, result1 boshcmd.Copier)

func (*FakePlatform) GetDefaultNetwork

func (fake *FakePlatform) GetDefaultNetwork() (boshsettings.Network, error)

func (*FakePlatform) GetDefaultNetworkCallCount

func (fake *FakePlatform) GetDefaultNetworkCallCount() int

func (*FakePlatform) GetDefaultNetworkReturns

func (fake *FakePlatform) GetDefaultNetworkReturns(result1 boshsettings.Network, result2 error)

func (*FakePlatform) GetDefaultNetworkReturnsOnCall

func (fake *FakePlatform) GetDefaultNetworkReturnsOnCall(i int, result1 boshsettings.Network, result2 error)

func (*FakePlatform) GetDevicePathResolver

func (fake *FakePlatform) GetDevicePathResolver() (devicePathResolver boshdpresolv.DevicePathResolver)

func (*FakePlatform) GetDevicePathResolverCallCount

func (fake *FakePlatform) GetDevicePathResolverCallCount() int

func (*FakePlatform) GetDevicePathResolverReturns

func (fake *FakePlatform) GetDevicePathResolverReturns(result1 boshdpresolv.DevicePathResolver)

func (*FakePlatform) GetDevicePathResolverReturnsOnCall

func (fake *FakePlatform) GetDevicePathResolverReturnsOnCall(i int, result1 boshdpresolv.DevicePathResolver)

func (*FakePlatform) GetDirProvider

func (fake *FakePlatform) GetDirProvider() boshdir.Provider

func (*FakePlatform) GetDirProviderCallCount

func (fake *FakePlatform) GetDirProviderCallCount() int

func (*FakePlatform) GetDirProviderReturns

func (fake *FakePlatform) GetDirProviderReturns(result1 boshdir.Provider)

func (*FakePlatform) GetDirProviderReturnsOnCall

func (fake *FakePlatform) GetDirProviderReturnsOnCall(i int, result1 boshdir.Provider)

func (*FakePlatform) GetEphemeralDiskPath

func (fake *FakePlatform) GetEphemeralDiskPath(diskSettings boshsettings.DiskSettings) string

func (*FakePlatform) GetEphemeralDiskPathArgsForCall

func (fake *FakePlatform) GetEphemeralDiskPathArgsForCall(i int) boshsettings.DiskSettings

func (*FakePlatform) GetEphemeralDiskPathCallCount

func (fake *FakePlatform) GetEphemeralDiskPathCallCount() int

func (*FakePlatform) GetEphemeralDiskPathReturns

func (fake *FakePlatform) GetEphemeralDiskPathReturns(result1 string)

func (*FakePlatform) GetEphemeralDiskPathReturnsOnCall

func (fake *FakePlatform) GetEphemeralDiskPathReturnsOnCall(i int, result1 string)

func (*FakePlatform) GetFileContentsFromCDROM

func (fake *FakePlatform) GetFileContentsFromCDROM(filePath string) (contents []byte, err error)

func (*FakePlatform) GetFileContentsFromCDROMArgsForCall

func (fake *FakePlatform) GetFileContentsFromCDROMArgsForCall(i int) string

func (*FakePlatform) GetFileContentsFromCDROMCallCount

func (fake *FakePlatform) GetFileContentsFromCDROMCallCount() int

func (*FakePlatform) GetFileContentsFromCDROMReturns

func (fake *FakePlatform) GetFileContentsFromCDROMReturns(result1 []byte, result2 error)

func (*FakePlatform) GetFileContentsFromCDROMReturnsOnCall

func (fake *FakePlatform) GetFileContentsFromCDROMReturnsOnCall(i int, result1 []byte, result2 error)

func (*FakePlatform) GetFilesContentsFromDisk

func (fake *FakePlatform) GetFilesContentsFromDisk(diskPath string, fileNames []string) (contents [][]byte, err error)

func (*FakePlatform) GetFilesContentsFromDiskArgsForCall

func (fake *FakePlatform) GetFilesContentsFromDiskArgsForCall(i int) (string, []string)

func (*FakePlatform) GetFilesContentsFromDiskCallCount

func (fake *FakePlatform) GetFilesContentsFromDiskCallCount() int

func (*FakePlatform) GetFilesContentsFromDiskReturns

func (fake *FakePlatform) GetFilesContentsFromDiskReturns(result1 [][]byte, result2 error)

func (*FakePlatform) GetFilesContentsFromDiskReturnsOnCall

func (fake *FakePlatform) GetFilesContentsFromDiskReturnsOnCall(i int, result1 [][]byte, result2 error)

func (*FakePlatform) GetFs

func (fake *FakePlatform) GetFs() boshsys.FileSystem

func (*FakePlatform) GetFsCallCount

func (fake *FakePlatform) GetFsCallCount() int

func (*FakePlatform) GetFsReturns

func (fake *FakePlatform) GetFsReturns(result1 boshsys.FileSystem)

func (*FakePlatform) GetFsReturnsOnCall

func (fake *FakePlatform) GetFsReturnsOnCall(i int, result1 boshsys.FileSystem)

func (*FakePlatform) GetHostPublicKey

func (fake *FakePlatform) GetHostPublicKey() (string, error)

func (*FakePlatform) GetHostPublicKeyCallCount

func (fake *FakePlatform) GetHostPublicKeyCallCount() int

func (*FakePlatform) GetHostPublicKeyReturns

func (fake *FakePlatform) GetHostPublicKeyReturns(result1 string, result2 error)

func (*FakePlatform) GetHostPublicKeyReturnsOnCall

func (fake *FakePlatform) GetHostPublicKeyReturnsOnCall(i int, result1 string, result2 error)

func (*FakePlatform) GetMonitCredentials

func (fake *FakePlatform) GetMonitCredentials() (username, password string, err error)

func (*FakePlatform) GetMonitCredentialsCallCount

func (fake *FakePlatform) GetMonitCredentialsCallCount() int

func (*FakePlatform) GetMonitCredentialsReturns

func (fake *FakePlatform) GetMonitCredentialsReturns(result1 string, result2 string, result3 error)

func (*FakePlatform) GetMonitCredentialsReturnsOnCall

func (fake *FakePlatform) GetMonitCredentialsReturnsOnCall(i int, result1 string, result2 string, result3 error)

func (*FakePlatform) GetRunner

func (fake *FakePlatform) GetRunner() boshsys.CmdRunner

func (*FakePlatform) GetRunnerCallCount

func (fake *FakePlatform) GetRunnerCallCount() int

func (*FakePlatform) GetRunnerReturns

func (fake *FakePlatform) GetRunnerReturns(result1 boshsys.CmdRunner)

func (*FakePlatform) GetRunnerReturnsOnCall

func (fake *FakePlatform) GetRunnerReturnsOnCall(i int, result1 boshsys.CmdRunner)

func (*FakePlatform) GetVitalsService

func (fake *FakePlatform) GetVitalsService() boshvitals.Service

func (*FakePlatform) GetVitalsServiceCallCount

func (fake *FakePlatform) GetVitalsServiceCallCount() int

func (*FakePlatform) GetVitalsServiceReturns

func (fake *FakePlatform) GetVitalsServiceReturns(result1 boshvitals.Service)

func (*FakePlatform) GetVitalsServiceReturnsOnCall

func (fake *FakePlatform) GetVitalsServiceReturnsOnCall(i int, result1 boshvitals.Service)

func (*FakePlatform) Invocations

func (fake *FakePlatform) Invocations() map[string][][]interface{}

func (*FakePlatform) IsMountPoint

func (fake *FakePlatform) IsMountPoint(path string) (partitionPath string, result bool, err error)

func (*FakePlatform) IsMountPointArgsForCall

func (fake *FakePlatform) IsMountPointArgsForCall(i int) string

func (*FakePlatform) IsMountPointCallCount

func (fake *FakePlatform) IsMountPointCallCount() int

func (*FakePlatform) IsMountPointReturns

func (fake *FakePlatform) IsMountPointReturns(result1 string, result2 bool, result3 error)

func (*FakePlatform) IsMountPointReturnsOnCall

func (fake *FakePlatform) IsMountPointReturnsOnCall(i int, result1 string, result2 bool, result3 error)

func (*FakePlatform) IsPersistentDiskMountable

func (fake *FakePlatform) IsPersistentDiskMountable(diskSettings boshsettings.DiskSettings) (bool, error)

func (*FakePlatform) IsPersistentDiskMountableArgsForCall

func (fake *FakePlatform) IsPersistentDiskMountableArgsForCall(i int) boshsettings.DiskSettings

func (*FakePlatform) IsPersistentDiskMountableCallCount

func (fake *FakePlatform) IsPersistentDiskMountableCallCount() int

func (*FakePlatform) IsPersistentDiskMountableReturns

func (fake *FakePlatform) IsPersistentDiskMountableReturns(result1 bool, result2 error)

func (*FakePlatform) IsPersistentDiskMountableReturnsOnCall

func (fake *FakePlatform) IsPersistentDiskMountableReturnsOnCall(i int, result1 bool, result2 error)

func (*FakePlatform) IsPersistentDiskMounted

func (fake *FakePlatform) IsPersistentDiskMounted(diskSettings boshsettings.DiskSettings) (result bool, err error)

func (*FakePlatform) IsPersistentDiskMountedArgsForCall

func (fake *FakePlatform) IsPersistentDiskMountedArgsForCall(i int) boshsettings.DiskSettings

func (*FakePlatform) IsPersistentDiskMountedCallCount

func (fake *FakePlatform) IsPersistentDiskMountedCallCount() int

func (*FakePlatform) IsPersistentDiskMountedReturns

func (fake *FakePlatform) IsPersistentDiskMountedReturns(result1 bool, result2 error)

func (*FakePlatform) IsPersistentDiskMountedReturnsOnCall

func (fake *FakePlatform) IsPersistentDiskMountedReturnsOnCall(i int, result1 bool, result2 error)

func (*FakePlatform) MigratePersistentDisk

func (fake *FakePlatform) MigratePersistentDisk(fromMountPoint string, toMountPoint string) (err error)

func (*FakePlatform) MigratePersistentDiskArgsForCall

func (fake *FakePlatform) MigratePersistentDiskArgsForCall(i int) (string, string)

func (*FakePlatform) MigratePersistentDiskCallCount

func (fake *FakePlatform) MigratePersistentDiskCallCount() int

func (*FakePlatform) MigratePersistentDiskReturns

func (fake *FakePlatform) MigratePersistentDiskReturns(result1 error)

func (*FakePlatform) MigratePersistentDiskReturnsOnCall

func (fake *FakePlatform) MigratePersistentDiskReturnsOnCall(i int, result1 error)

func (*FakePlatform) MountPersistentDisk

func (fake *FakePlatform) MountPersistentDisk(diskSettings boshsettings.DiskSettings, mountPoint string) error

func (*FakePlatform) MountPersistentDiskArgsForCall

func (fake *FakePlatform) MountPersistentDiskArgsForCall(i int) (boshsettings.DiskSettings, string)

func (*FakePlatform) MountPersistentDiskCallCount

func (fake *FakePlatform) MountPersistentDiskCallCount() int

func (*FakePlatform) MountPersistentDiskReturns

func (fake *FakePlatform) MountPersistentDiskReturns(result1 error)

func (*FakePlatform) MountPersistentDiskReturnsOnCall

func (fake *FakePlatform) MountPersistentDiskReturnsOnCall(i int, result1 error)

func (*FakePlatform) PrepareForNetworkingChange

func (fake *FakePlatform) PrepareForNetworkingChange() error

func (*FakePlatform) PrepareForNetworkingChangeCallCount

func (fake *FakePlatform) PrepareForNetworkingChangeCallCount() int

func (*FakePlatform) PrepareForNetworkingChangeReturns

func (fake *FakePlatform) PrepareForNetworkingChangeReturns(result1 error)

func (*FakePlatform) PrepareForNetworkingChangeReturnsOnCall

func (fake *FakePlatform) PrepareForNetworkingChangeReturnsOnCall(i int, result1 error)

func (*FakePlatform) RemoveDevTools

func (fake *FakePlatform) RemoveDevTools(packageFileListPath string) error

func (*FakePlatform) RemoveDevToolsArgsForCall

func (fake *FakePlatform) RemoveDevToolsArgsForCall(i int) string

func (*FakePlatform) RemoveDevToolsCallCount

func (fake *FakePlatform) RemoveDevToolsCallCount() int

func (*FakePlatform) RemoveDevToolsReturns

func (fake *FakePlatform) RemoveDevToolsReturns(result1 error)

func (*FakePlatform) RemoveDevToolsReturnsOnCall

func (fake *FakePlatform) RemoveDevToolsReturnsOnCall(i int, result1 error)

func (*FakePlatform) RemoveStaticLibraries

func (fake *FakePlatform) RemoveStaticLibraries(packageFileListPath string) error

func (*FakePlatform) RemoveStaticLibrariesArgsForCall

func (fake *FakePlatform) RemoveStaticLibrariesArgsForCall(i int) string

func (*FakePlatform) RemoveStaticLibrariesCallCount

func (fake *FakePlatform) RemoveStaticLibrariesCallCount() int

func (*FakePlatform) RemoveStaticLibrariesReturns

func (fake *FakePlatform) RemoveStaticLibrariesReturns(result1 error)

func (*FakePlatform) RemoveStaticLibrariesReturnsOnCall

func (fake *FakePlatform) RemoveStaticLibrariesReturnsOnCall(i int, result1 error)

func (*FakePlatform) SaveDNSRecords

func (fake *FakePlatform) SaveDNSRecords(dnsRecords boshsettings.DNSRecords, hostname string) error

func (*FakePlatform) SaveDNSRecordsArgsForCall

func (fake *FakePlatform) SaveDNSRecordsArgsForCall(i int) (boshsettings.DNSRecords, string)

func (*FakePlatform) SaveDNSRecordsCallCount

func (fake *FakePlatform) SaveDNSRecordsCallCount() int

func (*FakePlatform) SaveDNSRecordsReturns

func (fake *FakePlatform) SaveDNSRecordsReturns(result1 error)

func (*FakePlatform) SaveDNSRecordsReturnsOnCall

func (fake *FakePlatform) SaveDNSRecordsReturnsOnCall(i int, result1 error)

func (*FakePlatform) SetTimeWithNtpServers

func (fake *FakePlatform) SetTimeWithNtpServers(servers []string) (err error)

func (*FakePlatform) SetTimeWithNtpServersArgsForCall

func (fake *FakePlatform) SetTimeWithNtpServersArgsForCall(i int) []string

func (*FakePlatform) SetTimeWithNtpServersCallCount

func (fake *FakePlatform) SetTimeWithNtpServersCallCount() int

func (*FakePlatform) SetTimeWithNtpServersReturns

func (fake *FakePlatform) SetTimeWithNtpServersReturns(result1 error)

func (*FakePlatform) SetTimeWithNtpServersReturnsOnCall

func (fake *FakePlatform) SetTimeWithNtpServersReturnsOnCall(i int, result1 error)

func (*FakePlatform) SetUserPassword

func (fake *FakePlatform) SetUserPassword(user string, encryptedPwd string) (err error)

func (*FakePlatform) SetUserPasswordArgsForCall

func (fake *FakePlatform) SetUserPasswordArgsForCall(i int) (string, string)

func (*FakePlatform) SetUserPasswordCallCount

func (fake *FakePlatform) SetUserPasswordCallCount() int

func (*FakePlatform) SetUserPasswordReturns

func (fake *FakePlatform) SetUserPasswordReturns(result1 error)

func (*FakePlatform) SetUserPasswordReturnsOnCall

func (fake *FakePlatform) SetUserPasswordReturnsOnCall(i int, result1 error)

func (*FakePlatform) SetupBlobsDir

func (fake *FakePlatform) SetupBlobsDir() (err error)

func (*FakePlatform) SetupBlobsDirCallCount

func (fake *FakePlatform) SetupBlobsDirCallCount() int

func (*FakePlatform) SetupBlobsDirReturns

func (fake *FakePlatform) SetupBlobsDirReturns(result1 error)

func (*FakePlatform) SetupBlobsDirReturnsOnCall

func (fake *FakePlatform) SetupBlobsDirReturnsOnCall(i int, result1 error)

func (*FakePlatform) SetupDataDir

func (fake *FakePlatform) SetupDataDir() (err error)

func (*FakePlatform) SetupDataDirCallCount

func (fake *FakePlatform) SetupDataDirCallCount() int

func (*FakePlatform) SetupDataDirReturns

func (fake *FakePlatform) SetupDataDirReturns(result1 error)

func (*FakePlatform) SetupDataDirReturnsOnCall

func (fake *FakePlatform) SetupDataDirReturnsOnCall(i int, result1 error)

func (*FakePlatform) SetupEphemeralDiskWithPath

func (fake *FakePlatform) SetupEphemeralDiskWithPath(devicePath string, desiredSwapSizeInBytes *uint64) (err error)

func (*FakePlatform) SetupEphemeralDiskWithPathArgsForCall

func (fake *FakePlatform) SetupEphemeralDiskWithPathArgsForCall(i int) (string, *uint64)

func (*FakePlatform) SetupEphemeralDiskWithPathCallCount

func (fake *FakePlatform) SetupEphemeralDiskWithPathCallCount() int

func (*FakePlatform) SetupEphemeralDiskWithPathReturns

func (fake *FakePlatform) SetupEphemeralDiskWithPathReturns(result1 error)

func (*FakePlatform) SetupEphemeralDiskWithPathReturnsOnCall

func (fake *FakePlatform) SetupEphemeralDiskWithPathReturnsOnCall(i int, result1 error)

func (*FakePlatform) SetupHomeDir

func (fake *FakePlatform) SetupHomeDir() (err error)

func (*FakePlatform) SetupHomeDirCallCount

func (fake *FakePlatform) SetupHomeDirCallCount() int

func (*FakePlatform) SetupHomeDirReturns

func (fake *FakePlatform) SetupHomeDirReturns(result1 error)

func (*FakePlatform) SetupHomeDirReturnsOnCall

func (fake *FakePlatform) SetupHomeDirReturnsOnCall(i int, result1 error)

func (*FakePlatform) SetupHostname

func (fake *FakePlatform) SetupHostname(hostname string) (err error)

func (*FakePlatform) SetupHostnameArgsForCall

func (fake *FakePlatform) SetupHostnameArgsForCall(i int) string

func (*FakePlatform) SetupHostnameCallCount

func (fake *FakePlatform) SetupHostnameCallCount() int

func (*FakePlatform) SetupHostnameReturns

func (fake *FakePlatform) SetupHostnameReturns(result1 error)

func (*FakePlatform) SetupHostnameReturnsOnCall

func (fake *FakePlatform) SetupHostnameReturnsOnCall(i int, result1 error)

func (*FakePlatform) SetupIPv6

func (fake *FakePlatform) SetupIPv6(arg1 boshsettings.IPv6) error

func (*FakePlatform) SetupIPv6ArgsForCall

func (fake *FakePlatform) SetupIPv6ArgsForCall(i int) boshsettings.IPv6

func (*FakePlatform) SetupIPv6CallCount

func (fake *FakePlatform) SetupIPv6CallCount() int

func (*FakePlatform) SetupIPv6Returns

func (fake *FakePlatform) SetupIPv6Returns(result1 error)

func (*FakePlatform) SetupIPv6ReturnsOnCall

func (fake *FakePlatform) SetupIPv6ReturnsOnCall(i int, result1 error)

func (*FakePlatform) SetupLogDir

func (fake *FakePlatform) SetupLogDir() (err error)

func (*FakePlatform) SetupLogDirCallCount

func (fake *FakePlatform) SetupLogDirCallCount() int

func (*FakePlatform) SetupLogDirReturns

func (fake *FakePlatform) SetupLogDirReturns(result1 error)

func (*FakePlatform) SetupLogDirReturnsOnCall

func (fake *FakePlatform) SetupLogDirReturnsOnCall(i int, result1 error)

func (*FakePlatform) SetupLoggingAndAuditing

func (fake *FakePlatform) SetupLoggingAndAuditing() (err error)

func (*FakePlatform) SetupLoggingAndAuditingCallCount

func (fake *FakePlatform) SetupLoggingAndAuditingCallCount() int

func (*FakePlatform) SetupLoggingAndAuditingReturns

func (fake *FakePlatform) SetupLoggingAndAuditingReturns(result1 error)

func (*FakePlatform) SetupLoggingAndAuditingReturnsOnCall

func (fake *FakePlatform) SetupLoggingAndAuditingReturnsOnCall(i int, result1 error)

func (*FakePlatform) SetupLogrotate

func (fake *FakePlatform) SetupLogrotate(groupName string, basePath string, size string) (err error)

func (*FakePlatform) SetupLogrotateArgsForCall

func (fake *FakePlatform) SetupLogrotateArgsForCall(i int) (string, string, string)

func (*FakePlatform) SetupLogrotateCallCount

func (fake *FakePlatform) SetupLogrotateCallCount() int

func (*FakePlatform) SetupLogrotateReturns

func (fake *FakePlatform) SetupLogrotateReturns(result1 error)

func (*FakePlatform) SetupLogrotateReturnsOnCall

func (fake *FakePlatform) SetupLogrotateReturnsOnCall(i int, result1 error)

func (*FakePlatform) SetupMonitUser

func (fake *FakePlatform) SetupMonitUser() (err error)

func (*FakePlatform) SetupMonitUserCallCount

func (fake *FakePlatform) SetupMonitUserCallCount() int

func (*FakePlatform) SetupMonitUserReturns

func (fake *FakePlatform) SetupMonitUserReturns(result1 error)

func (*FakePlatform) SetupMonitUserReturnsOnCall

func (fake *FakePlatform) SetupMonitUserReturnsOnCall(i int, result1 error)

func (*FakePlatform) SetupNetworking

func (fake *FakePlatform) SetupNetworking(networks boshsettings.Networks) (err error)

func (*FakePlatform) SetupNetworkingArgsForCall

func (fake *FakePlatform) SetupNetworkingArgsForCall(i int) boshsettings.Networks

func (*FakePlatform) SetupNetworkingCallCount

func (fake *FakePlatform) SetupNetworkingCallCount() int

func (*FakePlatform) SetupNetworkingReturns

func (fake *FakePlatform) SetupNetworkingReturns(result1 error)

func (*FakePlatform) SetupNetworkingReturnsOnCall

func (fake *FakePlatform) SetupNetworkingReturnsOnCall(i int, result1 error)

func (*FakePlatform) SetupRawEphemeralDisks

func (fake *FakePlatform) SetupRawEphemeralDisks(devices []boshsettings.DiskSettings) (err error)

func (*FakePlatform) SetupRawEphemeralDisksArgsForCall

func (fake *FakePlatform) SetupRawEphemeralDisksArgsForCall(i int) []boshsettings.DiskSettings

func (*FakePlatform) SetupRawEphemeralDisksCallCount

func (fake *FakePlatform) SetupRawEphemeralDisksCallCount() int

func (*FakePlatform) SetupRawEphemeralDisksReturns

func (fake *FakePlatform) SetupRawEphemeralDisksReturns(result1 error)

func (*FakePlatform) SetupRawEphemeralDisksReturnsOnCall

func (fake *FakePlatform) SetupRawEphemeralDisksReturnsOnCall(i int, result1 error)

func (*FakePlatform) SetupRecordsJSONPermission

func (fake *FakePlatform) SetupRecordsJSONPermission(path string) error

func (*FakePlatform) SetupRecordsJSONPermissionArgsForCall

func (fake *FakePlatform) SetupRecordsJSONPermissionArgsForCall(i int) string

func (*FakePlatform) SetupRecordsJSONPermissionCallCount

func (fake *FakePlatform) SetupRecordsJSONPermissionCallCount() int

func (*FakePlatform) SetupRecordsJSONPermissionReturns

func (fake *FakePlatform) SetupRecordsJSONPermissionReturns(result1 error)

func (*FakePlatform) SetupRecordsJSONPermissionReturnsOnCall

func (fake *FakePlatform) SetupRecordsJSONPermissionReturnsOnCall(i int, result1 error)

func (*FakePlatform) SetupRootDisk

func (fake *FakePlatform) SetupRootDisk(ephemeralDiskPath string) (err error)

func (*FakePlatform) SetupRootDiskArgsForCall

func (fake *FakePlatform) SetupRootDiskArgsForCall(i int) string

func (*FakePlatform) SetupRootDiskCallCount

func (fake *FakePlatform) SetupRootDiskCallCount() int

func (*FakePlatform) SetupRootDiskReturns

func (fake *FakePlatform) SetupRootDiskReturns(result1 error)

func (*FakePlatform) SetupRootDiskReturnsOnCall

func (fake *FakePlatform) SetupRootDiskReturnsOnCall(i int, result1 error)

func (*FakePlatform) SetupRuntimeConfiguration

func (fake *FakePlatform) SetupRuntimeConfiguration() (err error)

func (*FakePlatform) SetupRuntimeConfigurationCallCount

func (fake *FakePlatform) SetupRuntimeConfigurationCallCount() int

func (*FakePlatform) SetupRuntimeConfigurationReturns

func (fake *FakePlatform) SetupRuntimeConfigurationReturns(result1 error)

func (*FakePlatform) SetupRuntimeConfigurationReturnsOnCall

func (fake *FakePlatform) SetupRuntimeConfigurationReturnsOnCall(i int, result1 error)

func (*FakePlatform) SetupSSH

func (fake *FakePlatform) SetupSSH(publicKey []string, username string) (err error)

func (*FakePlatform) SetupSSHArgsForCall

func (fake *FakePlatform) SetupSSHArgsForCall(i int) ([]string, string)

func (*FakePlatform) SetupSSHCallCount

func (fake *FakePlatform) SetupSSHCallCount() int

func (*FakePlatform) SetupSSHReturns

func (fake *FakePlatform) SetupSSHReturns(result1 error)

func (*FakePlatform) SetupSSHReturnsOnCall

func (fake *FakePlatform) SetupSSHReturnsOnCall(i int, result1 error)

func (*FakePlatform) SetupSharedMemory

func (fake *FakePlatform) SetupSharedMemory() (err error)

func (*FakePlatform) SetupSharedMemoryCallCount

func (fake *FakePlatform) SetupSharedMemoryCallCount() int

func (*FakePlatform) SetupSharedMemoryReturns

func (fake *FakePlatform) SetupSharedMemoryReturns(result1 error)

func (*FakePlatform) SetupSharedMemoryReturnsOnCall

func (fake *FakePlatform) SetupSharedMemoryReturnsOnCall(i int, result1 error)

func (*FakePlatform) SetupTmpDir

func (fake *FakePlatform) SetupTmpDir() (err error)

func (*FakePlatform) SetupTmpDirCallCount

func (fake *FakePlatform) SetupTmpDirCallCount() int

func (*FakePlatform) SetupTmpDirReturns

func (fake *FakePlatform) SetupTmpDirReturns(result1 error)

func (*FakePlatform) SetupTmpDirReturnsOnCall

func (fake *FakePlatform) SetupTmpDirReturnsOnCall(i int, result1 error)

func (*FakePlatform) Shutdown

func (fake *FakePlatform) Shutdown() error

func (*FakePlatform) ShutdownCallCount

func (fake *FakePlatform) ShutdownCallCount() int

func (*FakePlatform) ShutdownReturns

func (fake *FakePlatform) ShutdownReturns(result1 error)

func (*FakePlatform) ShutdownReturnsOnCall

func (fake *FakePlatform) ShutdownReturnsOnCall(i int, result1 error)

func (*FakePlatform) StartMonit

func (fake *FakePlatform) StartMonit() (err error)

func (*FakePlatform) StartMonitCallCount

func (fake *FakePlatform) StartMonitCallCount() int

func (*FakePlatform) StartMonitReturns

func (fake *FakePlatform) StartMonitReturns(result1 error)

func (*FakePlatform) StartMonitReturnsOnCall

func (fake *FakePlatform) StartMonitReturnsOnCall(i int, result1 error)

func (*FakePlatform) UnmountPersistentDisk

func (fake *FakePlatform) UnmountPersistentDisk(diskSettings boshsettings.DiskSettings) (didUnmount bool, err error)

func (*FakePlatform) UnmountPersistentDiskArgsForCall

func (fake *FakePlatform) UnmountPersistentDiskArgsForCall(i int) boshsettings.DiskSettings

func (*FakePlatform) UnmountPersistentDiskCallCount

func (fake *FakePlatform) UnmountPersistentDiskCallCount() int

func (*FakePlatform) UnmountPersistentDiskReturns

func (fake *FakePlatform) UnmountPersistentDiskReturns(result1 bool, result2 error)

func (*FakePlatform) UnmountPersistentDiskReturnsOnCall

func (fake *FakePlatform) UnmountPersistentDiskReturnsOnCall(i int, result1 bool, result2 error)

Jump to

Keyboard shortcuts

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