Documentation ¶
Overview ¶
Package mock is a generated GoMock package.
Index ¶
- type MockClient
- func (m *MockClient) Close() error
- func (m *MockClient) CreateDomain(arg0 client.CreateDomainInput) error
- func (m *MockClient) CreateVolume(arg0 client.CreateVolumeInput) error
- func (m *MockClient) DeleteDomain(name string) error
- func (m *MockClient) DeleteVolume(name string) error
- func (m *MockClient) DomainExists(name string) (bool, error)
- func (m *MockClient) EXPECT() *MockClientMockRecorder
- func (m *MockClient) LookupDomainByName(name string) (*libvirt_go.Domain, error)
- func (m *MockClient) VolumeExists(name string) (bool, error)
- type MockClientMockRecorder
- func (mr *MockClientMockRecorder) Close() *gomock.Call
- func (mr *MockClientMockRecorder) CreateDomain(arg0 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) CreateVolume(arg0 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) DeleteDomain(name interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) DeleteVolume(name interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) DomainExists(name interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) LookupDomainByName(name interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) VolumeExists(name interface{}) *gomock.Call
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) 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