client

package
v1.33.17 Latest Latest
Warning

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

Go to latest
Published: Jul 9, 2026 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Overview

Package client is a generated GoMock package.

Package client is a generated GoMock package.

Package client is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockFactory

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

MockFactory is a mock of Factory interface.

func NewMockFactory

func NewMockFactory(ctrl *gomock.Controller) *MockFactory

NewMockFactory creates a new mock instance.

func (*MockFactory) EXPECT

func (m *MockFactory) EXPECT() *MockFactoryMockRecorder

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

func (*MockFactory) IaaS

IaaS mocks base method.

func (*MockFactory) LoadBalancing

func (m *MockFactory) LoadBalancing(options []config.ConfigurationOption) (client.LoadBalancingClient, error)

LoadBalancing mocks base method.

type MockFactoryMockRecorder

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

MockFactoryMockRecorder is the mock recorder for MockFactory.

func (*MockFactoryMockRecorder) IaaS

func (mr *MockFactoryMockRecorder) IaaS(options any) *gomock.Call

IaaS indicates an expected call of IaaS.

func (*MockFactoryMockRecorder) LoadBalancing

func (mr *MockFactoryMockRecorder) LoadBalancing(options any) *gomock.Call

LoadBalancing indicates an expected call of LoadBalancing.

type MockIaaSClient

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

MockIaaSClient is a mock of IaaSClient interface.

func NewMockIaaSClient

func NewMockIaaSClient(ctrl *gomock.Controller) *MockIaaSClient

NewMockIaaSClient creates a new mock instance.

func (*MockIaaSClient) AttachVolume

func (m *MockIaaSClient) AttachVolume(ctx context.Context, serverID, volumeID string, payload v2api.AddVolumeToServerPayload) (string, error)

AttachVolume mocks base method.

func (*MockIaaSClient) CreateBackup

func (m *MockIaaSClient) CreateBackup(ctx context.Context, name, volID, snapshotID string, tags map[string]string) (*v2api.Backup, error)

CreateBackup mocks base method.

func (*MockIaaSClient) CreateSnapshot

func (m *MockIaaSClient) CreateSnapshot(ctx context.Context, payload v2api.CreateSnapshotPayload) (*v2api.Snapshot, error)

CreateSnapshot mocks base method.

func (*MockIaaSClient) CreateVolume

func (m *MockIaaSClient) CreateVolume(ctx context.Context, payload v2api.CreateVolumePayload) (*v2api.Volume, error)

CreateVolume mocks base method.

func (*MockIaaSClient) DeleteBackup

func (m *MockIaaSClient) DeleteBackup(ctx context.Context, backupID string) error

DeleteBackup mocks base method.

func (*MockIaaSClient) DeleteSnapshot

func (m *MockIaaSClient) DeleteSnapshot(ctx context.Context, snapshotID string) error

DeleteSnapshot mocks base method.

func (*MockIaaSClient) DeleteVolume

func (m *MockIaaSClient) DeleteVolume(ctx context.Context, volumeID string) error

DeleteVolume mocks base method.

func (*MockIaaSClient) DetachVolume

func (m *MockIaaSClient) DetachVolume(ctx context.Context, serverID, volumeID string) error

DetachVolume mocks base method.

func (*MockIaaSClient) EXPECT

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

func (*MockIaaSClient) ExpandVolume

func (m *MockIaaSClient) ExpandVolume(ctx context.Context, volumeID, volumeStatus string, payload v2api.ResizeVolumePayload) error

ExpandVolume mocks base method.

func (*MockIaaSClient) GetBackup

func (m *MockIaaSClient) GetBackup(ctx context.Context, backupID string) (*v2api.Backup, error)

GetBackup mocks base method.

func (*MockIaaSClient) GetServer

func (m *MockIaaSClient) GetServer(ctx context.Context, serverID string) (*v2api.Server, error)

GetServer mocks base method.

func (*MockIaaSClient) GetServerWithDetails

func (m *MockIaaSClient) GetServerWithDetails(ctx context.Context, serverID string) (*v2api.Server, error)

GetServerWithDetails mocks base method.

func (*MockIaaSClient) GetSnapshot

func (m *MockIaaSClient) GetSnapshot(ctx context.Context, snapshotID string) (*v2api.Snapshot, error)

GetSnapshot mocks base method.

func (*MockIaaSClient) GetVolume

