mocks

package
v0.0.0-...-850ae45 Latest Latest
Warning

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

Go to latest
Published: Sep 11, 2017 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

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

func (*MockCmd) EXPECT

func (_m *MockCmd) EXPECT() *_MockCmdRecorder

func (*MockCmd) Parse

func (_m *MockCmd) Parse(_param0 []string) error

func (*MockCmd) Run

func (_m *MockCmd) Run() error

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 (*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

func (*MockFS) Copy

func (_m *MockFS) Copy(_param0 string, _param1 string) error

func (*MockFS) EXPECT

func (_m *MockFS) EXPECT() *_MockFSRecorder

func (*MockFS) Exists

func (_m *MockFS) Exists(_param0 string) (bool, error)

func (*MockFS) MD5

func (_m *MockFS) MD5(_param0 string) (string, error)

func (*MockFS) Read

func (_m *MockFS) Read(_param0 string) ([]byte, error)

func (*MockFS) Remove

func (_m *MockFS) Remove(_param0 string) error

func (*MockFS) TempDir

func (_m *MockFS) TempDir() (string, error)

func (*MockFS) Write

func (_m *MockFS) Write(_param0 string, _param1 io.Reader, _param2 bool) error

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

func (_m *MockUI) AskForPassword(_param0 string) string

func (*MockUI) Confirm

func (_m *MockUI) Confirm(_param0 string) bool

func (*MockUI) EXPECT

func (_m *MockUI) EXPECT() *_MockUIRecorder

func (*MockUI) Say

func (_m *MockUI) Say(_param0 string, _param1 ...interface{})

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 (_m *MockVBox) DestroyPCFDevVMs() error

func (*MockVBox) EXPECT

func (_m *MockVBox) EXPECT() *_MockVBoxRecorder

func (*MockVBox) GetVMName

func (_m *MockVBox) GetVMName() (string, error)

func (*MockVBox) VMConfig

func (_m *MockVBox) VMConfig(_param0 string) (*config.VMConfig, error)

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

func (*MockVMBuilder) VM

func (_m *MockVMBuilder) VM(_param0 string) (vm.VM, error)

Jump to

Keyboard shortcuts

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