platformfakes

package
v2.168.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Nov 9, 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) DebugCalls

func (fake *FakeAuditLogger) DebugCalls(stub func(string))

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) ErrCalls

func (fake *FakeAuditLogger) ErrCalls(stub func(string))

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

func (*FakeAuditLogger) StartLoggingCalls

func (fake *FakeAuditLogger) StartLoggingCalls(stub func())

type FakePlatform

type FakePlatform struct {
	AddUserToGroupsStub func(string, []string) error

	AssociateDiskStub func(string, settings.DiskSettings) error

	CreateUserStub func(string, string) error

	DeleteARPEntryWithIPStub func(string) error

	DeleteEphemeralUsersMatchingStub func(string) error

	GetAuditLoggerStub func() platform.AuditLogger

	GetCertManagerStub func() cert.Manager

	GetCompressorStub func() fileutil.Compressor

	GetConfiguredNetworkInterfacesStub func() ([]string, error)

	GetCopierStub func() fileutil.Copier

	GetDefaultNetworkStub func() (settings.Network, error)

	GetDevicePathResolverStub func() devicepathresolver.DevicePathResolver

	GetDirProviderStub func() directories.Provider

	GetEphemeralDiskPathStub func(settings.DiskSettings) string

	GetFileContentsFromCDROMStub func(string) ([]byte, error)

	GetFilesContentsFromDiskStub func(string, []string) ([][]byte, error)

	GetFsStub func() system.FileSystem

	GetHostPublicKeyStub func() (string, error)

	GetMonitCredentialsStub func() (string, string, error)

	GetRunnerStub func() system.CmdRunner

	GetVitalsServiceStub func() vitals.Service

	IsMountPointStub func(string) (string, bool, error)

	IsPersistentDiskMountableStub func(settings.DiskSettings) (bool, error)

	IsPersistentDiskMountedStub func(settings.DiskSettings) (bool, error)

	MigratePersistentDiskStub func(string, string) error

	MountPersistentDiskStub func(settings.DiskSettings, string) error

	PrepareForNetworkingChangeStub func() error

	RemoveDevToolsStub func(string) error

	RemoveStaticLibrariesStub func(string) error

	SaveDNSRecordsStub func(settings.DNSRecords, string) error

	SetTimeWithNtpServersStub func([]string) error

	SetUserPasswordStub func(string, string) error

	SetupBlobsDirStub func() error

	SetupDataDirStub func(settings.JobDir) error

	SetupEphemeralDiskWithPathStub func(string, *uint64) error

	SetupHomeDirStub func() error

	SetupHostnameStub func(string) error

	SetupIPv6Stub func(settings.IPv6) error

	SetupLogDirStub func() error

	SetupLoggingAndAuditingStub func() error

	SetupLogrotateStub func(string, string, string) error

	SetupMonitUserStub func() error

	SetupNetworkingStub func(settings.Networks) error

	SetupRawEphemeralDisksStub func([]settings.DiskSettings) error

	SetupRecordsJSONPermissionStub func(string) error

	SetupRootDiskStub func(string) error

	SetupRuntimeConfigurationStub func() error

	SetupSSHStub func([]string, string) error

	SetupSharedMemoryStub func() error

	SetupTmpDirStub func() error

	ShutdownStub func() error

	StartMonitStub func() error

	UnmountPersistentDiskStub func(settings.DiskSettings) (bool, error)
	// contains filtered or unexported fields
}

func (*FakePlatform) AddUserToGroups

func (fake *FakePlatform) AddUserToGroups(arg1 string, arg2 []string) error

func (*FakePlatform) AddUserToGroupsArgsForCall

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

func (*FakePlatform) AddUserToGroupsCallCount

func (fake *FakePlatform) AddUserToGroupsCallCount() int

func (*FakePlatform) AddUserToGroupsCalls

func (fake *FakePlatform) AddUserToGroupsCalls(stub func(string, []string) error)

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(arg1 string, arg2 settings.DiskSettings) error

