Documentation ¶
Index ¶
- type MockAutoCmd
- type MockCertStore
- type MockClient
- type MockCmd
- type MockDownloader
- type MockDownloaderFactory
- type MockEULAUI
- type MockFS
- func (_m *MockFS) Copy(_param0 string, _param1 string) error
- func (_m *MockFS) EXPECT() *_MockFSRecorder
- func (_m *MockFS) Exists(_param0 string) (bool, error)
- func (_m *MockFS) MD5(_param0 string) (string, error)
- func (_m *MockFS) Read(_param0 string) ([]byte, error)
- func (_m *MockFS) Remove(_param0 string) error
- func (_m *MockFS) TempDir() (string, error)
- func (_m *MockFS) Write(_param0 string, _param1 io.Reader, _param2 bool) error
- type MockUI
- type MockVBox
- type MockVMBuilder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockAutoCmd ¶
type MockAutoCmd struct {
// contains filtered or unexported fields
}
Mock of AutoCmd interface
func NewMockAutoCmd ¶
func NewMockAutoCmd(ctrl *gomock.Controller) *MockAutoCmd
func (*MockAutoCmd) EXPECT ¶
func (_m *MockAutoCmd) EXPECT() *_MockAutoCmdRecorder
func (*MockAutoCmd) Run ¶
func (_m *MockAutoCmd) Run() error
type MockCertStore ¶
type MockCertStore struct {
// contains filtered or unexported fields
}
Mock of CertStore interface
func NewMockCertStore ¶
func NewMockCertStore(ctrl *gomock.Controller) *MockCertStore
func (*MockCertStore) EXPECT ¶
func (_m *MockCertStore) EXPECT() *_MockCertStoreRecorder
func (*MockCertStore) Unstore ¶
func (_m *MockCertStore) Unstore() error
type MockClient ¶
type MockClient struct {
// contains filtered or unexported fields
}
Mock of Client interface
func NewMockClient ¶
func NewMockClient(ctrl *gomock.Controller) *MockClient
func (*MockClient) AcceptEULA ¶
func (_m *MockClient) AcceptEULA() error
func (*MockClient) EXPECT ¶
func (_m *MockClient) EXPECT() *_MockClientRecorder
func (*MockClient) GetEULA ¶
func (_m *MockClient) GetEULA() (string, error)
func (*MockClient) IsEULAAccepted ¶
func (_m *MockClient) IsEULAAccepted() (bool, error)
type MockCmd ¶
type MockCmd struct {
// contains filtered or unexported fields
}
Mock of Cmd interface
func NewMockCmd ¶
func NewMockCmd(ctrl *gomock.Controller) *MockCmd
type MockDownloader ¶
type MockDownloader struct {
// contains filtered or unexported fields
}
Mock of Downloader interface
func NewMockDownloader ¶
func NewMockDownloader(ctrl *gomock.Controller) *MockDownloader
func (*MockDownloader) Download ¶
func (_m *MockDownloader) Download() error
func (*MockDownloader) EXPECT ¶
func (_m *MockDownloader) EXPECT() *_MockDownloaderRecorder
func (*MockDownloader) IsOVACurrent ¶
func (_m *MockDownloader) IsOVACurrent() (bool, error)
type MockDownloaderFactory ¶
type MockDownloaderFactory struct {
// contains filtered or unexported fields
}
Mock of DownloaderFactory interface
func NewMockDownloaderFactory ¶
func NewMockDownloaderFactory(ctrl *gomock.Controller) *MockDownloaderFactory
func (*MockDownloaderFactory) Create ¶
func (_m *MockDownloaderFactory) Create() (downloader.Downloader, error)
func (*MockDownloaderFactory) EXPECT ¶
func (_m *MockDownloaderFactory) EXPECT() *_MockDownloaderFactoryRecorder
type MockEULAUI ¶
type MockEULAUI struct {
// contains filtered or unexported fields
}
Mock of EULAUI interface
func NewMockEULAUI ¶
func NewMockEULAUI(ctrl *gomock.Controller) *MockEULAUI
func (*MockEULAUI) Close ¶
func (_m *MockEULAUI) Close() error
func (*MockEULAUI) ConfirmText ¶
func (_m *MockEULAUI) ConfirmText(_param0 string) bool
func (*MockEULAUI) EXPECT ¶
func (_m *MockEULAUI) EXPECT() *_MockEULAUIRecorder
func (*MockEULAUI) Init ¶
func (_m *MockEULAUI) Init() error
type MockFS ¶
type MockFS struct {
// contains filtered or unexported fields
}
Mock of FS interface
func NewMockFS ¶
func NewMockFS(ctrl *gomock.Controller) *MockFS
type MockUI ¶
type MockUI struct {
// contains filtered or unexported fields
}
Mock of UI interface
func NewMockUI ¶
func NewMockUI(ctrl *gomock.Controller) *MockUI
func (*MockUI) AskForPassword ¶
type MockVBox ¶
type MockVBox struct {
// contains filtered or unexported fields
}
Mock of VBox interface
func NewMockVBox ¶
func NewMockVBox(ctrl *gomock.Controller) *MockVBox
func (*MockVBox) DestroyPCFDevVMs ¶
func (*MockVBox) Version ¶
func (_m *MockVBox) Version() (*vboxdriver.VBoxDriverVersion, error)
type MockVMBuilder ¶
type MockVMBuilder struct {
// contains filtered or unexported fields
}
Mock of VMBuilder interface
func NewMockVMBuilder ¶
func NewMockVMBuilder(ctrl *gomock.Controller) *MockVMBuilder
func (*MockVMBuilder) EXPECT ¶
func (_m *MockVMBuilder) EXPECT() *_MockVMBuilderRecorder
Click to show internal directories.
Click to hide internal directories.