func (m *MockIaaSClient) GetVolume(ctx context.Context, volumeID string) (*v2api.Volume, error)

GetVolume mocks base method.

func (*MockIaaSClient) GetVolumesByName

func (m *MockIaaSClient) GetVolumesByName(ctx context.Context, volName string) ([]v2api.Volume, error)

GetVolumesByName mocks base method.

func (*MockIaaSClient) ListBackups

func (m *MockIaaSClient) ListBackups(ctx context.Context, filters map[string]string) ([]v2api.Backup, error)

ListBackups mocks base method.

func (*MockIaaSClient) ListServers

func (m *MockIaaSClient) ListServers(ctx context.Context) (*[]v2api.Server, error)

ListServers mocks base method.

func (*MockIaaSClient) ListSnapshots

func (m *MockIaaSClient) ListSnapshots(ctx context.Context, filters map[string]string) ([]v2api.Snapshot, string, error)

ListSnapshots mocks base method.

func (*MockIaaSClient) ListVolumes

func (m *MockIaaSClient) ListVolumes(ctx context.Context, arg1 int, arg2 string) ([]v2api.Volume, string, error)

ListVolumes mocks base method.

func (*MockIaaSClient) WaitBackupReady

func (m *MockIaaSClient) WaitBackupReady(ctx context.Context, backupID string, snapshotSize int64, backupMaxDurationSecondsPerGB int) (*string, error)

WaitBackupReady mocks base method.

func (*MockIaaSClient) WaitDiskAttached

func (m *MockIaaSClient) WaitDiskAttached(ctx context.Context, instanceID, volumeID string) error

WaitDiskAttached mocks base method.

func (*MockIaaSClient) WaitDiskDetached

func (m *MockIaaSClient) WaitDiskDetached(ctx context.Context, instanceID, volumeID string) error

WaitDiskDetached mocks base method.

func (*MockIaaSClient) WaitSnapshotReady

func (m *MockIaaSClient) WaitSnapshotReady(ctx context.Context, snapshotID string) (*string, error)

WaitSnapshotReady mocks base method.

func (*MockIaaSClient) WaitVolumeTargetStatus

func (m *MockIaaSClient) WaitVolumeTargetStatus(ctx context.Context, volumeID string, tStatus []string) error

WaitVolumeTargetStatus mocks base method.

func (*MockIaaSClient) WaitVolumeTargetStatusWithCustomBackoff

func (m *MockIaaSClient) WaitVolumeTargetStatusWithCustomBackoff(ctx context.Context, volumeID string, tStatus []string, backoff *wait.Backoff) error

WaitVolumeTargetStatusWithCustomBackoff mocks base method.

type MockIaaSClientAttachVolumeCall

type MockIaaSClientAttachVolumeCall struct {
	*gomock.Call
}

MockIaaSClientAttachVolumeCall wrap *gomock.Call

func (*MockIaaSClientAttachVolumeCall) Do

Do rewrite *gomock.Call.Do

func (*MockIaaSClientAttachVolumeCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockIaaSClientAttachVolumeCall) Return

Return rewrite *gomock.Call.Return

type MockIaaSClientCreateBackupCall

type MockIaaSClientCreateBackupCall struct {
	*gomock.Call
}

MockIaaSClientCreateBackupCall wrap *gomock.Call

func (*MockIaaSClientCreateBackupCall) Do

Do rewrite *gomock.Call.Do

func (*MockIaaSClientCreateBackupCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockIaaSClientCreateBackupCall) Return

Return rewrite *gomock.Call.Return

type MockIaaSClientCreateSnapshotCall

type MockIaaSClientCreateSnapshotCall struct {
	*gomock.Call
}

MockIaaSClientCreateSnapshotCall wrap *gomock.Call

func (*MockIaaSClientCreateSnapshotCall) Do

Do rewrite *gomock.Call.Do

func (*MockIaaSClientCreateSnapshotCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockIaaSClientCreateSnapshotCall) Return

Return rewrite *gomock.Call.Return

type MockIaaSClientCreateVolumeCall

type MockIaaSClientCreateVolumeCall struct {
	*gomock.Call
}

MockIaaSClientCreateVolumeCall wrap *gomock.Call

func (*MockIaaSClientCreateVolumeCall) Do

Do rewrite *gomock.Call.Do

func (*MockIaaSClientCreateVolumeCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockIaaSClientCreateVolumeCall) Return

