mockquakeclient

package
v1.5.12 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Overview

Package mockquakeclient is a generated GoMock package.

Package mockquakeclient is a generated GoMock package.

Package mockquakeclient is a generated GoMock package.

Package mockquakeclient is a generated GoMock package.

Package mockquakeclient is a generated GoMock package.

Package mockquakeclient is a generated GoMock package.

Package mockquakeclient is a generated GoMock package.

Package mockquakeclient is a generated GoMock package.

Package mockquakeclient is a generated GoMock package.

Package mockquakeclient is a generated GoMock package.

Package mockquakeclient is a generated GoMock package.

Package mockquakeclient is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockAllocationAPI added in v1.4.6

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

MockAllocationAPI is a mock of AllocationAPI interface.

func NewMockAllocationAPI added in v1.4.6

func NewMockAllocationAPI(ctrl *gomock.Controller) *MockAllocationAPI

NewMockAllocationAPI creates a new mock instance.

func (*MockAllocationAPI) EXPECT added in v1.4.6

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

func (*MockAllocationAPI) GetBySite added in v1.4.6

GetBySite mocks base method.

func (*MockAllocationAPI) StorageGetBySite added in v1.4.6

StorageGetBySite mocks base method.

type MockAllocationAPIMockRecorder added in v1.4.6

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

MockAllocationAPIMockRecorder is the mock recorder for MockAllocationAPI.

func (*MockAllocationAPIMockRecorder) GetBySite added in v1.4.6

func (mr *MockAllocationAPIMockRecorder) GetBySite(ctx, localVarOptionals interface{}) *gomock.Call

GetBySite indicates an expected call of GetBySite.

func (*MockAllocationAPIMockRecorder) StorageGetBySite added in v1.4.6

func (mr *MockAllocationAPIMockRecorder) StorageGetBySite(ctx, localVarOptionals interface{}) *gomock.Call

StorageGetBySite indicates an expected call of StorageGetBySite.

type MockAvailableResourcesAPI

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

MockAvailableResourcesAPI is a mock of AvailableResourcesAPI interface.

func NewMockAvailableResourcesAPI

func NewMockAvailableResourcesAPI(ctrl *gomock.Controller) *MockAvailableResourcesAPI

NewMockAvailableResourcesAPI creates a new mock instance.

func (*MockAvailableResourcesAPI) EXPECT

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

func (*MockAvailableResourcesAPI) List

List mocks base method.

type MockAvailableResourcesAPIMockRecorder

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

MockAvailableResourcesAPIMockRecorder is the mock recorder for MockAvailableResourcesAPI.

func (*MockAvailableResourcesAPIMockRecorder) List

func (mr *MockAvailableResourcesAPIMockRecorder) List(ctx interface{}) *gomock.Call

List indicates an expected call of List.

type MockHostsAPI

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

MockHostsAPI is a mock of HostsAPI interface.

func NewMockHostsAPI

func NewMockHostsAPI(ctrl *gomock.Controller) *MockHostsAPI

NewMockHostsAPI creates a new mock instance.

func (*MockHostsAPI) Add

func (m *MockHostsAPI) Add(ctx context.Context, newHost client.NewHost) (client.Host, *http.Response, error)

Add mocks base method.

func (*MockHostsAPI) BootHDD

func (m *MockHostsAPI) BootHDD(ctx context.Context, hostId string) (client.Host, *http.Response, error)

BootHDD mocks base method.

func (*MockHostsAPI) BootPXE

func (m *MockHostsAPI) BootPXE(ctx context.Context, hostId string) (client.Host, *http.Response, error)

BootPXE mocks base method.

func (*MockHostsAPI) Delete

func (m *MockHostsAPI) Delete(ctx context.Context, hostId string) (*http.Response, error)

Delete mocks base method.

func (*MockHostsAPI) EXPECT

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

func (*MockHostsAPI) GetByID

func (m *MockHostsAPI) GetByID(ctx context.Context, hostId string) (client.Host, *http.Response, error)

