Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Index ¶
- type MockAnalyticsClient
- type MockAnalyticsClientMockRecorder
- type MockAnalyticsD
- type MockAnalyticsDMockRecorder
- type MockCFDevD
- type MockCFDevDMockRecorder
- type MockCache
- type MockCacheMockRecorder
- type MockEnv
- type MockEnvMockRecorder
- type MockHost
- type MockHostMockRecorder
- type MockHostNet
- type MockHostNetMockRecorder
- type MockHypervisor
- type MockHypervisorMockRecorder
- func (mr *MockHypervisorMockRecorder) CreateVM(arg0 interface{}) *gomock.Call
- func (mr *MockHypervisorMockRecorder) IsRunning(arg0 interface{}) *gomock.Call
- func (mr *MockHypervisorMockRecorder) Start(arg0 interface{}) *gomock.Call
- func (mr *MockHypervisorMockRecorder) Stop(arg0 interface{}) *gomock.Call
- type MockMetaDataReader
- type MockMetaDataReaderMockRecorder
- type MockOS
- type MockOSMockRecorder
- type MockProvision
- type MockProvisionMockRecorder
- type MockProvisioner
- type MockProvisionerMockRecorder
- type MockStop
- type MockStopMockRecorder
- type MockSystemProfiler
- type MockSystemProfilerMockRecorder
- type MockToggle
- type MockToggleMockRecorder
- func (mr *MockToggleMockRecorder) Enabled() *gomock.Call
- func (mr *MockToggleMockRecorder) SetCFAnalyticsEnabled(arg0 interface{}) *gomock.Call
- func (mr *MockToggleMockRecorder) SetCustomAnalyticsEnabled(arg0 interface{}) *gomock.Call
- func (mr *MockToggleMockRecorder) SetProp(arg0, arg1 interface{}) *gomock.Call
- type MockUI
- type MockUIMockRecorder
- type MockVpnKit
- type MockVpnKitMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockAnalyticsClient ¶
type MockAnalyticsClient struct {
// contains filtered or unexported fields
}
MockAnalyticsClient is a mock of AnalyticsClient interface
func NewMockAnalyticsClient ¶
func NewMockAnalyticsClient(ctrl *gomock.Controller) *MockAnalyticsClient
NewMockAnalyticsClient creates a new mock instance
func (*MockAnalyticsClient) EXPECT ¶
func (m *MockAnalyticsClient) EXPECT() *MockAnalyticsClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockAnalyticsClient) Event ¶
func (m *MockAnalyticsClient) Event(arg0 string, arg1 ...map[string]interface{}) error
Event mocks base method
func (*MockAnalyticsClient) PromptOptInIfNeeded ¶ added in v0.0.12
func (m *MockAnalyticsClient) PromptOptInIfNeeded(arg0 string) error
PromptOptInIfNeeded mocks base method
type MockAnalyticsClientMockRecorder ¶
type MockAnalyticsClientMockRecorder struct {
// contains filtered or unexported fields
}
MockAnalyticsClientMockRecorder is the mock recorder for MockAnalyticsClient
func (*MockAnalyticsClientMockRecorder) Event ¶
func (mr *MockAnalyticsClientMockRecorder) Event(arg0 interface{}, arg1 ...interface{}) *gomock.Call
Event indicates an expected call of Event
func (*MockAnalyticsClientMockRecorder) PromptOptInIfNeeded ¶ added in v0.0.12
func (mr *MockAnalyticsClientMockRecorder) PromptOptInIfNeeded(arg0 interface{}) *gomock.Call
PromptOptInIfNeeded indicates an expected call of PromptOptInIfNeeded
type MockAnalyticsD ¶
type MockAnalyticsD struct {
// contains filtered or unexported fields
}
MockAnalyticsD is a mock of AnalyticsD interface
func NewMockAnalyticsD ¶
func NewMockAnalyticsD(ctrl *gomock.Controller) *MockAnalyticsD
NewMockAnalyticsD creates a new mock instance
func (*MockAnalyticsD) EXPECT ¶
func (m *MockAnalyticsD) EXPECT() *MockAnalyticsDMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockAnalyticsD) IsRunning ¶
func (m *MockAnalyticsD) IsRunning() (bool, error)
IsRunning mocks base method
type MockAnalyticsDMockRecorder ¶
type MockAnalyticsDMockRecorder struct {
// contains filtered or unexported fields
}
MockAnalyticsDMockRecorder is the mock recorder for MockAnalyticsD
func (*MockAnalyticsDMockRecorder) IsRunning ¶
func (mr *MockAnalyticsDMockRecorder) IsRunning() *gomock.Call
IsRunning indicates an expected call of IsRunning
func (*MockAnalyticsDMockRecorder) Start ¶
func (mr *MockAnalyticsDMockRecorder) Start() *gomock.Call
Start indicates an expected call of Start
func (*MockAnalyticsDMockRecorder) Stop ¶
func (mr *MockAnalyticsDMockRecorder) Stop() *gomock.Call
Stop indicates an expected call of Stop
type MockCFDevD ¶
type MockCFDevD struct {
// contains filtered or unexported fields
}
MockCFDevD is a mock of CFDevD interface
func NewMockCFDevD ¶
func NewMockCFDevD(ctrl *gomock.Controller) *MockCFDevD
NewMockCFDevD creates a new mock instance
func (*MockCFDevD) EXPECT ¶
func (m *MockCFDevD) EXPECT() *MockCFDevDMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
type MockCFDevDMockRecorder ¶
type MockCFDevDMockRecorder struct {
// contains filtered or unexported fields
}
MockCFDevDMockRecorder is the mock recorder for MockCFDevD
func (*MockCFDevDMockRecorder) Install ¶
func (mr *MockCFDevDMockRecorder) Install() *gomock.Call
Install indicates an expected call of Install
type MockCache ¶
type MockCache struct {
// contains filtered or unexported fields
}
MockCache is a mock of Cache interface
func NewMockCache ¶
func NewMockCache(ctrl *gomock.Controller) *MockCache
NewMockCache creates a new mock instance
func (*MockCache) EXPECT ¶
func (m *MockCache) EXPECT() *MockCacheMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
type MockCacheMockRecorder ¶
type MockCacheMockRecorder struct {
// contains filtered or unexported fields
}
MockCacheMockRecorder is the mock recorder for MockCache
func (*MockCacheMockRecorder) Sync ¶
func (mr *MockCacheMockRecorder) Sync(arg0 interface{}) *gomock.Call
Sync indicates an expected call of Sync
type MockEnv ¶ added in v0.0.13
type MockEnv struct {
// contains filtered or unexported fields
}
MockEnv is a mock of Env interface
func NewMockEnv ¶ added in v0.0.13
func NewMockEnv(ctrl *gomock.Controller) *MockEnv
NewMockEnv creates a new mock instance
func (*MockEnv) CreateDirs ¶ added in v0.0.13
CreateDirs mocks base method
func (*MockEnv) EXPECT ¶ added in v0.0.13
func (m *MockEnv) EXPECT() *MockEnvMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockEnv) SetupState ¶ added in v0.0.13
SetupState mocks base method
type MockEnvMockRecorder ¶ added in v0.0.13
type MockEnvMockRecorder struct {
// contains filtered or unexported fields
}
MockEnvMockRecorder is the mock recorder for MockEnv
func (*MockEnvMockRecorder) CreateDirs ¶ added in v0.0.13
func (mr *MockEnvMockRecorder) CreateDirs() *gomock.Call
CreateDirs indicates an expected call of CreateDirs
func (*MockEnvMockRecorder) SetupState ¶ added in v0.0.13
func (mr *MockEnvMockRecorder) SetupState(arg0 interface{}) *gomock.Call
SetupState indicates an expected call of SetupState
type MockHost ¶
type MockHost struct {
// contains filtered or unexported fields
}
MockHost is a mock of Host interface
func NewMockHost ¶
func NewMockHost(ctrl *gomock.Controller) *MockHost
NewMockHost creates a new mock instance
func (*MockHost) CheckRequirements ¶
CheckRequirements mocks base method
func (*MockHost) EXPECT ¶
func (m *MockHost) EXPECT() *MockHostMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
type MockHostMockRecorder ¶
type MockHostMockRecorder struct {
// contains filtered or unexported fields
}
MockHostMockRecorder is the mock recorder for MockHost
func (*MockHostMockRecorder) CheckRequirements ¶
func (mr *MockHostMockRecorder) CheckRequirements() *gomock.Call
CheckRequirements indicates an expected call of CheckRequirements
type MockHostNet ¶
type MockHostNet struct {
// contains filtered or unexported fields
}
MockHostNet is a mock of HostNet interface
func NewMockHostNet ¶
func NewMockHostNet(ctrl *gomock.Controller) *MockHostNet
NewMockHostNet creates a new mock instance
func (*MockHostNet) AddLoopbackAliases ¶
func (m *MockHostNet) AddLoopbackAliases(arg0 ...string) error
AddLoopbackAliases mocks base method
func (*MockHostNet) EXPECT ¶
func (m *MockHostNet) EXPECT() *MockHostNetMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
type MockHostNetMockRecorder ¶
type MockHostNetMockRecorder struct {
// contains filtered or unexported fields
}
MockHostNetMockRecorder is the mock recorder for MockHostNet
func (*MockHostNetMockRecorder) AddLoopbackAliases ¶
func (mr *MockHostNetMockRecorder) AddLoopbackAliases(arg0 ...interface{}) *gomock.Call
AddLoopbackAliases indicates an expected call of AddLoopbackAliases
type MockHypervisor ¶
type MockHypervisor struct {
// contains filtered or unexported fields
}
MockHypervisor is a mock of Hypervisor interface
func NewMockHypervisor ¶
func NewMockHypervisor(ctrl *gomock.Controller) *MockHypervisor
NewMockHypervisor creates a new mock instance
func (*MockHypervisor) CreateVM ¶
func (m *MockHypervisor) CreateVM(arg0 hypervisor.VM) error
CreateVM mocks base method
func (*MockHypervisor) EXPECT ¶
func (m *MockHypervisor) EXPECT() *MockHypervisorMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockHypervisor) IsRunning ¶
func (m *MockHypervisor) IsRunning(arg0 string) (bool, error)
IsRunning mocks base method
func (*MockHypervisor) Start ¶
func (m *MockHypervisor) Start(arg0 string) error
Start mocks base method
func (*MockHypervisor) Stop ¶
func (m *MockHypervisor) Stop(arg0 string) error
Stop mocks base method
type MockHypervisorMockRecorder ¶
type MockHypervisorMockRecorder struct {
// contains filtered or unexported fields
}
MockHypervisorMockRecorder is the mock recorder for MockHypervisor
func (*MockHypervisorMockRecorder) CreateVM ¶
func (mr *MockHypervisorMockRecorder) CreateVM(arg0 interface{}) *gomock.Call
CreateVM indicates an expected call of CreateVM
func (*MockHypervisorMockRecorder) IsRunning ¶
func (mr *MockHypervisorMockRecorder) IsRunning(arg0 interface{}) *gomock.Call
IsRunning indicates an expected call of IsRunning
func (*MockHypervisorMockRecorder) Start ¶
func (mr *MockHypervisorMockRecorder) Start(arg0 interface{}) *gomock.Call
Start indicates an expected call of Start
func (*MockHypervisorMockRecorder) Stop ¶
func (mr *MockHypervisorMockRecorder) Stop(arg0 interface{}) *gomock.Call
Stop indicates an expected call of Stop
type MockMetaDataReader ¶ added in v0.0.13
type MockMetaDataReader struct {
// contains filtered or unexported fields
}
MockMetaDataReader is a mock of MetaDataReader interface
func NewMockMetaDataReader ¶ added in v0.0.13
func NewMockMetaDataReader(ctrl *gomock.Controller) *MockMetaDataReader
NewMockMetaDataReader creates a new mock instance
func (*MockMetaDataReader) EXPECT ¶ added in v0.0.13
func (m *MockMetaDataReader) EXPECT() *MockMetaDataReaderMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
type MockMetaDataReaderMockRecorder ¶ added in v0.0.13
type MockMetaDataReaderMockRecorder struct {
// contains filtered or unexported fields
}
MockMetaDataReaderMockRecorder is the mock recorder for MockMetaDataReader
func (*MockMetaDataReaderMockRecorder) Metadata ¶ added in v0.0.15
func (mr *MockMetaDataReaderMockRecorder) Metadata() *gomock.Call
Metadata indicates an expected call of Metadata
type MockOS ¶ added in v0.0.15
type MockOS struct {
// contains filtered or unexported fields
}
MockOS is a mock of OS interface
func NewMockOS ¶ added in v0.0.15
func NewMockOS(ctrl *gomock.Controller) *MockOS
NewMockOS creates a new mock instance
func (*MockOS) EXPECT ¶ added in v0.0.15
func (m *MockOS) EXPECT() *MockOSMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
type MockOSMockRecorder ¶ added in v0.0.15
type MockOSMockRecorder struct {
// contains filtered or unexported fields
}
MockOSMockRecorder is the mock recorder for MockOS
func (*MockOSMockRecorder) Stats ¶ added in v0.0.15
func (mr *MockOSMockRecorder) Stats() *gomock.Call
Stats indicates an expected call of Stats
type MockProvision ¶ added in v0.0.13
type MockProvision struct {
// contains filtered or unexported fields
}
MockProvision is a mock of Provision interface
func NewMockProvision ¶ added in v0.0.13
func NewMockProvision(ctrl *gomock.Controller) *MockProvision
NewMockProvision creates a new mock instance
func (*MockProvision) EXPECT ¶ added in v0.0.13
func (m *MockProvision) EXPECT() *MockProvisionMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
type MockProvisionMockRecorder ¶ added in v0.0.13
type MockProvisionMockRecorder struct {
// contains filtered or unexported fields
}
MockProvisionMockRecorder is the mock recorder for MockProvision
func (*MockProvisionMockRecorder) Execute ¶ added in v0.0.13
func (mr *MockProvisionMockRecorder) Execute(arg0 interface{}) *gomock.Call
Execute indicates an expected call of Execute
type MockProvisioner ¶
type MockProvisioner struct {
// contains filtered or unexported fields
}
MockProvisioner is a mock of Provisioner interface
func NewMockProvisioner ¶
func NewMockProvisioner(ctrl *gomock.Controller) *MockProvisioner
NewMockProvisioner creates a new mock instance
func (*MockProvisioner) EXPECT ¶
func (m *MockProvisioner) EXPECT() *MockProvisionerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
type MockProvisionerMockRecorder ¶
type MockProvisionerMockRecorder struct {
// contains filtered or unexported fields
}
MockProvisionerMockRecorder is the mock recorder for MockProvisioner
func (*MockProvisionerMockRecorder) Ping ¶
func (mr *MockProvisionerMockRecorder) Ping(arg0 interface{}) *gomock.Call
Ping indicates an expected call of Ping
type MockStop ¶
type MockStop struct {
// contains filtered or unexported fields
}
MockStop is a mock of Stop interface
func NewMockStop ¶
func NewMockStop(ctrl *gomock.Controller) *MockStop
NewMockStop creates a new mock instance
func (*MockStop) EXPECT ¶
func (m *MockStop) EXPECT() *MockStopMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
type MockStopMockRecorder ¶
type MockStopMockRecorder struct {
// contains filtered or unexported fields
}
MockStopMockRecorder is the mock recorder for MockStop
func (*MockStopMockRecorder) RunE ¶
func (mr *MockStopMockRecorder) RunE(arg0, arg1 interface{}) *gomock.Call
RunE indicates an expected call of RunE
type MockSystemProfiler ¶
type MockSystemProfiler struct {
// contains filtered or unexported fields
}
MockSystemProfiler is a mock of SystemProfiler interface
func NewMockSystemProfiler ¶
func NewMockSystemProfiler(ctrl *gomock.Controller) *MockSystemProfiler
NewMockSystemProfiler creates a new mock instance
func (*MockSystemProfiler) EXPECT ¶
func (m *MockSystemProfiler) EXPECT() *MockSystemProfilerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockSystemProfiler) GetAvailableMemory ¶
func (m *MockSystemProfiler) GetAvailableMemory() (uint64, error)
GetAvailableMemory mocks base method
func (*MockSystemProfiler) GetTotalMemory ¶
func (m *MockSystemProfiler) GetTotalMemory() (uint64, error)
GetTotalMemory mocks base method
type MockSystemProfilerMockRecorder ¶
type MockSystemProfilerMockRecorder struct {
// contains filtered or unexported fields
}
MockSystemProfilerMockRecorder is the mock recorder for MockSystemProfiler
func (*MockSystemProfilerMockRecorder) GetAvailableMemory ¶
func (mr *MockSystemProfilerMockRecorder) GetAvailableMemory() *gomock.Call
GetAvailableMemory indicates an expected call of GetAvailableMemory
func (*MockSystemProfilerMockRecorder) GetTotalMemory ¶
func (mr *MockSystemProfilerMockRecorder) GetTotalMemory() *gomock.Call
GetTotalMemory indicates an expected call of GetTotalMemory
type MockToggle ¶
type MockToggle struct {
// contains filtered or unexported fields
}
MockToggle is a mock of Toggle interface
func NewMockToggle ¶
func NewMockToggle(ctrl *gomock.Controller) *MockToggle
NewMockToggle creates a new mock instance
func (*MockToggle) EXPECT ¶
func (m *MockToggle) EXPECT() *MockToggleMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockToggle) Enabled ¶ added in v0.0.12
func (m *MockToggle) Enabled() bool
Enabled mocks base method
func (*MockToggle) SetCFAnalyticsEnabled ¶ added in v0.0.12
func (m *MockToggle) SetCFAnalyticsEnabled(arg0 bool) error
SetCFAnalyticsEnabled mocks base method
func (*MockToggle) SetCustomAnalyticsEnabled ¶ added in v0.0.12
func (m *MockToggle) SetCustomAnalyticsEnabled(arg0 bool) error
SetCustomAnalyticsEnabled mocks base method
func (*MockToggle) SetProp ¶
func (m *MockToggle) SetProp(arg0, arg1 string) error
SetProp mocks base method
type MockToggleMockRecorder ¶
type MockToggleMockRecorder struct {
// contains filtered or unexported fields
}
MockToggleMockRecorder is the mock recorder for MockToggle
func (*MockToggleMockRecorder) Enabled ¶ added in v0.0.12
func (mr *MockToggleMockRecorder) Enabled() *gomock.Call
Enabled indicates an expected call of Enabled
func (*MockToggleMockRecorder) SetCFAnalyticsEnabled ¶ added in v0.0.12
func (mr *MockToggleMockRecorder) SetCFAnalyticsEnabled(arg0 interface{}) *gomock.Call
SetCFAnalyticsEnabled indicates an expected call of SetCFAnalyticsEnabled
func (*MockToggleMockRecorder) SetCustomAnalyticsEnabled ¶ added in v0.0.12
func (mr *MockToggleMockRecorder) SetCustomAnalyticsEnabled(arg0 interface{}) *gomock.Call
SetCustomAnalyticsEnabled indicates an expected call of SetCustomAnalyticsEnabled
func (*MockToggleMockRecorder) SetProp ¶
func (mr *MockToggleMockRecorder) SetProp(arg0, arg1 interface{}) *gomock.Call
SetProp indicates an expected call of SetProp
type MockUI ¶
type MockUI struct {
// contains filtered or unexported fields
}
MockUI is a mock of UI interface
func NewMockUI ¶
func NewMockUI(ctrl *gomock.Controller) *MockUI
NewMockUI creates a new mock instance
func (*MockUI) EXPECT ¶
func (m *MockUI) EXPECT() *MockUIMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
type MockUIMockRecorder ¶
type MockUIMockRecorder struct {
// contains filtered or unexported fields
}
MockUIMockRecorder is the mock recorder for MockUI
func (*MockUIMockRecorder) Say ¶
func (mr *MockUIMockRecorder) Say(arg0 interface{}, arg1 ...interface{}) *gomock.Call
Say indicates an expected call of Say
func (*MockUIMockRecorder) Writer ¶
func (mr *MockUIMockRecorder) Writer() *gomock.Call
Writer indicates an expected call of Writer
type MockVpnKit ¶
type MockVpnKit struct {
// contains filtered or unexported fields
}
MockVpnKit is a mock of VpnKit interface
func NewMockVpnKit ¶
func NewMockVpnKit(ctrl *gomock.Controller) *MockVpnKit
NewMockVpnKit creates a new mock instance
func (*MockVpnKit) EXPECT ¶
func (m *MockVpnKit) EXPECT() *MockVpnKitMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
type MockVpnKitMockRecorder ¶
type MockVpnKitMockRecorder struct {
// contains filtered or unexported fields
}
MockVpnKitMockRecorder is the mock recorder for MockVpnKit
func (*MockVpnKitMockRecorder) Start ¶
func (mr *MockVpnKitMockRecorder) Start() *gomock.Call
Start indicates an expected call of Start
func (*MockVpnKitMockRecorder) Stop ¶
func (mr *MockVpnKitMockRecorder) Stop() *gomock.Call
Stop indicates an expected call of Stop
func (*MockVpnKitMockRecorder) Watch ¶
func (mr *MockVpnKitMockRecorder) Watch(arg0 interface{}) *gomock.Call
Watch indicates an expected call of Watch