Return rewrite *gomock.Call.Return

type MockIaaSClientDeleteBackupCall

type MockIaaSClientDeleteBackupCall struct {
	*gomock.Call
}

MockIaaSClientDeleteBackupCall wrap *gomock.Call

func (*MockIaaSClientDeleteBackupCall) Do

Do rewrite *gomock.Call.Do

func (*MockIaaSClientDeleteBackupCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockIaaSClientDeleteBackupCall) Return

Return rewrite *gomock.Call.Return

type MockIaaSClientDeleteSnapshotCall

type MockIaaSClientDeleteSnapshotCall struct {
	*gomock.Call
}

MockIaaSClientDeleteSnapshotCall wrap *gomock.Call

func (*MockIaaSClientDeleteSnapshotCall) Do

Do rewrite *gomock.Call.Do

func (*MockIaaSClientDeleteSnapshotCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockIaaSClientDeleteSnapshotCall) Return

Return rewrite *gomock.Call.Return

type MockIaaSClientDeleteVolumeCall

type MockIaaSClientDeleteVolumeCall struct {
	*gomock.Call
}

MockIaaSClientDeleteVolumeCall wrap *gomock.Call

func (*MockIaaSClientDeleteVolumeCall) Do

Do rewrite *gomock.Call.Do

func (*MockIaaSClientDeleteVolumeCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockIaaSClientDeleteVolumeCall) Return

Return rewrite *gomock.Call.Return

type MockIaaSClientDetachVolumeCall

type MockIaaSClientDetachVolumeCall struct {
	*gomock.Call
}

MockIaaSClientDetachVolumeCall wrap *gomock.Call

func (*MockIaaSClientDetachVolumeCall) Do

Do rewrite *gomock.Call.Do

func (*MockIaaSClientDetachVolumeCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockIaaSClientDetachVolumeCall) Return

Return rewrite *gomock.Call.Return

type MockIaaSClientExpandVolumeCall

type MockIaaSClientExpandVolumeCall struct {
	*gomock.Call
}

MockIaaSClientExpandVolumeCall wrap *gomock.Call

func (*MockIaaSClientExpandVolumeCall) Do

Do rewrite *gomock.Call.Do

func (*MockIaaSClientExpandVolumeCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockIaaSClientExpandVolumeCall) Return

Return rewrite *gomock.Call.Return

type MockIaaSClientGetBackupCall

type MockIaaSClientGetBackupCall struct {
	*gomock.Call
}

MockIaaSClientGetBackupCall wrap *gomock.Call

func (*MockIaaSClientGetBackupCall) Do

Do rewrite *gomock.Call.Do

func (*MockIaaSClientGetBackupCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockIaaSClientGetBackupCall) Return

Return rewrite *gomock.Call.Return

type MockIaaSClientGetServerCall

type MockIaaSClientGetServerCall struct {
	*gomock.Call
}

MockIaaSClientGetServerCall wrap *gomock.Call

func (*MockIaaSClientGetServerCall) Do

Do rewrite *gomock.Call.Do

func (*MockIaaSClientGetServerCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockIaaSClientGetServerCall) Return

Return rewrite *gomock.Call.Return

type MockIaaSClientGetServerWithDetailsCall

type MockIaaSClientGetServerWithDetailsCall struct {
	*gomock.Call
}

MockIaaSClientGetServerWithDetailsCall wrap *gomock.Call

func (*MockIaaSClientGetServerWithDetailsCall) Do

Do rewrite *gomock.Call.Do

func (*MockIaaSClientGetServerWithDetailsCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockIaaSClientGetServerWithDetailsCall) Return

Return rewrite *gomock.Call.Return

type MockIaaSClientGetSnapshotCall

type MockIaaSClientGetSnapshotCall struct {
	*gomock.Call
}

MockIaaSClientGetSnapshotCall wrap *gomock.Call

func (*MockIaaSClientGetSnapshotCall) Do

Do rewrite *gomock.Call.Do

func (*MockIaaSClientGetSnapshotCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockIaaSClientGetSnapshotCall) Return

Return rewrite *gomock.Call.Return

type MockIaaSClientGetVolumeCall

type MockIaaSClientGetVolumeCall struct {
	*gomock.Call
}

MockIaaSClientGetVolumeCall wrap *gomock.Call

func (*MockIaaSClientGetVolumeCall) Do