GetByID mocks base method.

func (*MockHostsAPI) List

func (m *MockHostsAPI) List(ctx context.Context, localVarOptionals *client.HostsApiListOpts) ([]client.Host, *http.Response, error)

List mocks base method.

func (*MockHostsAPI) Maintenance

func (m *MockHostsAPI) Maintenance(ctx context.Context, hostId string) (client.Host, *http.Response, error)

Maintenance mocks base method.

func (*MockHostsAPI) PowerOff

func (m *MockHostsAPI) PowerOff(ctx context.Context, hostId string) (client.Host, *http.Response, error)

PowerOff mocks base method.

func (*MockHostsAPI) PowerOn

func (m *MockHostsAPI) PowerOn(ctx context.Context, hostId string) (client.Host, *http.Response, error)

PowerOn mocks base method.

func (*MockHostsAPI) PowerReset

func (m *MockHostsAPI) PowerReset(ctx context.Context, hostId string) (client.Host, *http.Response, error)

PowerReset mocks base method.

func (*MockHostsAPI) Reimage added in v1.4.17

func (m *MockHostsAPI) Reimage(ctx context.Context, hostId string) (client.Host, *http.Response, error)

Reimage mocks base method.

func (*MockHostsAPI) Replace

func (m *MockHostsAPI) Replace(ctx context.Context, hostId string) (client.Host, *http.Response, error)

Replace mocks base method.

func (*MockHostsAPI) Update

func (m *MockHostsAPI) Update(ctx context.Context, hostId string, updateHost client.UpdateHost) (client.Host, *http.Response, error)

Update mocks base method.

type MockHostsAPIMockRecorder

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

MockHostsAPIMockRecorder is the mock recorder for MockHostsAPI.

func (*MockHostsAPIMockRecorder) Add

func (mr *MockHostsAPIMockRecorder) Add(ctx, newHost interface{}) *gomock.Call

Add indicates an expected call of Add.

func (*MockHostsAPIMockRecorder) BootHDD

func (mr *MockHostsAPIMockRecorder) BootHDD(ctx, hostId interface{}) *gomock.Call

BootHDD indicates an expected call of BootHDD.

func (*MockHostsAPIMockRecorder) BootPXE

func (mr *MockHostsAPIMockRecorder) BootPXE(ctx, hostId interface{}) *gomock.Call

BootPXE indicates an expected call of BootPXE.

func (*MockHostsAPIMockRecorder) Delete

func (mr *MockHostsAPIMockRecorder) Delete(ctx, hostId interface{}) *gomock.Call

Delete indicates an expected call of Delete.

func (*MockHostsAPIMockRecorder) GetByID

func (mr *MockHostsAPIMockRecorder) GetByID(ctx, hostId interface{}) *gomock.Call

GetByID indicates an expected call of GetByID.

func (*MockHostsAPIMockRecorder) List

func (mr *MockHostsAPIMockRecorder) List(ctx, localVarOptionals interface{}) *gomock.Call

List indicates an expected call of List.

func (*MockHostsAPIMockRecorder) Maintenance

func (mr *MockHostsAPIMockRecorder) Maintenance(ctx, hostId interface{}) *gomock.Call

Maintenance indicates an expected call of Maintenance.

func (*MockHostsAPIMockRecorder) PowerOff

func (mr *MockHostsAPIMockRecorder) PowerOff(ctx, hostId interface{}) *gomock.Call

PowerOff indicates an expected call of PowerOff.

func (*MockHostsAPIMockRecorder) PowerOn

func (mr *MockHostsAPIMockRecorder) PowerOn(ctx, hostId interface{}) *gomock.Call

PowerOn indicates an expected call of PowerOn.

func (*MockHostsAPIMockRecorder) PowerReset

func (mr *MockHostsAPIMockRecorder) PowerReset(ctx, hostId interface{}) *gomock.Call

PowerReset indicates an expected call of PowerReset.

func (*MockHostsAPIMockRecorder) Reimage added in v1.4.17

