mock

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Jan 15, 2019 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package mock is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockClient

type MockClient struct {
	// contains filtered or unexported fields
}

MockClient is a mock of Client interface

func NewMockClient

func NewMockClient(ctrl *gomock.Controller) *MockClient

NewMockClient creates a new mock instance

func (*MockClient) Close

func (m *MockClient) Close() error

Close mocks base method

func (*MockClient) CreateDomain

func (m *MockClient) CreateDomain(arg0 client.CreateDomainInput) error

CreateDomain mocks base method

func (*MockClient) CreateVolume

func (m *MockClient) CreateVolume(arg0 client.CreateVolumeInput) error

CreateVolume mocks base method

func (*MockClient) DeleteDomain

func (m *MockClient) DeleteDomain(name string) error

DeleteDomain mocks base method

func (*MockClient) DeleteVolume

func (m *MockClient) DeleteVolume(name string) error

DeleteVolume mocks base method

func (*MockClient) DomainExists

func (m *MockClient) DomainExists(name string) (bool, error)

DomainExists mocks base method

func (*MockClient) EXPECT

func (m *MockClient) EXPECT() *MockClientMockRecorder

EXPECT returns an object that allows the caller to indicate expected use

func (*MockClient) LookupDomainByName

func (m *MockClient) LookupDomainByName(name string) (*libvirt_go.Domain, error)

LookupDomainByName mocks base method

func (*MockClient) VolumeExists

func (m *MockClient) VolumeExists(name string) (bool, error)

VolumeExists mocks base method

type MockClientMockRecorder

type MockClientMockRecorder struct {
	// contains filtered or unexported fields
}

MockClientMockRecorder is the mock recorder for MockClient

func (*MockClientMockRecorder) Close

func (mr *MockClientMockRecorder) Close() *gomock.Call

Close indicates an expected call of Close

func (*MockClientMockRecorder) CreateDomain

func (mr *MockClientMockRecorder) CreateDomain(arg0 interface{}) *gomock.Call

CreateDomain indicates an expected call of CreateDomain

func (*MockClientMockRecorder) CreateVolume

func (mr *MockClientMockRecorder) CreateVolume(arg0 interface{}) *gomock.Call

CreateVolume indicates an expected call of CreateVolume

func (*MockClientMockRecorder) DeleteDomain

func (mr *MockClientMockRecorder) DeleteDomain(name interface{}) *gomock.Call

DeleteDomain indicates an expected call of DeleteDomain

func (*MockClientMockRecorder) DeleteVolume

func (mr *MockClientMockRecorder) DeleteVolume(name interface{}) *gomock.Call

DeleteVolume indicates an expected call of DeleteVolume

func (*MockClientMockRecorder) DomainExists

func (mr *MockClientMockRecorder) DomainExists(name interface{}) *gomock.Call

DomainExists indicates an expected call of DomainExists

func (*MockClientMockRecorder) LookupDomainByName

func (mr *MockClientMockRecorder) LookupDomainByName(name interface{}) *gomock.Call

LookupDomainByName indicates an expected call of LookupDomainByName

func (*MockClientMockRecorder) VolumeExists

func (mr *MockClientMockRecorder) VolumeExists(name interface{}) *gomock.Call

VolumeExists indicates an expected call of VolumeExists

Jump to

Keyboard shortcuts

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