Do rewrite *gomock.Call.Do

func (*MockIaaSClientGetVolumeCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockIaaSClientGetVolumeCall) Return

Return rewrite *gomock.Call.Return

type MockIaaSClientGetVolumesByNameCall

type MockIaaSClientGetVolumesByNameCall struct {
	*gomock.Call
}

MockIaaSClientGetVolumesByNameCall wrap *gomock.Call

func (*MockIaaSClientGetVolumesByNameCall) Do

Do rewrite *gomock.Call.Do

func (*MockIaaSClientGetVolumesByNameCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockIaaSClientGetVolumesByNameCall) Return

Return rewrite *gomock.Call.Return

type MockIaaSClientListBackupsCall

type MockIaaSClientListBackupsCall struct {
	*gomock.Call
}

MockIaaSClientListBackupsCall wrap *gomock.Call

func (*MockIaaSClientListBackupsCall) Do

Do rewrite *gomock.Call.Do

func (*MockIaaSClientListBackupsCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockIaaSClientListBackupsCall) Return

Return rewrite *gomock.Call.Return

type MockIaaSClientListServersCall

type MockIaaSClientListServersCall struct {
	*gomock.Call
}

MockIaaSClientListServersCall wrap *gomock.Call

func (*MockIaaSClientListServersCall) Do

Do rewrite *gomock.Call.Do

func (*MockIaaSClientListServersCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockIaaSClientListServersCall) Return

Return rewrite *gomock.Call.Return

type MockIaaSClientListSnapshotsCall

type MockIaaSClientListSnapshotsCall struct {
	*gomock.Call
}

MockIaaSClientListSnapshotsCall wrap *gomock.Call

func (*MockIaaSClientListSnapshotsCall) Do

Do rewrite *gomock.Call.Do

func (*MockIaaSClientListSnapshotsCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockIaaSClientListSnapshotsCall) Return

Return rewrite *gomock.Call.Return

type MockIaaSClientListVolumesCall

type MockIaaSClientListVolumesCall struct {
	*gomock.Call
}

MockIaaSClientListVolumesCall wrap *gomock.Call

func (*MockIaaSClientListVolumesCall) Do

Do rewrite *gomock.Call.Do

func (*MockIaaSClientListVolumesCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockIaaSClientListVolumesCall) Return

Return rewrite *gomock.Call.Return

type MockIaaSClientMockRecorder

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

MockIaaSClientMockRecorder is the mock recorder for MockIaaSClient.

func (*MockIaaSClientMockRecorder) AttachVolume

func (mr *MockIaaSClientMockRecorder) AttachVolume(ctx, serverID, volumeID, payload any) *MockIaaSClientAttachVolumeCall

AttachVolume indicates an expected call of AttachVolume.

func (*MockIaaSClientMockRecorder) CreateBackup

func (mr *MockIaaSClientMockRecorder) CreateBackup(ctx, name, volID, snapshotID, tags any) *MockIaaSClientCreateBackupCall

CreateBackup indicates an expected call of CreateBackup.

func (*MockIaaSClientMockRecorder) CreateSnapshot

func (mr *MockIaaSClientMockRecorder) CreateSnapshot(ctx, payload any) *MockIaaSClientCreateSnapshotCall

CreateSnapshot indicates an expected call of CreateSnapshot.

func (*MockIaaSClientMockRecorder) CreateVolume

func (mr *MockIaaSClientMockRecorder) CreateVolume(ctx, payload any) *MockIaaSClientCreateVolumeCall

CreateVolume indicates an expected call of CreateVolume.

func (*MockIaaSClientMockRecorder) DeleteBackup

func (mr *MockIaaSClientMockRecorder) DeleteBackup(ctx, backupID any) *MockIaaSClientDeleteBackupCall

DeleteBackup indicates an expected call of DeleteBackup.

func (*MockIaaSClientMockRecorder) DeleteSnapshot

func (mr *MockIaaSClientMockRecorder) DeleteSnapshot(ctx, snapshotID any) *MockIaaSClientDeleteSnapshotCall

DeleteSnapshot indicates an expected call of DeleteSnapshot.

func (*MockIaaSClientMockRecorder) DeleteVolume

func (mr *MockIaaSClientMockRecorder) DeleteVolume(ctx, volumeID any) *MockIaaSClientDeleteVolumeCall

DeleteVolume indicates an expected call of DeleteVolume.