func (mr *MockHostsAPIMockRecorder) Reimage(ctx, hostId interface{}) *gomock.Call

Reimage indicates an expected call of Reimage.

func (*MockHostsAPIMockRecorder) Replace

func (mr *MockHostsAPIMockRecorder) Replace(ctx, hostId interface{}) *gomock.Call

Replace indicates an expected call of Replace.

func (*MockHostsAPIMockRecorder) Update

func (mr *MockHostsAPIMockRecorder) Update(ctx, hostId, updateHost interface{}) *gomock.Call

Update indicates an expected call of Update.

type MockIPPoolsAPI

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

MockIPPoolsAPI is a mock of IPPoolsAPI interface.

func NewMockIPPoolsAPI

func NewMockIPPoolsAPI(ctrl *gomock.Controller) *MockIPPoolsAPI

NewMockIPPoolsAPI creates a new mock instance.

func (*MockIPPoolsAPI) AllocateIPs

func (m *MockIPPoolsAPI) AllocateIPs(ctx context.Context, ippoolId string, iPAllocation []client.IpAllocation) (client.IpPool, *http.Response, error)

AllocateIPs mocks base method.

func (*MockIPPoolsAPI) EXPECT

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

func (*MockIPPoolsAPI) GetByID

func (m *MockIPPoolsAPI) GetByID(ctx context.Context, ippoolId string) (client.IpPool, *http.Response, error)

GetByID mocks base method.

func (*MockIPPoolsAPI) List

List mocks base method.

func (*MockIPPoolsAPI) ReturnIPs

func (m *MockIPPoolsAPI) ReturnIPs(ctx context.Context, ippoolId string, requestBody []string) (client.IpPool, *http.Response, error)

ReturnIPs mocks base method.

func (*MockIPPoolsAPI) Update

func (m *MockIPPoolsAPI) Update(ctx context.Context, ippoolId string, updateIpPool client.UpdateIpPool) (client.IpPool, *http.Response, error)

Update mocks base method.

type MockIPPoolsAPIMockRecorder

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

MockIPPoolsAPIMockRecorder is the mock recorder for MockIPPoolsAPI.

func (*MockIPPoolsAPIMockRecorder) AllocateIPs

func (mr *MockIPPoolsAPIMockRecorder) AllocateIPs(ctx, ippoolId, iPAllocation interface{}) *gomock.Call

AllocateIPs indicates an expected call of AllocateIPs.

func (*MockIPPoolsAPIMockRecorder) GetByID

func (mr *MockIPPoolsAPIMockRecorder) GetByID(ctx, ippoolId interface{}) *gomock.Call

GetByID indicates an expected call of GetByID.

func (*MockIPPoolsAPIMockRecorder) List

func (mr *MockIPPoolsAPIMockRecorder) List(ctx interface{}) *gomock.Call

List indicates an expected call of List.

func (*MockIPPoolsAPIMockRecorder) ReturnIPs

func (mr *MockIPPoolsAPIMockRecorder) ReturnIPs(ctx, ippoolId, requestBody interface{}) *gomock.Call

ReturnIPs indicates an expected call of ReturnIPs.

func (*MockIPPoolsAPIMockRecorder) Update

func (mr *MockIPPoolsAPIMockRecorder) Update(ctx, ippoolId, updateIpPool interface{}) *gomock.Call

Update indicates an expected call of Update.

type MockNetworksAPI

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

MockNetworksAPI is a mock of NetworksAPI interface.

func NewMockNetworksAPI

func NewMockNetworksAPI(ctrl *gomock.Controller) *MockNetworksAPI

NewMockNetworksAPI creates a new mock instance.

func (*MockNetworksAPI) Add

Add mocks base method.

func (*MockNetworksAPI) Delete

func (m *MockNetworksAPI) Delete(ctx context.Context, networkId string) (*http.Response, error)

Delete mocks base method.

func (*MockNetworksAPI) EXPECT

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

func (*MockNetworksAPI) GetByID