func (*FakePlatform) AssociateDiskArgsForCall

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

func (*FakePlatform) AssociateDiskCallCount

func (fake *FakePlatform) AssociateDiskCallCount() int

func (*FakePlatform) AssociateDiskCalls

func (fake *FakePlatform) AssociateDiskCalls(stub func(string, settings.DiskSettings) error)

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(arg1 string, arg2 string) error

func (*FakePlatform) CreateUserArgsForCall

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

func (*FakePlatform) CreateUserCallCount

func (fake *FakePlatform) CreateUserCallCount() int

func (*FakePlatform) CreateUserCalls

func (fake *FakePlatform) CreateUserCalls(stub func(string, string) error)

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(arg1 string) error

func (*FakePlatform) DeleteARPEntryWithIPArgsForCall

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

func (*FakePlatform) DeleteARPEntryWithIPCallCount

func (fake *FakePlatform) DeleteARPEntryWithIPCallCount() int

func (*FakePlatform) DeleteARPEntryWithIPCalls

func (fake *FakePlatform) DeleteARPEntryWithIPCalls(stub func(string) error)

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(arg1 string) error

func (*FakePlatform) DeleteEphemeralUsersMatchingArgsForCall

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

func (*FakePlatform) DeleteEphemeralUsersMatchingCallCount

func (fake *FakePlatform) DeleteEphemeralUsersMatchingCallCount() int

func (*FakePlatform) DeleteEphemeralUsersMatchingCalls

func (fake *FakePlatform) DeleteEphemeralUsersMatchingCalls(stub func(string) error)

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) GetAuditLoggerCalls

func (fake *FakePlatform) GetAuditLoggerCalls(stub func() platform.AuditLogger)

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) GetCertManagerCalls

func (fake *FakePlatform) GetCertManagerCalls(stub func() cert.Manager)

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() fileutil.Compressor

func (*FakePlatform) GetCompressorCallCount

func (fake *FakePlatform) GetCompressorCallCount() int

func (*FakePlatform) GetCompressorCalls

func (fake *FakePlatform) GetCompressorCalls(stub func() fileutil.Compressor)

func (*FakePlatform) GetCompressorReturns

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

func (*FakePlatform) GetCompressorReturnsOnCall

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

func (*FakePlatform) GetConfiguredNetworkInterfaces

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

func (*FakePlatform) GetConfiguredNetworkInterfacesCallCount

func (fake *FakePlatform) GetConfiguredNetworkInterfacesCallCount() int

func (*FakePlatform) GetConfiguredNetworkInterfacesCalls

func (fake *FakePlatform) GetConfiguredNetworkInterfacesCalls(stub func() ([]string, error))

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() fileutil.Copier

func (*FakePlatform) GetCopierCallCount

func (fake *FakePlatform) GetCopierCallCount() int

func (*FakePlatform) GetCopierCalls

func (fake *FakePlatform) GetCopierCalls(stub func() fileutil.Copier)

func (*FakePlatform) GetCopierReturns

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

func (*FakePlatform) GetCopierReturnsOnCall

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

func (*FakePlatform) GetDefaultNetwork

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

func (*FakePlatform) GetDefaultNetworkCallCount

func (fake *FakePlatform) GetDefaultNetworkCallCount() int

func (*FakePlatform) GetDefaultNetworkCalls

func (fake *FakePlatform) GetDefaultNetworkCalls(stub func() (settings.Network, error))

func (*FakePlatform) GetDefaultNetworkReturns

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

func (*FakePlatform) GetDefaultNetworkReturnsOnCall

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

func (*FakePlatform) GetDevicePathResolver

func (fake *FakePlatform) GetDevicePathResolver() devicepathresolver.DevicePathResolver

func (*FakePlatform) GetDevicePathResolverCallCount

func (fake *FakePlatform) GetDevicePathResolverCallCount() int

func (*FakePlatform) GetDevicePathResolverCalls