func (*MockIaaSClientMockRecorder) DetachVolume

func (mr *MockIaaSClientMockRecorder) DetachVolume(ctx, serverID, volumeID any) *MockIaaSClientDetachVolumeCall

DetachVolume indicates an expected call of DetachVolume.

func (*MockIaaSClientMockRecorder) ExpandVolume

func (mr *MockIaaSClientMockRecorder) ExpandVolume(ctx, volumeID, volumeStatus, payload any) *MockIaaSClientExpandVolumeCall

ExpandVolume indicates an expected call of ExpandVolume.

func (*MockIaaSClientMockRecorder) GetBackup

func (mr *MockIaaSClientMockRecorder) GetBackup(ctx, backupID any) *MockIaaSClientGetBackupCall

GetBackup indicates an expected call of GetBackup.

func (*MockIaaSClientMockRecorder) GetServer

func (mr *MockIaaSClientMockRecorder) GetServer(ctx, serverID any) *MockIaaSClientGetServerCall

GetServer indicates an expected call of GetServer.

func (*MockIaaSClientMockRecorder) GetServerWithDetails

func (mr *MockIaaSClientMockRecorder) GetServerWithDetails(ctx, serverID any) *MockIaaSClientGetServerWithDetailsCall

GetServerWithDetails indicates an expected call of GetServerWithDetails.

func (*MockIaaSClientMockRecorder) GetSnapshot

func (mr *MockIaaSClientMockRecorder) GetSnapshot(ctx, snapshotID any) *MockIaaSClientGetSnapshotCall

GetSnapshot indicates an expected call of GetSnapshot.

func (*MockIaaSClientMockRecorder) GetVolume

func (mr *MockIaaSClientMockRecorder) GetVolume(ctx, volumeID any) *MockIaaSClientGetVolumeCall

GetVolume indicates an expected call of GetVolume.

func (*MockIaaSClientMockRecorder) GetVolumesByName

func (mr *MockIaaSClientMockRecorder) GetVolumesByName(ctx, volName any) *MockIaaSClientGetVolumesByNameCall

GetVolumesByName indicates an expected call of GetVolumesByName.

func (*MockIaaSClientMockRecorder) ListBackups

func (mr *MockIaaSClientMockRecorder) ListBackups(ctx, filters any) *MockIaaSClientListBackupsCall

ListBackups indicates an expected call of ListBackups.

func (*MockIaaSClientMockRecorder) ListServers

ListServers indicates an expected call of ListServers.

func (*MockIaaSClientMockRecorder) ListSnapshots

func (mr *MockIaaSClientMockRecorder) ListSnapshots(ctx, filters any) *MockIaaSClientListSnapshotsCall

ListSnapshots indicates an expected call of ListSnapshots.

func (*MockIaaSClientMockRecorder) ListVolumes

func (mr *MockIaaSClientMockRecorder) ListVolumes(ctx, arg1, arg2 any) *MockIaaSClientListVolumesCall

ListVolumes indicates an expected call of ListVolumes.

func (*MockIaaSClientMockRecorder) WaitBackupReady

func (mr *MockIaaSClientMockRecorder) WaitBackupReady(ctx, backupID, snapshotSize, backupMaxDurationSecondsPerGB any) *MockIaaSClientWaitBackupReadyCall

WaitBackupReady indicates an expected call of WaitBackupReady.

func (*MockIaaSClientMockRecorder) WaitDiskAttached

func (mr *MockIaaSClientMockRecorder) WaitDiskAttached(ctx, instanceID, volumeID any) *MockIaaSClientWaitDiskAttachedCall

WaitDiskAttached indicates an expected call of WaitDiskAttached.

func (*MockIaaSClientMockRecorder) WaitDiskDetached

func (mr *MockIaaSClientMockRecorder) WaitDiskDetached(ctx, instanceID, volumeID any) *MockIaaSClientWaitDiskDetachedCall

WaitDiskDetached indicates an expected call of WaitDiskDetached.

func (*MockIaaSClientMockRecorder) WaitSnapshotReady

func (mr *MockIaaSClientMockRecorder) WaitSnapshotReady(ctx, snapshotID any) *MockIaaSClientWaitSnapshotReadyCall

WaitSnapshotReady indicates an expected call of WaitSnapshotReady.

func (*MockIaaSClientMockRecorder) WaitVolumeTargetStatus