func (m *MockNetworksAPI) GetByID(ctx context.Context, networkId string) (client.Network, *http.Response, error)

GetByID mocks base method.

func (*MockNetworksAPI) List

List mocks base method.

func (*MockNetworksAPI) Update

func (m *MockNetworksAPI) Update(ctx context.Context, networkId string, updateNetwork client.UpdateNetwork) (client.Network, *http.Response, error)

Update mocks base method.

type MockNetworksAPIMockRecorder

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

MockNetworksAPIMockRecorder is the mock recorder for MockNetworksAPI.

func (*MockNetworksAPIMockRecorder) Add

func (mr *MockNetworksAPIMockRecorder) Add(ctx, newNetwork interface{}) *gomock.Call

Add indicates an expected call of Add.

func (*MockNetworksAPIMockRecorder) Delete

func (mr *MockNetworksAPIMockRecorder) Delete(ctx, networkId interface{}) *gomock.Call

Delete indicates an expected call of Delete.

func (*MockNetworksAPIMockRecorder) GetByID

func (mr *MockNetworksAPIMockRecorder) GetByID(ctx, networkId interface{}) *gomock.Call

GetByID indicates an expected call of GetByID.

func (*MockNetworksAPIMockRecorder) List

func (mr *MockNetworksAPIMockRecorder) List(ctx interface{}) *gomock.Call

List indicates an expected call of List.

func (*MockNetworksAPIMockRecorder) Update

func (mr *MockNetworksAPIMockRecorder) Update(ctx, networkId, updateNetwork interface{}) *gomock.Call

Update indicates an expected call of Update.

type MockProjectsAPI

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

MockProjectsAPI is a mock of ProjectsAPI interface.

func NewMockProjectsAPI

func NewMockProjectsAPI(ctrl *gomock.Controller) *MockProjectsAPI

NewMockProjectsAPI creates a new mock instance.

func (*MockProjectsAPI) Add

func (m *MockProjectsAPI) Add(ctx context.Context, newProject client.NewProject, localVarOptionals *client.ProjectsApiAddOpts) (client.Project, *http.Response, error)

Add mocks base method.

func (*MockProjectsAPI) Delete

func (m *MockProjectsAPI) Delete(ctx context.Context, projectId string) (*http.Response, error)

Delete mocks base method.

func (*MockProjectsAPI) EXPECT

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

func (*MockProjectsAPI) GetByID

func (m *MockProjectsAPI) GetByID(ctx context.Context, projectId string) (client.Project, *http.Response, error)

GetByID mocks base method.

func (*MockProjectsAPI) List

func (m *MockProjectsAPI) List(ctx context.Context, localVarOptionals *client.ProjectsApiListOpts) ([]client.Project, *http.Response, error)

List mocks base method.

func (*MockProjectsAPI) Update

func (m *MockProjectsAPI) Update(ctx context.Context, projectId string, updateProject client.UpdateProject) (client.Project, *http.Response, error)

Update mocks base method.

type MockProjectsAPIMockRecorder

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

MockProjectsAPIMockRecorder is the mock recorder for MockProjectsAPI.

func (*MockProjectsAPIMockRecorder) Add

func (mr *MockProjectsAPIMockRecorder) Add(ctx, newProject, localVarOptionals interface{}) *gomock.Call

Add indicates an expected call of Add.

func (*MockProjectsAPIMockRecorder) Delete

func (mr *MockProjectsAPIMockRecorder) Delete(ctx, projectId interface{}) *gomock.Call

Delete indicates an expected call of Delete.

func (*MockProjectsAPIMockRecorder) GetByID

func (mr *MockProjectsAPIMockRecorder) GetByID(ctx, projectId interface{}) *gomock.Call

GetByID indicates an expected call of GetByID.

func (*MockProjectsAPIMockRecorder) List

func (mr *MockProjectsAPIMockRecorder) List(ctx, localVarOptionals interface{}) *gomock.Call

List indicates an expected call of List.

func (*MockProjectsAPIMockRecorder) Update