func (fake *FakePlatform) GetDevicePathResolverCalls(stub func() devicepathresolver.DevicePathResolver)

func (*FakePlatform) GetDevicePathResolverReturns

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

func (*FakePlatform) GetDevicePathResolverReturnsOnCall

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

func (*FakePlatform) GetDirProvider

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

func (*FakePlatform) GetDirProviderCallCount

func (fake *FakePlatform) GetDirProviderCallCount() int

func (*FakePlatform) GetDirProviderCalls

func (fake *FakePlatform) GetDirProviderCalls(stub func() directories.Provider)

func (*FakePlatform) GetDirProviderReturns

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

func (*FakePlatform) GetDirProviderReturnsOnCall

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

func (*FakePlatform) GetEphemeralDiskPath

func (fake *FakePlatform) GetEphemeralDiskPath(arg1 settings.DiskSettings) string

func (*FakePlatform) GetEphemeralDiskPathArgsForCall

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

func (*FakePlatform) GetEphemeralDiskPathCallCount

func (fake *FakePlatform) GetEphemeralDiskPathCallCount() int

func (*FakePlatform) GetEphemeralDiskPathCalls

func (fake *FakePlatform) GetEphemeralDiskPathCalls(stub func(settings.DiskSettings) string)

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(arg1 string) ([]byte, error)

func (*FakePlatform) GetFileContentsFromCDROMArgsForCall

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

func (*FakePlatform) GetFileContentsFromCDROMCallCount

func (fake *FakePlatform) GetFileContentsFromCDROMCallCount() int

func (*FakePlatform) GetFileContentsFromCDROMCalls

func (fake *FakePlatform) GetFileContentsFromCDROMCalls(stub func(string) ([]byte, error))

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(arg1 string, arg2 []string) ([][]byte, error)

func (*FakePlatform) GetFilesContentsFromDiskArgsForCall

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

func (*FakePlatform) GetFilesContentsFromDiskCallCount

func (fake *FakePlatform) GetFilesContentsFromDiskCallCount() int

func (*FakePlatform) GetFilesContentsFromDiskCalls

func (fake *FakePlatform) GetFilesContentsFromDiskCalls(stub func(string, []string) ([][]byte, error))

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() system.FileSystem

func (*FakePlatform) GetFsCallCount

func (fake *FakePlatform) GetFsCallCount() int

func (*FakePlatform) GetFsCalls

func (fake *FakePlatform) GetFsCalls(stub func() system.FileSystem)

func (*FakePlatform) GetFsReturns

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

func (*FakePlatform) GetFsReturnsOnCall

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

func (*FakePlatform) GetHostPublicKey

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

func (*FakePlatform) GetHostPublicKeyCallCount

func (fake *FakePlatform) GetHostPublicKeyCallCount() int

func (*FakePlatform) GetHostPublicKeyCalls

func (fake *FakePlatform) GetHostPublicKeyCalls(stub func() (string, error))

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() (string, string, error)

func (*FakePlatform) GetMonitCredentialsCallCount

func (fake *FakePlatform) GetMonitCredentialsCallCount() int

func (*FakePlatform) GetMonitCredentialsCalls

func (fake *FakePlatform) GetMonitCredentialsCalls(stub func() (string, string, error))

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() system.CmdRunner

func (*FakePlatform) GetRunnerCallCount

func (fake *FakePlatform) GetRunnerCallCount() int

func (*FakePlatform) GetRunnerCalls

func (fake *FakePlatform) GetRunnerCalls(stub func() system.CmdRunner)

func (*FakePlatform) GetRunnerReturns

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

func (*FakePlatform) GetRunnerReturnsOnCall

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

func (*FakePlatform) GetVitalsService

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

func (*FakePlatform) GetVitalsServiceCallCount

func (fake *FakePlatform) GetVitalsServiceCallCount() int

func (*FakePlatform) GetVitalsServiceCalls