func (mr *MockIaaSClientMockRecorder) WaitVolumeTargetStatus(ctx, volumeID, tStatus any) *MockIaaSClientWaitVolumeTargetStatusCall

WaitVolumeTargetStatus indicates an expected call of WaitVolumeTargetStatus.

func (*MockIaaSClientMockRecorder) WaitVolumeTargetStatusWithCustomBackoff

func (mr *MockIaaSClientMockRecorder) WaitVolumeTargetStatusWithCustomBackoff(ctx, volumeID, tStatus, backoff any) *MockIaaSClientWaitVolumeTargetStatusWithCustomBackoffCall

WaitVolumeTargetStatusWithCustomBackoff indicates an expected call of WaitVolumeTargetStatusWithCustomBackoff.

type MockIaaSClientWaitBackupReadyCall

type MockIaaSClientWaitBackupReadyCall struct {
	*gomock.Call
}

MockIaaSClientWaitBackupReadyCall wrap *gomock.Call

func (*MockIaaSClientWaitBackupReadyCall) Do

Do rewrite *gomock.Call.Do

func (*MockIaaSClientWaitBackupReadyCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockIaaSClientWaitBackupReadyCall) Return

Return rewrite *gomock.Call.Return

type MockIaaSClientWaitDiskAttachedCall

type MockIaaSClientWaitDiskAttachedCall struct {
	*gomock.Call
}

MockIaaSClientWaitDiskAttachedCall wrap *gomock.Call

func (*MockIaaSClientWaitDiskAttachedCall) Do

Do rewrite *gomock.Call.Do

func (*MockIaaSClientWaitDiskAttachedCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockIaaSClientWaitDiskAttachedCall) Return

Return rewrite *gomock.Call.Return

type MockIaaSClientWaitDiskDetachedCall

type MockIaaSClientWaitDiskDetachedCall struct {
	*gomock.Call
}

MockIaaSClientWaitDiskDetachedCall wrap *gomock.Call

func (*MockIaaSClientWaitDiskDetachedCall) Do

Do rewrite *gomock.Call.Do

func (*MockIaaSClientWaitDiskDetachedCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockIaaSClientWaitDiskDetachedCall) Return

Return rewrite *gomock.Call.Return

type MockIaaSClientWaitSnapshotReadyCall

type MockIaaSClientWaitSnapshotReadyCall struct {
	*gomock.Call
}

MockIaaSClientWaitSnapshotReadyCall wrap *gomock.Call

func (*MockIaaSClientWaitSnapshotReadyCall) Do

Do rewrite *gomock.Call.Do

func (*MockIaaSClientWaitSnapshotReadyCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockIaaSClientWaitSnapshotReadyCall) Return

Return rewrite *gomock.Call.Return

type MockIaaSClientWaitVolumeTargetStatusCall

type MockIaaSClientWaitVolumeTargetStatusCall struct {
	*gomock.Call
}

MockIaaSClientWaitVolumeTargetStatusCall wrap *gomock.Call

func (*MockIaaSClientWaitVolumeTargetStatusCall) Do

Do rewrite *gomock.Call.Do

func (*MockIaaSClientWaitVolumeTargetStatusCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockIaaSClientWaitVolumeTargetStatusCall) Return

Return rewrite *gomock.Call.Return

type MockIaaSClientWaitVolumeTargetStatusWithCustomBackoffCall

type MockIaaSClientWaitVolumeTargetStatusWithCustomBackoffCall struct {
	*gomock.Call
}

MockIaaSClientWaitVolumeTargetStatusWithCustomBackoffCall wrap *gomock.Call

func (*MockIaaSClientWaitVolumeTargetStatusWithCustomBackoffCall) Do

Do rewrite *gomock.Call.Do

func (*MockIaaSClientWaitVolumeTargetStatusWithCustomBackoffCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockIaaSClientWaitVolumeTargetStatusWithCustomBackoffCall) Return

Return rewrite *gomock.Call.Return

type MockLoadBalancingClient

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

MockLoadBalancingClient is a mock of LoadBalancingClient interface.

func NewMockLoadBalancingClient

func NewMockLoadBalancingClient(ctrl *gomock.Controller) *MockLoadBalancingClient

NewMockLoadBalancingClient creates a new mock instance.

func (*MockLoadBalancingClient) CreateCredentials

CreateCredentials mocks base method.

