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.
Index ¶
- type MockAnalyticsClient
- type MockAnalyticsClientMockRecorder
- type MockAnalyticsD
- type MockAnalyticsDMockRecorder
- type MockCFDevD
- type MockCFDevDMockRecorder
- type MockCache
- type MockCacheMockRecorder
- 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 MockIsoReader
- type MockIsoReaderMockRecorder
- type MockProvisioner
- func (m *MockProvisioner) DeployBosh() error
- func (m *MockProvisioner) DeployCloudFoundry(arg0 []string) error
- func (m *MockProvisioner) DeployServices(arg0 provision.UI, arg1 []provision.Service) error
- func (m *MockProvisioner) EXPECT() *MockProvisionerMockRecorder
- func (m *MockProvisioner) GetServices() ([]provision.Service, string, error)
- func (m *MockProvisioner) Ping() error
- func (m *MockProvisioner) ReportProgress(arg0 provision.UI, arg1 string)
- func (m *MockProvisioner) WhiteListServices(arg0 string, arg1 []provision.Service) ([]provision.Service, error)
- type MockProvisionerMockRecorder
- func (mr *MockProvisionerMockRecorder) DeployBosh() *gomock.Call
- func (mr *MockProvisionerMockRecorder) DeployCloudFoundry(arg0 interface{}) *gomock.Call
- func (mr *MockProvisionerMockRecorder) DeployServices(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockProvisionerMockRecorder) GetServices() *gomock.Call
- func (mr *MockProvisionerMockRecorder) Ping() *gomock.Call
- func (mr *MockProvisionerMockRecorder) ReportProgress(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockProvisionerMockRecorder) WhiteListServices(arg0, arg1 interface{}) *gomock.Call
- type MockStop
- type MockStopMockRecorder
- type MockSystemProfiler
- type MockSystemProfilerMockRecorder
- type MockToggle
- type MockToggleMockRecorder
- 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) PromptOptIn ¶
func (m *MockAnalyticsClient) PromptOptIn() error
PromptOptIn 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) PromptOptIn ¶
func (mr *MockAnalyticsClientMockRecorder) PromptOptIn() *gomock.Call
PromptOptIn indicates an expected call of PromptOptIn
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 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 MockIsoReader ¶
type MockIsoReader struct {
// contains filtered or unexported fields
}
MockIsoReader is a mock of IsoReader interface
func NewMockIsoReader ¶
func NewMockIsoReader(ctrl *gomock.Controller) *MockIsoReader
NewMockIsoReader creates a new mock instance
func (*MockIsoReader) EXPECT ¶
func (m *MockIsoReader) EXPECT() *MockIsoReaderMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
type MockIsoReaderMockRecorder ¶
type MockIsoReaderMockRecorder struct {
// contains filtered or unexported fields
}
MockIsoReaderMockRecorder is the mock recorder for MockIsoReader
func (*MockIsoReaderMockRecorder) Read ¶
func (mr *MockIsoReaderMockRecorder) Read(arg0 interface{}) *gomock.Call
Read indicates an expected call of Read
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) DeployBosh ¶
func (m *MockProvisioner) DeployBosh() error
DeployBosh mocks base method
func (*MockProvisioner) DeployCloudFoundry ¶
func (m *MockProvisioner) DeployCloudFoundry(arg0 []string) error
DeployCloudFoundry mocks base method
func (*MockProvisioner) DeployServices ¶
DeployServices mocks base method
func (*MockProvisioner) EXPECT ¶
func (m *MockProvisioner) EXPECT() *MockProvisionerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockProvisioner) GetServices ¶
func (m *MockProvisioner) GetServices() ([]provision.Service, string, error)
GetServices mocks base method
func (*MockProvisioner) ReportProgress ¶
func (m *MockProvisioner) ReportProgress(arg0 provision.UI, arg1 string)
ReportProgress mocks base method
func (*MockProvisioner) WhiteListServices ¶
func (m *MockProvisioner) WhiteListServices(arg0 string, arg1 []provision.Service) ([]provision.Service, error)
WhiteListServices mocks base method
type MockProvisionerMockRecorder ¶
type MockProvisionerMockRecorder struct {
// contains filtered or unexported fields
}
MockProvisionerMockRecorder is the mock recorder for MockProvisioner
func (*MockProvisionerMockRecorder) DeployBosh ¶
func (mr *MockProvisionerMockRecorder) DeployBosh() *gomock.Call
DeployBosh indicates an expected call of DeployBosh
func (*MockProvisionerMockRecorder) DeployCloudFoundry ¶
func (mr *MockProvisionerMockRecorder) DeployCloudFoundry(arg0 interface{}) *gomock.Call
DeployCloudFoundry indicates an expected call of DeployCloudFoundry
func (*MockProvisionerMockRecorder) DeployServices ¶
func (mr *MockProvisionerMockRecorder) DeployServices(arg0, arg1 interface{}) *gomock.Call
DeployServices indicates an expected call of DeployServices
func (*MockProvisionerMockRecorder) GetServices ¶
func (mr *MockProvisionerMockRecorder) GetServices() *gomock.Call
GetServices indicates an expected call of GetServices
func (*MockProvisionerMockRecorder) Ping ¶
func (mr *MockProvisionerMockRecorder) Ping() *gomock.Call
Ping indicates an expected call of Ping
func (*MockProvisionerMockRecorder) ReportProgress ¶
func (mr *MockProvisionerMockRecorder) ReportProgress(arg0, arg1 interface{}) *gomock.Call
ReportProgress indicates an expected call of ReportProgress
func (*MockProvisionerMockRecorder) WhiteListServices ¶
func (mr *MockProvisionerMockRecorder) WhiteListServices(arg0, arg1 interface{}) *gomock.Call
WhiteListServices indicates an expected call of WhiteListServices
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) 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) Get ¶
func (mr *MockToggleMockRecorder) Get() *gomock.Call
Get indicates an expected call of Get
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