func (fake *FakePlatform) GetVitalsServiceCalls(stub func() vitals.Service)

func (*FakePlatform) GetVitalsServiceReturns

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

func (*FakePlatform) GetVitalsServiceReturnsOnCall

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

func (*FakePlatform) Invocations

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

func (*FakePlatform) IsMountPoint

func (fake *FakePlatform) IsMountPoint(arg1 string) (string, bool, error)

func (*FakePlatform) IsMountPointArgsForCall

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

func (*FakePlatform) IsMountPointCallCount

func (fake *FakePlatform) IsMountPointCallCount() int

func (*FakePlatform) IsMountPointCalls

func (fake *FakePlatform) IsMountPointCalls(stub func(string) (string, bool, error))

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(arg1 settings.DiskSettings) (bool, error)

func (*FakePlatform) IsPersistentDiskMountableArgsForCall

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

func (*FakePlatform) IsPersistentDiskMountableCallCount

func (fake *FakePlatform) IsPersistentDiskMountableCallCount() int

func (*FakePlatform) IsPersistentDiskMountableCalls

func (fake *FakePlatform) IsPersistentDiskMountableCalls(stub func(settings.DiskSettings) (bool, error))

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(arg1 settings.DiskSettings) (bool, error)

func (*FakePlatform) IsPersistentDiskMountedArgsForCall

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

func (*FakePlatform) IsPersistentDiskMountedCallCount

func (fake *FakePlatform) IsPersistentDiskMountedCallCount() int

func (*FakePlatform) IsPersistentDiskMountedCalls

func (fake *FakePlatform) IsPersistentDiskMountedCalls(stub func(settings.DiskSettings) (bool, error))

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(arg1 string, arg2 string) error

func (*FakePlatform) MigratePersistentDiskArgsForCall

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

func (*FakePlatform) MigratePersistentDiskCallCount

func (fake *FakePlatform) MigratePersistentDiskCallCount() int

func (*FakePlatform) MigratePersistentDiskCalls

func (fake *FakePlatform) MigratePersistentDiskCalls(stub func(string, string) error)

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(arg1 settings.DiskSettings, arg2 string) error

func (*FakePlatform) MountPersistentDiskArgsForCall

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

func (*FakePlatform) MountPersistentDiskCallCount

func (fake *FakePlatform) MountPersistentDiskCallCount() int

func (*FakePlatform) MountPersistentDiskCalls

func (fake *FakePlatform) MountPersistentDiskCalls(stub func(settings.DiskSettings, string) error)

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) PrepareForNetworkingChangeCalls

func (fake *FakePlatform) PrepareForNetworkingChangeCalls(stub func() error)

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(arg1 string) error

func (*FakePlatform) RemoveDevToolsArgsForCall

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

func (*FakePlatform) RemoveDevToolsCallCount

func (fake *FakePlatform) RemoveDevToolsCallCount() int

func (*FakePlatform) RemoveDevToolsCalls

func (fake *FakePlatform) RemoveDevToolsCalls(stub func(string) error)

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(arg1 string) error

func (*FakePlatform) RemoveStaticLibrariesArgsForCall

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

func (*FakePlatform) RemoveStaticLibrariesCallCount

func (fake *FakePlatform) RemoveStaticLibrariesCallCount() int

func (*FakePlatform) RemoveStaticLibrariesCalls

func (fake *FakePlatform) RemoveStaticLibrariesCalls(stub func(string) error)

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(arg1 settings.DNSRecords, arg2 string) error

func (*FakePlatform) SaveDNSRecordsArgsForCall

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

func (*FakePlatform) SaveDNSRecordsCallCount

func (fake *FakePlatform) SaveDNSRecordsCallCount() int

func (*FakePlatform) SaveDNSRecordsCalls

func (fake *FakePlatform) SaveDNSRecordsCalls(stub func(settings.DNSRecords, string) error)

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(arg1 []string) error

func (*FakePlatform) SetTimeWithNtpServersArgsForCall

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