func (mr *MockProjectsAPIMockRecorder) Update(ctx, projectId, updateProject interface{}) *gomock.Call

Update indicates an expected call of Update.

type MockProjectsInfoAPI

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

MockProjectsInfoAPI is a mock of ProjectsInfoAPI interface.

func NewMockProjectsInfoAPI

func NewMockProjectsInfoAPI(ctrl *gomock.Controller) *MockProjectsInfoAPI

NewMockProjectsInfoAPI creates a new mock instance.

func (*MockProjectsInfoAPI) EXPECT

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

func (*MockProjectsInfoAPI) List

List mocks base method.

type MockProjectsInfoAPIMockRecorder

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

MockProjectsInfoAPIMockRecorder is the mock recorder for MockProjectsInfoAPI.

func (*MockProjectsInfoAPIMockRecorder) List

func (mr *MockProjectsInfoAPIMockRecorder) List(ctx, localVarOptionals interface{}) *gomock.Call

List indicates an expected call of List.

type MockServicesAPI added in v1.5.0

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

MockServicesAPI is a mock of ServicesAPI interface.

func NewMockServicesAPI added in v1.5.0

func NewMockServicesAPI(ctrl *gomock.Controller) *MockServicesAPI

NewMockServicesAPI creates a new mock instance.

func (*MockServicesAPI) Add added in v1.5.0

func (m *MockServicesAPI) Add(ctx context.Context, fileName *os.File, localVarOptionals *client.ServicesApiAddOpts) (client.OsServiceImage, *http.Response, error)

Add mocks base method.

func (*MockServicesAPI) Delete added in v1.5.0

func (m *MockServicesAPI) Delete(ctx context.Context, serviceId string) (*http.Response, error)

Delete mocks base method.

func (*MockServicesAPI) EXPECT added in v1.5.0

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

func (*MockServicesAPI) GetByID added in v1.5.0

func (m *MockServicesAPI) GetByID(ctx context.Context, serviceId string) (client.OsServiceImage, *http.Response, error)

GetByID mocks base method.

func (*MockServicesAPI) List added in v1.5.0

List mocks base method.

func (*MockServicesAPI) Update added in v1.5.0

func (m *MockServicesAPI) Update(ctx context.Context, serviceId string, fileName *os.File) (client.OsServiceImage, *http.Response, error)

Update mocks base method.

type MockServicesAPIMockRecorder added in v1.5.0

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

MockServicesAPIMockRecorder is the mock recorder for MockServicesAPI.

func (*MockServicesAPIMockRecorder) Add added in v1.5.0

func (mr *MockServicesAPIMockRecorder) Add(ctx, fileName, localVarOptionals interface{}) *gomock.Call

Add indicates an expected call of Add.

func (*MockServicesAPIMockRecorder) Delete added in v1.5.0

func (mr *MockServicesAPIMockRecorder) Delete(ctx, serviceId interface{}) *gomock.Call

Delete indicates an expected call of Delete.

func (*MockServicesAPIMockRecorder) GetByID added in v1.5.0

func (mr *MockServicesAPIMockRecorder) GetByID(ctx, serviceId interface{}) *gomock.Call

GetByID indicates an expected call of GetByID.

func (*MockServicesAPIMockRecorder) List added in v1.5.0

func (mr *MockServicesAPIMockRecorder) List(ctx, localVarOptionals interface{}) *gomock.Call

List indicates an expected call of List.

func (*MockServicesAPIMockRecorder) Update added in v1.5.0

func (mr *MockServicesAPIMockRecorder) Update(ctx, serviceId, fileName interface{}) *gomock.Call

Update indicates an expected call of Update.

type MockSshkeysAPI

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

MockSshkeysAPI is a mock of SshkeysAPI interface.

func NewMockSshkeysAPI

func NewMockSshkeysAPI(ctrl *gomock.Controller) *MockSshkeysAPI

NewMockSshkeysAPI creates a new mock instance.

func (*MockSshkeysAPI) Add