func (*MockLoadBalancingClient) CreateLoadBalancer

CreateLoadBalancer mocks base method.

func (*MockLoadBalancingClient) DeleteCredentials

func (m *MockLoadBalancingClient) DeleteCredentials(ctx context.Context, credentialsRef string) error

DeleteCredentials mocks base method.

func (*MockLoadBalancingClient) DeleteLoadBalancer

func (m *MockLoadBalancingClient) DeleteLoadBalancer(ctx context.Context, lbName string) error

DeleteLoadBalancer mocks base method.

func (*MockLoadBalancingClient) EXPECT

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

func (*MockLoadBalancingClient) GetLoadBalancer

func (m *MockLoadBalancingClient) GetLoadBalancer(ctx context.Context, id string) (*v2api.LoadBalancer, error)

GetLoadBalancer mocks base method.

func (*MockLoadBalancingClient) ListCredentials

ListCredentials mocks base method.

func (*MockLoadBalancingClient) UpdateCredentials

func (m *MockLoadBalancingClient) UpdateCredentials(ctx context.Context, credentialsRef string, payload v2api.UpdateCredentialsPayload) error

UpdateCredentials mocks base method.

func (*MockLoadBalancingClient) UpdateLoadBalancer

func (m *MockLoadBalancingClient) UpdateLoadBalancer(ctx context.Context, lbName string, updates *v2api.UpdateLoadBalancerPayload) (*v2api.LoadBalancer, error)

UpdateLoadBalancer mocks base method.

func (*MockLoadBalancingClient) UpdateTargetPool

func (m *MockLoadBalancingClient) UpdateTargetPool(ctx context.Context, name, targetPoolName string, payload v2api.UpdateTargetPoolPayload) error

UpdateTargetPool mocks base method.

type MockLoadBalancingClientCreateCredentialsCall

type MockLoadBalancingClientCreateCredentialsCall struct {
	*gomock.Call
}

MockLoadBalancingClientCreateCredentialsCall wrap *gomock.Call

func (*MockLoadBalancingClientCreateCredentialsCall) Do

Do rewrite *gomock.Call.Do

func (*MockLoadBalancingClientCreateCredentialsCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockLoadBalancingClientCreateCredentialsCall) Return

Return rewrite *gomock.Call.Return

type MockLoadBalancingClientCreateLoadBalancerCall

type MockLoadBalancingClientCreateLoadBalancerCall struct {
	*gomock.Call
}

MockLoadBalancingClientCreateLoadBalancerCall wrap *gomock.Call

func (*MockLoadBalancingClientCreateLoadBalancerCall) Do

Do rewrite *gomock.Call.Do

func (*MockLoadBalancingClientCreateLoadBalancerCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockLoadBalancingClientCreateLoadBalancerCall) Return

Return rewrite *gomock.Call.Return

type MockLoadBalancingClientDeleteCredentialsCall

type MockLoadBalancingClientDeleteCredentialsCall struct {
	*gomock.Call
}

MockLoadBalancingClientDeleteCredentialsCall wrap *gomock.Call

func (*MockLoadBalancingClientDeleteCredentialsCall) Do

Do rewrite *gomock.Call.Do

func (*MockLoadBalancingClientDeleteCredentialsCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockLoadBalancingClientDeleteCredentialsCall) Return

Return rewrite *gomock.Call.Return

type MockLoadBalancingClientDeleteLoadBalancerCall

type MockLoadBalancingClientDeleteLoadBalancerCall struct {
	*gomock.Call
}

MockLoadBalancingClientDeleteLoadBalancerCall wrap *gomock.Call

func (*MockLoadBalancingClientDeleteLoadBalancerCall) Do

Do rewrite *gomock.Call.Do

func (*MockLoadBalancingClientDeleteLoadBalancerCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockLoadBalancingClientDeleteLoadBalancerCall) Return

Return rewrite *gomock.Call.Return

type MockLoadBalancingClientGetLoadBalancerCall

type MockLoadBalancingClientGetLoadBalancerCall struct {
	*gomock.Call
}

MockLoadBalancingClientGetLoadBalancerCall wrap *gomock.Call

func (*MockLoadBalancingClientGetLoadBalancerCall) Do

Do rewrite *gomock.Call.Do

func (*MockLoadBalancingClientGetLoadBalancerCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockLoadBalancingClientGetLoadBalancerCall) Return