func (*FakePlatform) SetTimeWithNtpServersCallCount

func (fake *FakePlatform) SetTimeWithNtpServersCallCount() int

func (*FakePlatform) SetTimeWithNtpServersCalls

func (fake *FakePlatform) SetTimeWithNtpServersCalls(stub func([]string) error)

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(arg1 string, arg2 string) error

func (*FakePlatform) SetUserPasswordArgsForCall

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

func (*FakePlatform) SetUserPasswordCallCount

func (fake *FakePlatform) SetUserPasswordCallCount() int

func (*FakePlatform) SetUserPasswordCalls

func (fake *FakePlatform) SetUserPasswordCalls(stub func(string, string) error)

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() error

func (*FakePlatform) SetupBlobsDirCallCount

func (fake *FakePlatform) SetupBlobsDirCallCount() int

func (*FakePlatform) SetupBlobsDirCalls

func (fake *FakePlatform) SetupBlobsDirCalls(stub func() error)

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(arg1 settings.JobDir) error

func (*FakePlatform) SetupDataDirArgsForCall

func (fake *FakePlatform) SetupDataDirArgsForCall(i int) settings.JobDir

func (*FakePlatform) SetupDataDirCallCount

func (fake *FakePlatform) SetupDataDirCallCount() int

func (*FakePlatform) SetupDataDirCalls

func (fake *FakePlatform) SetupDataDirCalls(stub func(settings.JobDir) error)

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(arg1 string, arg2 *uint64) error

func (*FakePlatform) SetupEphemeralDiskWithPathArgsForCall

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

func (*FakePlatform) SetupEphemeralDiskWithPathCallCount

func (fake *FakePlatform) SetupEphemeralDiskWithPathCallCount() int

func (*FakePlatform) SetupEphemeralDiskWithPathCalls

func (fake *FakePlatform) SetupEphemeralDiskWithPathCalls(stub func(string, *uint64) error)

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() error

func (*FakePlatform) SetupHomeDirCallCount

func (fake *FakePlatform) SetupHomeDirCallCount() int

func (*FakePlatform) SetupHomeDirCalls

func (fake *FakePlatform) SetupHomeDirCalls(stub func() error)

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(arg1 string) error

func (*FakePlatform) SetupHostnameArgsForCall

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

func (*FakePlatform) SetupHostnameCallCount

func (fake *FakePlatform) SetupHostnameCallCount() int

func (*FakePlatform) SetupHostnameCalls

func (fake *FakePlatform) SetupHostnameCalls(stub func(string) error)

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 settings.IPv6) error

func (*FakePlatform) SetupIPv6ArgsForCall

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

func (*FakePlatform) SetupIPv6CallCount

func (fake *FakePlatform) SetupIPv6CallCount() int

func (*FakePlatform) SetupIPv6Calls

func (fake *FakePlatform) SetupIPv6Calls(stub func(settings.IPv6) error)

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() error

func (*FakePlatform) SetupLogDirCallCount

func (fake *FakePlatform) SetupLogDirCallCount() int

func (*FakePlatform) SetupLogDirCalls

func (fake *FakePlatform) SetupLogDirCalls(stub func() error)

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() error

func (*FakePlatform) SetupLoggingAndAuditingCallCount

func (fake *FakePlatform) SetupLoggingAndAuditingCallCount() int

func (*FakePlatform) SetupLoggingAndAuditingCalls

func (fake *FakePlatform) SetupLoggingAndAuditingCalls(stub func() error)

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(arg1 string, arg2 string, arg3 string) error

func (*FakePlatform) SetupLogrotateArgsForCall

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

func (*FakePlatform) SetupLogrotateCallCount

func (fake *FakePlatform) SetupLogrotateCallCount() int

func (*FakePlatform) SetupLogrotateCalls

func (fake *FakePlatform) SetupLogrotateCalls(stub func(string, string, string) error)

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() error