Add mocks base method.

func (*MockSshkeysAPI) Delete

func (m *MockSshkeysAPI) Delete(ctx context.Context, sshkeyId string) (*http.Response, error)

Delete mocks base method.

func (*MockSshkeysAPI) EXPECT

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

func (*MockSshkeysAPI) GetByID

func (m *MockSshkeysAPI) GetByID(ctx context.Context, sshkeyId string) (client.SshKey, *http.Response, error)

GetByID mocks base method.

func (*MockSshkeysAPI) List

List mocks base method.

func (*MockSshkeysAPI) Update

func (m *MockSshkeysAPI) Update(ctx context.Context, sshkeyId string, updateSshKey client.UpdateSshKey) (client.SshKey, *http.Response, error)

Update mocks base method.

type MockSshkeysAPIMockRecorder

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

MockSshkeysAPIMockRecorder is the mock recorder for MockSshkeysAPI.

func (*MockSshkeysAPIMockRecorder) Add

func (mr *MockSshkeysAPIMockRecorder) Add(ctx, newSshKey interface{}) *gomock.Call

Add indicates an expected call of Add.

func (*MockSshkeysAPIMockRecorder) Delete

func (mr *MockSshkeysAPIMockRecorder) Delete(ctx, sshkeyId interface{}) *gomock.Call

Delete indicates an expected call of Delete.

func (*MockSshkeysAPIMockRecorder) GetByID

func (mr *MockSshkeysAPIMockRecorder) GetByID(ctx, sshkeyId interface{}) *gomock.Call

GetByID indicates an expected call of GetByID.

func (*MockSshkeysAPIMockRecorder) List

func (mr *MockSshkeysAPIMockRecorder) List(ctx interface{}) *gomock.Call

List indicates an expected call of List.

func (*MockSshkeysAPIMockRecorder) Update

func (mr *MockSshkeysAPIMockRecorder) Update(ctx, sshkeyId, updateSshKey interface{}) *gomock.Call

Update indicates an expected call of Update.

type MockVersionAPI

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

MockVersionAPI is a mock of VersionAPI interface.

func NewMockVersionAPI

func NewMockVersionAPI(ctrl *gomock.Controller) *MockVersionAPI

NewMockVersionAPI creates a new mock instance.

func (*MockVersionAPI) EXPECT

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

func (*MockVersionAPI) Get

Get mocks base method.

type MockVersionAPIMockRecorder

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

MockVersionAPIMockRecorder is the mock recorder for MockVersionAPI.

func (*MockVersionAPIMockRecorder) Get

func (mr *MockVersionAPIMockRecorder) Get(ctx interface{}) *gomock.Call

Get indicates an expected call of Get.

type MockVolumeAttachmentsAPI

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

MockVolumeAttachmentsAPI is a mock of VolumeAttachmentsAPI interface.

func NewMockVolumeAttachmentsAPI

func NewMockVolumeAttachmentsAPI(ctrl *gomock.Controller) *MockVolumeAttachmentsAPI

NewMockVolumeAttachmentsAPI creates a new mock instance.

func (*MockVolumeAttachmentsAPI) Add

Add mocks base method.

func (*MockVolumeAttachmentsAPI) Delete

func (m *MockVolumeAttachmentsAPI) Delete(ctx context.Context, attachmentId string) (*http.Response, error)

Delete mocks base method.

func (*MockVolumeAttachmentsAPI) EXPECT

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

func (*MockVolumeAttachmentsAPI) GetByID

GetByID mocks base method.

func (*MockVolumeAttachmentsAPI) List

List mocks base method.

type MockVolumeAttachmentsAPIMockRecorder

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

MockVolumeAttachmentsAPIMockRecorder is the mock recorder for MockVolumeAttachmentsAPI.

func (*MockVolumeAttachmentsAPIMockRecorder) Add

func (mr *MockVolumeAttachmentsAPIMockRecorder) Add(ctx, newVolumeAttachment interface{}) *gomock.Call

Add indicates an expected call of Add.