Return rewrite *gomock.Call.Return

type MockLoadBalancingClientListCredentialsCall

type MockLoadBalancingClientListCredentialsCall struct {
	*gomock.Call
}

MockLoadBalancingClientListCredentialsCall wrap *gomock.Call

func (*MockLoadBalancingClientListCredentialsCall) Do

Do rewrite *gomock.Call.Do

func (*MockLoadBalancingClientListCredentialsCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockLoadBalancingClientListCredentialsCall) Return

Return rewrite *gomock.Call.Return

type MockLoadBalancingClientMockRecorder

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

MockLoadBalancingClientMockRecorder is the mock recorder for MockLoadBalancingClient.

func (*MockLoadBalancingClientMockRecorder) CreateCredentials

CreateCredentials indicates an expected call of CreateCredentials.

func (*MockLoadBalancingClientMockRecorder) CreateLoadBalancer

CreateLoadBalancer indicates an expected call of CreateLoadBalancer.

func (*MockLoadBalancingClientMockRecorder) DeleteCredentials

func (mr *MockLoadBalancingClientMockRecorder) DeleteCredentials(ctx, credentialsRef any) *MockLoadBalancingClientDeleteCredentialsCall

DeleteCredentials indicates an expected call of DeleteCredentials.

func (*MockLoadBalancingClientMockRecorder) DeleteLoadBalancer

DeleteLoadBalancer indicates an expected call of DeleteLoadBalancer.

func (*MockLoadBalancingClientMockRecorder) GetLoadBalancer

GetLoadBalancer indicates an expected call of GetLoadBalancer.

func (*MockLoadBalancingClientMockRecorder) ListCredentials

ListCredentials indicates an expected call of ListCredentials.

func (*MockLoadBalancingClientMockRecorder) UpdateCredentials

func (mr *MockLoadBalancingClientMockRecorder) UpdateCredentials(ctx, credentialsRef, payload any) *MockLoadBalancingClientUpdateCredentialsCall

UpdateCredentials indicates an expected call of UpdateCredentials.

func (*MockLoadBalancingClientMockRecorder) UpdateLoadBalancer

func (mr *MockLoadBalancingClientMockRecorder) UpdateLoadBalancer(ctx, lbName, updates any) *MockLoadBalancingClientUpdateLoadBalancerCall

UpdateLoadBalancer indicates an expected call of UpdateLoadBalancer.

func (*MockLoadBalancingClientMockRecorder) UpdateTargetPool

func (mr *MockLoadBalancingClientMockRecorder) UpdateTargetPool(ctx, name, targetPoolName, payload any) *MockLoadBalancingClientUpdateTargetPoolCall

UpdateTargetPool indicates an expected call of UpdateTargetPool.

type MockLoadBalancingClientUpdateCredentialsCall

type MockLoadBalancingClientUpdateCredentialsCall struct {
	*gomock.Call
}

MockLoadBalancingClientUpdateCredentialsCall wrap *gomock.Call

func (*MockLoadBalancingClientUpdateCredentialsCall) Do

Do rewrite *gomock.Call.Do

func (*MockLoadBalancingClientUpdateCredentialsCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockLoadBalancingClientUpdateCredentialsCall) Return

Return rewrite *gomock.Call.Return

type MockLoadBalancingClientUpdateLoadBalancerCall

type MockLoadBalancingClientUpdateLoadBalancerCall struct {
	*gomock.Call
}

MockLoadBalancingClientUpdateLoadBalancerCall wrap *gomock.Call

func (*MockLoadBalancingClientUpdateLoadBalancerCall) Do

Do rewrite *gomock.Call.Do

func (*MockLoadBalancingClientUpdateLoadBalancerCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockLoadBalancingClientUpdateLoadBalancerCall) Return

Return rewrite *gomock.Call.Return

type MockLoadBalancingClientUpdateTargetPoolCall

type MockLoadBalancingClientUpdateTargetPoolCall struct {
	*gomock.Call
}

MockLoadBalancingClientUpdateTargetPoolCall wrap *gomock.Call

func (*MockLoadBalancingClientUpdateTargetPoolCall) Do

Do rewrite *gomock.Call.Do

func (*MockLoadBalancingClientUpdateTargetPoolCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockLoadBalancingClientUpdateTargetPoolCall) Return

Return rewrite *gomock.Call.Return

Jump to

Keyboard shortcuts

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