func (*FakePlatform) SetupMonitUserCallCount

func (fake *FakePlatform) SetupMonitUserCallCount() int

func (*FakePlatform) SetupMonitUserCalls

func (fake *FakePlatform) SetupMonitUserCalls(stub func() error)

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(arg1 settings.Networks) error

func (*FakePlatform) SetupNetworkingArgsForCall

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

func (*FakePlatform) SetupNetworkingCallCount

func (fake *FakePlatform) SetupNetworkingCallCount() int

func (*FakePlatform) SetupNetworkingCalls

func (fake *FakePlatform) SetupNetworkingCalls(stub func(settings.Networks) error)

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(arg1 []settings.DiskSettings) error

func (*FakePlatform) SetupRawEphemeralDisksArgsForCall

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

func (*FakePlatform) SetupRawEphemeralDisksCallCount

func (fake *FakePlatform) SetupRawEphemeralDisksCallCount() int

func (*FakePlatform) SetupRawEphemeralDisksCalls

func (fake *FakePlatform) SetupRawEphemeralDisksCalls(stub func([]settings.DiskSettings) error)

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(arg1 string) error

func (*FakePlatform) SetupRecordsJSONPermissionArgsForCall

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

func (*FakePlatform) SetupRecordsJSONPermissionCallCount

func (fake *FakePlatform) SetupRecordsJSONPermissionCallCount() int

func (*FakePlatform) SetupRecordsJSONPermissionCalls

func (fake *FakePlatform) SetupRecordsJSONPermissionCalls(stub func(string) error)

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(arg1 string) error

func (*FakePlatform) SetupRootDiskArgsForCall

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

func (*FakePlatform) SetupRootDiskCallCount

func (fake *FakePlatform) SetupRootDiskCallCount() int

func (*FakePlatform) SetupRootDiskCalls

func (fake *FakePlatform) SetupRootDiskCalls(stub func(string) error)

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() error

func (*FakePlatform) SetupRuntimeConfigurationCallCount

func (fake *FakePlatform) SetupRuntimeConfigurationCallCount() int

func (*FakePlatform) SetupRuntimeConfigurationCalls

func (fake *FakePlatform) SetupRuntimeConfigurationCalls(stub func() error)

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(arg1 []string, arg2 string) error

func (*FakePlatform) SetupSSHArgsForCall

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

func (*FakePlatform) SetupSSHCallCount

func (fake *FakePlatform) SetupSSHCallCount() int

func (*FakePlatform) SetupSSHCalls

func (fake *FakePlatform) SetupSSHCalls(stub func([]string, string) error)

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() error

func (*FakePlatform) SetupSharedMemoryCallCount

func (fake *FakePlatform) SetupSharedMemoryCallCount() int

func (*FakePlatform) SetupSharedMemoryCalls

func (fake *FakePlatform) SetupSharedMemoryCalls(stub func() error)

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() error

func (*FakePlatform) SetupTmpDirCallCount

func (fake *FakePlatform) SetupTmpDirCallCount() int

func (*FakePlatform) SetupTmpDirCalls

func (fake *FakePlatform) SetupTmpDirCalls(stub func() error)

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) ShutdownCalls

func (fake *FakePlatform) ShutdownCalls(stub func() error)

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() error

func (*FakePlatform) StartMonitCallCount

func (fake *FakePlatform) StartMonitCallCount() int

func (*FakePlatform) StartMonitCalls

func (fake *FakePlatform) StartMonitCalls(stub func() error)

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(arg1 settings.DiskSettings) (bool, error)

func (*FakePlatform) UnmountPersistentDiskArgsForCall

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

func (*FakePlatform) UnmountPersistentDiskCallCount

func (fake *FakePlatform) UnmountPersistentDiskCallCount() int

func (*FakePlatform) UnmountPersistentDiskCalls

func (fake *FakePlatform) UnmountPersistentDiskCalls(stub func(settings.DiskSettings) (bool, error))

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