func (*MockVolumeAttachmentsAPIMockRecorder) Delete

func (mr *MockVolumeAttachmentsAPIMockRecorder) Delete(ctx, attachmentId interface{}) *gomock.Call

Delete indicates an expected call of Delete.

func (*MockVolumeAttachmentsAPIMockRecorder) GetByID

func (mr *MockVolumeAttachmentsAPIMockRecorder) GetByID(ctx, attachmentId interface{}) *gomock.Call

GetByID indicates an expected call of GetByID.

func (*MockVolumeAttachmentsAPIMockRecorder) List

func (mr *MockVolumeAttachmentsAPIMockRecorder) List(ctx interface{}) *gomock.Call

List indicates an expected call of List.

type MockVolumesAPI

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

MockVolumesAPI is a mock of VolumesAPI interface.

func NewMockVolumesAPI

func NewMockVolumesAPI(ctrl *gomock.Controller) *MockVolumesAPI

NewMockVolumesAPI creates a new mock instance.

func (*MockVolumesAPI) Add

Add mocks base method.

func (*MockVolumesAPI) Attach

func (m *MockVolumesAPI) Attach(ctx context.Context, volumeId string, volumeAttachHostUuid client.VolumeAttachHostUuid) (client.VolumeAttachment, *http.Response, error)

Attach mocks base method.

func (*MockVolumesAPI) Delete

func (m *MockVolumesAPI) Delete(ctx context.Context, volumeId string) (*http.Response, error)

Delete mocks base method.

func (*MockVolumesAPI) Detach

func (m *MockVolumesAPI) Detach(ctx context.Context, volumeId string, volumeAttachHostUuid client.VolumeAttachHostUuid) (*http.Response, error)

Detach mocks base method.

func (*MockVolumesAPI) EXPECT

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

func (*MockVolumesAPI) GetByID

func (m *MockVolumesAPI) GetByID(ctx context.Context, volumeId string) (client.Volume, *http.Response, error)

GetByID mocks base method.

func (*MockVolumesAPI) List

List mocks base method.

func (*MockVolumesAPI) Update

func (m *MockVolumesAPI) Update(ctx context.Context, volumeId string, updateVolume client.UpdateVolume) (client.Volume, *http.Response, error)

Update mocks base method.

type MockVolumesAPIMockRecorder

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

MockVolumesAPIMockRecorder is the mock recorder for MockVolumesAPI.

func (*MockVolumesAPIMockRecorder) Add

func (mr *MockVolumesAPIMockRecorder) Add(ctx, newVolume interface{}) *gomock.Call

Add indicates an expected call of Add.

func (*MockVolumesAPIMockRecorder) Attach

func (mr *MockVolumesAPIMockRecorder) Attach(ctx, volumeId, volumeAttachHostUuid interface{}) *gomock.Call

Attach indicates an expected call of Attach.

func (*MockVolumesAPIMockRecorder) Delete

func (mr *MockVolumesAPIMockRecorder) Delete(ctx, volumeId interface{}) *gomock.Call

Delete indicates an expected call of Delete.

func (*MockVolumesAPIMockRecorder) Detach

func (mr *MockVolumesAPIMockRecorder) Detach(ctx, volumeId, volumeAttachHostUuid interface{}) *gomock.Call

Detach indicates an expected call of Detach.

func (*MockVolumesAPIMockRecorder) GetByID

func (mr *MockVolumesAPIMockRecorder) GetByID(ctx, volumeId interface{}) *gomock.Call

GetByID indicates an expected call of GetByID.

func (*MockVolumesAPIMockRecorder) List

func (mr *MockVolumesAPIMockRecorder) List(ctx interface{}) *gomock.Call

List indicates an expected call of List.

func (*MockVolumesAPIMockRecorder) Update

func (mr *MockVolumesAPIMockRecorder) Update(ctx, volumeId, updateVolume interface{}) *gomock.Call

Update indicates an expected call of Update.

Jump to

Keyboard shortcuts

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