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 ¶
- type MockAllocationAPI
- func (m *MockAllocationAPI) EXPECT() *MockAllocationAPIMockRecorder
- func (m *MockAllocationAPI) GetBySite(ctx context.Context, siteID string) (client.Allocation, *http.Response, error)
- func (m *MockAllocationAPI) StorageGetBySite(ctx context.Context, siteID string) (client.Allocation, *http.Response, error)
- type MockAllocationAPIMockRecorder
- type MockAvailableResourcesAPI
- type MockAvailableResourcesAPIMockRecorder
- type MockHostsAPI
- func (m *MockHostsAPI) Add(ctx context.Context, newHost client.NewHost) (client.Host, *http.Response, error)
- func (m *MockHostsAPI) BootHDD(ctx context.Context, hostId string) (client.Host, *http.Response, error)
- func (m *MockHostsAPI) BootPXE(ctx context.Context, hostId string) (client.Host, *http.Response, error)
- func (m *MockHostsAPI) Delete(ctx context.Context, hostId string) (*http.Response, error)
- func (m *MockHostsAPI) EXPECT() *MockHostsAPIMockRecorder
- func (m *MockHostsAPI) GetByID(ctx context.Context, hostId string) (client.Host, *http.Response, error)
- func (m *MockHostsAPI) List(ctx context.Context, localVarOptionals *client.HostsApiListOpts) ([]client.Host, *http.Response, error)
- func (m *MockHostsAPI) Maintenance(ctx context.Context, hostId string) (client.Host, *http.Response, error)
- func (m *MockHostsAPI) PowerOff(ctx context.Context, hostId string) (client.Host, *http.Response, error)
- func (m *MockHostsAPI) PowerOn(ctx context.Context, hostId string) (client.Host, *http.Response, error)
- func (m *MockHostsAPI) PowerReset(ctx context.Context, hostId string) (client.Host, *http.Response, error)
- func (m *MockHostsAPI) Replace(ctx context.Context, hostId string) (client.Host, *http.Response, error)
- func (m *MockHostsAPI) Update(ctx context.Context, hostId string, host client.Host) (client.Host, *http.Response, error)
- type MockHostsAPIMockRecorder
- func (mr *MockHostsAPIMockRecorder) Add(ctx, newHost interface{}) *gomock.Call
- func (mr *MockHostsAPIMockRecorder) BootHDD(ctx, hostId interface{}) *gomock.Call
- func (mr *MockHostsAPIMockRecorder) BootPXE(ctx, hostId interface{}) *gomock.Call
- func (mr *MockHostsAPIMockRecorder) Delete(ctx, hostId interface{}) *gomock.Call
- func (mr *MockHostsAPIMockRecorder) GetByID(ctx, hostId interface{}) *gomock.Call
- func (mr *MockHostsAPIMockRecorder) List(ctx, localVarOptionals interface{}) *gomock.Call
- func (mr *MockHostsAPIMockRecorder) Maintenance(ctx, hostId interface{}) *gomock.Call
- func (mr *MockHostsAPIMockRecorder) PowerOff(ctx, hostId interface{}) *gomock.Call
- func (mr *MockHostsAPIMockRecorder) PowerOn(ctx, hostId interface{}) *gomock.Call
- func (mr *MockHostsAPIMockRecorder) PowerReset(ctx, hostId interface{}) *gomock.Call
- func (mr *MockHostsAPIMockRecorder) Replace(ctx, hostId interface{}) *gomock.Call
- func (mr *MockHostsAPIMockRecorder) Update(ctx, hostId, host interface{}) *gomock.Call
- type MockIPPoolsAPI
- func (m *MockIPPoolsAPI) AllocateIPs(ctx context.Context, ippoolId string, iPAllocation []client.IpAllocation) (client.IpPool, *http.Response, error)
- func (m *MockIPPoolsAPI) EXPECT() *MockIPPoolsAPIMockRecorder
- func (m *MockIPPoolsAPI) GetByID(ctx context.Context, ippoolId string) (client.IpPool, *http.Response, error)
- func (m *MockIPPoolsAPI) List(ctx context.Context) ([]client.IpPool, *http.Response, error)
- func (m *MockIPPoolsAPI) ReturnIPs(ctx context.Context, ippoolId string, requestBody []string) (client.IpPool, *http.Response, error)
- func (m *MockIPPoolsAPI) Update(ctx context.Context, ippoolId string, ipPool client.IpPool) (client.IpPool, *http.Response, error)
- type MockIPPoolsAPIMockRecorder
- func (mr *MockIPPoolsAPIMockRecorder) AllocateIPs(ctx, ippoolId, iPAllocation interface{}) *gomock.Call
- func (mr *MockIPPoolsAPIMockRecorder) GetByID(ctx, ippoolId interface{}) *gomock.Call
- func (mr *MockIPPoolsAPIMockRecorder) List(ctx interface{}) *gomock.Call
- func (mr *MockIPPoolsAPIMockRecorder) ReturnIPs(ctx, ippoolId, requestBody interface{}) *gomock.Call
- func (mr *MockIPPoolsAPIMockRecorder) Update(ctx, ippoolId, ipPool interface{}) *gomock.Call
- type MockNetworksAPI
- func (m *MockNetworksAPI) Add(ctx context.Context, newNetwork client.NewNetwork) (client.Network, *http.Response, error)
- func (m *MockNetworksAPI) Delete(ctx context.Context, networkId string) (*http.Response, error)
- func (m *MockNetworksAPI) EXPECT() *MockNetworksAPIMockRecorder
- func (m *MockNetworksAPI) GetByID(ctx context.Context, networkId string) (client.Network, *http.Response, error)
- func (m *MockNetworksAPI) List(ctx context.Context) ([]client.Network, *http.Response, error)
- func (m *MockNetworksAPI) Update(ctx context.Context, networkId string, network client.Network) (client.Network, *http.Response, error)
- type MockNetworksAPIMockRecorder
- func (mr *MockNetworksAPIMockRecorder) Add(ctx, newNetwork interface{}) *gomock.Call
- func (mr *MockNetworksAPIMockRecorder) Delete(ctx, networkId interface{}) *gomock.Call
- func (mr *MockNetworksAPIMockRecorder) GetByID(ctx, networkId interface{}) *gomock.Call
- func (mr *MockNetworksAPIMockRecorder) List(ctx interface{}) *gomock.Call
- func (mr *MockNetworksAPIMockRecorder) Update(ctx, networkId, network interface{}) *gomock.Call
- type MockProjectsAPI
- func (m *MockProjectsAPI) Add(ctx context.Context, newProject client.NewProject, ...) (client.Project, *http.Response, error)
- func (m *MockProjectsAPI) Delete(ctx context.Context, projectId string) (*http.Response, error)
- func (m *MockProjectsAPI) EXPECT() *MockProjectsAPIMockRecorder
- func (m *MockProjectsAPI) GetByID(ctx context.Context, projectId string) (client.Project, *http.Response, error)
- func (m *MockProjectsAPI) List(ctx context.Context, localVarOptionals *client.ProjectsApiListOpts) ([]client.Project, *http.Response, error)
- func (m *MockProjectsAPI) Update(ctx context.Context, projectId string, project client.Project) (client.Project, *http.Response, error)
- type MockProjectsAPIMockRecorder
- func (mr *MockProjectsAPIMockRecorder) Add(ctx, newProject, localVarOptionals interface{}) *gomock.Call
- func (mr *MockProjectsAPIMockRecorder) Delete(ctx, projectId interface{}) *gomock.Call
- func (mr *MockProjectsAPIMockRecorder) GetByID(ctx, projectId interface{}) *gomock.Call
- func (mr *MockProjectsAPIMockRecorder) List(ctx, localVarOptionals interface{}) *gomock.Call
- func (mr *MockProjectsAPIMockRecorder) Update(ctx, projectId, project interface{}) *gomock.Call
- type MockProjectsInfoAPI
- type MockProjectsInfoAPIMockRecorder
- type MockSshkeysAPI
- func (m *MockSshkeysAPI) Add(ctx context.Context, newSshKey client.NewSshKey) (client.SshKey, *http.Response, error)
- func (m *MockSshkeysAPI) Delete(ctx context.Context, sshkeyId string) (*http.Response, error)
- func (m *MockSshkeysAPI) EXPECT() *MockSshkeysAPIMockRecorder
- func (m *MockSshkeysAPI) GetByID(ctx context.Context, sshkeyId string) (client.SshKey, *http.Response, error)
- func (m *MockSshkeysAPI) List(ctx context.Context) ([]client.SshKey, *http.Response, error)
- func (m *MockSshkeysAPI) Update(ctx context.Context, sshkeyId string, sshKey client.SshKey) (client.SshKey, *http.Response, error)
- type MockSshkeysAPIMockRecorder
- func (mr *MockSshkeysAPIMockRecorder) Add(ctx, newSshKey interface{}) *gomock.Call
- func (mr *MockSshkeysAPIMockRecorder) Delete(ctx, sshkeyId interface{}) *gomock.Call
- func (mr *MockSshkeysAPIMockRecorder) GetByID(ctx, sshkeyId interface{}) *gomock.Call
- func (mr *MockSshkeysAPIMockRecorder) List(ctx interface{}) *gomock.Call
- func (mr *MockSshkeysAPIMockRecorder) Update(ctx, sshkeyId, sshKey interface{}) *gomock.Call
- type MockUsageReportsAPI
- type MockUsageReportsAPIMockRecorder
- type MockVersionAPI
- type MockVersionAPIMockRecorder
- type MockVolumeAttachmentsAPI
- func (m *MockVolumeAttachmentsAPI) Add(ctx context.Context, newVolumeAttachment client.NewVolumeAttachment) (client.VolumeAttachment, *http.Response, error)
- func (m *MockVolumeAttachmentsAPI) Delete(ctx context.Context, attachmentId string) (*http.Response, error)
- func (m *MockVolumeAttachmentsAPI) EXPECT() *MockVolumeAttachmentsAPIMockRecorder
- func (m *MockVolumeAttachmentsAPI) GetByID(ctx context.Context, attachmentId string) (client.VolumeAttachment, *http.Response, error)
- func (m *MockVolumeAttachmentsAPI) List(ctx context.Context) ([]client.VolumeAttachment, *http.Response, error)
- type MockVolumeAttachmentsAPIMockRecorder
- func (mr *MockVolumeAttachmentsAPIMockRecorder) Add(ctx, newVolumeAttachment interface{}) *gomock.Call
- func (mr *MockVolumeAttachmentsAPIMockRecorder) Delete(ctx, attachmentId interface{}) *gomock.Call
- func (mr *MockVolumeAttachmentsAPIMockRecorder) GetByID(ctx, attachmentId interface{}) *gomock.Call
- func (mr *MockVolumeAttachmentsAPIMockRecorder) List(ctx interface{}) *gomock.Call
- type MockVolumesAPI
- func (m *MockVolumesAPI) Add(ctx context.Context, newVolume client.NewVolume) (client.Volume, *http.Response, error)
- func (m *MockVolumesAPI) Attach(ctx context.Context, volumeId string, ...) (client.VolumeAttachment, *http.Response, error)
- func (m *MockVolumesAPI) Delete(ctx context.Context, volumeId string) (*http.Response, error)
- func (m *MockVolumesAPI) Detach(ctx context.Context, volumeId string, ...) (*http.Response, error)
- func (m *MockVolumesAPI) EXPECT() *MockVolumesAPIMockRecorder
- func (m *MockVolumesAPI) GetByID(ctx context.Context, volumeId string) (client.Volume, *http.Response, error)
- func (m *MockVolumesAPI) List(ctx context.Context) ([]client.Volume, *http.Response, error)
- func (m *MockVolumesAPI) Update(ctx context.Context, volume client.Volume) (client.Volume, *http.Response, error)
- type MockVolumesAPIMockRecorder
- func (mr *MockVolumesAPIMockRecorder) Add(ctx, newVolume interface{}) *gomock.Call
- func (mr *MockVolumesAPIMockRecorder) Attach(ctx, volumeId, volumeAttachHostUuid interface{}) *gomock.Call
- func (mr *MockVolumesAPIMockRecorder) Delete(ctx, volumeId interface{}) *gomock.Call
- func (mr *MockVolumesAPIMockRecorder) Detach(ctx, volumeId, volumeAttachHostUuid interface{}) *gomock.Call
- func (mr *MockVolumesAPIMockRecorder) GetByID(ctx, volumeId interface{}) *gomock.Call
- func (mr *MockVolumesAPIMockRecorder) List(ctx interface{}) *gomock.Call
- func (mr *MockVolumesAPIMockRecorder) Update(ctx, volume interface{}) *gomock.Call
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
func (m *MockAllocationAPI) EXPECT() *MockAllocationAPIMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockAllocationAPI) GetBySite ¶ added in v1.4.6
func (m *MockAllocationAPI) GetBySite(ctx context.Context, siteID string) (client.Allocation, *http.Response, error)
GetBySite mocks base method.
func (*MockAllocationAPI) StorageGetBySite ¶ added in v1.4.6
func (m *MockAllocationAPI) StorageGetBySite(ctx context.Context, siteID string) (client.Allocation, *http.Response, error)
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, siteID interface{}) *gomock.Call
GetBySite indicates an expected call of GetBySite.
func (*MockAllocationAPIMockRecorder) StorageGetBySite ¶ added in v1.4.6
func (mr *MockAllocationAPIMockRecorder) StorageGetBySite(ctx, siteID 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 ¶
func (m *MockAvailableResourcesAPI) EXPECT() *MockAvailableResourcesAPIMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockAvailableResourcesAPI) List ¶
func (m *MockAvailableResourcesAPI) List(ctx context.Context) (client.AvailableResources, *http.Response, error)
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) EXPECT ¶
func (m *MockHostsAPI) EXPECT() *MockHostsAPIMockRecorder
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.
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) 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, host 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 ¶
func (m *MockIPPoolsAPI) EXPECT() *MockIPPoolsAPIMockRecorder
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.
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, ipPool 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 ¶
func (m *MockNetworksAPI) Add(ctx context.Context, newNetwork client.NewNetwork) (client.Network, *http.Response, error)
Add mocks base method.
func (*MockNetworksAPI) EXPECT ¶
func (m *MockNetworksAPI) EXPECT() *MockNetworksAPIMockRecorder
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.
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, network 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) EXPECT ¶
func (m *MockProjectsAPI) EXPECT() *MockProjectsAPIMockRecorder
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.
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, project 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 ¶
func (m *MockProjectsInfoAPI) EXPECT() *MockProjectsInfoAPIMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockProjectsInfoAPI) List ¶
func (m *MockProjectsInfoAPI) List(ctx context.Context, localVarOptionals *client.ProjectsInfoApiListOpts) (client.ProjectsInfo, *http.Response, error)
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 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 ¶
func (m *MockSshkeysAPI) Add(ctx context.Context, newSshKey client.NewSshKey) (client.SshKey, *http.Response, error)
Add mocks base method.
func (*MockSshkeysAPI) EXPECT ¶
func (m *MockSshkeysAPI) EXPECT() *MockSshkeysAPIMockRecorder
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.
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, sshKey interface{}) *gomock.Call
Update indicates an expected call of Update.
type MockUsageReportsAPI ¶
type MockUsageReportsAPI struct {
// contains filtered or unexported fields
}
MockUsageReportsAPI is a mock of UsageReportsAPI interface.
func NewMockUsageReportsAPI ¶
func NewMockUsageReportsAPI(ctrl *gomock.Controller) *MockUsageReportsAPI
NewMockUsageReportsAPI creates a new mock instance.
func (*MockUsageReportsAPI) EXPECT ¶
func (m *MockUsageReportsAPI) EXPECT() *MockUsageReportsAPIMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockUsageReportsAPI) Get ¶
func (m *MockUsageReportsAPI) Get(ctx context.Context, start string, localVarOptionals *client.UsageReportsApiGetOpts) (client.UsageReport, *http.Response, error)
Get mocks base method.
type MockUsageReportsAPIMockRecorder ¶
type MockUsageReportsAPIMockRecorder struct {
// contains filtered or unexported fields
}
MockUsageReportsAPIMockRecorder is the mock recorder for MockUsageReportsAPI.
func (*MockUsageReportsAPIMockRecorder) Get ¶
func (mr *MockUsageReportsAPIMockRecorder) Get(ctx, start, localVarOptionals interface{}) *gomock.Call
Get indicates an expected call of Get.
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 ¶
func (m *MockVersionAPI) EXPECT() *MockVersionAPIMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
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 ¶
func (m *MockVolumeAttachmentsAPI) Add(ctx context.Context, newVolumeAttachment client.NewVolumeAttachment) (client.VolumeAttachment, *http.Response, error)
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 ¶
func (m *MockVolumeAttachmentsAPI) EXPECT() *MockVolumeAttachmentsAPIMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockVolumeAttachmentsAPI) GetByID ¶
func (m *MockVolumeAttachmentsAPI) GetByID(ctx context.Context, attachmentId string) (client.VolumeAttachment, *http.Response, error)
GetByID mocks base method.
func (*MockVolumeAttachmentsAPI) List ¶
func (m *MockVolumeAttachmentsAPI) List(ctx context.Context) ([]client.VolumeAttachment, *http.Response, error)
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 ¶
func (m *MockVolumesAPI) Add(ctx context.Context, newVolume client.NewVolume) (client.Volume, *http.Response, error)
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) Detach ¶
func (m *MockVolumesAPI) Detach(ctx context.Context, volumeId string, volumeAttachHostUuid client.VolumeAttachHostUuid) (*http.Response, error)
Detach mocks base method.
func (*MockVolumesAPI) EXPECT ¶
func (m *MockVolumesAPI) EXPECT() *MockVolumesAPIMockRecorder
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.
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, volume interface{}) *gomock.Call
Update indicates an expected call of Update.