mock_client

package
v0.1.4 Latest Latest
Warning

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

Go to latest
Published: Sep 23, 2025 License: MIT Imports: 14 Imported by: 0

Documentation

Overview

Package mock_client is a generated GoMock package.

Package mock_client is a generated GoMock package.

Package mock_client is a generated GoMock package.

Package mock_client is a generated GoMock package.

Package mock_client is a generated GoMock package.

Package mock_client is a generated GoMock package.

Package mock_client is a generated GoMock package.

Package mock_client is a generated GoMock package.

Package mock_client is a generated GoMock package.

Package mock_client is a generated GoMock package.

Package mock_client is a generated GoMock package.

Package mock_client is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockBlock

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

MockBlock is a mock of Block interface.

func NewMockBlock

func NewMockBlock(ctrl *gomock.Controller) *MockBlock

NewMockBlock creates a new mock instance.

func (*MockBlock) DeleteVolume

func (m *MockBlock) DeleteVolume(ctx context.Context, zone scw.Zone, volumeID string) error

DeleteVolume mocks base method.

func (*MockBlock) EXPECT

func (m *MockBlock) EXPECT() *MockBlockMockRecorder

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

func (*MockBlock) FindVolume

func (m *MockBlock) FindVolume(ctx context.Context, zone scw.Zone, tags []string) (*block.Volume, error)

FindVolume mocks base method.

func (*MockBlock) UpdateVolumeIOPS

func (m *MockBlock) UpdateVolumeIOPS(ctx context.Context, zone scw.Zone, volumeID string, iops int64) error

UpdateVolumeIOPS mocks base method.

func (*MockBlock) UpdateVolumeTags

func (m *MockBlock) UpdateVolumeTags(ctx context.Context, zone scw.Zone, volumeID string, tags []string) error

UpdateVolumeTags mocks base method.

type MockBlockAPI

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

MockBlockAPI is a mock of BlockAPI interface.

func NewMockBlockAPI

func NewMockBlockAPI(ctrl *gomock.Controller) *MockBlockAPI

NewMockBlockAPI creates a new mock instance.

func (*MockBlockAPI) DeleteVolume

func (m *MockBlockAPI) DeleteVolume(req *block.DeleteVolumeRequest, opts ...scw.RequestOption) error

DeleteVolume mocks base method.

func (*MockBlockAPI) EXPECT

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

func (*MockBlockAPI) ListVolumes

ListVolumes mocks base method.

func (*MockBlockAPI) UpdateVolume

func (m *MockBlockAPI) UpdateVolume(req *block.UpdateVolumeRequest, opts ...scw.RequestOption) (*block.Volume, error)

UpdateVolume mocks base method.

func (*MockBlockAPI) Zones

func (m *MockBlockAPI) Zones() []scw.Zone

Zones mocks base method.

type MockBlockAPIDeleteVolumeCall

type MockBlockAPIDeleteVolumeCall struct {
	*gomock.Call
}

MockBlockAPIDeleteVolumeCall wrap *gomock.Call

func (*MockBlockAPIDeleteVolumeCall) Do

Do rewrite *gomock.Call.Do

func (*MockBlockAPIDeleteVolumeCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockBlockAPIDeleteVolumeCall) Return

Return rewrite *gomock.Call.Return

type MockBlockAPIListVolumesCall

type MockBlockAPIListVolumesCall struct {
	*gomock.Call
}

MockBlockAPIListVolumesCall wrap *gomock.Call

func (*MockBlockAPIListVolumesCall) Do

Do rewrite *gomock.Call.Do

func (*MockBlockAPIListVolumesCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockBlockAPIListVolumesCall) Return

Return rewrite *gomock.Call.Return

type MockBlockAPIMockRecorder

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

MockBlockAPIMockRecorder is the mock recorder for MockBlockAPI.

func (*MockBlockAPIMockRecorder) DeleteVolume

func (mr *MockBlockAPIMockRecorder) DeleteVolume(req any, opts ...any) *MockBlockAPIDeleteVolumeCall

DeleteVolume indicates an expected call of DeleteVolume.

func (*MockBlockAPIMockRecorder) ListVolumes

func (mr *MockBlockAPIMockRecorder) ListVolumes(req any, opts ...any) *MockBlockAPIListVolumesCall

ListVolumes indicates an expected call of ListVolumes.

func (*MockBlockAPIMockRecorder) UpdateVolume

func (mr *MockBlockAPIMockRecorder) UpdateVolume(req any, opts ...any) *MockBlockAPIUpdateVolumeCall

UpdateVolume indicates an expected call of UpdateVolume.

func (*MockBlockAPIMockRecorder) Zones

Zones indicates an expected call of Zones.

type MockBlockAPIUpdateVolumeCall

type MockBlockAPIUpdateVolumeCall struct {
	*gomock.Call
}

MockBlockAPIUpdateVolumeCall wrap *gomock.Call

func (*MockBlockAPIUpdateVolumeCall) Do

Do rewrite *gomock.Call.Do

func (*MockBlockAPIUpdateVolumeCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockBlockAPIUpdateVolumeCall) Return

Return rewrite *gomock.Call.Return

type MockBlockAPIZonesCall

type MockBlockAPIZonesCall struct {
	*gomock.Call
}

MockBlockAPIZonesCall wrap *gomock.Call

func (*MockBlockAPIZonesCall) Do

Do rewrite *gomock.Call.Do

func (*MockBlockAPIZonesCall) DoAndReturn

func (c *MockBlockAPIZonesCall) DoAndReturn(f func() []scw.Zone) *MockBlockAPIZonesCall

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockBlockAPIZonesCall) Return

Return rewrite *gomock.Call.Return

type MockBlockDeleteVolumeCall

type MockBlockDeleteVolumeCall struct {
	*gomock.Call
}

MockBlockDeleteVolumeCall wrap *gomock.Call

func (*MockBlockDeleteVolumeCall) Do

Do rewrite *gomock.Call.Do

func (*MockBlockDeleteVolumeCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockBlockDeleteVolumeCall) Return

Return rewrite *gomock.Call.Return

type MockBlockFindVolumeCall

type MockBlockFindVolumeCall struct {
	*gomock.Call
}

MockBlockFindVolumeCall wrap *gomock.Call

func (*MockBlockFindVolumeCall) Do

Do rewrite *gomock.Call.Do

func (*MockBlockFindVolumeCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockBlockFindVolumeCall) Return

Return rewrite *gomock.Call.Return

type MockBlockMockRecorder

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

MockBlockMockRecorder is the mock recorder for MockBlock.

func (*MockBlockMockRecorder) DeleteVolume

func (mr *MockBlockMockRecorder) DeleteVolume(ctx, zone, volumeID any) *MockBlockDeleteVolumeCall

DeleteVolume indicates an expected call of DeleteVolume.

func (*MockBlockMockRecorder) FindVolume

func (mr *MockBlockMockRecorder) FindVolume(ctx, zone, tags any) *MockBlockFindVolumeCall

FindVolume indicates an expected call of FindVolume.

func (*MockBlockMockRecorder) UpdateVolumeIOPS

func (mr *MockBlockMockRecorder) UpdateVolumeIOPS(ctx, zone, volumeID, iops any) *MockBlockUpdateVolumeIOPSCall

UpdateVolumeIOPS indicates an expected call of UpdateVolumeIOPS.

func (*MockBlockMockRecorder) UpdateVolumeTags

func (mr *MockBlockMockRecorder) UpdateVolumeTags(ctx, zone, volumeID, tags any) *MockBlockUpdateVolumeTagsCall

UpdateVolumeTags indicates an expected call of UpdateVolumeTags.

type MockBlockUpdateVolumeIOPSCall

type MockBlockUpdateVolumeIOPSCall struct {
	*gomock.Call
}

MockBlockUpdateVolumeIOPSCall wrap *gomock.Call

func (*MockBlockUpdateVolumeIOPSCall) Do

Do rewrite *gomock.Call.Do

func (*MockBlockUpdateVolumeIOPSCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockBlockUpdateVolumeIOPSCall) Return

Return rewrite *gomock.Call.Return

type MockBlockUpdateVolumeTagsCall

type MockBlockUpdateVolumeTagsCall struct {
	*gomock.Call
}

MockBlockUpdateVolumeTagsCall wrap *gomock.Call

func (*MockBlockUpdateVolumeTagsCall) Do

Do rewrite *gomock.Call.Do

func (*MockBlockUpdateVolumeTagsCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockBlockUpdateVolumeTagsCall) Return

Return rewrite *gomock.Call.Return

type MockConfig added in v0.1.3

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

MockConfig is a mock of Config interface.

func NewMockConfig added in v0.1.3

func NewMockConfig(ctrl *gomock.Controller) *MockConfig

NewMockConfig creates a new mock instance.

func (*MockConfig) EXPECT added in v0.1.3

func (m *MockConfig) EXPECT() *MockConfigMockRecorder

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

func (*MockConfig) GetSecretKey added in v0.1.3

func (m *MockConfig) GetSecretKey() string

GetSecretKey mocks base method.

type MockConfigGetSecretKeyCall added in v0.1.3

type MockConfigGetSecretKeyCall struct {
	*gomock.Call
}

MockConfigGetSecretKeyCall wrap *gomock.Call

func (*MockConfigGetSecretKeyCall) Do added in v0.1.3

Do rewrite *gomock.Call.Do

func (*MockConfigGetSecretKeyCall) DoAndReturn added in v0.1.3

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockConfigGetSecretKeyCall) Return added in v0.1.3

Return rewrite *gomock.Call.Return

type MockConfigMockRecorder added in v0.1.3

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

MockConfigMockRecorder is the mock recorder for MockConfig.

func (*MockConfigMockRecorder) GetSecretKey added in v0.1.3

GetSecretKey indicates an expected call of GetSecretKey.

type MockDomain

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

MockDomain is a mock of Domain interface.

func NewMockDomain

func NewMockDomain(ctrl *gomock.Controller) *MockDomain

NewMockDomain creates a new mock instance.

func (*MockDomain) DeleteDNSZoneRecords

func (m *MockDomain) DeleteDNSZoneRecords(ctx context.Context, zone, name string) error

DeleteDNSZoneRecords mocks base method.

func (*MockDomain) EXPECT

func (m *MockDomain) EXPECT() *MockDomainMockRecorder

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

func (*MockDomain) ListDNSZoneRecords

func (m *MockDomain) ListDNSZoneRecords(ctx context.Context, zone, name string) ([]*domain.Record, error)

ListDNSZoneRecords mocks base method.

func (*MockDomain) SetDNSZoneRecords

func (m *MockDomain) SetDNSZoneRecords(ctx context.Context, zone, name string, ips []string) error

SetDNSZoneRecords mocks base method.

type MockDomainAPI

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

MockDomainAPI is a mock of DomainAPI interface.

func NewMockDomainAPI

func NewMockDomainAPI(ctrl *gomock.Controller) *MockDomainAPI

NewMockDomainAPI creates a new mock instance.

func (*MockDomainAPI) EXPECT

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

func (*MockDomainAPI) ListDNSZoneRecords

ListDNSZoneRecords mocks base method.

func (*MockDomainAPI) UpdateDNSZoneRecords

UpdateDNSZoneRecords mocks base method.

type MockDomainAPIListDNSZoneRecordsCall

type MockDomainAPIListDNSZoneRecordsCall struct {
	*gomock.Call
}

MockDomainAPIListDNSZoneRecordsCall wrap *gomock.Call

func (*MockDomainAPIListDNSZoneRecordsCall) Do

Do rewrite *gomock.Call.Do

func (*MockDomainAPIListDNSZoneRecordsCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockDomainAPIListDNSZoneRecordsCall) Return

Return rewrite *gomock.Call.Return

type MockDomainAPIMockRecorder

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

MockDomainAPIMockRecorder is the mock recorder for MockDomainAPI.

func (*MockDomainAPIMockRecorder) ListDNSZoneRecords

func (mr *MockDomainAPIMockRecorder) ListDNSZoneRecords(req any, opts ...any) *MockDomainAPIListDNSZoneRecordsCall

ListDNSZoneRecords indicates an expected call of ListDNSZoneRecords.

func (*MockDomainAPIMockRecorder) UpdateDNSZoneRecords

func (mr *MockDomainAPIMockRecorder) UpdateDNSZoneRecords(req any, opts ...any) *MockDomainAPIUpdateDNSZoneRecordsCall

UpdateDNSZoneRecords indicates an expected call of UpdateDNSZoneRecords.

type MockDomainAPIUpdateDNSZoneRecordsCall

type MockDomainAPIUpdateDNSZoneRecordsCall struct {
	*gomock.Call
}

MockDomainAPIUpdateDNSZoneRecordsCall wrap *gomock.Call

func (*MockDomainAPIUpdateDNSZoneRecordsCall) Do

Do rewrite *gomock.Call.Do

func (*MockDomainAPIUpdateDNSZoneRecordsCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockDomainAPIUpdateDNSZoneRecordsCall) Return

Return rewrite *gomock.Call.Return

type MockDomainDeleteDNSZoneRecordsCall

type MockDomainDeleteDNSZoneRecordsCall struct {
	*gomock.Call
}

MockDomainDeleteDNSZoneRecordsCall wrap *gomock.Call

func (*MockDomainDeleteDNSZoneRecordsCall) Do

Do rewrite *gomock.Call.Do

func (*MockDomainDeleteDNSZoneRecordsCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockDomainDeleteDNSZoneRecordsCall) Return

Return rewrite *gomock.Call.Return

type MockDomainListDNSZoneRecordsCall

type MockDomainListDNSZoneRecordsCall struct {
	*gomock.Call
}

MockDomainListDNSZoneRecordsCall wrap *gomock.Call

func (*MockDomainListDNSZoneRecordsCall) Do

Do rewrite *gomock.Call.Do

func (*MockDomainListDNSZoneRecordsCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockDomainListDNSZoneRecordsCall) Return

Return rewrite *gomock.Call.Return

type MockDomainMockRecorder

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

MockDomainMockRecorder is the mock recorder for MockDomain.

func (*MockDomainMockRecorder) DeleteDNSZoneRecords

func (mr *MockDomainMockRecorder) DeleteDNSZoneRecords(ctx, zone, name any) *MockDomainDeleteDNSZoneRecordsCall

DeleteDNSZoneRecords indicates an expected call of DeleteDNSZoneRecords.

func (*MockDomainMockRecorder) ListDNSZoneRecords

func (mr *MockDomainMockRecorder) ListDNSZoneRecords(ctx, zone, name any) *MockDomainListDNSZoneRecordsCall

ListDNSZoneRecords indicates an expected call of ListDNSZoneRecords.

func (*MockDomainMockRecorder) SetDNSZoneRecords

func (mr *MockDomainMockRecorder) SetDNSZoneRecords(ctx, zone, name, ips any) *MockDomainSetDNSZoneRecordsCall

SetDNSZoneRecords indicates an expected call of SetDNSZoneRecords.

type MockDomainSetDNSZoneRecordsCall

type MockDomainSetDNSZoneRecordsCall struct {
	*gomock.Call
}

MockDomainSetDNSZoneRecordsCall wrap *gomock.Call

func (*MockDomainSetDNSZoneRecordsCall) Do

Do rewrite *gomock.Call.Do

func (*MockDomainSetDNSZoneRecordsCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockDomainSetDNSZoneRecordsCall) Return

Return rewrite *gomock.Call.Return

type MockIPAM

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

MockIPAM is a mock of IPAM interface.

func NewMockIPAM

func NewMockIPAM(ctrl *gomock.Controller) *MockIPAM

NewMockIPAM creates a new mock instance.

func (*MockIPAM) CleanAvailableIPs

func (m *MockIPAM) CleanAvailableIPs(ctx context.Context, privateNetworkID string) error

CleanAvailableIPs mocks base method.

func (*MockIPAM) EXPECT

func (m *MockIPAM) EXPECT() *MockIPAMMockRecorder

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

func (*MockIPAM) FindAvailableIPs

func (m *MockIPAM) FindAvailableIPs(ctx context.Context, privateNetworkID string) ([]*ipam.IP, error)

FindAvailableIPs mocks base method.

func (*MockIPAM) FindLBServersIPs

func (m *MockIPAM) FindLBServersIPs(ctx context.Context, privateNetworkID string, lbIDs []string) ([]*ipam.IP, error)

FindLBServersIPs mocks base method.

func (*MockIPAM) FindPrivateNICIPs

func (m *MockIPAM) FindPrivateNICIPs(ctx context.Context, privateNICID string) ([]*ipam.IP, error)

FindPrivateNICIPs mocks base method.

type MockIPAMAPI

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

MockIPAMAPI is a mock of IPAMAPI interface.

func NewMockIPAMAPI

func NewMockIPAMAPI(ctrl *gomock.Controller) *MockIPAMAPI

NewMockIPAMAPI creates a new mock instance.

func (*MockIPAMAPI) EXPECT

func (m *MockIPAMAPI) EXPECT() *MockIPAMAPIMockRecorder

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

func (*MockIPAMAPI) ListIPs

func (m *MockIPAMAPI) ListIPs(req *ipam.ListIPsRequest, opts ...scw.RequestOption) (*ipam.ListIPsResponse, error)

ListIPs mocks base method.

func (*MockIPAMAPI) ReleaseIPSet

func (m *MockIPAMAPI) ReleaseIPSet(req *ipam.ReleaseIPSetRequest, opts ...scw.RequestOption) error

ReleaseIPSet mocks base method.

type MockIPAMAPIListIPsCall

type MockIPAMAPIListIPsCall struct {
	*gomock.Call
}

MockIPAMAPIListIPsCall wrap *gomock.Call

func (*MockIPAMAPIListIPsCall) Do

Do rewrite *gomock.Call.Do

func (*MockIPAMAPIListIPsCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockIPAMAPIListIPsCall) Return

Return rewrite *gomock.Call.Return

type MockIPAMAPIMockRecorder

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

MockIPAMAPIMockRecorder is the mock recorder for MockIPAMAPI.

func (*MockIPAMAPIMockRecorder) ListIPs

func (mr *MockIPAMAPIMockRecorder) ListIPs(req any, opts ...any) *MockIPAMAPIListIPsCall

ListIPs indicates an expected call of ListIPs.

func (*MockIPAMAPIMockRecorder) ReleaseIPSet

func (mr *MockIPAMAPIMockRecorder) ReleaseIPSet(req any, opts ...any) *MockIPAMAPIReleaseIPSetCall

ReleaseIPSet indicates an expected call of ReleaseIPSet.

type MockIPAMAPIReleaseIPSetCall

type MockIPAMAPIReleaseIPSetCall struct {
	*gomock.Call
}

MockIPAMAPIReleaseIPSetCall wrap *gomock.Call

func (*MockIPAMAPIReleaseIPSetCall) Do

Do rewrite *gomock.Call.Do

func (*MockIPAMAPIReleaseIPSetCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockIPAMAPIReleaseIPSetCall) Return

Return rewrite *gomock.Call.Return

type MockIPAMCleanAvailableIPsCall

type MockIPAMCleanAvailableIPsCall struct {
	*gomock.Call
}

MockIPAMCleanAvailableIPsCall wrap *gomock.Call

func (*MockIPAMCleanAvailableIPsCall) Do

Do rewrite *gomock.Call.Do

func (*MockIPAMCleanAvailableIPsCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockIPAMCleanAvailableIPsCall) Return

Return rewrite *gomock.Call.Return

type MockIPAMFindAvailableIPsCall

type MockIPAMFindAvailableIPsCall struct {
	*gomock.Call
}

MockIPAMFindAvailableIPsCall wrap *gomock.Call

func (*MockIPAMFindAvailableIPsCall) Do

Do rewrite *gomock.Call.Do

func (*MockIPAMFindAvailableIPsCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockIPAMFindAvailableIPsCall) Return

Return rewrite *gomock.Call.Return

type MockIPAMFindLBServersIPsCall

type MockIPAMFindLBServersIPsCall struct {
	*gomock.Call
}

MockIPAMFindLBServersIPsCall wrap *gomock.Call

func (*MockIPAMFindLBServersIPsCall) Do

Do rewrite *gomock.Call.Do

func (*MockIPAMFindLBServersIPsCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockIPAMFindLBServersIPsCall) Return

Return rewrite *gomock.Call.Return

type MockIPAMFindPrivateNICIPsCall

type MockIPAMFindPrivateNICIPsCall struct {
	*gomock.Call
}

MockIPAMFindPrivateNICIPsCall wrap *gomock.Call

func (*MockIPAMFindPrivateNICIPsCall) Do

Do rewrite *gomock.Call.Do

func (*MockIPAMFindPrivateNICIPsCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockIPAMFindPrivateNICIPsCall) Return

Return rewrite *gomock.Call.Return

type MockIPAMMockRecorder

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

MockIPAMMockRecorder is the mock recorder for MockIPAM.

func (*MockIPAMMockRecorder) CleanAvailableIPs

func (mr *MockIPAMMockRecorder) CleanAvailableIPs(ctx, privateNetworkID any) *MockIPAMCleanAvailableIPsCall

CleanAvailableIPs indicates an expected call of CleanAvailableIPs.

func (*MockIPAMMockRecorder) FindAvailableIPs

func (mr *MockIPAMMockRecorder) FindAvailableIPs(ctx, privateNetworkID any) *MockIPAMFindAvailableIPsCall

FindAvailableIPs indicates an expected call of FindAvailableIPs.

func (*MockIPAMMockRecorder) FindLBServersIPs

func (mr *MockIPAMMockRecorder) FindLBServersIPs(ctx, privateNetworkID, lbIDs any) *MockIPAMFindLBServersIPsCall

FindLBServersIPs indicates an expected call of FindLBServersIPs.

func (*MockIPAMMockRecorder) FindPrivateNICIPs

func (mr *MockIPAMMockRecorder) FindPrivateNICIPs(ctx, privateNICID any) *MockIPAMFindPrivateNICIPsCall

FindPrivateNICIPs indicates an expected call of FindPrivateNICIPs.

type MockInstance

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

MockInstance is a mock of Instance interface.

func NewMockInstance

func NewMockInstance(ctrl *gomock.Controller) *MockInstance

NewMockInstance creates a new mock instance.

func (*MockInstance) CreateIP

func (m *MockInstance) CreateIP(ctx context.Context, zone scw.Zone, ipType instance.IPType, tags []string) (*instance.IP, error)

CreateIP mocks base method.

func (*MockInstance) CreatePrivateNIC

func (m *MockInstance) CreatePrivateNIC(ctx context.Context, zone scw.Zone, serverID, privateNetworkID string) (*instance.PrivateNIC, error)

CreatePrivateNIC mocks base method.

func (*MockInstance) CreateServer

func (m *MockInstance) CreateServer(ctx context.Context, zone scw.Zone, name, commercialType, imageID string, placementGroupID, securityGroupID *string, rootVolumeSize scw.Size, rootVolumeType instance.VolumeVolumeType, tags []string) (*instance.Server, error)

CreateServer mocks base method.

func (*MockInstance) DeleteIP

func (m *MockInstance) DeleteIP(ctx context.Context, zone scw.Zone, ipID string) error

DeleteIP mocks base method.

func (*MockInstance) DeleteInstanceVolume

func (m *MockInstance) DeleteInstanceVolume(ctx context.Context, zone scw.Zone, volumeID string) error

DeleteInstanceVolume mocks base method.

func (*MockInstance) DeleteServer

func (m *MockInstance) DeleteServer(ctx context.Context, zone scw.Zone, serverID string) error

DeleteServer mocks base method.

func (*MockInstance) DeleteServerUserData

func (m *MockInstance) DeleteServerUserData(ctx context.Context, zone scw.Zone, serverID, key string) error

DeleteServerUserData mocks base method.

func (*MockInstance) DetachVolume

func (m *MockInstance) DetachVolume(ctx context.Context, zone scw.Zone, volumeID string) error

DetachVolume mocks base method.

func (*MockInstance) EXPECT

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

func (*MockInstance) FindIPs

func (m *MockInstance) FindIPs(ctx context.Context, zone scw.Zone, tags []string) ([]*instance.IP, error)

FindIPs mocks base method.

func (*MockInstance) FindImage

func (m *MockInstance) FindImage(ctx context.Context, zone scw.Zone, name string) (*instance.Image, error)

FindImage mocks base method.

func (*MockInstance) FindInstanceVolume

func (m *MockInstance) FindInstanceVolume(ctx context.Context, zone scw.Zone, tags []string) (*instance.Volume, error)

FindInstanceVolume mocks base method.

func (*MockInstance) FindPlacementGroup

func (m *MockInstance) FindPlacementGroup(ctx context.Context, zone scw.Zone, name string) (*instance.PlacementGroup, error)

FindPlacementGroup mocks base method.

func (*MockInstance) FindSecurityGroup

func (m *MockInstance) FindSecurityGroup(ctx context.Context, zone scw.Zone, name string) (*instance.SecurityGroup, error)

FindSecurityGroup mocks base method.

func (*MockInstance) FindServer

func (m *MockInstance) FindServer(ctx context.Context, zone scw.Zone, tags []string) (*instance.Server, error)

FindServer mocks base method.

func (*MockInstance) GetAllServerUserData

func (m *MockInstance) GetAllServerUserData(ctx context.Context, zone scw.Zone, serverID string) (map[string]io.Reader, error)

GetAllServerUserData mocks base method.

func (*MockInstance) ServerAction

func (m *MockInstance) ServerAction(ctx context.Context, zone scw.Zone, serverID string, action instance.ServerAction) error

ServerAction mocks base method.

func (*MockInstance) SetServerUserData

func (m *MockInstance) SetServerUserData(ctx context.Context, zone scw.Zone, serverID, key, content string) error

SetServerUserData mocks base method.

func (*MockInstance) UpdateInstanceVolumeTags

func (m *MockInstance) UpdateInstanceVolumeTags(ctx context.Context, zone scw.Zone, volumeID string, tags []string) error

UpdateInstanceVolumeTags mocks base method.

func (*MockInstance) UpdateServerPublicIPs

func (m *MockInstance) UpdateServerPublicIPs(ctx context.Context, zone scw.Zone, id string, publicIPIDs []string) (*instance.Server, error)

UpdateServerPublicIPs mocks base method.

type MockInstanceAPI

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

MockInstanceAPI is a mock of InstanceAPI interface.

func NewMockInstanceAPI

func NewMockInstanceAPI(ctrl *gomock.Controller) *MockInstanceAPI

NewMockInstanceAPI creates a new mock instance.

func (*MockInstanceAPI) CreateIP

CreateIP mocks base method.

func (*MockInstanceAPI) CreatePrivateNIC

CreatePrivateNIC mocks base method.

func (*MockInstanceAPI) CreateServer

CreateServer mocks base method.

func (*MockInstanceAPI) DeleteIP

func (m *MockInstanceAPI) DeleteIP(req *instance.DeleteIPRequest, opts ...scw.RequestOption) error

DeleteIP mocks base method.

func (*MockInstanceAPI) DeleteServer

func (m *MockInstanceAPI) DeleteServer(req *instance.DeleteServerRequest, opts ...scw.RequestOption) error

DeleteServer mocks base method.

func (*MockInstanceAPI) DeleteServerUserData

func (m *MockInstanceAPI) DeleteServerUserData(req *instance.DeleteServerUserDataRequest, opts ...scw.RequestOption) error

DeleteServerUserData mocks base method.

func (*MockInstanceAPI) DeleteVolume

func (m *MockInstanceAPI) DeleteVolume(req *instance.DeleteVolumeRequest, opts ...scw.RequestOption) error

DeleteVolume mocks base method.

func (*MockInstanceAPI) DetachVolume

DetachVolume mocks base method.

func (*MockInstanceAPI) EXPECT

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

func (*MockInstanceAPI) GetAllServerUserData

GetAllServerUserData mocks base method.

func (*MockInstanceAPI) GetServerType

GetServerType mocks base method.

func (*MockInstanceAPI) ListIPs

ListIPs mocks base method.

func (*MockInstanceAPI) ListImages

ListImages mocks base method.

func (*MockInstanceAPI) ListPlacementGroups

ListPlacementGroups mocks base method.

func (*MockInstanceAPI) ListSecurityGroups

ListSecurityGroups mocks base method.

func (*MockInstanceAPI) ListServers

ListServers mocks base method.

func (*MockInstanceAPI) ListVolumes

ListVolumes mocks base method.

func (*MockInstanceAPI) ServerAction

ServerAction mocks base method.

func (*MockInstanceAPI) SetServerUserData

func (m *MockInstanceAPI) SetServerUserData(req *instance.SetServerUserDataRequest, opts ...scw.RequestOption) error

SetServerUserData mocks base method.

func (*MockInstanceAPI) UpdateServer

UpdateServer mocks base method.

func (*MockInstanceAPI) UpdateVolume

UpdateVolume mocks base method.

func (*MockInstanceAPI) Zones

func (m *MockInstanceAPI) Zones() []scw.Zone

Zones mocks base method.

type MockInstanceAPICreateIPCall

type MockInstanceAPICreateIPCall struct {
	*gomock.Call
}

MockInstanceAPICreateIPCall wrap *gomock.Call

func (*MockInstanceAPICreateIPCall) Do

Do rewrite *gomock.Call.Do

func (*MockInstanceAPICreateIPCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockInstanceAPICreateIPCall) Return

Return rewrite *gomock.Call.Return

type MockInstanceAPICreatePrivateNICCall

type MockInstanceAPICreatePrivateNICCall struct {
	*gomock.Call
}

MockInstanceAPICreatePrivateNICCall wrap *gomock.Call

func (*MockInstanceAPICreatePrivateNICCall) Do

Do rewrite *gomock.Call.Do

func (*MockInstanceAPICreatePrivateNICCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockInstanceAPICreatePrivateNICCall) Return

Return rewrite *gomock.Call.Return

type MockInstanceAPICreateServerCall

type MockInstanceAPICreateServerCall struct {
	*gomock.Call
}

MockInstanceAPICreateServerCall wrap *gomock.Call

func (*MockInstanceAPICreateServerCall) Do

Do rewrite *gomock.Call.Do

func (*MockInstanceAPICreateServerCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockInstanceAPICreateServerCall) Return

Return rewrite *gomock.Call.Return

type MockInstanceAPIDeleteIPCall

type MockInstanceAPIDeleteIPCall struct {
	*gomock.Call
}

MockInstanceAPIDeleteIPCall wrap *gomock.Call

func (*MockInstanceAPIDeleteIPCall) Do

Do rewrite *gomock.Call.Do

func (*MockInstanceAPIDeleteIPCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockInstanceAPIDeleteIPCall) Return

Return rewrite *gomock.Call.Return

type MockInstanceAPIDeleteServerCall

type MockInstanceAPIDeleteServerCall struct {
	*gomock.Call
}

MockInstanceAPIDeleteServerCall wrap *gomock.Call

func (*MockInstanceAPIDeleteServerCall) Do

Do rewrite *gomock.Call.Do

func (*MockInstanceAPIDeleteServerCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockInstanceAPIDeleteServerCall) Return

Return rewrite *gomock.Call.Return

type MockInstanceAPIDeleteServerUserDataCall

type MockInstanceAPIDeleteServerUserDataCall struct {
	*gomock.Call
}

MockInstanceAPIDeleteServerUserDataCall wrap *gomock.Call

func (*MockInstanceAPIDeleteServerUserDataCall) Do

Do rewrite *gomock.Call.Do

func (*MockInstanceAPIDeleteServerUserDataCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockInstanceAPIDeleteServerUserDataCall) Return

Return rewrite *gomock.Call.Return

type MockInstanceAPIDeleteVolumeCall

type MockInstanceAPIDeleteVolumeCall struct {
	*gomock.Call
}

MockInstanceAPIDeleteVolumeCall wrap *gomock.Call

func (*MockInstanceAPIDeleteVolumeCall) Do

Do rewrite *gomock.Call.Do

func (*MockInstanceAPIDeleteVolumeCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockInstanceAPIDeleteVolumeCall) Return

Return rewrite *gomock.Call.Return

type MockInstanceAPIDetachVolumeCall

type MockInstanceAPIDetachVolumeCall struct {
	*gomock.Call
}

MockInstanceAPIDetachVolumeCall wrap *gomock.Call

func (*MockInstanceAPIDetachVolumeCall) Do

Do rewrite *gomock.Call.Do

func (*MockInstanceAPIDetachVolumeCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockInstanceAPIDetachVolumeCall) Return

Return rewrite *gomock.Call.Return

type MockInstanceAPIGetAllServerUserDataCall

type MockInstanceAPIGetAllServerUserDataCall struct {
	*gomock.Call
}

MockInstanceAPIGetAllServerUserDataCall wrap *gomock.Call

func (*MockInstanceAPIGetAllServerUserDataCall) Do

Do rewrite *gomock.Call.Do

func (*MockInstanceAPIGetAllServerUserDataCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockInstanceAPIGetAllServerUserDataCall) Return

Return rewrite *gomock.Call.Return

type MockInstanceAPIGetServerTypeCall

type MockInstanceAPIGetServerTypeCall struct {
	*gomock.Call
}

MockInstanceAPIGetServerTypeCall wrap *gomock.Call

func (*MockInstanceAPIGetServerTypeCall) Do

Do rewrite *gomock.Call.Do

func (*MockInstanceAPIGetServerTypeCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockInstanceAPIGetServerTypeCall) Return

Return rewrite *gomock.Call.Return

type MockInstanceAPIListIPsCall

type MockInstanceAPIListIPsCall struct {
	*gomock.Call
}

MockInstanceAPIListIPsCall wrap *gomock.Call

func (*MockInstanceAPIListIPsCall) Do

Do rewrite *gomock.Call.Do

func (*MockInstanceAPIListIPsCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockInstanceAPIListIPsCall) Return

Return rewrite *gomock.Call.Return

type MockInstanceAPIListImagesCall

type MockInstanceAPIListImagesCall struct {
	*gomock.Call
}

MockInstanceAPIListImagesCall wrap *gomock.Call

func (*MockInstanceAPIListImagesCall) Do

Do rewrite *gomock.Call.Do

func (*MockInstanceAPIListImagesCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockInstanceAPIListImagesCall) Return

Return rewrite *gomock.Call.Return

type MockInstanceAPIListPlacementGroupsCall

type MockInstanceAPIListPlacementGroupsCall struct {
	*gomock.Call
}

MockInstanceAPIListPlacementGroupsCall wrap *gomock.Call

func (*MockInstanceAPIListPlacementGroupsCall) Do

Do rewrite *gomock.Call.Do

func (*MockInstanceAPIListPlacementGroupsCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockInstanceAPIListPlacementGroupsCall) Return

Return rewrite *gomock.Call.Return

type MockInstanceAPIListSecurityGroupsCall

type MockInstanceAPIListSecurityGroupsCall struct {
	*gomock.Call
}

MockInstanceAPIListSecurityGroupsCall wrap *gomock.Call

func (*MockInstanceAPIListSecurityGroupsCall) Do

Do rewrite *gomock.Call.Do

func (*MockInstanceAPIListSecurityGroupsCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockInstanceAPIListSecurityGroupsCall) Return

Return rewrite *gomock.Call.Return

type MockInstanceAPIListServersCall

type MockInstanceAPIListServersCall struct {
	*gomock.Call
}

MockInstanceAPIListServersCall wrap *gomock.Call

func (*MockInstanceAPIListServersCall) Do

Do rewrite *gomock.Call.Do

func (*MockInstanceAPIListServersCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockInstanceAPIListServersCall) Return

Return rewrite *gomock.Call.Return

type MockInstanceAPIListVolumesCall

type MockInstanceAPIListVolumesCall struct {
	*gomock.Call
}

MockInstanceAPIListVolumesCall wrap *gomock.Call

func (*MockInstanceAPIListVolumesCall) Do

Do rewrite *gomock.Call.Do

func (*MockInstanceAPIListVolumesCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockInstanceAPIListVolumesCall) Return

Return rewrite *gomock.Call.Return

type MockInstanceAPIMockRecorder

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

MockInstanceAPIMockRecorder is the mock recorder for MockInstanceAPI.

func (*MockInstanceAPIMockRecorder) CreateIP

func (mr *MockInstanceAPIMockRecorder) CreateIP(req any, opts ...any) *MockInstanceAPICreateIPCall

CreateIP indicates an expected call of CreateIP.

func (*MockInstanceAPIMockRecorder) CreatePrivateNIC

func (mr *MockInstanceAPIMockRecorder) CreatePrivateNIC(req any, opts ...any) *MockInstanceAPICreatePrivateNICCall

CreatePrivateNIC indicates an expected call of CreatePrivateNIC.

func (*MockInstanceAPIMockRecorder) CreateServer

func (mr *MockInstanceAPIMockRecorder) CreateServer(req any, opts ...any) *MockInstanceAPICreateServerCall

CreateServer indicates an expected call of CreateServer.

func (*MockInstanceAPIMockRecorder) DeleteIP

func (mr *MockInstanceAPIMockRecorder) DeleteIP(req any, opts ...any) *MockInstanceAPIDeleteIPCall

DeleteIP indicates an expected call of DeleteIP.

func (*MockInstanceAPIMockRecorder) DeleteServer

func (mr *MockInstanceAPIMockRecorder) DeleteServer(req any, opts ...any) *MockInstanceAPIDeleteServerCall

DeleteServer indicates an expected call of DeleteServer.

func (*MockInstanceAPIMockRecorder) DeleteServerUserData

func (mr *MockInstanceAPIMockRecorder) DeleteServerUserData(req any, opts ...any) *MockInstanceAPIDeleteServerUserDataCall

DeleteServerUserData indicates an expected call of DeleteServerUserData.

func (*MockInstanceAPIMockRecorder) DeleteVolume

func (mr *MockInstanceAPIMockRecorder) DeleteVolume(req any, opts ...any) *MockInstanceAPIDeleteVolumeCall

DeleteVolume indicates an expected call of DeleteVolume.

func (*MockInstanceAPIMockRecorder) DetachVolume

func (mr *MockInstanceAPIMockRecorder) DetachVolume(req any, opts ...any) *MockInstanceAPIDetachVolumeCall

DetachVolume indicates an expected call of DetachVolume.

func (*MockInstanceAPIMockRecorder) GetAllServerUserData

func (mr *MockInstanceAPIMockRecorder) GetAllServerUserData(req any, opts ...any) *MockInstanceAPIGetAllServerUserDataCall

GetAllServerUserData indicates an expected call of GetAllServerUserData.

func (*MockInstanceAPIMockRecorder) GetServerType

GetServerType indicates an expected call of GetServerType.

func (*MockInstanceAPIMockRecorder) ListIPs

ListIPs indicates an expected call of ListIPs.

func (*MockInstanceAPIMockRecorder) ListImages

func (mr *MockInstanceAPIMockRecorder) ListImages(req any, opts ...any) *MockInstanceAPIListImagesCall

ListImages indicates an expected call of ListImages.

func (*MockInstanceAPIMockRecorder) ListPlacementGroups

func (mr *MockInstanceAPIMockRecorder) ListPlacementGroups(req any, opts ...any) *MockInstanceAPIListPlacementGroupsCall

ListPlacementGroups indicates an expected call of ListPlacementGroups.

func (*MockInstanceAPIMockRecorder) ListSecurityGroups

func (mr *MockInstanceAPIMockRecorder) ListSecurityGroups(req any, opts ...any) *MockInstanceAPIListSecurityGroupsCall

ListSecurityGroups indicates an expected call of ListSecurityGroups.

func (*MockInstanceAPIMockRecorder) ListServers

func (mr *MockInstanceAPIMockRecorder) ListServers(req any, opts ...any) *MockInstanceAPIListServersCall

ListServers indicates an expected call of ListServers.

func (*MockInstanceAPIMockRecorder) ListVolumes

func (mr *MockInstanceAPIMockRecorder) ListVolumes(req any, opts ...any) *MockInstanceAPIListVolumesCall

ListVolumes indicates an expected call of ListVolumes.

func (*MockInstanceAPIMockRecorder) ServerAction

func (mr *MockInstanceAPIMockRecorder) ServerAction(req any, opts ...any) *MockInstanceAPIServerActionCall

ServerAction indicates an expected call of ServerAction.

func (*MockInstanceAPIMockRecorder) SetServerUserData

func (mr *MockInstanceAPIMockRecorder) SetServerUserData(req any, opts ...any) *MockInstanceAPISetServerUserDataCall

SetServerUserData indicates an expected call of SetServerUserData.

func (*MockInstanceAPIMockRecorder) UpdateServer

func (mr *MockInstanceAPIMockRecorder) UpdateServer(req any, opts ...any) *MockInstanceAPIUpdateServerCall

UpdateServer indicates an expected call of UpdateServer.

func (*MockInstanceAPIMockRecorder) UpdateVolume

func (mr *MockInstanceAPIMockRecorder) UpdateVolume(req any, opts ...any) *MockInstanceAPIUpdateVolumeCall

UpdateVolume indicates an expected call of UpdateVolume.

func (*MockInstanceAPIMockRecorder) Zones

Zones indicates an expected call of Zones.

type MockInstanceAPIServerActionCall

type MockInstanceAPIServerActionCall struct {
	*gomock.Call
}

MockInstanceAPIServerActionCall wrap *gomock.Call

func (*MockInstanceAPIServerActionCall) Do

Do rewrite *gomock.Call.Do

func (*MockInstanceAPIServerActionCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockInstanceAPIServerActionCall) Return

Return rewrite *gomock.Call.Return

type MockInstanceAPISetServerUserDataCall

type MockInstanceAPISetServerUserDataCall struct {
	*gomock.Call
}

MockInstanceAPISetServerUserDataCall wrap *gomock.Call

func (*MockInstanceAPISetServerUserDataCall) Do

Do rewrite *gomock.Call.Do

func (*MockInstanceAPISetServerUserDataCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockInstanceAPISetServerUserDataCall) Return

Return rewrite *gomock.Call.Return

type MockInstanceAPIUpdateServerCall

type MockInstanceAPIUpdateServerCall struct {
	*gomock.Call
}

MockInstanceAPIUpdateServerCall wrap *gomock.Call

func (*MockInstanceAPIUpdateServerCall) Do

Do rewrite *gomock.Call.Do

func (*MockInstanceAPIUpdateServerCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockInstanceAPIUpdateServerCall) Return

Return rewrite *gomock.Call.Return

type MockInstanceAPIUpdateVolumeCall

type MockInstanceAPIUpdateVolumeCall struct {
	*gomock.Call
}

MockInstanceAPIUpdateVolumeCall wrap *gomock.Call

func (*MockInstanceAPIUpdateVolumeCall) Do

Do rewrite *gomock.Call.Do

func (*MockInstanceAPIUpdateVolumeCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockInstanceAPIUpdateVolumeCall) Return

Return rewrite *gomock.Call.Return

type MockInstanceAPIZonesCall

type MockInstanceAPIZonesCall struct {
	*gomock.Call
}

MockInstanceAPIZonesCall wrap *gomock.Call

func (*MockInstanceAPIZonesCall) Do

Do rewrite *gomock.Call.Do

func (*MockInstanceAPIZonesCall) DoAndReturn

func (c *MockInstanceAPIZonesCall) DoAndReturn(f func() []scw.Zone) *MockInstanceAPIZonesCall

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockInstanceAPIZonesCall) Return

Return rewrite *gomock.Call.Return

type MockInstanceCreateIPCall

type MockInstanceCreateIPCall struct {
	*gomock.Call
}

MockInstanceCreateIPCall wrap *gomock.Call

func (*MockInstanceCreateIPCall) Do

Do rewrite *gomock.Call.Do

func (*MockInstanceCreateIPCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockInstanceCreateIPCall) Return

Return rewrite *gomock.Call.Return

type MockInstanceCreatePrivateNICCall

type MockInstanceCreatePrivateNICCall struct {
	*gomock.Call
}

MockInstanceCreatePrivateNICCall wrap *gomock.Call

func (*MockInstanceCreatePrivateNICCall) Do

Do rewrite *gomock.Call.Do

func (*MockInstanceCreatePrivateNICCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockInstanceCreatePrivateNICCall) Return

Return rewrite *gomock.Call.Return

type MockInstanceCreateServerCall

type MockInstanceCreateServerCall struct {
	*gomock.Call
}

MockInstanceCreateServerCall wrap *gomock.Call

func (*MockInstanceCreateServerCall) Do

Do rewrite *gomock.Call.Do

func (*MockInstanceCreateServerCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockInstanceCreateServerCall) Return

Return rewrite *gomock.Call.Return

type MockInstanceDeleteIPCall

type MockInstanceDeleteIPCall struct {
	*gomock.Call
}

MockInstanceDeleteIPCall wrap *gomock.Call

func (*MockInstanceDeleteIPCall) Do

Do rewrite *gomock.Call.Do

func (*MockInstanceDeleteIPCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockInstanceDeleteIPCall) Return

Return rewrite *gomock.Call.Return

type MockInstanceDeleteInstanceVolumeCall

type MockInstanceDeleteInstanceVolumeCall struct {
	*gomock.Call
}

MockInstanceDeleteInstanceVolumeCall wrap *gomock.Call

func (*MockInstanceDeleteInstanceVolumeCall) Do

Do rewrite *gomock.Call.Do

func (*MockInstanceDeleteInstanceVolumeCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockInstanceDeleteInstanceVolumeCall) Return

Return rewrite *gomock.Call.Return

type MockInstanceDeleteServerCall

type MockInstanceDeleteServerCall struct {
	*gomock.Call
}

MockInstanceDeleteServerCall wrap *gomock.Call

func (*MockInstanceDeleteServerCall) Do

Do rewrite *gomock.Call.Do

func (*MockInstanceDeleteServerCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockInstanceDeleteServerCall) Return

Return rewrite *gomock.Call.Return

type MockInstanceDeleteServerUserDataCall

type MockInstanceDeleteServerUserDataCall struct {
	*gomock.Call
}

MockInstanceDeleteServerUserDataCall wrap *gomock.Call

func (*MockInstanceDeleteServerUserDataCall) Do

Do rewrite *gomock.Call.Do

func (*MockInstanceDeleteServerUserDataCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockInstanceDeleteServerUserDataCall) Return

Return rewrite *gomock.Call.Return

type MockInstanceDetachVolumeCall

type MockInstanceDetachVolumeCall struct {
	*gomock.Call
}

MockInstanceDetachVolumeCall wrap *gomock.Call

func (*MockInstanceDetachVolumeCall) Do

Do rewrite *gomock.Call.Do

func (*MockInstanceDetachVolumeCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockInstanceDetachVolumeCall) Return

Return rewrite *gomock.Call.Return

type MockInstanceFindIPsCall

type MockInstanceFindIPsCall struct {
	*gomock.Call
}

MockInstanceFindIPsCall wrap *gomock.Call

func (*MockInstanceFindIPsCall) Do

Do rewrite *gomock.Call.Do

func (*MockInstanceFindIPsCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockInstanceFindIPsCall) Return

Return rewrite *gomock.Call.Return

type MockInstanceFindImageCall

type MockInstanceFindImageCall struct {
	*gomock.Call
}

MockInstanceFindImageCall wrap *gomock.Call

func (*MockInstanceFindImageCall) Do

Do rewrite *gomock.Call.Do

func (*MockInstanceFindImageCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockInstanceFindImageCall) Return

Return rewrite *gomock.Call.Return

type MockInstanceFindInstanceVolumeCall

type MockInstanceFindInstanceVolumeCall struct {
	*gomock.Call
}

MockInstanceFindInstanceVolumeCall wrap *gomock.Call

func (*MockInstanceFindInstanceVolumeCall) Do

Do rewrite *gomock.Call.Do

func (*MockInstanceFindInstanceVolumeCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockInstanceFindInstanceVolumeCall) Return

Return rewrite *gomock.Call.Return

type MockInstanceFindPlacementGroupCall

type MockInstanceFindPlacementGroupCall struct {
	*gomock.Call
}

MockInstanceFindPlacementGroupCall wrap *gomock.Call

func (*MockInstanceFindPlacementGroupCall) Do

Do rewrite *gomock.Call.Do

func (*MockInstanceFindPlacementGroupCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockInstanceFindPlacementGroupCall) Return

Return rewrite *gomock.Call.Return

type MockInstanceFindSecurityGroupCall

type MockInstanceFindSecurityGroupCall struct {
	*gomock.Call
}

MockInstanceFindSecurityGroupCall wrap *gomock.Call

func (*MockInstanceFindSecurityGroupCall) Do

Do rewrite *gomock.Call.Do

func (*MockInstanceFindSecurityGroupCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockInstanceFindSecurityGroupCall) Return

Return rewrite *gomock.Call.Return

type MockInstanceFindServerCall

type MockInstanceFindServerCall struct {
	*gomock.Call
}

MockInstanceFindServerCall wrap *gomock.Call

func (*MockInstanceFindServerCall) Do

Do rewrite *gomock.Call.Do

func (*MockInstanceFindServerCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockInstanceFindServerCall) Return

Return rewrite *gomock.Call.Return

type MockInstanceGetAllServerUserDataCall

type MockInstanceGetAllServerUserDataCall struct {
	*gomock.Call
}

MockInstanceGetAllServerUserDataCall wrap *gomock.Call

func (*MockInstanceGetAllServerUserDataCall) Do

Do rewrite *gomock.Call.Do

func (*MockInstanceGetAllServerUserDataCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockInstanceGetAllServerUserDataCall) Return

Return rewrite *gomock.Call.Return

type MockInstanceMockRecorder

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

MockInstanceMockRecorder is the mock recorder for MockInstance.

func (*MockInstanceMockRecorder) CreateIP

func (mr *MockInstanceMockRecorder) CreateIP(ctx, zone, ipType, tags any) *MockInstanceCreateIPCall

CreateIP indicates an expected call of CreateIP.

func (*MockInstanceMockRecorder) CreatePrivateNIC

func (mr *MockInstanceMockRecorder) CreatePrivateNIC(ctx, zone, serverID, privateNetworkID any) *MockInstanceCreatePrivateNICCall

CreatePrivateNIC indicates an expected call of CreatePrivateNIC.

func (*MockInstanceMockRecorder) CreateServer

func (mr *MockInstanceMockRecorder) CreateServer(ctx, zone, name, commercialType, imageID, placementGroupID, securityGroupID, rootVolumeSize, rootVolumeType, tags any) *MockInstanceCreateServerCall

CreateServer indicates an expected call of CreateServer.

func (*MockInstanceMockRecorder) DeleteIP

func (mr *MockInstanceMockRecorder) DeleteIP(ctx, zone, ipID any) *MockInstanceDeleteIPCall

DeleteIP indicates an expected call of DeleteIP.

func (*MockInstanceMockRecorder) DeleteInstanceVolume

func (mr *MockInstanceMockRecorder) DeleteInstanceVolume(ctx, zone, volumeID any) *MockInstanceDeleteInstanceVolumeCall

DeleteInstanceVolume indicates an expected call of DeleteInstanceVolume.

func (*MockInstanceMockRecorder) DeleteServer

func (mr *MockInstanceMockRecorder) DeleteServer(ctx, zone, serverID any) *MockInstanceDeleteServerCall

DeleteServer indicates an expected call of DeleteServer.

func (*MockInstanceMockRecorder) DeleteServerUserData

func (mr *MockInstanceMockRecorder) DeleteServerUserData(ctx, zone, serverID, key any) *MockInstanceDeleteServerUserDataCall

DeleteServerUserData indicates an expected call of DeleteServerUserData.

func (*MockInstanceMockRecorder) DetachVolume

func (mr *MockInstanceMockRecorder) DetachVolume(ctx, zone, volumeID any) *MockInstanceDetachVolumeCall

DetachVolume indicates an expected call of DetachVolume.

func (*MockInstanceMockRecorder) FindIPs

func (mr *MockInstanceMockRecorder) FindIPs(ctx, zone, tags any) *MockInstanceFindIPsCall

FindIPs indicates an expected call of FindIPs.

func (*MockInstanceMockRecorder) FindImage

func (mr *MockInstanceMockRecorder) FindImage(ctx, zone, name any) *MockInstanceFindImageCall

FindImage indicates an expected call of FindImage.

func (*MockInstanceMockRecorder) FindInstanceVolume

func (mr *MockInstanceMockRecorder) FindInstanceVolume(ctx, zone, tags any) *MockInstanceFindInstanceVolumeCall

FindInstanceVolume indicates an expected call of FindInstanceVolume.

func (*MockInstanceMockRecorder) FindPlacementGroup

func (mr *MockInstanceMockRecorder) FindPlacementGroup(ctx, zone, name any) *MockInstanceFindPlacementGroupCall

FindPlacementGroup indicates an expected call of FindPlacementGroup.

func (*MockInstanceMockRecorder) FindSecurityGroup

func (mr *MockInstanceMockRecorder) FindSecurityGroup(ctx, zone, name any) *MockInstanceFindSecurityGroupCall

FindSecurityGroup indicates an expected call of FindSecurityGroup.

func (*MockInstanceMockRecorder) FindServer

func (mr *MockInstanceMockRecorder) FindServer(ctx, zone, tags any) *MockInstanceFindServerCall

FindServer indicates an expected call of FindServer.

func (*MockInstanceMockRecorder) GetAllServerUserData

func (mr *MockInstanceMockRecorder) GetAllServerUserData(ctx, zone, serverID any) *MockInstanceGetAllServerUserDataCall

GetAllServerUserData indicates an expected call of GetAllServerUserData.

func (*MockInstanceMockRecorder) ServerAction

func (mr *MockInstanceMockRecorder) ServerAction(ctx, zone, serverID, action any) *MockInstanceServerActionCall

ServerAction indicates an expected call of ServerAction.

func (*MockInstanceMockRecorder) SetServerUserData

func (mr *MockInstanceMockRecorder) SetServerUserData(ctx, zone, serverID, key, content any) *MockInstanceSetServerUserDataCall

SetServerUserData indicates an expected call of SetServerUserData.

func (*MockInstanceMockRecorder) UpdateInstanceVolumeTags

func (mr *MockInstanceMockRecorder) UpdateInstanceVolumeTags(ctx, zone, volumeID, tags any) *MockInstanceUpdateInstanceVolumeTagsCall

UpdateInstanceVolumeTags indicates an expected call of UpdateInstanceVolumeTags.

func (*MockInstanceMockRecorder) UpdateServerPublicIPs

func (mr *MockInstanceMockRecorder) UpdateServerPublicIPs(ctx, zone, id, publicIPIDs any) *MockInstanceUpdateServerPublicIPsCall

UpdateServerPublicIPs indicates an expected call of UpdateServerPublicIPs.

type MockInstanceServerActionCall

type MockInstanceServerActionCall struct {
	*gomock.Call
}

MockInstanceServerActionCall wrap *gomock.Call

func (*MockInstanceServerActionCall) Do

Do rewrite *gomock.Call.Do

func (*MockInstanceServerActionCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockInstanceServerActionCall) Return

Return rewrite *gomock.Call.Return

type MockInstanceSetServerUserDataCall

type MockInstanceSetServerUserDataCall struct {
	*gomock.Call
}

MockInstanceSetServerUserDataCall wrap *gomock.Call

func (*MockInstanceSetServerUserDataCall) Do

Do rewrite *gomock.Call.Do

func (*MockInstanceSetServerUserDataCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockInstanceSetServerUserDataCall) Return

Return rewrite *gomock.Call.Return

type MockInstanceUpdateInstanceVolumeTagsCall

type MockInstanceUpdateInstanceVolumeTagsCall struct {
	*gomock.Call
}

MockInstanceUpdateInstanceVolumeTagsCall wrap *gomock.Call

func (*MockInstanceUpdateInstanceVolumeTagsCall) Do

Do rewrite *gomock.Call.Do

func (*MockInstanceUpdateInstanceVolumeTagsCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockInstanceUpdateInstanceVolumeTagsCall) Return

Return rewrite *gomock.Call.Return

type MockInstanceUpdateServerPublicIPsCall

type MockInstanceUpdateServerPublicIPsCall struct {
	*gomock.Call
}

MockInstanceUpdateServerPublicIPsCall wrap *gomock.Call

func (*MockInstanceUpdateServerPublicIPsCall) Do

Do rewrite *gomock.Call.Do

func (*MockInstanceUpdateServerPublicIPsCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockInstanceUpdateServerPublicIPsCall) Return

Return rewrite *gomock.Call.Return

type MockInterface

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

MockInterface is a mock of Interface interface.

func NewMockInterface

func NewMockInterface(ctrl *gomock.Controller) *MockInterface

NewMockInterface creates a new mock instance.

func (*MockInterface) AddBackendServer

func (m *MockInterface) AddBackendServer(ctx context.Context, zone scw.Zone, backendID, ip string) error

AddBackendServer mocks base method.

func (*MockInterface) AttachLBPrivateNetwork

func (m *MockInterface) AttachLBPrivateNetwork(ctx context.Context, zone scw.Zone, lbID, privateNetworkID string, ipID *string) error

AttachLBPrivateNetwork mocks base method.

func (*MockInterface) CleanAvailableIPs

func (m *MockInterface) CleanAvailableIPs(ctx context.Context, privateNetworkID string) error

CleanAvailableIPs mocks base method.

func (*MockInterface) CreateBackend

func (m *MockInterface) CreateBackend(ctx context.Context, zone scw.Zone, lbID, name string, servers []string, port int32) (*lb.Backend, error)

CreateBackend mocks base method.

func (*MockInterface) CreateCluster added in v0.1.3

func (m *MockInterface) CreateCluster(ctx context.Context, name, clusterType, version string, pnID *string, tags, featureGates, admissionPlugins, apiServerCertSANs []string, cni k8s.CNI, autoscalerConfig *k8s.CreateClusterRequestAutoscalerConfig, autoUpgrade *k8s.CreateClusterRequestAutoUpgrade, openIDConnectConfig *k8s.CreateClusterRequestOpenIDConnectConfig, podCIDR, serviceCIDR scw.IPNet) (*k8s.Cluster, error)

CreateCluster mocks base method.

func (*MockInterface) CreateFrontend

func (m *MockInterface) CreateFrontend(ctx context.Context, zone scw.Zone, lbID, name, backendID string, port int32) (*lb.Frontend, error)

CreateFrontend mocks base method.

func (*MockInterface) CreateGateway

func (m *MockInterface) CreateGateway(ctx context.Context, zone scw.Zone, name, gwType string, tags []string, ipID *string) (*vpcgw.Gateway, error)

CreateGateway mocks base method.

func (*MockInterface) CreateGatewayNetwork

func (m *MockInterface) CreateGatewayNetwork(ctx context.Context, zone scw.Zone, gatewayID, privateNetworkID string) error

CreateGatewayNetwork mocks base method.

func (*MockInterface) CreateIP

func (m *MockInterface) CreateIP(ctx context.Context, zone scw.Zone, ipType instance.IPType, tags []string) (*instance.IP, error)

CreateIP mocks base method.

func (*MockInterface) CreateLB

func (m *MockInterface) CreateLB(ctx context.Context, zone scw.Zone, name, lbType string, ipID *string, private bool, tags []string) (*lb.LB, error)

CreateLB mocks base method.

func (*MockInterface) CreateLBACL

func (m *MockInterface) CreateLBACL(ctx context.Context, zone scw.Zone, frontendID, name string, index int32, action lb.ACLActionType, matchedSubnets []string) error

CreateLBACL mocks base method.

func (*MockInterface) CreatePool added in v0.1.3

func (m *MockInterface) CreatePool(ctx context.Context, zone scw.Zone, clusterID, name, nodeType string, placementGroupID, securityGroupID *string, autoscaling, autohealing, publicIPDisabled bool, size uint32, minSize, maxSize *uint32, tags []string, kubeletArgs map[string]string, rootVolumeType k8s.PoolVolumeType, rootVolumeSizeGB *uint64, upgradePolicy *k8s.CreatePoolRequestUpgradePolicy) (*k8s.Pool, error)

CreatePool mocks base method.

func (*MockInterface) CreatePrivateNIC

func (m *MockInterface) CreatePrivateNIC(ctx context.Context, zone scw.Zone, serverID, privateNetworkID string) (*instance.PrivateNIC, error)

CreatePrivateNIC mocks base method.

func (*MockInterface) CreatePrivateNetwork

func (m *MockInterface) CreatePrivateNetwork(ctx context.Context, name string, vpcID, subnet *string, tags []string) (*vpc.PrivateNetwork, error)

CreatePrivateNetwork mocks base method.

func (*MockInterface) CreateServer

func (m *MockInterface) CreateServer(ctx context.Context, zone scw.Zone, name, commercialType, imageID string, placementGroupID, securityGroupID *string, rootVolumeSize scw.Size, rootVolumeType instance.VolumeVolumeType, tags []string) (*instance.Server, error)

CreateServer mocks base method.

func (*MockInterface) DefaultZone

func (m *MockInterface) DefaultZone() scw.Zone

DefaultZone mocks base method.

func (*MockInterface) DeleteCluster added in v0.1.3

func (m *MockInterface) DeleteCluster(ctx context.Context, id string, withAdditionalResources bool) error

DeleteCluster mocks base method.

func (*MockInterface) DeleteDNSZoneRecords

func (m *MockInterface) DeleteDNSZoneRecords(ctx context.Context, zone, name string) error

DeleteDNSZoneRecords mocks base method.

func (*MockInterface) DeleteGateway

func (m *MockInterface) DeleteGateway(ctx context.Context, zone scw.Zone, id string, deleteIP bool) error

DeleteGateway mocks base method.

func (*MockInterface) DeleteIP

func (m *MockInterface) DeleteIP(ctx context.Context, zone scw.Zone, ipID string) error

DeleteIP mocks base method.

func (*MockInterface) DeleteInstanceVolume

func (m *MockInterface) DeleteInstanceVolume(ctx context.Context, zone scw.Zone, volumeID string) error

DeleteInstanceVolume mocks base method.

func (*MockInterface) DeleteLB

func (m *MockInterface) DeleteLB(ctx context.Context, zone scw.Zone, id string, releaseIP bool) error

DeleteLB mocks base method.

func (*MockInterface) DeleteLBACL

func (m *MockInterface) DeleteLBACL(ctx context.Context, zone scw.Zone, aclID string) error

DeleteLBACL mocks base method.

func (*MockInterface) DeletePool added in v0.1.3

func (m *MockInterface) DeletePool(ctx context.Context, id string) error

DeletePool mocks base method.

func (*MockInterface) DeletePrivateNetwork

func (m *MockInterface) DeletePrivateNetwork(ctx context.Context, id string) error

DeletePrivateNetwork mocks base method.

func (*MockInterface) DeleteServer

func (m *MockInterface) DeleteServer(ctx context.Context, zone scw.Zone, serverID string) error

DeleteServer mocks base method.

func (*MockInterface) DeleteServerUserData

func (m *MockInterface) DeleteServerUserData(ctx context.Context, zone scw.Zone, serverID, key string) error

DeleteServerUserData mocks base method.

func (*MockInterface) DeleteVolume

func (m *MockInterface) DeleteVolume(ctx context.Context, zone scw.Zone, volumeID string) error

DeleteVolume mocks base method.

func (*MockInterface) DetachVolume

func (m *MockInterface) DetachVolume(ctx context.Context, zone scw.Zone, volumeID string) error

DetachVolume mocks base method.

func (*MockInterface) EXPECT

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

func (*MockInterface) FindAvailableIPs

func (m *MockInterface) FindAvailableIPs(ctx context.Context, privateNetworkID string) ([]*ipam.IP, error)

FindAvailableIPs mocks base method.

func (*MockInterface) FindBackend

func (m *MockInterface) FindBackend(ctx context.Context, zone scw.Zone, lbID, name string) (*lb.Backend, error)

FindBackend mocks base method.

func (*MockInterface) FindCluster added in v0.1.3

func (m *MockInterface) FindCluster(ctx context.Context, name string) (*k8s.Cluster, error)

FindCluster mocks base method.

func (*MockInterface) FindFrontend

func (m *MockInterface) FindFrontend(ctx context.Context, zone scw.Zone, lbID, name string) (*lb.Frontend, error)

FindFrontend mocks base method.

func (*MockInterface) FindGatewayIP

func (m *MockInterface) FindGatewayIP(ctx context.Context, zone scw.Zone, ip string) (*vpcgw.IP, error)

FindGatewayIP mocks base method.

func (*MockInterface) FindGateways

func (m *MockInterface) FindGateways(ctx context.Context, tags []string) ([]*vpcgw.Gateway, error)

FindGateways mocks base method.

func (*MockInterface) FindIPs

func (m *MockInterface) FindIPs(ctx context.Context, zone scw.Zone, tags []string) ([]*instance.IP, error)

FindIPs mocks base method.

func (*MockInterface) FindImage

func (m *MockInterface) FindImage(ctx context.Context, zone scw.Zone, name string) (*instance.Image, error)

FindImage mocks base method.

func (*MockInterface) FindInstanceVolume

func (m *MockInterface) FindInstanceVolume(ctx context.Context, zone scw.Zone, tags []string) (*instance.Volume, error)

FindInstanceVolume mocks base method.

func (*MockInterface) FindLB

func (m *MockInterface) FindLB(ctx context.Context, zone scw.Zone, tags []string) (*lb.LB, error)

FindLB mocks base method.

func (*MockInterface) FindLBACLByName

func (m *MockInterface) FindLBACLByName(ctx context.Context, zone scw.Zone, frontendID, name string) (*lb.ACL, error)

FindLBACLByName mocks base method.

func (*MockInterface) FindLBIP

func (m *MockInterface) FindLBIP(ctx context.Context, zone scw.Zone, ip string) (*lb.IP, error)

FindLBIP mocks base method.

func (*MockInterface) FindLBPrivateNetwork

func (m *MockInterface) FindLBPrivateNetwork(ctx context.Context, zone scw.Zone, lbID, privateNetworkID string) (*lb.PrivateNetwork, error)

FindLBPrivateNetwork mocks base method.

func (*MockInterface) FindLBServersIPs

func (m *MockInterface) FindLBServersIPs(ctx context.Context, privateNetworkID string, lbIDs []string) ([]*ipam.IP, error)

FindLBServersIPs mocks base method.

func (*MockInterface) FindLBs

func (m *MockInterface) FindLBs(ctx context.Context, tags []string) ([]*lb.LB, error)

FindLBs mocks base method.

func (*MockInterface) FindPlacementGroup

func (m *MockInterface) FindPlacementGroup(ctx context.Context, zone scw.Zone, name string) (*instance.PlacementGroup, error)

FindPlacementGroup mocks base method.

func (*MockInterface) FindPool added in v0.1.3

func (m *MockInterface) FindPool(ctx context.Context, clusterID, name string) (*k8s.Pool, error)

FindPool mocks base method.

func (*MockInterface) FindPrivateNICIPs

func (m *MockInterface) FindPrivateNICIPs(ctx context.Context, privateNICID string) ([]*ipam.IP, error)

FindPrivateNICIPs mocks base method.

func (*MockInterface) FindPrivateNetwork

func (m *MockInterface) FindPrivateNetwork(ctx context.Context, tags []string, vpcID *string) (*vpc.PrivateNetwork, error)

FindPrivateNetwork mocks base method.

func (*MockInterface) FindSecurityGroup

func (m *MockInterface) FindSecurityGroup(ctx context.Context, zone scw.Zone, name string) (*instance.SecurityGroup, error)

FindSecurityGroup mocks base method.

func (*MockInterface) FindServer

func (m *MockInterface) FindServer(ctx context.Context, zone scw.Zone, tags []string) (*instance.Server, error)

FindServer mocks base method.

func (*MockInterface) FindVolume

func (m *MockInterface) FindVolume(ctx context.Context, zone scw.Zone, tags []string) (*block.Volume, error)

FindVolume mocks base method.

func (*MockInterface) GetAllServerUserData

func (m *MockInterface) GetAllServerUserData(ctx context.Context, zone scw.Zone, serverID string) (map[string]io.Reader, error)

GetAllServerUserData mocks base method.

func (*MockInterface) GetClusterKubeConfig added in v0.1.3

func (m *MockInterface) GetClusterKubeConfig(ctx context.Context, id string) (*k8s.Kubeconfig, error)

GetClusterKubeConfig mocks base method.

func (*MockInterface) GetControlPlaneZones

func (m *MockInterface) GetControlPlaneZones() []scw.Zone

GetControlPlaneZones mocks base method.

func (*MockInterface) GetLocalImageByLabel

func (m *MockInterface) GetLocalImageByLabel(ctx context.Context, zone scw.Zone, commercialType, imageLabel string, imageType marketplace.LocalImageType) (*marketplace.LocalImage, error)

GetLocalImageByLabel mocks base method.

func (*MockInterface) GetPrivateNetwork

func (m *MockInterface) GetPrivateNetwork(ctx context.Context, privateNetworkID string) (*vpc.PrivateNetwork, error)

GetPrivateNetwork mocks base method.

func (*MockInterface) GetSecretKey added in v0.1.3

func (m *MockInterface) GetSecretKey() string

GetSecretKey mocks base method.

func (*MockInterface) GetZoneOrDefault

func (m *MockInterface) GetZoneOrDefault(zone *string) (scw.Zone, error)

GetZoneOrDefault mocks base method.

func (*MockInterface) ListClusterACLRules added in v0.1.3

func (m *MockInterface) ListClusterACLRules(ctx context.Context, clusterID string) ([]*k8s.ACLRule, error)

ListClusterACLRules mocks base method.

func (*MockInterface) ListDNSZoneRecords

func (m *MockInterface) ListDNSZoneRecords(ctx context.Context, zone, name string) ([]*domain.Record, error)

ListDNSZoneRecords mocks base method.

func (*MockInterface) ListGatewayTypes

func (m *MockInterface) ListGatewayTypes(ctx context.Context, zone scw.Zone) ([]string, error)

ListGatewayTypes mocks base method.

func (*MockInterface) ListLBACLs

func (m *MockInterface) ListLBACLs(ctx context.Context, zone scw.Zone, frontendID string) ([]*lb.ACL, error)

ListLBACLs mocks base method.

func (*MockInterface) ListNodes added in v0.1.3

func (m *MockInterface) ListNodes(ctx context.Context, clusterID, poolID string) ([]*k8s.Node, error)

ListNodes mocks base method.

func (*MockInterface) MigrateLB

func (m *MockInterface) MigrateLB(ctx context.Context, zone scw.Zone, id, newType string) (*lb.LB, error)

MigrateLB mocks base method.

func (*MockInterface) RemoveBackendServer

func (m *MockInterface) RemoveBackendServer(ctx context.Context, zone scw.Zone, backendID, ip string) error

RemoveBackendServer mocks base method.

func (*MockInterface) ServerAction

func (m *MockInterface) ServerAction(ctx context.Context, zone scw.Zone, serverID string, action instance.ServerAction) error

ServerAction mocks base method.

func (*MockInterface) SetBackendServers

func (m *MockInterface) SetBackendServers(ctx context.Context, zone scw.Zone, backendID string, servers []string) (*lb.Backend, error)

SetBackendServers mocks base method.

func (*MockInterface) SetClusterACLRules added in v0.1.3

func (m *MockInterface) SetClusterACLRules(ctx context.Context, clusterID string, rules []*k8s.ACLRuleRequest) error

SetClusterACLRules mocks base method.

func (*MockInterface) SetClusterType added in v0.1.3

func (m *MockInterface) SetClusterType(ctx context.Context, id, clusterType string) error

SetClusterType mocks base method.

func (*MockInterface) SetDNSZoneRecords

func (m *MockInterface) SetDNSZoneRecords(ctx context.Context, zone, name string, ips []string) error

SetDNSZoneRecords mocks base method.

func (*MockInterface) SetLBACLs

func (m *MockInterface) SetLBACLs(ctx context.Context, zone scw.Zone, frontendID string, acls []*lb.ACLSpec) error

SetLBACLs mocks base method.

func (*MockInterface) SetServerUserData

func (m *MockInterface) SetServerUserData(ctx context.Context, zone scw.Zone, serverID, key, content string) error

SetServerUserData mocks base method.

func (*MockInterface) UpdateCluster added in v0.1.3

func (m *MockInterface) UpdateCluster(ctx context.Context, id string, tags, featureGates, admissionPlugins, apiServerCertSANs *[]string, autoscalerConfig *k8s.UpdateClusterRequestAutoscalerConfig, autoUpgrade *k8s.UpdateClusterRequestAutoUpgrade, openIDConnectConfig *k8s.UpdateClusterRequestOpenIDConnectConfig) error

UpdateCluster mocks base method.

func (*MockInterface) UpdateInstanceVolumeTags

func (m *MockInterface) UpdateInstanceVolumeTags(ctx context.Context, zone scw.Zone, volumeID string, tags []string) error

UpdateInstanceVolumeTags mocks base method.

func (*MockInterface) UpdateLBACL

func (m *MockInterface) UpdateLBACL(ctx context.Context, zone scw.Zone, aclID, name string, index int32, action lb.ACLActionType, matchedSubnets []string) error

UpdateLBACL mocks base method.

func (*MockInterface) UpdatePool added in v0.1.3

func (m *MockInterface) UpdatePool(ctx context.Context, id string, autoscaling, autohealing *bool, size, minSize, maxSize *uint32, tags *[]string, kubeletArgs *map[string]string, upgradePolicy *k8s.UpdatePoolRequestUpgradePolicy) error

UpdatePool mocks base method.

func (*MockInterface) UpdateServerPublicIPs

func (m *MockInterface) UpdateServerPublicIPs(ctx context.Context, zone scw.Zone, id string, publicIPIDs []string) (*instance.Server, error)

UpdateServerPublicIPs mocks base method.

func (*MockInterface) UpdateVolumeIOPS

func (m *MockInterface) UpdateVolumeIOPS(ctx context.Context, zone scw.Zone, volumeID string, iops int64) error

UpdateVolumeIOPS mocks base method.

func (*MockInterface) UpdateVolumeTags

func (m *MockInterface) UpdateVolumeTags(ctx context.Context, zone scw.Zone, volumeID string, tags []string) error

UpdateVolumeTags mocks base method.

func (*MockInterface) UpgradeCluster added in v0.1.3

func (m *MockInterface) UpgradeCluster(ctx context.Context, id, version string) error

UpgradeCluster mocks base method.

func (*MockInterface) UpgradeGateway

func (m *MockInterface) UpgradeGateway(ctx context.Context, zone scw.Zone, gatewayID, newType string) (*vpcgw.Gateway, error)

UpgradeGateway mocks base method.

func (*MockInterface) UpgradePool added in v0.1.3

func (m *MockInterface) UpgradePool(ctx context.Context, id, version string) error

UpgradePool mocks base method.

type MockInterfaceAddBackendServerCall

type MockInterfaceAddBackendServerCall struct {
	*gomock.Call
}

MockInterfaceAddBackendServerCall wrap *gomock.Call

func (*MockInterfaceAddBackendServerCall) Do

Do rewrite *gomock.Call.Do

func (*MockInterfaceAddBackendServerCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockInterfaceAddBackendServerCall) Return

Return rewrite *gomock.Call.Return

type MockInterfaceAttachLBPrivateNetworkCall

type MockInterfaceAttachLBPrivateNetworkCall struct {
	*gomock.Call
}

MockInterfaceAttachLBPrivateNetworkCall wrap *gomock.Call

func (*MockInterfaceAttachLBPrivateNetworkCall) Do

Do rewrite *gomock.Call.Do

func (*MockInterfaceAttachLBPrivateNetworkCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockInterfaceAttachLBPrivateNetworkCall) Return

Return rewrite *gomock.Call.Return

type MockInterfaceCleanAvailableIPsCall

type MockInterfaceCleanAvailableIPsCall struct {
	*gomock.Call
}

MockInterfaceCleanAvailableIPsCall wrap *gomock.Call

func (*MockInterfaceCleanAvailableIPsCall) Do

Do rewrite *gomock.Call.Do

func (*MockInterfaceCleanAvailableIPsCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockInterfaceCleanAvailableIPsCall) Return

Return rewrite *gomock.Call.Return

type MockInterfaceCreateBackendCall

type MockInterfaceCreateBackendCall struct {
	*gomock.Call
}

MockInterfaceCreateBackendCall wrap *gomock.Call

func (*MockInterfaceCreateBackendCall) Do

Do rewrite *gomock.Call.Do

func (*MockInterfaceCreateBackendCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockInterfaceCreateBackendCall) Return

Return rewrite *gomock.Call.Return

type MockInterfaceCreateClusterCall added in v0.1.3

type MockInterfaceCreateClusterCall struct {
	*gomock.Call
}

MockInterfaceCreateClusterCall wrap *gomock.Call

func (*MockInterfaceCreateClusterCall) DoAndReturn added in v0.1.3

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockInterfaceCreateClusterCall) Return added in v0.1.3

Return rewrite *gomock.Call.Return

type MockInterfaceCreateFrontendCall

type MockInterfaceCreateFrontendCall struct {
	*gomock.Call
}

MockInterfaceCreateFrontendCall wrap *gomock.Call

func (*MockInterfaceCreateFrontendCall) Do

Do rewrite *gomock.Call.Do

func (*MockInterfaceCreateFrontendCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockInterfaceCreateFrontendCall) Return

Return rewrite *gomock.Call.Return

type MockInterfaceCreateGatewayCall

type MockInterfaceCreateGatewayCall struct {
	*gomock.Call
}

MockInterfaceCreateGatewayCall wrap *gomock.Call

func (*MockInterfaceCreateGatewayCall) Do

Do rewrite *gomock.Call.Do

func (*MockInterfaceCreateGatewayCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockInterfaceCreateGatewayCall) Return

Return rewrite *gomock.Call.Return

type MockInterfaceCreateGatewayNetworkCall

type MockInterfaceCreateGatewayNetworkCall struct {
	*gomock.Call
}

MockInterfaceCreateGatewayNetworkCall wrap *gomock.Call

func (*MockInterfaceCreateGatewayNetworkCall) Do

Do rewrite *gomock.Call.Do

func (*MockInterfaceCreateGatewayNetworkCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockInterfaceCreateGatewayNetworkCall) Return

Return rewrite *gomock.Call.Return

type MockInterfaceCreateIPCall

type MockInterfaceCreateIPCall struct {
	*gomock.Call
}

MockInterfaceCreateIPCall wrap *gomock.Call

func (*MockInterfaceCreateIPCall) Do

Do rewrite *gomock.Call.Do

func (*MockInterfaceCreateIPCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockInterfaceCreateIPCall) Return

Return rewrite *gomock.Call.Return

type MockInterfaceCreateLBACLCall

type MockInterfaceCreateLBACLCall struct {
	*gomock.Call
}

MockInterfaceCreateLBACLCall wrap *gomock.Call

func (*MockInterfaceCreateLBACLCall) Do

Do rewrite *gomock.Call.Do

func (*MockInterfaceCreateLBACLCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockInterfaceCreateLBACLCall) Return

Return rewrite *gomock.Call.Return

type MockInterfaceCreateLBCall

type MockInterfaceCreateLBCall struct {
	*gomock.Call
}

MockInterfaceCreateLBCall wrap *gomock.Call

func (*MockInterfaceCreateLBCall) Do

Do rewrite *gomock.Call.Do

func (*MockInterfaceCreateLBCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockInterfaceCreateLBCall) Return

Return rewrite *gomock.Call.Return

type MockInterfaceCreatePoolCall added in v0.1.3

type MockInterfaceCreatePoolCall struct {
	*gomock.Call
}

MockInterfaceCreatePoolCall wrap *gomock.Call

func (*MockInterfaceCreatePoolCall) Do added in v0.1.3

Do rewrite *gomock.Call.Do

func (*MockInterfaceCreatePoolCall) DoAndReturn added in v0.1.3

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockInterfaceCreatePoolCall) Return added in v0.1.3

Return rewrite *gomock.Call.Return

type MockInterfaceCreatePrivateNICCall

type MockInterfaceCreatePrivateNICCall struct {
	*gomock.Call
}

MockInterfaceCreatePrivateNICCall wrap *gomock.Call

func (*MockInterfaceCreatePrivateNICCall) Do

Do rewrite *gomock.Call.Do

func (*MockInterfaceCreatePrivateNICCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockInterfaceCreatePrivateNICCall) Return

Return rewrite *gomock.Call.Return

type MockInterfaceCreatePrivateNetworkCall

type MockInterfaceCreatePrivateNetworkCall struct {
	*gomock.Call
}

MockInterfaceCreatePrivateNetworkCall wrap *gomock.Call

func (*MockInterfaceCreatePrivateNetworkCall) Do

Do rewrite *gomock.Call.Do

func (*MockInterfaceCreatePrivateNetworkCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockInterfaceCreatePrivateNetworkCall) Return

Return rewrite *gomock.Call.Return

type MockInterfaceCreateServerCall

type MockInterfaceCreateServerCall struct {
	*gomock.Call
}

MockInterfaceCreateServerCall wrap *gomock.Call

func (*MockInterfaceCreateServerCall) Do

Do rewrite *gomock.Call.Do

func (*MockInterfaceCreateServerCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockInterfaceCreateServerCall) Return

Return rewrite *gomock.Call.Return

type MockInterfaceDefaultZoneCall

type MockInterfaceDefaultZoneCall struct {
	*gomock.Call
}

MockInterfaceDefaultZoneCall wrap *gomock.Call

func (*MockInterfaceDefaultZoneCall) Do

Do rewrite *gomock.Call.Do

func (*MockInterfaceDefaultZoneCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockInterfaceDefaultZoneCall) Return

Return rewrite *gomock.Call.Return

type MockInterfaceDeleteClusterCall added in v0.1.3

type MockInterfaceDeleteClusterCall struct {
	*gomock.Call
}

MockInterfaceDeleteClusterCall wrap *gomock.Call

func (*MockInterfaceDeleteClusterCall) Do added in v0.1.3

Do rewrite *gomock.Call.Do

func (*MockInterfaceDeleteClusterCall) DoAndReturn added in v0.1.3

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockInterfaceDeleteClusterCall) Return added in v0.1.3

Return rewrite *gomock.Call.Return

type MockInterfaceDeleteDNSZoneRecordsCall

type MockInterfaceDeleteDNSZoneRecordsCall struct {
	*gomock.Call
}

MockInterfaceDeleteDNSZoneRecordsCall wrap *gomock.Call

func (*MockInterfaceDeleteDNSZoneRecordsCall) Do

Do rewrite *gomock.Call.Do

func (*MockInterfaceDeleteDNSZoneRecordsCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockInterfaceDeleteDNSZoneRecordsCall) Return

Return rewrite *gomock.Call.Return

type MockInterfaceDeleteGatewayCall

type MockInterfaceDeleteGatewayCall struct {
	*gomock.Call
}

MockInterfaceDeleteGatewayCall wrap *gomock.Call

func (*MockInterfaceDeleteGatewayCall) Do

Do rewrite *gomock.Call.Do

func (*MockInterfaceDeleteGatewayCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockInterfaceDeleteGatewayCall) Return

Return rewrite *gomock.Call.Return

type MockInterfaceDeleteIPCall

type MockInterfaceDeleteIPCall struct {
	*gomock.Call
}

MockInterfaceDeleteIPCall wrap *gomock.Call

func (*MockInterfaceDeleteIPCall) Do

Do rewrite *gomock.Call.Do

func (*MockInterfaceDeleteIPCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockInterfaceDeleteIPCall) Return

Return rewrite *gomock.Call.Return

type MockInterfaceDeleteInstanceVolumeCall

type MockInterfaceDeleteInstanceVolumeCall struct {
	*gomock.Call
}

MockInterfaceDeleteInstanceVolumeCall wrap *gomock.Call

func (*MockInterfaceDeleteInstanceVolumeCall) Do

Do rewrite *gomock.Call.Do

func (*MockInterfaceDeleteInstanceVolumeCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockInterfaceDeleteInstanceVolumeCall) Return

Return rewrite *gomock.Call.Return

type MockInterfaceDeleteLBACLCall

type MockInterfaceDeleteLBACLCall struct {
	*gomock.Call
}

MockInterfaceDeleteLBACLCall wrap *gomock.Call

func (*MockInterfaceDeleteLBACLCall) Do

Do rewrite *gomock.Call.Do

func (*MockInterfaceDeleteLBACLCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockInterfaceDeleteLBACLCall) Return

Return rewrite *gomock.Call.Return

type MockInterfaceDeleteLBCall

type MockInterfaceDeleteLBCall struct {
	*gomock.Call
}

MockInterfaceDeleteLBCall wrap *gomock.Call

func (*MockInterfaceDeleteLBCall) Do

Do rewrite *gomock.Call.Do

func (*MockInterfaceDeleteLBCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockInterfaceDeleteLBCall) Return

Return rewrite *gomock.Call.Return

type MockInterfaceDeletePoolCall added in v0.1.3

type MockInterfaceDeletePoolCall struct {
	*gomock.Call
}

MockInterfaceDeletePoolCall wrap *gomock.Call

func (*MockInterfaceDeletePoolCall) Do added in v0.1.3

Do rewrite *gomock.Call.Do

func (*MockInterfaceDeletePoolCall) DoAndReturn added in v0.1.3

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockInterfaceDeletePoolCall) Return added in v0.1.3

Return rewrite *gomock.Call.Return

type MockInterfaceDeletePrivateNetworkCall

type MockInterfaceDeletePrivateNetworkCall struct {
	*gomock.Call
}

MockInterfaceDeletePrivateNetworkCall wrap *gomock.Call

func (*MockInterfaceDeletePrivateNetworkCall) Do

Do rewrite *gomock.Call.Do

func (*MockInterfaceDeletePrivateNetworkCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockInterfaceDeletePrivateNetworkCall) Return

Return rewrite *gomock.Call.Return

type MockInterfaceDeleteServerCall

type MockInterfaceDeleteServerCall struct {
	*gomock.Call
}

MockInterfaceDeleteServerCall wrap *gomock.Call

func (*MockInterfaceDeleteServerCall) Do

Do rewrite *gomock.Call.Do

func (*MockInterfaceDeleteServerCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockInterfaceDeleteServerCall) Return

Return rewrite *gomock.Call.Return

type MockInterfaceDeleteServerUserDataCall

type MockInterfaceDeleteServerUserDataCall struct {
	*gomock.Call
}

MockInterfaceDeleteServerUserDataCall wrap *gomock.Call

func (*MockInterfaceDeleteServerUserDataCall) Do

Do rewrite *gomock.Call.Do

func (*MockInterfaceDeleteServerUserDataCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockInterfaceDeleteServerUserDataCall) Return

Return rewrite *gomock.Call.Return

type MockInterfaceDeleteVolumeCall

type MockInterfaceDeleteVolumeCall struct {
	*gomock.Call
}

MockInterfaceDeleteVolumeCall wrap *gomock.Call

func (*MockInterfaceDeleteVolumeCall) Do

Do rewrite *gomock.Call.Do

func (*MockInterfaceDeleteVolumeCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockInterfaceDeleteVolumeCall) Return

Return rewrite *gomock.Call.Return

type MockInterfaceDetachVolumeCall

type MockInterfaceDetachVolumeCall struct {
	*gomock.Call
}

MockInterfaceDetachVolumeCall wrap *gomock.Call

func (*MockInterfaceDetachVolumeCall) Do

Do rewrite *gomock.Call.Do

func (*MockInterfaceDetachVolumeCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockInterfaceDetachVolumeCall) Return

Return rewrite *gomock.Call.Return

type MockInterfaceFindAvailableIPsCall

type MockInterfaceFindAvailableIPsCall struct {
	*gomock.Call
}

MockInterfaceFindAvailableIPsCall wrap *gomock.Call

func (*MockInterfaceFindAvailableIPsCall) Do

Do rewrite *gomock.Call.Do

func (*MockInterfaceFindAvailableIPsCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockInterfaceFindAvailableIPsCall) Return

Return rewrite *gomock.Call.Return

type MockInterfaceFindBackendCall

type MockInterfaceFindBackendCall struct {
	*gomock.Call
}

MockInterfaceFindBackendCall wrap *gomock.Call

func (*MockInterfaceFindBackendCall) Do

Do rewrite *gomock.Call.Do

func (*MockInterfaceFindBackendCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockInterfaceFindBackendCall) Return

Return rewrite *gomock.Call.Return

type MockInterfaceFindClusterCall added in v0.1.3

type MockInterfaceFindClusterCall struct {
	*gomock.Call
}

MockInterfaceFindClusterCall wrap *gomock.Call

func (*MockInterfaceFindClusterCall) Do added in v0.1.3

Do rewrite *gomock.Call.Do

func (*MockInterfaceFindClusterCall) DoAndReturn added in v0.1.3

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockInterfaceFindClusterCall) Return added in v0.1.3

Return rewrite *gomock.Call.Return

type MockInterfaceFindFrontendCall

type MockInterfaceFindFrontendCall struct {
	*gomock.Call
}

MockInterfaceFindFrontendCall wrap *gomock.Call

func (*MockInterfaceFindFrontendCall) Do

Do rewrite *gomock.Call.Do

func (*MockInterfaceFindFrontendCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockInterfaceFindFrontendCall) Return

Return rewrite *gomock.Call.Return

type MockInterfaceFindGatewayIPCall

type MockInterfaceFindGatewayIPCall struct {
	*gomock.Call
}

MockInterfaceFindGatewayIPCall wrap *gomock.Call

func (*MockInterfaceFindGatewayIPCall) Do

Do rewrite *gomock.Call.Do

func (*MockInterfaceFindGatewayIPCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockInterfaceFindGatewayIPCall) Return

Return rewrite *gomock.Call.Return

type MockInterfaceFindGatewaysCall

type MockInterfaceFindGatewaysCall struct {
	*gomock.Call
}

MockInterfaceFindGatewaysCall wrap *gomock.Call

func (*MockInterfaceFindGatewaysCall) Do

Do rewrite *gomock.Call.Do

func (*MockInterfaceFindGatewaysCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockInterfaceFindGatewaysCall) Return

Return rewrite *gomock.Call.Return

type MockInterfaceFindIPsCall

type MockInterfaceFindIPsCall struct {
	*gomock.Call
}

MockInterfaceFindIPsCall wrap *gomock.Call

func (*MockInterfaceFindIPsCall) Do

Do rewrite *gomock.Call.Do

func (*MockInterfaceFindIPsCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockInterfaceFindIPsCall) Return

Return rewrite *gomock.Call.Return

type MockInterfaceFindImageCall

type MockInterfaceFindImageCall struct {
	*gomock.Call
}

MockInterfaceFindImageCall wrap *gomock.Call

func (*MockInterfaceFindImageCall) Do

Do rewrite *gomock.Call.Do

func (*MockInterfaceFindImageCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockInterfaceFindImageCall) Return

Return rewrite *gomock.Call.Return

type MockInterfaceFindInstanceVolumeCall

type MockInterfaceFindInstanceVolumeCall struct {
	*gomock.Call
}

MockInterfaceFindInstanceVolumeCall wrap *gomock.Call

func (*MockInterfaceFindInstanceVolumeCall) Do

Do rewrite *gomock.Call.Do

func (*MockInterfaceFindInstanceVolumeCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockInterfaceFindInstanceVolumeCall) Return

Return rewrite *gomock.Call.Return

type MockInterfaceFindLBACLByNameCall

type MockInterfaceFindLBACLByNameCall struct {
	*gomock.Call
}

MockInterfaceFindLBACLByNameCall wrap *gomock.Call

func (*MockInterfaceFindLBACLByNameCall) Do

Do rewrite *gomock.Call.Do

func (*MockInterfaceFindLBACLByNameCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockInterfaceFindLBACLByNameCall) Return

Return rewrite *gomock.Call.Return

type MockInterfaceFindLBCall

type MockInterfaceFindLBCall struct {
	*gomock.Call
}

MockInterfaceFindLBCall wrap *gomock.Call

func (*MockInterfaceFindLBCall) Do

Do rewrite *gomock.Call.Do

func (*MockInterfaceFindLBCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockInterfaceFindLBCall) Return

func (c *MockInterfaceFindLBCall) Return(arg0 *lb.LB, arg1 error) *MockInterfaceFindLBCall

Return rewrite *gomock.Call.Return

type MockInterfaceFindLBIPCall

type MockInterfaceFindLBIPCall struct {
	*gomock.Call
}

MockInterfaceFindLBIPCall wrap *gomock.Call

func (*MockInterfaceFindLBIPCall) Do

Do rewrite *gomock.Call.Do

func (*MockInterfaceFindLBIPCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockInterfaceFindLBIPCall) Return

Return rewrite *gomock.Call.Return

type MockInterfaceFindLBPrivateNetworkCall

type MockInterfaceFindLBPrivateNetworkCall struct {
	*gomock.Call
}

MockInterfaceFindLBPrivateNetworkCall wrap *gomock.Call

func (*MockInterfaceFindLBPrivateNetworkCall) Do

Do rewrite *gomock.Call.Do

func (*MockInterfaceFindLBPrivateNetworkCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockInterfaceFindLBPrivateNetworkCall) Return

Return rewrite *gomock.Call.Return

type MockInterfaceFindLBServersIPsCall

type MockInterfaceFindLBServersIPsCall struct {
	*gomock.Call
}

MockInterfaceFindLBServersIPsCall wrap *gomock.Call

func (*MockInterfaceFindLBServersIPsCall) Do

Do rewrite *gomock.Call.Do

func (*MockInterfaceFindLBServersIPsCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockInterfaceFindLBServersIPsCall) Return

Return rewrite *gomock.Call.Return

type MockInterfaceFindLBsCall

type MockInterfaceFindLBsCall struct {
	*gomock.Call
}

MockInterfaceFindLBsCall wrap *gomock.Call

func (*MockInterfaceFindLBsCall) Do

Do rewrite *gomock.Call.Do

func (*MockInterfaceFindLBsCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockInterfaceFindLBsCall) Return

func (c *MockInterfaceFindLBsCall) Return(arg0 []*lb.LB, arg1 error) *MockInterfaceFindLBsCall

Return rewrite *gomock.Call.Return

type MockInterfaceFindPlacementGroupCall

type MockInterfaceFindPlacementGroupCall struct {
	*gomock.Call
}

MockInterfaceFindPlacementGroupCall wrap *gomock.Call

func (*MockInterfaceFindPlacementGroupCall) Do

Do rewrite *gomock.Call.Do

func (*MockInterfaceFindPlacementGroupCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockInterfaceFindPlacementGroupCall) Return

Return rewrite *gomock.Call.Return

type MockInterfaceFindPoolCall added in v0.1.3

type MockInterfaceFindPoolCall struct {
	*gomock.Call
}

MockInterfaceFindPoolCall wrap *gomock.Call

func (*MockInterfaceFindPoolCall) Do added in v0.1.3

Do rewrite *gomock.Call.Do

func (*MockInterfaceFindPoolCall) DoAndReturn added in v0.1.3

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockInterfaceFindPoolCall) Return added in v0.1.3

Return rewrite *gomock.Call.Return

type MockInterfaceFindPrivateNICIPsCall

type MockInterfaceFindPrivateNICIPsCall struct {
	*gomock.Call
}

MockInterfaceFindPrivateNICIPsCall wrap *gomock.Call

func (*MockInterfaceFindPrivateNICIPsCall) Do

Do rewrite *gomock.Call.Do

func (*MockInterfaceFindPrivateNICIPsCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockInterfaceFindPrivateNICIPsCall) Return

Return rewrite *gomock.Call.Return

type MockInterfaceFindPrivateNetworkCall

type MockInterfaceFindPrivateNetworkCall struct {
	*gomock.Call
}

MockInterfaceFindPrivateNetworkCall wrap *gomock.Call

func (*MockInterfaceFindPrivateNetworkCall) Do

Do rewrite *gomock.Call.Do

func (*MockInterfaceFindPrivateNetworkCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockInterfaceFindPrivateNetworkCall) Return

Return rewrite *gomock.Call.Return

type MockInterfaceFindSecurityGroupCall

type MockInterfaceFindSecurityGroupCall struct {
	*gomock.Call
}

MockInterfaceFindSecurityGroupCall wrap *gomock.Call

func (*MockInterfaceFindSecurityGroupCall) Do

Do rewrite *gomock.Call.Do

func (*MockInterfaceFindSecurityGroupCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockInterfaceFindSecurityGroupCall) Return

Return rewrite *gomock.Call.Return

type MockInterfaceFindServerCall

type MockInterfaceFindServerCall struct {
	*gomock.Call
}

MockInterfaceFindServerCall wrap *gomock.Call

func (*MockInterfaceFindServerCall) Do

Do rewrite *gomock.Call.Do

func (*MockInterfaceFindServerCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockInterfaceFindServerCall) Return

Return rewrite *gomock.Call.Return

type MockInterfaceFindVolumeCall

type MockInterfaceFindVolumeCall struct {
	*gomock.Call
}

MockInterfaceFindVolumeCall wrap *gomock.Call

func (*MockInterfaceFindVolumeCall) Do

Do rewrite *gomock.Call.Do

func (*MockInterfaceFindVolumeCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockInterfaceFindVolumeCall) Return

Return rewrite *gomock.Call.Return

type MockInterfaceGetAllServerUserDataCall

type MockInterfaceGetAllServerUserDataCall struct {
	*gomock.Call
}

MockInterfaceGetAllServerUserDataCall wrap *gomock.Call

func (*MockInterfaceGetAllServerUserDataCall) Do

Do rewrite *gomock.Call.Do

func (*MockInterfaceGetAllServerUserDataCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockInterfaceGetAllServerUserDataCall) Return

Return rewrite *gomock.Call.Return

type MockInterfaceGetClusterKubeConfigCall added in v0.1.3

type MockInterfaceGetClusterKubeConfigCall struct {
	*gomock.Call
}

MockInterfaceGetClusterKubeConfigCall wrap *gomock.Call

func (*MockInterfaceGetClusterKubeConfigCall) Do added in v0.1.3

Do rewrite *gomock.Call.Do

func (*MockInterfaceGetClusterKubeConfigCall) DoAndReturn added in v0.1.3

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockInterfaceGetClusterKubeConfigCall) Return added in v0.1.3

Return rewrite *gomock.Call.Return

type MockInterfaceGetControlPlaneZonesCall

type MockInterfaceGetControlPlaneZonesCall struct {
	*gomock.Call
}

MockInterfaceGetControlPlaneZonesCall wrap *gomock.Call

func (*MockInterfaceGetControlPlaneZonesCall) Do

Do rewrite *gomock.Call.Do

func (*MockInterfaceGetControlPlaneZonesCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockInterfaceGetControlPlaneZonesCall) Return

Return rewrite *gomock.Call.Return

type MockInterfaceGetLocalImageByLabelCall

type MockInterfaceGetLocalImageByLabelCall struct {
	*gomock.Call
}

MockInterfaceGetLocalImageByLabelCall wrap *gomock.Call

func (*MockInterfaceGetLocalImageByLabelCall) Do

Do rewrite *gomock.Call.Do

func (*MockInterfaceGetLocalImageByLabelCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockInterfaceGetLocalImageByLabelCall) Return

Return rewrite *gomock.Call.Return

type MockInterfaceGetPrivateNetworkCall

type MockInterfaceGetPrivateNetworkCall struct {
	*gomock.Call
}

MockInterfaceGetPrivateNetworkCall wrap *gomock.Call

func (*MockInterfaceGetPrivateNetworkCall) Do

Do rewrite *gomock.Call.Do

func (*MockInterfaceGetPrivateNetworkCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockInterfaceGetPrivateNetworkCall) Return

Return rewrite *gomock.Call.Return

type MockInterfaceGetSecretKeyCall added in v0.1.3

type MockInterfaceGetSecretKeyCall struct {
	*gomock.Call
}

MockInterfaceGetSecretKeyCall wrap *gomock.Call

func (*MockInterfaceGetSecretKeyCall) Do added in v0.1.3

Do rewrite *gomock.Call.Do

func (*MockInterfaceGetSecretKeyCall) DoAndReturn added in v0.1.3

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockInterfaceGetSecretKeyCall) Return added in v0.1.3

Return rewrite *gomock.Call.Return

type MockInterfaceGetZoneOrDefaultCall

type MockInterfaceGetZoneOrDefaultCall struct {
	*gomock.Call
}

MockInterfaceGetZoneOrDefaultCall wrap *gomock.Call

func (*MockInterfaceGetZoneOrDefaultCall) Do

Do rewrite *gomock.Call.Do

func (*MockInterfaceGetZoneOrDefaultCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockInterfaceGetZoneOrDefaultCall) Return

Return rewrite *gomock.Call.Return

type MockInterfaceListClusterACLRulesCall added in v0.1.3

type MockInterfaceListClusterACLRulesCall struct {
	*gomock.Call
}

MockInterfaceListClusterACLRulesCall wrap *gomock.Call

func (*MockInterfaceListClusterACLRulesCall) Do added in v0.1.3

Do rewrite *gomock.Call.Do

func (*MockInterfaceListClusterACLRulesCall) DoAndReturn added in v0.1.3

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockInterfaceListClusterACLRulesCall) Return added in v0.1.3

Return rewrite *gomock.Call.Return

type MockInterfaceListDNSZoneRecordsCall

type MockInterfaceListDNSZoneRecordsCall struct {
	*gomock.Call
}

MockInterfaceListDNSZoneRecordsCall wrap *gomock.Call

func (*MockInterfaceListDNSZoneRecordsCall) Do

Do rewrite *gomock.Call.Do

func (*MockInterfaceListDNSZoneRecordsCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockInterfaceListDNSZoneRecordsCall) Return

Return rewrite *gomock.Call.Return

type MockInterfaceListGatewayTypesCall

type MockInterfaceListGatewayTypesCall struct {
	*gomock.Call
}

MockInterfaceListGatewayTypesCall wrap *gomock.Call

func (*MockInterfaceListGatewayTypesCall) Do

Do rewrite *gomock.Call.Do

func (*MockInterfaceListGatewayTypesCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockInterfaceListGatewayTypesCall) Return

Return rewrite *gomock.Call.Return

type MockInterfaceListLBACLsCall

type MockInterfaceListLBACLsCall struct {
	*gomock.Call
}

MockInterfaceListLBACLsCall wrap *gomock.Call

func (*MockInterfaceListLBACLsCall) Do

Do rewrite *gomock.Call.Do

func (*MockInterfaceListLBACLsCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockInterfaceListLBACLsCall) Return

Return rewrite *gomock.Call.Return

type MockInterfaceListNodesCall added in v0.1.3

type MockInterfaceListNodesCall struct {
	*gomock.Call
}

MockInterfaceListNodesCall wrap *gomock.Call

func (*MockInterfaceListNodesCall) Do added in v0.1.3

Do rewrite *gomock.Call.Do

func (*MockInterfaceListNodesCall) DoAndReturn added in v0.1.3

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockInterfaceListNodesCall) Return added in v0.1.3

Return rewrite *gomock.Call.Return

type MockInterfaceMigrateLBCall

type MockInterfaceMigrateLBCall struct {
	*gomock.Call
}

MockInterfaceMigrateLBCall wrap *gomock.Call

func (*MockInterfaceMigrateLBCall) Do

Do rewrite *gomock.Call.Do

func (*MockInterfaceMigrateLBCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockInterfaceMigrateLBCall) Return

Return rewrite *gomock.Call.Return

type MockInterfaceMockRecorder

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

MockInterfaceMockRecorder is the mock recorder for MockInterface.

func (*MockInterfaceMockRecorder) AddBackendServer

func (mr *MockInterfaceMockRecorder) AddBackendServer(ctx, zone, backendID, ip any) *MockInterfaceAddBackendServerCall

AddBackendServer indicates an expected call of AddBackendServer.

func (*MockInterfaceMockRecorder) AttachLBPrivateNetwork

func (mr *MockInterfaceMockRecorder) AttachLBPrivateNetwork(ctx, zone, lbID, privateNetworkID, ipID any) *MockInterfaceAttachLBPrivateNetworkCall

AttachLBPrivateNetwork indicates an expected call of AttachLBPrivateNetwork.

func (*MockInterfaceMockRecorder) CleanAvailableIPs

func (mr *MockInterfaceMockRecorder) CleanAvailableIPs(ctx, privateNetworkID any) *MockInterfaceCleanAvailableIPsCall

CleanAvailableIPs indicates an expected call of CleanAvailableIPs.

func (*MockInterfaceMockRecorder) CreateBackend

func (mr *MockInterfaceMockRecorder) CreateBackend(ctx, zone, lbID, name, servers, port any) *MockInterfaceCreateBackendCall

CreateBackend indicates an expected call of CreateBackend.

func (*MockInterfaceMockRecorder) CreateCluster added in v0.1.3

func (mr *MockInterfaceMockRecorder) CreateCluster(ctx, name, clusterType, version, pnID, tags, featureGates, admissionPlugins, apiServerCertSANs, cni, autoscalerConfig, autoUpgrade, openIDConnectConfig, podCIDR, serviceCIDR any) *MockInterfaceCreateClusterCall

CreateCluster indicates an expected call of CreateCluster.

func (*MockInterfaceMockRecorder) CreateFrontend

func (mr *MockInterfaceMockRecorder) CreateFrontend(ctx, zone, lbID, name, backendID, port any) *MockInterfaceCreateFrontendCall

CreateFrontend indicates an expected call of CreateFrontend.

func (*MockInterfaceMockRecorder) CreateGateway

func (mr *MockInterfaceMockRecorder) CreateGateway(ctx, zone, name, gwType, tags, ipID any) *MockInterfaceCreateGatewayCall

CreateGateway indicates an expected call of CreateGateway.

func (*MockInterfaceMockRecorder) CreateGatewayNetwork

func (mr *MockInterfaceMockRecorder) CreateGatewayNetwork(ctx, zone, gatewayID, privateNetworkID any) *MockInterfaceCreateGatewayNetworkCall

CreateGatewayNetwork indicates an expected call of CreateGatewayNetwork.

func (*MockInterfaceMockRecorder) CreateIP

func (mr *MockInterfaceMockRecorder) CreateIP(ctx, zone, ipType, tags any) *MockInterfaceCreateIPCall

CreateIP indicates an expected call of CreateIP.

func (*MockInterfaceMockRecorder) CreateLB

func (mr *MockInterfaceMockRecorder) CreateLB(ctx, zone, name, lbType, ipID, private, tags any) *MockInterfaceCreateLBCall

CreateLB indicates an expected call of CreateLB.

func (*MockInterfaceMockRecorder) CreateLBACL

func (mr *MockInterfaceMockRecorder) CreateLBACL(ctx, zone, frontendID, name, index, action, matchedSubnets any) *MockInterfaceCreateLBACLCall

CreateLBACL indicates an expected call of CreateLBACL.

func (*MockInterfaceMockRecorder) CreatePool added in v0.1.3

func (mr *MockInterfaceMockRecorder) CreatePool(ctx, zone, clusterID, name, nodeType, placementGroupID, securityGroupID, autoscaling, autohealing, publicIPDisabled, size, minSize, maxSize, tags, kubeletArgs, rootVolumeType, rootVolumeSizeGB, upgradePolicy any) *MockInterfaceCreatePoolCall

CreatePool indicates an expected call of CreatePool.

func (*MockInterfaceMockRecorder) CreatePrivateNIC

func (mr *MockInterfaceMockRecorder) CreatePrivateNIC(ctx, zone, serverID, privateNetworkID any) *MockInterfaceCreatePrivateNICCall

CreatePrivateNIC indicates an expected call of CreatePrivateNIC.

func (*MockInterfaceMockRecorder) CreatePrivateNetwork

func (mr *MockInterfaceMockRecorder) CreatePrivateNetwork(ctx, name, vpcID, subnet, tags any) *MockInterfaceCreatePrivateNetworkCall

CreatePrivateNetwork indicates an expected call of CreatePrivateNetwork.

func (*MockInterfaceMockRecorder) CreateServer

func (mr *MockInterfaceMockRecorder) CreateServer(ctx, zone, name, commercialType, imageID, placementGroupID, securityGroupID, rootVolumeSize, rootVolumeType, tags any) *MockInterfaceCreateServerCall

CreateServer indicates an expected call of CreateServer.

func (*MockInterfaceMockRecorder) DefaultZone

DefaultZone indicates an expected call of DefaultZone.

func (*MockInterfaceMockRecorder) DeleteCluster added in v0.1.3

func (mr *MockInterfaceMockRecorder) DeleteCluster(ctx, id, withAdditionalResources any) *MockInterfaceDeleteClusterCall

DeleteCluster indicates an expected call of DeleteCluster.

func (*MockInterfaceMockRecorder) DeleteDNSZoneRecords

func (mr *MockInterfaceMockRecorder) DeleteDNSZoneRecords(ctx, zone, name any) *MockInterfaceDeleteDNSZoneRecordsCall

DeleteDNSZoneRecords indicates an expected call of DeleteDNSZoneRecords.

func (*MockInterfaceMockRecorder) DeleteGateway

func (mr *MockInterfaceMockRecorder) DeleteGateway(ctx, zone, id, deleteIP any) *MockInterfaceDeleteGatewayCall

DeleteGateway indicates an expected call of DeleteGateway.

func (*MockInterfaceMockRecorder) DeleteIP

func (mr *MockInterfaceMockRecorder) DeleteIP(ctx, zone, ipID any) *MockInterfaceDeleteIPCall

DeleteIP indicates an expected call of DeleteIP.

func (*MockInterfaceMockRecorder) DeleteInstanceVolume

func (mr *MockInterfaceMockRecorder) DeleteInstanceVolume(ctx, zone, volumeID any) *MockInterfaceDeleteInstanceVolumeCall

DeleteInstanceVolume indicates an expected call of DeleteInstanceVolume.

func (*MockInterfaceMockRecorder) DeleteLB

func (mr *MockInterfaceMockRecorder) DeleteLB(ctx, zone, id, releaseIP any) *MockInterfaceDeleteLBCall

DeleteLB indicates an expected call of DeleteLB.

func (*MockInterfaceMockRecorder) DeleteLBACL

func (mr *MockInterfaceMockRecorder) DeleteLBACL(ctx, zone, aclID any) *MockInterfaceDeleteLBACLCall

DeleteLBACL indicates an expected call of DeleteLBACL.

func (*MockInterfaceMockRecorder) DeletePool added in v0.1.3

DeletePool indicates an expected call of DeletePool.

func (*MockInterfaceMockRecorder) DeletePrivateNetwork

func (mr *MockInterfaceMockRecorder) DeletePrivateNetwork(ctx, id any) *MockInterfaceDeletePrivateNetworkCall

DeletePrivateNetwork indicates an expected call of DeletePrivateNetwork.

func (*MockInterfaceMockRecorder) DeleteServer

func (mr *MockInterfaceMockRecorder) DeleteServer(ctx, zone, serverID any) *MockInterfaceDeleteServerCall

DeleteServer indicates an expected call of DeleteServer.

func (*MockInterfaceMockRecorder) DeleteServerUserData

func (mr *MockInterfaceMockRecorder) DeleteServerUserData(ctx, zone, serverID, key any) *MockInterfaceDeleteServerUserDataCall

DeleteServerUserData indicates an expected call of DeleteServerUserData.

func (*MockInterfaceMockRecorder) DeleteVolume

func (mr *MockInterfaceMockRecorder) DeleteVolume(ctx, zone, volumeID any) *MockInterfaceDeleteVolumeCall

DeleteVolume indicates an expected call of DeleteVolume.

func (*MockInterfaceMockRecorder) DetachVolume

func (mr *MockInterfaceMockRecorder) DetachVolume(ctx, zone, volumeID any) *MockInterfaceDetachVolumeCall

DetachVolume indicates an expected call of DetachVolume.

func (*MockInterfaceMockRecorder) FindAvailableIPs

func (mr *MockInterfaceMockRecorder) FindAvailableIPs(ctx, privateNetworkID any) *MockInterfaceFindAvailableIPsCall

FindAvailableIPs indicates an expected call of FindAvailableIPs.

func (*MockInterfaceMockRecorder) FindBackend

func (mr *MockInterfaceMockRecorder) FindBackend(ctx, zone, lbID, name any) *MockInterfaceFindBackendCall

FindBackend indicates an expected call of FindBackend.

func (*MockInterfaceMockRecorder) FindCluster added in v0.1.3

func (mr *MockInterfaceMockRecorder) FindCluster(ctx, name any) *MockInterfaceFindClusterCall

FindCluster indicates an expected call of FindCluster.

func (*MockInterfaceMockRecorder) FindFrontend

func (mr *MockInterfaceMockRecorder) FindFrontend(ctx, zone, lbID, name any) *MockInterfaceFindFrontendCall

FindFrontend indicates an expected call of FindFrontend.

func (*MockInterfaceMockRecorder) FindGatewayIP

func (mr *MockInterfaceMockRecorder) FindGatewayIP(ctx, zone, ip any) *MockInterfaceFindGatewayIPCall

FindGatewayIP indicates an expected call of FindGatewayIP.

func (*MockInterfaceMockRecorder) FindGateways

func (mr *MockInterfaceMockRecorder) FindGateways(ctx, tags any) *MockInterfaceFindGatewaysCall

FindGateways indicates an expected call of FindGateways.

func (*MockInterfaceMockRecorder) FindIPs

func (mr *MockInterfaceMockRecorder) FindIPs(ctx, zone, tags any) *MockInterfaceFindIPsCall

FindIPs indicates an expected call of FindIPs.

func (*MockInterfaceMockRecorder) FindImage

func (mr *MockInterfaceMockRecorder) FindImage(ctx, zone, name any) *MockInterfaceFindImageCall

FindImage indicates an expected call of FindImage.

func (*MockInterfaceMockRecorder) FindInstanceVolume

func (mr *MockInterfaceMockRecorder) FindInstanceVolume(ctx, zone, tags any) *MockInterfaceFindInstanceVolumeCall

FindInstanceVolume indicates an expected call of FindInstanceVolume.

func (*MockInterfaceMockRecorder) FindLB

func (mr *MockInterfaceMockRecorder) FindLB(ctx, zone, tags any) *MockInterfaceFindLBCall

FindLB indicates an expected call of FindLB.

func (*MockInterfaceMockRecorder) FindLBACLByName

func (mr *MockInterfaceMockRecorder) FindLBACLByName(ctx, zone, frontendID, name any) *MockInterfaceFindLBACLByNameCall

FindLBACLByName indicates an expected call of FindLBACLByName.

func (*MockInterfaceMockRecorder) FindLBIP

func (mr *MockInterfaceMockRecorder) FindLBIP(ctx, zone, ip any) *MockInterfaceFindLBIPCall

FindLBIP indicates an expected call of FindLBIP.

func (*MockInterfaceMockRecorder) FindLBPrivateNetwork

func (mr *MockInterfaceMockRecorder) FindLBPrivateNetwork(ctx, zone, lbID, privateNetworkID any) *MockInterfaceFindLBPrivateNetworkCall

FindLBPrivateNetwork indicates an expected call of FindLBPrivateNetwork.

func (*MockInterfaceMockRecorder) FindLBServersIPs

func (mr *MockInterfaceMockRecorder) FindLBServersIPs(ctx, privateNetworkID, lbIDs any) *MockInterfaceFindLBServersIPsCall

FindLBServersIPs indicates an expected call of FindLBServersIPs.

func (*MockInterfaceMockRecorder) FindLBs

func (mr *MockInterfaceMockRecorder) FindLBs(ctx, tags any) *MockInterfaceFindLBsCall

FindLBs indicates an expected call of FindLBs.

func (*MockInterfaceMockRecorder) FindPlacementGroup

func (mr *MockInterfaceMockRecorder) FindPlacementGroup(ctx, zone, name any) *MockInterfaceFindPlacementGroupCall

FindPlacementGroup indicates an expected call of FindPlacementGroup.

func (*MockInterfaceMockRecorder) FindPool added in v0.1.3

func (mr *MockInterfaceMockRecorder) FindPool(ctx, clusterID, name any) *MockInterfaceFindPoolCall

FindPool indicates an expected call of FindPool.

func (*MockInterfaceMockRecorder) FindPrivateNICIPs

func (mr *MockInterfaceMockRecorder) FindPrivateNICIPs(ctx, privateNICID any) *MockInterfaceFindPrivateNICIPsCall

FindPrivateNICIPs indicates an expected call of FindPrivateNICIPs.

func (*MockInterfaceMockRecorder) FindPrivateNetwork

func (mr *MockInterfaceMockRecorder) FindPrivateNetwork(ctx, tags, vpcID any) *MockInterfaceFindPrivateNetworkCall

FindPrivateNetwork indicates an expected call of FindPrivateNetwork.

func (*MockInterfaceMockRecorder) FindSecurityGroup

func (mr *MockInterfaceMockRecorder) FindSecurityGroup(ctx, zone, name any) *MockInterfaceFindSecurityGroupCall

FindSecurityGroup indicates an expected call of FindSecurityGroup.

func (*MockInterfaceMockRecorder) FindServer

func (mr *MockInterfaceMockRecorder) FindServer(ctx, zone, tags any) *MockInterfaceFindServerCall

FindServer indicates an expected call of FindServer.

func (*MockInterfaceMockRecorder) FindVolume

func (mr *MockInterfaceMockRecorder) FindVolume(ctx, zone, tags any) *MockInterfaceFindVolumeCall

FindVolume indicates an expected call of FindVolume.

func (*MockInterfaceMockRecorder) GetAllServerUserData

func (mr *MockInterfaceMockRecorder) GetAllServerUserData(ctx, zone, serverID any) *MockInterfaceGetAllServerUserDataCall

GetAllServerUserData indicates an expected call of GetAllServerUserData.

func (*MockInterfaceMockRecorder) GetClusterKubeConfig added in v0.1.3

func (mr *MockInterfaceMockRecorder) GetClusterKubeConfig(ctx, id any) *MockInterfaceGetClusterKubeConfigCall

GetClusterKubeConfig indicates an expected call of GetClusterKubeConfig.

func (*MockInterfaceMockRecorder) GetControlPlaneZones

GetControlPlaneZones indicates an expected call of GetControlPlaneZones.

func (*MockInterfaceMockRecorder) GetLocalImageByLabel

func (mr *MockInterfaceMockRecorder) GetLocalImageByLabel(ctx, zone, commercialType, imageLabel, imageType any) *MockInterfaceGetLocalImageByLabelCall

GetLocalImageByLabel indicates an expected call of GetLocalImageByLabel.

func (*MockInterfaceMockRecorder) GetPrivateNetwork

func (mr *MockInterfaceMockRecorder) GetPrivateNetwork(ctx, privateNetworkID any) *MockInterfaceGetPrivateNetworkCall

GetPrivateNetwork indicates an expected call of GetPrivateNetwork.

func (*MockInterfaceMockRecorder) GetSecretKey added in v0.1.3

GetSecretKey indicates an expected call of GetSecretKey.

func (*MockInterfaceMockRecorder) GetZoneOrDefault

GetZoneOrDefault indicates an expected call of GetZoneOrDefault.

func (*MockInterfaceMockRecorder) ListClusterACLRules added in v0.1.3

func (mr *MockInterfaceMockRecorder) ListClusterACLRules(ctx, clusterID any) *MockInterfaceListClusterACLRulesCall

ListClusterACLRules indicates an expected call of ListClusterACLRules.

func (*MockInterfaceMockRecorder) ListDNSZoneRecords

func (mr *MockInterfaceMockRecorder) ListDNSZoneRecords(ctx, zone, name any) *MockInterfaceListDNSZoneRecordsCall

ListDNSZoneRecords indicates an expected call of ListDNSZoneRecords.

func (*MockInterfaceMockRecorder) ListGatewayTypes

func (mr *MockInterfaceMockRecorder) ListGatewayTypes(ctx, zone any) *MockInterfaceListGatewayTypesCall

ListGatewayTypes indicates an expected call of ListGatewayTypes.

func (*MockInterfaceMockRecorder) ListLBACLs

func (mr *MockInterfaceMockRecorder) ListLBACLs(ctx, zone, frontendID any) *MockInterfaceListLBACLsCall

ListLBACLs indicates an expected call of ListLBACLs.

func (*MockInterfaceMockRecorder) ListNodes added in v0.1.3

func (mr *MockInterfaceMockRecorder) ListNodes(ctx, clusterID, poolID any) *MockInterfaceListNodesCall

ListNodes indicates an expected call of ListNodes.

func (*MockInterfaceMockRecorder) MigrateLB

func (mr *MockInterfaceMockRecorder) MigrateLB(ctx, zone, id, newType any) *MockInterfaceMigrateLBCall

MigrateLB indicates an expected call of MigrateLB.

func (*MockInterfaceMockRecorder) RemoveBackendServer

func (mr *MockInterfaceMockRecorder) RemoveBackendServer(ctx, zone, backendID, ip any) *MockInterfaceRemoveBackendServerCall

RemoveBackendServer indicates an expected call of RemoveBackendServer.

func (*MockInterfaceMockRecorder) ServerAction

func (mr *MockInterfaceMockRecorder) ServerAction(ctx, zone, serverID, action any) *MockInterfaceServerActionCall

ServerAction indicates an expected call of ServerAction.

func (*MockInterfaceMockRecorder) SetBackendServers

func (mr *MockInterfaceMockRecorder) SetBackendServers(ctx, zone, backendID, servers any) *MockInterfaceSetBackendServersCall

SetBackendServers indicates an expected call of SetBackendServers.

func (*MockInterfaceMockRecorder) SetClusterACLRules added in v0.1.3

func (mr *MockInterfaceMockRecorder) SetClusterACLRules(ctx, clusterID, rules any) *MockInterfaceSetClusterACLRulesCall

SetClusterACLRules indicates an expected call of SetClusterACLRules.

func (*MockInterfaceMockRecorder) SetClusterType added in v0.1.3

func (mr *MockInterfaceMockRecorder) SetClusterType(ctx, id, clusterType any) *MockInterfaceSetClusterTypeCall

SetClusterType indicates an expected call of SetClusterType.

func (*MockInterfaceMockRecorder) SetDNSZoneRecords

func (mr *MockInterfaceMockRecorder) SetDNSZoneRecords(ctx, zone, name, ips any) *MockInterfaceSetDNSZoneRecordsCall

SetDNSZoneRecords indicates an expected call of SetDNSZoneRecords.

func (*MockInterfaceMockRecorder) SetLBACLs

func (mr *MockInterfaceMockRecorder) SetLBACLs(ctx, zone, frontendID, acls any) *MockInterfaceSetLBACLsCall

SetLBACLs indicates an expected call of SetLBACLs.

func (*MockInterfaceMockRecorder) SetServerUserData

func (mr *MockInterfaceMockRecorder) SetServerUserData(ctx, zone, serverID, key, content any) *MockInterfaceSetServerUserDataCall

SetServerUserData indicates an expected call of SetServerUserData.

func (*MockInterfaceMockRecorder) UpdateCluster added in v0.1.3

func (mr *MockInterfaceMockRecorder) UpdateCluster(ctx, id, tags, featureGates, admissionPlugins, apiServerCertSANs, autoscalerConfig, autoUpgrade, openIDConnectConfig any) *MockInterfaceUpdateClusterCall

UpdateCluster indicates an expected call of UpdateCluster.

func (*MockInterfaceMockRecorder) UpdateInstanceVolumeTags

func (mr *MockInterfaceMockRecorder) UpdateInstanceVolumeTags(ctx, zone, volumeID, tags any) *MockInterfaceUpdateInstanceVolumeTagsCall

UpdateInstanceVolumeTags indicates an expected call of UpdateInstanceVolumeTags.

func (*MockInterfaceMockRecorder) UpdateLBACL

func (mr *MockInterfaceMockRecorder) UpdateLBACL(ctx, zone, aclID, name, index, action, matchedSubnets any) *MockInterfaceUpdateLBACLCall

UpdateLBACL indicates an expected call of UpdateLBACL.

func (*MockInterfaceMockRecorder) UpdatePool added in v0.1.3

func (mr *MockInterfaceMockRecorder) UpdatePool(ctx, id, autoscaling, autohealing, size, minSize, maxSize, tags, kubeletArgs, upgradePolicy any) *MockInterfaceUpdatePoolCall

UpdatePool indicates an expected call of UpdatePool.

func (*MockInterfaceMockRecorder) UpdateServerPublicIPs

func (mr *MockInterfaceMockRecorder) UpdateServerPublicIPs(ctx, zone, id, publicIPIDs any) *MockInterfaceUpdateServerPublicIPsCall

UpdateServerPublicIPs indicates an expected call of UpdateServerPublicIPs.

func (*MockInterfaceMockRecorder) UpdateVolumeIOPS

func (mr *MockInterfaceMockRecorder) UpdateVolumeIOPS(ctx, zone, volumeID, iops any) *MockInterfaceUpdateVolumeIOPSCall

UpdateVolumeIOPS indicates an expected call of UpdateVolumeIOPS.

func (*MockInterfaceMockRecorder) UpdateVolumeTags

func (mr *MockInterfaceMockRecorder) UpdateVolumeTags(ctx, zone, volumeID, tags any) *MockInterfaceUpdateVolumeTagsCall

UpdateVolumeTags indicates an expected call of UpdateVolumeTags.

func (*MockInterfaceMockRecorder) UpgradeCluster added in v0.1.3

func (mr *MockInterfaceMockRecorder) UpgradeCluster(ctx, id, version any) *MockInterfaceUpgradeClusterCall

UpgradeCluster indicates an expected call of UpgradeCluster.

func (*MockInterfaceMockRecorder) UpgradeGateway

func (mr *MockInterfaceMockRecorder) UpgradeGateway(ctx, zone, gatewayID, newType any) *MockInterfaceUpgradeGatewayCall

UpgradeGateway indicates an expected call of UpgradeGateway.

func (*MockInterfaceMockRecorder) UpgradePool added in v0.1.3

func (mr *MockInterfaceMockRecorder) UpgradePool(ctx, id, version any) *MockInterfaceUpgradePoolCall

UpgradePool indicates an expected call of UpgradePool.

type MockInterfaceRemoveBackendServerCall

type MockInterfaceRemoveBackendServerCall struct {
	*gomock.Call
}

MockInterfaceRemoveBackendServerCall wrap *gomock.Call

func (*MockInterfaceRemoveBackendServerCall) Do

Do rewrite *gomock.Call.Do

func (*MockInterfaceRemoveBackendServerCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockInterfaceRemoveBackendServerCall) Return

Return rewrite *gomock.Call.Return

type MockInterfaceServerActionCall

type MockInterfaceServerActionCall struct {
	*gomock.Call
}

MockInterfaceServerActionCall wrap *gomock.Call

func (*MockInterfaceServerActionCall) Do

Do rewrite *gomock.Call.Do

func (*MockInterfaceServerActionCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockInterfaceServerActionCall) Return

Return rewrite *gomock.Call.Return

type MockInterfaceSetBackendServersCall

type MockInterfaceSetBackendServersCall struct {
	*gomock.Call
}

MockInterfaceSetBackendServersCall wrap *gomock.Call

func (*MockInterfaceSetBackendServersCall) Do

Do rewrite *gomock.Call.Do

func (*MockInterfaceSetBackendServersCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockInterfaceSetBackendServersCall) Return

Return rewrite *gomock.Call.Return

type MockInterfaceSetClusterACLRulesCall added in v0.1.3

type MockInterfaceSetClusterACLRulesCall struct {
	*gomock.Call
}

MockInterfaceSetClusterACLRulesCall wrap *gomock.Call

func (*MockInterfaceSetClusterACLRulesCall) Do added in v0.1.3

Do rewrite *gomock.Call.Do

func (*MockInterfaceSetClusterACLRulesCall) DoAndReturn added in v0.1.3

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockInterfaceSetClusterACLRulesCall) Return added in v0.1.3

Return rewrite *gomock.Call.Return

type MockInterfaceSetClusterTypeCall added in v0.1.3

type MockInterfaceSetClusterTypeCall struct {
	*gomock.Call
}

MockInterfaceSetClusterTypeCall wrap *gomock.Call

func (*MockInterfaceSetClusterTypeCall) Do added in v0.1.3

Do rewrite *gomock.Call.Do

func (*MockInterfaceSetClusterTypeCall) DoAndReturn added in v0.1.3

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockInterfaceSetClusterTypeCall) Return added in v0.1.3

Return rewrite *gomock.Call.Return

type MockInterfaceSetDNSZoneRecordsCall

type MockInterfaceSetDNSZoneRecordsCall struct {
	*gomock.Call
}

MockInterfaceSetDNSZoneRecordsCall wrap *gomock.Call

func (*MockInterfaceSetDNSZoneRecordsCall) Do

Do rewrite *gomock.Call.Do

func (*MockInterfaceSetDNSZoneRecordsCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockInterfaceSetDNSZoneRecordsCall) Return

Return rewrite *gomock.Call.Return

type MockInterfaceSetLBACLsCall

type MockInterfaceSetLBACLsCall struct {
	*gomock.Call
}

MockInterfaceSetLBACLsCall wrap *gomock.Call

func (*MockInterfaceSetLBACLsCall) Do

Do rewrite *gomock.Call.Do

func (*MockInterfaceSetLBACLsCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockInterfaceSetLBACLsCall) Return

Return rewrite *gomock.Call.Return

type MockInterfaceSetServerUserDataCall

type MockInterfaceSetServerUserDataCall struct {
	*gomock.Call
}

MockInterfaceSetServerUserDataCall wrap *gomock.Call

func (*MockInterfaceSetServerUserDataCall) Do

Do rewrite *gomock.Call.Do

func (*MockInterfaceSetServerUserDataCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockInterfaceSetServerUserDataCall) Return

Return rewrite *gomock.Call.Return

type MockInterfaceUpdateClusterCall added in v0.1.3

type MockInterfaceUpdateClusterCall struct {
	*gomock.Call
}

MockInterfaceUpdateClusterCall wrap *gomock.Call

func (*MockInterfaceUpdateClusterCall) DoAndReturn added in v0.1.3

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockInterfaceUpdateClusterCall) Return added in v0.1.3

Return rewrite *gomock.Call.Return

type MockInterfaceUpdateInstanceVolumeTagsCall

type MockInterfaceUpdateInstanceVolumeTagsCall struct {
	*gomock.Call
}

MockInterfaceUpdateInstanceVolumeTagsCall wrap *gomock.Call

func (*MockInterfaceUpdateInstanceVolumeTagsCall) Do

Do rewrite *gomock.Call.Do

func (*MockInterfaceUpdateInstanceVolumeTagsCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockInterfaceUpdateInstanceVolumeTagsCall) Return

Return rewrite *gomock.Call.Return

type MockInterfaceUpdateLBACLCall

type MockInterfaceUpdateLBACLCall struct {
	*gomock.Call
}

MockInterfaceUpdateLBACLCall wrap *gomock.Call

func (*MockInterfaceUpdateLBACLCall) Do

Do rewrite *gomock.Call.Do

func (*MockInterfaceUpdateLBACLCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockInterfaceUpdateLBACLCall) Return

Return rewrite *gomock.Call.Return

type MockInterfaceUpdatePoolCall added in v0.1.3

type MockInterfaceUpdatePoolCall struct {
	*gomock.Call
}

MockInterfaceUpdatePoolCall wrap *gomock.Call

func (*MockInterfaceUpdatePoolCall) Do added in v0.1.3

Do rewrite *gomock.Call.Do

func (*MockInterfaceUpdatePoolCall) DoAndReturn added in v0.1.3

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockInterfaceUpdatePoolCall) Return added in v0.1.3

Return rewrite *gomock.Call.Return

type MockInterfaceUpdateServerPublicIPsCall

type MockInterfaceUpdateServerPublicIPsCall struct {
	*gomock.Call
}

MockInterfaceUpdateServerPublicIPsCall wrap *gomock.Call

func (*MockInterfaceUpdateServerPublicIPsCall) Do

Do rewrite *gomock.Call.Do

func (*MockInterfaceUpdateServerPublicIPsCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockInterfaceUpdateServerPublicIPsCall) Return

Return rewrite *gomock.Call.Return

type MockInterfaceUpdateVolumeIOPSCall

type MockInterfaceUpdateVolumeIOPSCall struct {
	*gomock.Call
}

MockInterfaceUpdateVolumeIOPSCall wrap *gomock.Call

func (*MockInterfaceUpdateVolumeIOPSCall) Do

Do rewrite *gomock.Call.Do

func (*MockInterfaceUpdateVolumeIOPSCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockInterfaceUpdateVolumeIOPSCall) Return

Return rewrite *gomock.Call.Return

type MockInterfaceUpdateVolumeTagsCall

type MockInterfaceUpdateVolumeTagsCall struct {
	*gomock.Call
}

MockInterfaceUpdateVolumeTagsCall wrap *gomock.Call

func (*MockInterfaceUpdateVolumeTagsCall) Do

Do rewrite *gomock.Call.Do

func (*MockInterfaceUpdateVolumeTagsCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockInterfaceUpdateVolumeTagsCall) Return

Return rewrite *gomock.Call.Return

type MockInterfaceUpgradeClusterCall added in v0.1.3

type MockInterfaceUpgradeClusterCall struct {
	*gomock.Call
}

MockInterfaceUpgradeClusterCall wrap *gomock.Call

func (*MockInterfaceUpgradeClusterCall) Do added in v0.1.3

Do rewrite *gomock.Call.Do

func (*MockInterfaceUpgradeClusterCall) DoAndReturn added in v0.1.3

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockInterfaceUpgradeClusterCall) Return added in v0.1.3

Return rewrite *gomock.Call.Return

type MockInterfaceUpgradeGatewayCall

type MockInterfaceUpgradeGatewayCall struct {
	*gomock.Call
}

MockInterfaceUpgradeGatewayCall wrap *gomock.Call

func (*MockInterfaceUpgradeGatewayCall) Do

Do rewrite *gomock.Call.Do

func (*MockInterfaceUpgradeGatewayCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockInterfaceUpgradeGatewayCall) Return

Return rewrite *gomock.Call.Return

type MockInterfaceUpgradePoolCall added in v0.1.3

type MockInterfaceUpgradePoolCall struct {
	*gomock.Call
}

MockInterfaceUpgradePoolCall wrap *gomock.Call

func (*MockInterfaceUpgradePoolCall) Do added in v0.1.3

Do rewrite *gomock.Call.Do

func (*MockInterfaceUpgradePoolCall) DoAndReturn added in v0.1.3

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockInterfaceUpgradePoolCall) Return added in v0.1.3

Return rewrite *gomock.Call.Return

type MockK8s added in v0.1.3

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

MockK8s is a mock of K8s interface.

func NewMockK8s added in v0.1.3

func NewMockK8s(ctrl *gomock.Controller) *MockK8s

NewMockK8s creates a new mock instance.

func (*MockK8s) CreateCluster added in v0.1.3

func (m *MockK8s) CreateCluster(ctx context.Context, name, clusterType, version string, pnID *string, tags, featureGates, admissionPlugins, apiServerCertSANs []string, cni k8s.CNI, autoscalerConfig *k8s.CreateClusterRequestAutoscalerConfig, autoUpgrade *k8s.CreateClusterRequestAutoUpgrade, openIDConnectConfig *k8s.CreateClusterRequestOpenIDConnectConfig, podCIDR, serviceCIDR scw.IPNet) (*k8s.Cluster, error)

CreateCluster mocks base method.

func (*MockK8s) CreatePool added in v0.1.3

func (m *MockK8s) CreatePool(ctx context.Context, zone scw.Zone, clusterID, name, nodeType string, placementGroupID, securityGroupID *string, autoscaling, autohealing, publicIPDisabled bool, size uint32, minSize, maxSize *uint32, tags []string, kubeletArgs map[string]string, rootVolumeType k8s.PoolVolumeType, rootVolumeSizeGB *uint64, upgradePolicy *k8s.CreatePoolRequestUpgradePolicy) (*k8s.Pool, error)

CreatePool mocks base method.

func (*MockK8s) DeleteCluster added in v0.1.3

func (m *MockK8s) DeleteCluster(ctx context.Context, id string, withAdditionalResources bool) error

DeleteCluster mocks base method.

func (*MockK8s) DeletePool added in v0.1.3

func (m *MockK8s) DeletePool(ctx context.Context, id string) error

DeletePool mocks base method.

func (*MockK8s) EXPECT added in v0.1.3

func (m *MockK8s) EXPECT() *MockK8sMockRecorder

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

func (*MockK8s) FindCluster added in v0.1.3

func (m *MockK8s) FindCluster(ctx context.Context, name string) (*k8s.Cluster, error)

FindCluster mocks base method.

func (*MockK8s) FindPool added in v0.1.3

func (m *MockK8s) FindPool(ctx context.Context, clusterID, name string) (*k8s.Pool, error)

FindPool mocks base method.

func (*MockK8s) GetClusterKubeConfig added in v0.1.3

func (m *MockK8s) GetClusterKubeConfig(ctx context.Context, id string) (*k8s.Kubeconfig, error)

GetClusterKubeConfig mocks base method.

func (*MockK8s) ListClusterACLRules added in v0.1.3

func (m *MockK8s) ListClusterACLRules(ctx context.Context, clusterID string) ([]*k8s.ACLRule, error)

ListClusterACLRules mocks base method.

func (*MockK8s) ListNodes added in v0.1.3

func (m *MockK8s) ListNodes(ctx context.Context, clusterID, poolID string) ([]*k8s.Node, error)

ListNodes mocks base method.

func (*MockK8s) SetClusterACLRules added in v0.1.3

func (m *MockK8s) SetClusterACLRules(ctx context.Context, clusterID string, rules []*k8s.ACLRuleRequest) error

SetClusterACLRules mocks base method.

func (*MockK8s) SetClusterType added in v0.1.3

func (m *MockK8s) SetClusterType(ctx context.Context, id, clusterType string) error

SetClusterType mocks base method.

func (*MockK8s) UpdateCluster added in v0.1.3

func (m *MockK8s) UpdateCluster(ctx context.Context, id string, tags, featureGates, admissionPlugins, apiServerCertSANs *[]string, autoscalerConfig *k8s.UpdateClusterRequestAutoscalerConfig, autoUpgrade *k8s.UpdateClusterRequestAutoUpgrade, openIDConnectConfig *k8s.UpdateClusterRequestOpenIDConnectConfig) error

UpdateCluster mocks base method.

func (*MockK8s) UpdatePool added in v0.1.3

func (m *MockK8s) UpdatePool(ctx context.Context, id string, autoscaling, autohealing *bool, size, minSize, maxSize *uint32, tags *[]string, kubeletArgs *map[string]string, upgradePolicy *k8s.UpdatePoolRequestUpgradePolicy) error

UpdatePool mocks base method.

func (*MockK8s) UpgradeCluster added in v0.1.3

func (m *MockK8s) UpgradeCluster(ctx context.Context, id, version string) error

UpgradeCluster mocks base method.

func (*MockK8s) UpgradePool added in v0.1.3

func (m *MockK8s) UpgradePool(ctx context.Context, id, version string) error

UpgradePool mocks base method.

type MockK8sAPI added in v0.1.3

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

MockK8sAPI is a mock of K8sAPI interface.

func NewMockK8sAPI added in v0.1.3

func NewMockK8sAPI(ctrl *gomock.Controller) *MockK8sAPI

NewMockK8sAPI creates a new mock instance.

func (*MockK8sAPI) CreateCluster added in v0.1.3

func (m *MockK8sAPI) CreateCluster(req *k8s.CreateClusterRequest, opts ...scw.RequestOption) (*k8s.Cluster, error)

CreateCluster mocks base method.

func (*MockK8sAPI) CreatePool added in v0.1.3

func (m *MockK8sAPI) CreatePool(req *k8s.CreatePoolRequest, opts ...scw.RequestOption) (*k8s.Pool, error)

CreatePool mocks base method.

func (*MockK8sAPI) DeleteCluster added in v0.1.3

func (m *MockK8sAPI) DeleteCluster(req *k8s.DeleteClusterRequest, opts ...scw.RequestOption) (*k8s.Cluster, error)

DeleteCluster mocks base method.

func (*MockK8sAPI) DeletePool added in v0.1.3

func (m *MockK8sAPI) DeletePool(req *k8s.DeletePoolRequest, opts ...scw.RequestOption) (*k8s.Pool, error)

DeletePool mocks base method.

func (*MockK8sAPI) EXPECT added in v0.1.3

func (m *MockK8sAPI) EXPECT() *MockK8sAPIMockRecorder

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

func (*MockK8sAPI) GetClusterKubeConfig added in v0.1.3

func (m *MockK8sAPI) GetClusterKubeConfig(req *k8s.GetClusterKubeConfigRequest, opts ...scw.RequestOption) (*k8s.Kubeconfig, error)

GetClusterKubeConfig mocks base method.

func (*MockK8sAPI) ListClusterACLRules added in v0.1.3

ListClusterACLRules mocks base method.

func (*MockK8sAPI) ListClusters added in v0.1.3

func (m *MockK8sAPI) ListClusters(req *k8s.ListClustersRequest, opts ...scw.RequestOption) (*k8s.ListClustersResponse, error)

ListClusters mocks base method.

func (*MockK8sAPI) ListNodes added in v0.1.3

func (m *MockK8sAPI) ListNodes(req *k8s.ListNodesRequest, opts ...scw.RequestOption) (*k8s.ListNodesResponse, error)

ListNodes mocks base method.

func (*MockK8sAPI) ListPools added in v0.1.3

func (m *MockK8sAPI) ListPools(req *k8s.ListPoolsRequest, opts ...scw.RequestOption) (*k8s.ListPoolsResponse, error)

ListPools mocks base method.

func (*MockK8sAPI) SetClusterACLRules added in v0.1.3

SetClusterACLRules mocks base method.

func (*MockK8sAPI) SetClusterType added in v0.1.3

func (m *MockK8sAPI) SetClusterType(req *k8s.SetClusterTypeRequest, opts ...scw.RequestOption) (*k8s.Cluster, error)

SetClusterType mocks base method.

func (*MockK8sAPI) UpdateCluster added in v0.1.3

func (m *MockK8sAPI) UpdateCluster(req *k8s.UpdateClusterRequest, opts ...scw.RequestOption) (*k8s.Cluster, error)

UpdateCluster mocks base method.

func (*MockK8sAPI) UpdatePool added in v0.1.3

func (m *MockK8sAPI) UpdatePool(req *k8s.UpdatePoolRequest, opts ...scw.RequestOption) (*k8s.Pool, error)

UpdatePool mocks base method.

func (*MockK8sAPI) UpgradeCluster added in v0.1.3

func (m *MockK8sAPI) UpgradeCluster(req *k8s.UpgradeClusterRequest, opts ...scw.RequestOption) (*k8s.Cluster, error)

UpgradeCluster mocks base method.

func (*MockK8sAPI) UpgradePool added in v0.1.3

func (m *MockK8sAPI) UpgradePool(req *k8s.UpgradePoolRequest, opts ...scw.RequestOption) (*k8s.Pool, error)

UpgradePool mocks base method.

type MockK8sAPICreateClusterCall added in v0.1.3

type MockK8sAPICreateClusterCall struct {
	*gomock.Call
}

MockK8sAPICreateClusterCall wrap *gomock.Call

func (*MockK8sAPICreateClusterCall) Do added in v0.1.3

Do rewrite *gomock.Call.Do

func (*MockK8sAPICreateClusterCall) DoAndReturn added in v0.1.3

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockK8sAPICreateClusterCall) Return added in v0.1.3

Return rewrite *gomock.Call.Return

type MockK8sAPICreatePoolCall added in v0.1.3

type MockK8sAPICreatePoolCall struct {
	*gomock.Call
}

MockK8sAPICreatePoolCall wrap *gomock.Call

func (*MockK8sAPICreatePoolCall) Do added in v0.1.3

Do rewrite *gomock.Call.Do

func (*MockK8sAPICreatePoolCall) DoAndReturn added in v0.1.3

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockK8sAPICreatePoolCall) Return added in v0.1.3

Return rewrite *gomock.Call.Return

type MockK8sAPIDeleteClusterCall added in v0.1.3

type MockK8sAPIDeleteClusterCall struct {
	*gomock.Call
}

MockK8sAPIDeleteClusterCall wrap *gomock.Call

func (*MockK8sAPIDeleteClusterCall) Do added in v0.1.3

Do rewrite *gomock.Call.Do

func (*MockK8sAPIDeleteClusterCall) DoAndReturn added in v0.1.3

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockK8sAPIDeleteClusterCall) Return added in v0.1.3

Return rewrite *gomock.Call.Return

type MockK8sAPIDeletePoolCall added in v0.1.3

type MockK8sAPIDeletePoolCall struct {
	*gomock.Call
}

MockK8sAPIDeletePoolCall wrap *gomock.Call

func (*MockK8sAPIDeletePoolCall) Do added in v0.1.3

Do rewrite *gomock.Call.Do

func (*MockK8sAPIDeletePoolCall) DoAndReturn added in v0.1.3

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockK8sAPIDeletePoolCall) Return added in v0.1.3

Return rewrite *gomock.Call.Return

type MockK8sAPIGetClusterKubeConfigCall added in v0.1.3

type MockK8sAPIGetClusterKubeConfigCall struct {
	*gomock.Call
}

MockK8sAPIGetClusterKubeConfigCall wrap *gomock.Call

func (*MockK8sAPIGetClusterKubeConfigCall) Do added in v0.1.3

Do rewrite *gomock.Call.Do

func (*MockK8sAPIGetClusterKubeConfigCall) DoAndReturn added in v0.1.3

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockK8sAPIGetClusterKubeConfigCall) Return added in v0.1.3

Return rewrite *gomock.Call.Return

type MockK8sAPIListClusterACLRulesCall added in v0.1.3

type MockK8sAPIListClusterACLRulesCall struct {
	*gomock.Call
}

MockK8sAPIListClusterACLRulesCall wrap *gomock.Call

func (*MockK8sAPIListClusterACLRulesCall) Do added in v0.1.3

Do rewrite *gomock.Call.Do

func (*MockK8sAPIListClusterACLRulesCall) DoAndReturn added in v0.1.3

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockK8sAPIListClusterACLRulesCall) Return added in v0.1.3

Return rewrite *gomock.Call.Return

type MockK8sAPIListClustersCall added in v0.1.3

type MockK8sAPIListClustersCall struct {
	*gomock.Call
}

MockK8sAPIListClustersCall wrap *gomock.Call

func (*MockK8sAPIListClustersCall) Do added in v0.1.3

Do rewrite *gomock.Call.Do

func (*MockK8sAPIListClustersCall) DoAndReturn added in v0.1.3

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockK8sAPIListClustersCall) Return added in v0.1.3

Return rewrite *gomock.Call.Return

type MockK8sAPIListNodesCall added in v0.1.3

type MockK8sAPIListNodesCall struct {
	*gomock.Call
}

MockK8sAPIListNodesCall wrap *gomock.Call

func (*MockK8sAPIListNodesCall) Do added in v0.1.3

Do rewrite *gomock.Call.Do

func (*MockK8sAPIListNodesCall) DoAndReturn added in v0.1.3

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockK8sAPIListNodesCall) Return added in v0.1.3

Return rewrite *gomock.Call.Return

type MockK8sAPIListPoolsCall added in v0.1.3

type MockK8sAPIListPoolsCall struct {
	*gomock.Call
}

MockK8sAPIListPoolsCall wrap *gomock.Call

func (*MockK8sAPIListPoolsCall) Do added in v0.1.3

Do rewrite *gomock.Call.Do

func (*MockK8sAPIListPoolsCall) DoAndReturn added in v0.1.3

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockK8sAPIListPoolsCall) Return added in v0.1.3

Return rewrite *gomock.Call.Return

type MockK8sAPIMockRecorder added in v0.1.3

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

MockK8sAPIMockRecorder is the mock recorder for MockK8sAPI.

func (*MockK8sAPIMockRecorder) CreateCluster added in v0.1.3

func (mr *MockK8sAPIMockRecorder) CreateCluster(req any, opts ...any) *MockK8sAPICreateClusterCall

CreateCluster indicates an expected call of CreateCluster.

func (*MockK8sAPIMockRecorder) CreatePool added in v0.1.3

func (mr *MockK8sAPIMockRecorder) CreatePool(req any, opts ...any) *MockK8sAPICreatePoolCall

CreatePool indicates an expected call of CreatePool.

func (*MockK8sAPIMockRecorder) DeleteCluster added in v0.1.3

func (mr *MockK8sAPIMockRecorder) DeleteCluster(req any, opts ...any) *MockK8sAPIDeleteClusterCall

DeleteCluster indicates an expected call of DeleteCluster.

func (*MockK8sAPIMockRecorder) DeletePool added in v0.1.3

func (mr *MockK8sAPIMockRecorder) DeletePool(req any, opts ...any) *MockK8sAPIDeletePoolCall

DeletePool indicates an expected call of DeletePool.

func (*MockK8sAPIMockRecorder) GetClusterKubeConfig added in v0.1.3

func (mr *MockK8sAPIMockRecorder) GetClusterKubeConfig(req any, opts ...any) *MockK8sAPIGetClusterKubeConfigCall

GetClusterKubeConfig indicates an expected call of GetClusterKubeConfig.

func (*MockK8sAPIMockRecorder) ListClusterACLRules added in v0.1.3

func (mr *MockK8sAPIMockRecorder) ListClusterACLRules(req any, opts ...any) *MockK8sAPIListClusterACLRulesCall

ListClusterACLRules indicates an expected call of ListClusterACLRules.

func (*MockK8sAPIMockRecorder) ListClusters added in v0.1.3

func (mr *MockK8sAPIMockRecorder) ListClusters(req any, opts ...any) *MockK8sAPIListClustersCall

ListClusters indicates an expected call of ListClusters.

func (*MockK8sAPIMockRecorder) ListNodes added in v0.1.3

func (mr *MockK8sAPIMockRecorder) ListNodes(req any, opts ...any) *MockK8sAPIListNodesCall

ListNodes indicates an expected call of ListNodes.

func (*MockK8sAPIMockRecorder) ListPools added in v0.1.3

func (mr *MockK8sAPIMockRecorder) ListPools(req any, opts ...any) *MockK8sAPIListPoolsCall

ListPools indicates an expected call of ListPools.

func (*MockK8sAPIMockRecorder) SetClusterACLRules added in v0.1.3

func (mr *MockK8sAPIMockRecorder) SetClusterACLRules(req any, opts ...any) *MockK8sAPISetClusterACLRulesCall

SetClusterACLRules indicates an expected call of SetClusterACLRules.

func (*MockK8sAPIMockRecorder) SetClusterType added in v0.1.3

func (mr *MockK8sAPIMockRecorder) SetClusterType(req any, opts ...any) *MockK8sAPISetClusterTypeCall

SetClusterType indicates an expected call of SetClusterType.

func (*MockK8sAPIMockRecorder) UpdateCluster added in v0.1.3

func (mr *MockK8sAPIMockRecorder) UpdateCluster(req any, opts ...any) *MockK8sAPIUpdateClusterCall

UpdateCluster indicates an expected call of UpdateCluster.

func (*MockK8sAPIMockRecorder) UpdatePool added in v0.1.3

func (mr *MockK8sAPIMockRecorder) UpdatePool(req any, opts ...any) *MockK8sAPIUpdatePoolCall

UpdatePool indicates an expected call of UpdatePool.

func (*MockK8sAPIMockRecorder) UpgradeCluster added in v0.1.3

func (mr *MockK8sAPIMockRecorder) UpgradeCluster(req any, opts ...any) *MockK8sAPIUpgradeClusterCall

UpgradeCluster indicates an expected call of UpgradeCluster.

func (*MockK8sAPIMockRecorder) UpgradePool added in v0.1.3

func (mr *MockK8sAPIMockRecorder) UpgradePool(req any, opts ...any) *MockK8sAPIUpgradePoolCall

UpgradePool indicates an expected call of UpgradePool.

type MockK8sAPISetClusterACLRulesCall added in v0.1.3

type MockK8sAPISetClusterACLRulesCall struct {
	*gomock.Call
}

MockK8sAPISetClusterACLRulesCall wrap *gomock.Call

func (*MockK8sAPISetClusterACLRulesCall) Do added in v0.1.3

Do rewrite *gomock.Call.Do

func (*MockK8sAPISetClusterACLRulesCall) DoAndReturn added in v0.1.3

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockK8sAPISetClusterACLRulesCall) Return added in v0.1.3

Return rewrite *gomock.Call.Return

type MockK8sAPISetClusterTypeCall added in v0.1.3

type MockK8sAPISetClusterTypeCall struct {
	*gomock.Call
}

MockK8sAPISetClusterTypeCall wrap *gomock.Call

func (*MockK8sAPISetClusterTypeCall) Do added in v0.1.3

Do rewrite *gomock.Call.Do

func (*MockK8sAPISetClusterTypeCall) DoAndReturn added in v0.1.3

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockK8sAPISetClusterTypeCall) Return added in v0.1.3

Return rewrite *gomock.Call.Return

type MockK8sAPIUpdateClusterCall added in v0.1.3

type MockK8sAPIUpdateClusterCall struct {
	*gomock.Call
}

MockK8sAPIUpdateClusterCall wrap *gomock.Call

func (*MockK8sAPIUpdateClusterCall) Do added in v0.1.3

Do rewrite *gomock.Call.Do

func (*MockK8sAPIUpdateClusterCall) DoAndReturn added in v0.1.3

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockK8sAPIUpdateClusterCall) Return added in v0.1.3

Return rewrite *gomock.Call.Return

type MockK8sAPIUpdatePoolCall added in v0.1.3

type MockK8sAPIUpdatePoolCall struct {
	*gomock.Call
}

MockK8sAPIUpdatePoolCall wrap *gomock.Call

func (*MockK8sAPIUpdatePoolCall) Do added in v0.1.3

Do rewrite *gomock.Call.Do

func (*MockK8sAPIUpdatePoolCall) DoAndReturn added in v0.1.3

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockK8sAPIUpdatePoolCall) Return added in v0.1.3

Return rewrite *gomock.Call.Return

type MockK8sAPIUpgradeClusterCall added in v0.1.3

type MockK8sAPIUpgradeClusterCall struct {
	*gomock.Call
}

MockK8sAPIUpgradeClusterCall wrap *gomock.Call

func (*MockK8sAPIUpgradeClusterCall) Do added in v0.1.3

Do rewrite *gomock.Call.Do

func (*MockK8sAPIUpgradeClusterCall) DoAndReturn added in v0.1.3

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockK8sAPIUpgradeClusterCall) Return added in v0.1.3

Return rewrite *gomock.Call.Return

type MockK8sAPIUpgradePoolCall added in v0.1.3

type MockK8sAPIUpgradePoolCall struct {
	*gomock.Call
}

MockK8sAPIUpgradePoolCall wrap *gomock.Call

func (*MockK8sAPIUpgradePoolCall) Do added in v0.1.3

Do rewrite *gomock.Call.Do

func (*MockK8sAPIUpgradePoolCall) DoAndReturn added in v0.1.3

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockK8sAPIUpgradePoolCall) Return added in v0.1.3

Return rewrite *gomock.Call.Return

type MockK8sCreateClusterCall added in v0.1.3

type MockK8sCreateClusterCall struct {
	*gomock.Call
}

MockK8sCreateClusterCall wrap *gomock.Call

func (*MockK8sCreateClusterCall) DoAndReturn added in v0.1.3

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockK8sCreateClusterCall) Return added in v0.1.3

Return rewrite *gomock.Call.Return

type MockK8sCreatePoolCall added in v0.1.3

type MockK8sCreatePoolCall struct {
	*gomock.Call
}

MockK8sCreatePoolCall wrap *gomock.Call

func (*MockK8sCreatePoolCall) Do added in v0.1.3

Do rewrite *gomock.Call.Do

func (*MockK8sCreatePoolCall) DoAndReturn added in v0.1.3

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockK8sCreatePoolCall) Return added in v0.1.3

func (c *MockK8sCreatePoolCall) Return(arg0 *k8s.Pool, arg1 error) *MockK8sCreatePoolCall

Return rewrite *gomock.Call.Return

type MockK8sDeleteClusterCall added in v0.1.3

type MockK8sDeleteClusterCall struct {
	*gomock.Call
}

MockK8sDeleteClusterCall wrap *gomock.Call

func (*MockK8sDeleteClusterCall) Do added in v0.1.3

Do rewrite *gomock.Call.Do

func (*MockK8sDeleteClusterCall) DoAndReturn added in v0.1.3

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockK8sDeleteClusterCall) Return added in v0.1.3

Return rewrite *gomock.Call.Return

type MockK8sDeletePoolCall added in v0.1.3

type MockK8sDeletePoolCall struct {
	*gomock.Call
}

MockK8sDeletePoolCall wrap *gomock.Call

func (*MockK8sDeletePoolCall) Do added in v0.1.3

Do rewrite *gomock.Call.Do

func (*MockK8sDeletePoolCall) DoAndReturn added in v0.1.3

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockK8sDeletePoolCall) Return added in v0.1.3

Return rewrite *gomock.Call.Return

type MockK8sFindClusterCall added in v0.1.3

type MockK8sFindClusterCall struct {
	*gomock.Call
}

MockK8sFindClusterCall wrap *gomock.Call

func (*MockK8sFindClusterCall) Do added in v0.1.3

Do rewrite *gomock.Call.Do

func (*MockK8sFindClusterCall) DoAndReturn added in v0.1.3

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockK8sFindClusterCall) Return added in v0.1.3

Return rewrite *gomock.Call.Return

type MockK8sFindPoolCall added in v0.1.3

type MockK8sFindPoolCall struct {
	*gomock.Call
}

MockK8sFindPoolCall wrap *gomock.Call

func (*MockK8sFindPoolCall) Do added in v0.1.3

Do rewrite *gomock.Call.Do

func (*MockK8sFindPoolCall) DoAndReturn added in v0.1.3

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockK8sFindPoolCall) Return added in v0.1.3

func (c *MockK8sFindPoolCall) Return(arg0 *k8s.Pool, arg1 error) *MockK8sFindPoolCall

Return rewrite *gomock.Call.Return

type MockK8sGetClusterKubeConfigCall added in v0.1.3

type MockK8sGetClusterKubeConfigCall struct {
	*gomock.Call
}

MockK8sGetClusterKubeConfigCall wrap *gomock.Call

func (*MockK8sGetClusterKubeConfigCall) Do added in v0.1.3

Do rewrite *gomock.Call.Do

func (*MockK8sGetClusterKubeConfigCall) DoAndReturn added in v0.1.3

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockK8sGetClusterKubeConfigCall) Return added in v0.1.3

Return rewrite *gomock.Call.Return

type MockK8sListClusterACLRulesCall added in v0.1.3

type MockK8sListClusterACLRulesCall struct {
	*gomock.Call
}

MockK8sListClusterACLRulesCall wrap *gomock.Call

func (*MockK8sListClusterACLRulesCall) Do added in v0.1.3

Do rewrite *gomock.Call.Do

func (*MockK8sListClusterACLRulesCall) DoAndReturn added in v0.1.3

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockK8sListClusterACLRulesCall) Return added in v0.1.3

Return rewrite *gomock.Call.Return

type MockK8sListNodesCall added in v0.1.3

type MockK8sListNodesCall struct {
	*gomock.Call
}

MockK8sListNodesCall wrap *gomock.Call

func (*MockK8sListNodesCall) Do added in v0.1.3

Do rewrite *gomock.Call.Do

func (*MockK8sListNodesCall) DoAndReturn added in v0.1.3

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockK8sListNodesCall) Return added in v0.1.3

func (c *MockK8sListNodesCall) Return(arg0 []*k8s.Node, arg1 error) *MockK8sListNodesCall

Return rewrite *gomock.Call.Return

type MockK8sMockRecorder added in v0.1.3

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

MockK8sMockRecorder is the mock recorder for MockK8s.

func (*MockK8sMockRecorder) CreateCluster added in v0.1.3

func (mr *MockK8sMockRecorder) CreateCluster(ctx, name, clusterType, version, pnID, tags, featureGates, admissionPlugins, apiServerCertSANs, cni, autoscalerConfig, autoUpgrade, openIDConnectConfig, podCIDR, serviceCIDR any) *MockK8sCreateClusterCall

CreateCluster indicates an expected call of CreateCluster.

func (*MockK8sMockRecorder) CreatePool added in v0.1.3

func (mr *MockK8sMockRecorder) CreatePool(ctx, zone, clusterID, name, nodeType, placementGroupID, securityGroupID, autoscaling, autohealing, publicIPDisabled, size, minSize, maxSize, tags, kubeletArgs, rootVolumeType, rootVolumeSizeGB, upgradePolicy any) *MockK8sCreatePoolCall

CreatePool indicates an expected call of CreatePool.

func (*MockK8sMockRecorder) DeleteCluster added in v0.1.3

func (mr *MockK8sMockRecorder) DeleteCluster(ctx, id, withAdditionalResources any) *MockK8sDeleteClusterCall

DeleteCluster indicates an expected call of DeleteCluster.

func (*MockK8sMockRecorder) DeletePool added in v0.1.3

func (mr *MockK8sMockRecorder) DeletePool(ctx, id any) *MockK8sDeletePoolCall

DeletePool indicates an expected call of DeletePool.

func (*MockK8sMockRecorder) FindCluster added in v0.1.3

func (mr *MockK8sMockRecorder) FindCluster(ctx, name any) *MockK8sFindClusterCall

FindCluster indicates an expected call of FindCluster.

func (*MockK8sMockRecorder) FindPool added in v0.1.3

func (mr *MockK8sMockRecorder) FindPool(ctx, clusterID, name any) *MockK8sFindPoolCall

FindPool indicates an expected call of FindPool.

func (*MockK8sMockRecorder) GetClusterKubeConfig added in v0.1.3

func (mr *MockK8sMockRecorder) GetClusterKubeConfig(ctx, id any) *MockK8sGetClusterKubeConfigCall

GetClusterKubeConfig indicates an expected call of GetClusterKubeConfig.

func (*MockK8sMockRecorder) ListClusterACLRules added in v0.1.3

func (mr *MockK8sMockRecorder) ListClusterACLRules(ctx, clusterID any) *MockK8sListClusterACLRulesCall

ListClusterACLRules indicates an expected call of ListClusterACLRules.

func (*MockK8sMockRecorder) ListNodes added in v0.1.3

func (mr *MockK8sMockRecorder) ListNodes(ctx, clusterID, poolID any) *MockK8sListNodesCall

ListNodes indicates an expected call of ListNodes.

func (*MockK8sMockRecorder) SetClusterACLRules added in v0.1.3

func (mr *MockK8sMockRecorder) SetClusterACLRules(ctx, clusterID, rules any) *MockK8sSetClusterACLRulesCall

SetClusterACLRules indicates an expected call of SetClusterACLRules.

func (*MockK8sMockRecorder) SetClusterType added in v0.1.3

func (mr *MockK8sMockRecorder) SetClusterType(ctx, id, clusterType any) *MockK8sSetClusterTypeCall

SetClusterType indicates an expected call of SetClusterType.

func (*MockK8sMockRecorder) UpdateCluster added in v0.1.3

func (mr *MockK8sMockRecorder) UpdateCluster(ctx, id, tags, featureGates, admissionPlugins, apiServerCertSANs, autoscalerConfig, autoUpgrade, openIDConnectConfig any) *MockK8sUpdateClusterCall

UpdateCluster indicates an expected call of UpdateCluster.

func (*MockK8sMockRecorder) UpdatePool added in v0.1.3

func (mr *MockK8sMockRecorder) UpdatePool(ctx, id, autoscaling, autohealing, size, minSize, maxSize, tags, kubeletArgs, upgradePolicy any) *MockK8sUpdatePoolCall

UpdatePool indicates an expected call of UpdatePool.

func (*MockK8sMockRecorder) UpgradeCluster added in v0.1.3

func (mr *MockK8sMockRecorder) UpgradeCluster(ctx, id, version any) *MockK8sUpgradeClusterCall

UpgradeCluster indicates an expected call of UpgradeCluster.

func (*MockK8sMockRecorder) UpgradePool added in v0.1.3

func (mr *MockK8sMockRecorder) UpgradePool(ctx, id, version any) *MockK8sUpgradePoolCall

UpgradePool indicates an expected call of UpgradePool.

type MockK8sSetClusterACLRulesCall added in v0.1.3

type MockK8sSetClusterACLRulesCall struct {
	*gomock.Call
}

MockK8sSetClusterACLRulesCall wrap *gomock.Call

func (*MockK8sSetClusterACLRulesCall) Do added in v0.1.3

Do rewrite *gomock.Call.Do

func (*MockK8sSetClusterACLRulesCall) DoAndReturn added in v0.1.3

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockK8sSetClusterACLRulesCall) Return added in v0.1.3

Return rewrite *gomock.Call.Return

type MockK8sSetClusterTypeCall added in v0.1.3

type MockK8sSetClusterTypeCall struct {
	*gomock.Call
}

MockK8sSetClusterTypeCall wrap *gomock.Call

func (*MockK8sSetClusterTypeCall) Do added in v0.1.3

Do rewrite *gomock.Call.Do

func (*MockK8sSetClusterTypeCall) DoAndReturn added in v0.1.3

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockK8sSetClusterTypeCall) Return added in v0.1.3

Return rewrite *gomock.Call.Return

type MockK8sUpdateClusterCall added in v0.1.3

type MockK8sUpdateClusterCall struct {
	*gomock.Call
}

MockK8sUpdateClusterCall wrap *gomock.Call

func (*MockK8sUpdateClusterCall) DoAndReturn added in v0.1.3

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockK8sUpdateClusterCall) Return added in v0.1.3

Return rewrite *gomock.Call.Return

type MockK8sUpdatePoolCall added in v0.1.3

type MockK8sUpdatePoolCall struct {
	*gomock.Call
}

MockK8sUpdatePoolCall wrap *gomock.Call

func (*MockK8sUpdatePoolCall) Do added in v0.1.3

Do rewrite *gomock.Call.Do

func (*MockK8sUpdatePoolCall) DoAndReturn added in v0.1.3

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockK8sUpdatePoolCall) Return added in v0.1.3

Return rewrite *gomock.Call.Return

type MockK8sUpgradeClusterCall added in v0.1.3

type MockK8sUpgradeClusterCall struct {
	*gomock.Call
}

MockK8sUpgradeClusterCall wrap *gomock.Call

func (*MockK8sUpgradeClusterCall) Do added in v0.1.3

Do rewrite *gomock.Call.Do

func (*MockK8sUpgradeClusterCall) DoAndReturn added in v0.1.3

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockK8sUpgradeClusterCall) Return added in v0.1.3

Return rewrite *gomock.Call.Return

type MockK8sUpgradePoolCall added in v0.1.3

type MockK8sUpgradePoolCall struct {
	*gomock.Call
}

MockK8sUpgradePoolCall wrap *gomock.Call

func (*MockK8sUpgradePoolCall) Do added in v0.1.3

Do rewrite *gomock.Call.Do

func (*MockK8sUpgradePoolCall) DoAndReturn added in v0.1.3

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockK8sUpgradePoolCall) Return added in v0.1.3

Return rewrite *gomock.Call.Return

type MockLB

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

MockLB is a mock of LB interface.

func NewMockLB

func NewMockLB(ctrl *gomock.Controller) *MockLB

NewMockLB creates a new mock instance.

func (*MockLB) AddBackendServer

func (m *MockLB) AddBackendServer(ctx context.Context, zone scw.Zone, backendID, ip string) error

AddBackendServer mocks base method.

func (*MockLB) AttachLBPrivateNetwork

func (m *MockLB) AttachLBPrivateNetwork(ctx context.Context, zone scw.Zone, lbID, privateNetworkID string, ipID *string) error

AttachLBPrivateNetwork mocks base method.

func (*MockLB) CreateBackend

func (m *MockLB) CreateBackend(ctx context.Context, zone scw.Zone, lbID, name string, servers []string, port int32) (*lb.Backend, error)

CreateBackend mocks base method.

func (*MockLB) CreateFrontend

func (m *MockLB) CreateFrontend(ctx context.Context, zone scw.Zone, lbID, name, backendID string, port int32) (*lb.Frontend, error)

CreateFrontend mocks base method.

func (*MockLB) CreateLB

func (m *MockLB) CreateLB(ctx context.Context, zone scw.Zone, name, lbType string, ipID *string, private bool, tags []string) (*lb.LB, error)

CreateLB mocks base method.

func (*MockLB) CreateLBACL

func (m *MockLB) CreateLBACL(ctx context.Context, zone scw.Zone, frontendID, name string, index int32, action lb.ACLActionType, matchedSubnets []string) error

CreateLBACL mocks base method.

func (*MockLB) DeleteLB

func (m *MockLB) DeleteLB(ctx context.Context, zone scw.Zone, id string, releaseIP bool) error

DeleteLB mocks base method.

func (*MockLB) DeleteLBACL

func (m *MockLB) DeleteLBACL(ctx context.Context, zone scw.Zone, aclID string) error

DeleteLBACL mocks base method.

func (*MockLB) EXPECT

func (m *MockLB) EXPECT() *MockLBMockRecorder

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

func (*MockLB) FindBackend

func (m *MockLB) FindBackend(ctx context.Context, zone scw.Zone, lbID, name string) (*lb.Backend, error)

FindBackend mocks base method.

func (*MockLB) FindFrontend

func (m *MockLB) FindFrontend(ctx context.Context, zone scw.Zone, lbID, name string) (*lb.Frontend, error)

FindFrontend mocks base method.

func (*MockLB) FindLB

func (m *MockLB) FindLB(ctx context.Context, zone scw.Zone, tags []string) (*lb.LB, error)

FindLB mocks base method.

func (*MockLB) FindLBACLByName

func (m *MockLB) FindLBACLByName(ctx context.Context, zone scw.Zone, frontendID, name string) (*lb.ACL, error)

FindLBACLByName mocks base method.

func (*MockLB) FindLBIP

func (m *MockLB) FindLBIP(ctx context.Context, zone scw.Zone, ip string) (*lb.IP, error)

FindLBIP mocks base method.

func (*MockLB) FindLBPrivateNetwork

func (m *MockLB) FindLBPrivateNetwork(ctx context.Context, zone scw.Zone, lbID, privateNetworkID string) (*lb.PrivateNetwork, error)

FindLBPrivateNetwork mocks base method.

func (*MockLB) FindLBs

func (m *MockLB) FindLBs(ctx context.Context, tags []string) ([]*lb.LB, error)

FindLBs mocks base method.

func (*MockLB) ListLBACLs

func (m *MockLB) ListLBACLs(ctx context.Context, zone scw.Zone, frontendID string) ([]*lb.ACL, error)

ListLBACLs mocks base method.

func (*MockLB) MigrateLB

func (m *MockLB) MigrateLB(ctx context.Context, zone scw.Zone, id, newType string) (*lb.LB, error)

MigrateLB mocks base method.

func (*MockLB) RemoveBackendServer

func (m *MockLB) RemoveBackendServer(ctx context.Context, zone scw.Zone, backendID, ip string) error

RemoveBackendServer mocks base method.

func (*MockLB) SetBackendServers

func (m *MockLB) SetBackendServers(ctx context.Context, zone scw.Zone, backendID string, servers []string) (*lb.Backend, error)

SetBackendServers mocks base method.

func (*MockLB) SetLBACLs

func (m *MockLB) SetLBACLs(ctx context.Context, zone scw.Zone, frontendID string, acls []*lb.ACLSpec) error

SetLBACLs mocks base method.

func (*MockLB) UpdateLBACL

func (m *MockLB) UpdateLBACL(ctx context.Context, zone scw.Zone, aclID, name string, index int32, action lb.ACLActionType, matchedSubnets []string) error

UpdateLBACL mocks base method.

type MockLBAPI

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

MockLBAPI is a mock of LBAPI interface.

func NewMockLBAPI

func NewMockLBAPI(ctrl *gomock.Controller) *MockLBAPI

NewMockLBAPI creates a new mock instance.

func (*MockLBAPI) AddBackendServers

func (m *MockLBAPI) AddBackendServers(req *lb.ZonedAPIAddBackendServersRequest, opts ...scw.RequestOption) (*lb.Backend, error)

AddBackendServers mocks base method.

func (*MockLBAPI) AttachPrivateNetwork

func (m *MockLBAPI) AttachPrivateNetwork(req *lb.ZonedAPIAttachPrivateNetworkRequest, opts ...scw.RequestOption) (*lb.PrivateNetwork, error)

AttachPrivateNetwork mocks base method.

func (*MockLBAPI) CreateACL

func (m *MockLBAPI) CreateACL(req *lb.ZonedAPICreateACLRequest, opts ...scw.RequestOption) (*lb.ACL, error)

CreateACL mocks base method.

func (*MockLBAPI) CreateBackend

func (m *MockLBAPI) CreateBackend(req *lb.ZonedAPICreateBackendRequest, opts ...scw.RequestOption) (*lb.Backend, error)

CreateBackend mocks base method.

func (*MockLBAPI) CreateFrontend

func (m *MockLBAPI) CreateFrontend(req *lb.ZonedAPICreateFrontendRequest, opts ...scw.RequestOption) (*lb.Frontend, error)

CreateFrontend mocks base method.

func (*MockLBAPI) CreateLB

func (m *MockLBAPI) CreateLB(req *lb.ZonedAPICreateLBRequest, opts ...scw.RequestOption) (*lb.LB, error)

CreateLB mocks base method.

func (*MockLBAPI) DeleteACL

func (m *MockLBAPI) DeleteACL(req *lb.ZonedAPIDeleteACLRequest, opts ...scw.RequestOption) error

DeleteACL mocks base method.

func (*MockLBAPI) DeleteLB

func (m *MockLBAPI) DeleteLB(req *lb.ZonedAPIDeleteLBRequest, opts ...scw.RequestOption) error

DeleteLB mocks base method.

func (*MockLBAPI) EXPECT

func (m *MockLBAPI) EXPECT() *MockLBAPIMockRecorder

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

func (*MockLBAPI) ListACLs

ListACLs mocks base method.

func (*MockLBAPI) ListBackends

ListBackends mocks base method.

func (*MockLBAPI) ListFrontends

ListFrontends mocks base method.

func (*MockLBAPI) ListIPs

ListIPs mocks base method.

func (*MockLBAPI) ListLBPrivateNetworks

ListLBPrivateNetworks mocks base method.

func (*MockLBAPI) ListLBs

ListLBs mocks base method.

func (*MockLBAPI) MigrateLB

func (m *MockLBAPI) MigrateLB(req *lb.ZonedAPIMigrateLBRequest, opts ...scw.RequestOption) (*lb.LB, error)

MigrateLB mocks base method.

func (*MockLBAPI) RemoveBackendServers

func (m *MockLBAPI) RemoveBackendServers(req *lb.ZonedAPIRemoveBackendServersRequest, opts ...scw.RequestOption) (*lb.Backend, error)

RemoveBackendServers mocks base method.

func (*MockLBAPI) SetACLs

SetACLs mocks base method.

func (*MockLBAPI) SetBackendServers

func (m *MockLBAPI) SetBackendServers(req *lb.ZonedAPISetBackendServersRequest, opts ...scw.RequestOption) (*lb.Backend, error)

SetBackendServers mocks base method.

func (*MockLBAPI) UpdateACL

func (m *MockLBAPI) UpdateACL(req *lb.ZonedAPIUpdateACLRequest, opts ...scw.RequestOption) (*lb.ACL, error)

UpdateACL mocks base method.

func (*MockLBAPI) Zones

func (m *MockLBAPI) Zones() []scw.Zone

Zones mocks base method.

type MockLBAPIAddBackendServersCall

type MockLBAPIAddBackendServersCall struct {
	*gomock.Call
}

MockLBAPIAddBackendServersCall wrap *gomock.Call

func (*MockLBAPIAddBackendServersCall) Do

Do rewrite *gomock.Call.Do

func (*MockLBAPIAddBackendServersCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockLBAPIAddBackendServersCall) Return

Return rewrite *gomock.Call.Return

type MockLBAPIAttachPrivateNetworkCall

type MockLBAPIAttachPrivateNetworkCall struct {
	*gomock.Call
}

MockLBAPIAttachPrivateNetworkCall wrap *gomock.Call

func (*MockLBAPIAttachPrivateNetworkCall) Do

Do rewrite *gomock.Call.Do

func (*MockLBAPIAttachPrivateNetworkCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockLBAPIAttachPrivateNetworkCall) Return

Return rewrite *gomock.Call.Return

type MockLBAPICreateACLCall

type MockLBAPICreateACLCall struct {
	*gomock.Call
}

MockLBAPICreateACLCall wrap *gomock.Call

func (*MockLBAPICreateACLCall) Do

Do rewrite *gomock.Call.Do

func (*MockLBAPICreateACLCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockLBAPICreateACLCall) Return

func (c *MockLBAPICreateACLCall) Return(arg0 *lb.ACL, arg1 error) *MockLBAPICreateACLCall

Return rewrite *gomock.Call.Return

type MockLBAPICreateBackendCall

type MockLBAPICreateBackendCall struct {
	*gomock.Call
}

MockLBAPICreateBackendCall wrap *gomock.Call

func (*MockLBAPICreateBackendCall) Do

Do rewrite *gomock.Call.Do

func (*MockLBAPICreateBackendCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockLBAPICreateBackendCall) Return

Return rewrite *gomock.Call.Return

type MockLBAPICreateFrontendCall

type MockLBAPICreateFrontendCall struct {
	*gomock.Call
}

MockLBAPICreateFrontendCall wrap *gomock.Call

func (*MockLBAPICreateFrontendCall) Do

Do rewrite *gomock.Call.Do

func (*MockLBAPICreateFrontendCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockLBAPICreateFrontendCall) Return

Return rewrite *gomock.Call.Return

type MockLBAPICreateLBCall

type MockLBAPICreateLBCall struct {
	*gomock.Call
}

MockLBAPICreateLBCall wrap *gomock.Call

func (*MockLBAPICreateLBCall) Do

Do rewrite *gomock.Call.Do

func (*MockLBAPICreateLBCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockLBAPICreateLBCall) Return

func (c *MockLBAPICreateLBCall) Return(arg0 *lb.LB, arg1 error) *MockLBAPICreateLBCall

Return rewrite *gomock.Call.Return

type MockLBAPIDeleteACLCall

type MockLBAPIDeleteACLCall struct {
	*gomock.Call
}

MockLBAPIDeleteACLCall wrap *gomock.Call

func (*MockLBAPIDeleteACLCall) Do

Do rewrite *gomock.Call.Do

func (*MockLBAPIDeleteACLCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockLBAPIDeleteACLCall) Return

Return rewrite *gomock.Call.Return

type MockLBAPIDeleteLBCall

type MockLBAPIDeleteLBCall struct {
	*gomock.Call
}

MockLBAPIDeleteLBCall wrap *gomock.Call

func (*MockLBAPIDeleteLBCall) Do

Do rewrite *gomock.Call.Do

func (*MockLBAPIDeleteLBCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockLBAPIDeleteLBCall) Return

Return rewrite *gomock.Call.Return

type MockLBAPIListACLsCall

type MockLBAPIListACLsCall struct {
	*gomock.Call
}

MockLBAPIListACLsCall wrap *gomock.Call

func (*MockLBAPIListACLsCall) Do

Do rewrite *gomock.Call.Do

func (*MockLBAPIListACLsCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockLBAPIListACLsCall) Return

Return rewrite *gomock.Call.Return

type MockLBAPIListBackendsCall

type MockLBAPIListBackendsCall struct {
	*gomock.Call
}

MockLBAPIListBackendsCall wrap *gomock.Call

func (*MockLBAPIListBackendsCall) Do

Do rewrite *gomock.Call.Do

func (*MockLBAPIListBackendsCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockLBAPIListBackendsCall) Return

Return rewrite *gomock.Call.Return

type MockLBAPIListFrontendsCall

type MockLBAPIListFrontendsCall struct {
	*gomock.Call
}

MockLBAPIListFrontendsCall wrap *gomock.Call

func (*MockLBAPIListFrontendsCall) Do

Do rewrite *gomock.Call.Do

func (*MockLBAPIListFrontendsCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockLBAPIListFrontendsCall) Return

Return rewrite *gomock.Call.Return

type MockLBAPIListIPsCall

type MockLBAPIListIPsCall struct {
	*gomock.Call
}

MockLBAPIListIPsCall wrap *gomock.Call

func (*MockLBAPIListIPsCall) Do

Do rewrite *gomock.Call.Do

func (*MockLBAPIListIPsCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockLBAPIListIPsCall) Return

Return rewrite *gomock.Call.Return

type MockLBAPIListLBPrivateNetworksCall

type MockLBAPIListLBPrivateNetworksCall struct {
	*gomock.Call
}

MockLBAPIListLBPrivateNetworksCall wrap *gomock.Call

func (*MockLBAPIListLBPrivateNetworksCall) Do

Do rewrite *gomock.Call.Do

func (*MockLBAPIListLBPrivateNetworksCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockLBAPIListLBPrivateNetworksCall) Return

Return rewrite *gomock.Call.Return

type MockLBAPIListLBsCall

type MockLBAPIListLBsCall struct {
	*gomock.Call
}

MockLBAPIListLBsCall wrap *gomock.Call

func (*MockLBAPIListLBsCall) Do

Do rewrite *gomock.Call.Do

func (*MockLBAPIListLBsCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockLBAPIListLBsCall) Return

Return rewrite *gomock.Call.Return

type MockLBAPIMigrateLBCall

type MockLBAPIMigrateLBCall struct {
	*gomock.Call
}

MockLBAPIMigrateLBCall wrap *gomock.Call

func (*MockLBAPIMigrateLBCall) Do

Do rewrite *gomock.Call.Do

func (*MockLBAPIMigrateLBCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockLBAPIMigrateLBCall) Return

func (c *MockLBAPIMigrateLBCall) Return(arg0 *lb.LB, arg1 error) *MockLBAPIMigrateLBCall

Return rewrite *gomock.Call.Return

type MockLBAPIMockRecorder

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

MockLBAPIMockRecorder is the mock recorder for MockLBAPI.

func (*MockLBAPIMockRecorder) AddBackendServers

func (mr *MockLBAPIMockRecorder) AddBackendServers(req any, opts ...any) *MockLBAPIAddBackendServersCall

AddBackendServers indicates an expected call of AddBackendServers.

func (*MockLBAPIMockRecorder) AttachPrivateNetwork

func (mr *MockLBAPIMockRecorder) AttachPrivateNetwork(req any, opts ...any) *MockLBAPIAttachPrivateNetworkCall

AttachPrivateNetwork indicates an expected call of AttachPrivateNetwork.

func (*MockLBAPIMockRecorder) CreateACL

func (mr *MockLBAPIMockRecorder) CreateACL(req any, opts ...any) *MockLBAPICreateACLCall

CreateACL indicates an expected call of CreateACL.

func (*MockLBAPIMockRecorder) CreateBackend

func (mr *MockLBAPIMockRecorder) CreateBackend(req any, opts ...any) *MockLBAPICreateBackendCall

CreateBackend indicates an expected call of CreateBackend.

func (*MockLBAPIMockRecorder) CreateFrontend

func (mr *MockLBAPIMockRecorder) CreateFrontend(req any, opts ...any) *MockLBAPICreateFrontendCall

CreateFrontend indicates an expected call of CreateFrontend.

func (*MockLBAPIMockRecorder) CreateLB

func (mr *MockLBAPIMockRecorder) CreateLB(req any, opts ...any) *MockLBAPICreateLBCall

CreateLB indicates an expected call of CreateLB.

func (*MockLBAPIMockRecorder) DeleteACL

func (mr *MockLBAPIMockRecorder) DeleteACL(req any, opts ...any) *MockLBAPIDeleteACLCall

DeleteACL indicates an expected call of DeleteACL.

func (*MockLBAPIMockRecorder) DeleteLB

func (mr *MockLBAPIMockRecorder) DeleteLB(req any, opts ...any) *MockLBAPIDeleteLBCall

DeleteLB indicates an expected call of DeleteLB.

func (*MockLBAPIMockRecorder) ListACLs

func (mr *MockLBAPIMockRecorder) ListACLs(req any, opts ...any) *MockLBAPIListACLsCall

ListACLs indicates an expected call of ListACLs.

func (*MockLBAPIMockRecorder) ListBackends

func (mr *MockLBAPIMockRecorder) ListBackends(req any, opts ...any) *MockLBAPIListBackendsCall

ListBackends indicates an expected call of ListBackends.

func (*MockLBAPIMockRecorder) ListFrontends

func (mr *MockLBAPIMockRecorder) ListFrontends(req any, opts ...any) *MockLBAPIListFrontendsCall

ListFrontends indicates an expected call of ListFrontends.

func (*MockLBAPIMockRecorder) ListIPs

func (mr *MockLBAPIMockRecorder) ListIPs(req any, opts ...any) *MockLBAPIListIPsCall

ListIPs indicates an expected call of ListIPs.

func (*MockLBAPIMockRecorder) ListLBPrivateNetworks

func (mr *MockLBAPIMockRecorder) ListLBPrivateNetworks(req any, opts ...any) *MockLBAPIListLBPrivateNetworksCall

ListLBPrivateNetworks indicates an expected call of ListLBPrivateNetworks.

func (*MockLBAPIMockRecorder) ListLBs

func (mr *MockLBAPIMockRecorder) ListLBs(req any, opts ...any) *MockLBAPIListLBsCall

ListLBs indicates an expected call of ListLBs.

func (*MockLBAPIMockRecorder) MigrateLB

func (mr *MockLBAPIMockRecorder) MigrateLB(req any, opts ...any) *MockLBAPIMigrateLBCall

MigrateLB indicates an expected call of MigrateLB.

func (*MockLBAPIMockRecorder) RemoveBackendServers

func (mr *MockLBAPIMockRecorder) RemoveBackendServers(req any, opts ...any) *MockLBAPIRemoveBackendServersCall

RemoveBackendServers indicates an expected call of RemoveBackendServers.

func (*MockLBAPIMockRecorder) SetACLs

func (mr *MockLBAPIMockRecorder) SetACLs(req any, opts ...any) *MockLBAPISetACLsCall

SetACLs indicates an expected call of SetACLs.

func (*MockLBAPIMockRecorder) SetBackendServers

func (mr *MockLBAPIMockRecorder) SetBackendServers(req any, opts ...any) *MockLBAPISetBackendServersCall

SetBackendServers indicates an expected call of SetBackendServers.

func (*MockLBAPIMockRecorder) UpdateACL

func (mr *MockLBAPIMockRecorder) UpdateACL(req any, opts ...any) *MockLBAPIUpdateACLCall

UpdateACL indicates an expected call of UpdateACL.

func (*MockLBAPIMockRecorder) Zones

Zones indicates an expected call of Zones.

type MockLBAPIRemoveBackendServersCall

type MockLBAPIRemoveBackendServersCall struct {
	*gomock.Call
}

MockLBAPIRemoveBackendServersCall wrap *gomock.Call

func (*MockLBAPIRemoveBackendServersCall) Do

Do rewrite *gomock.Call.Do

func (*MockLBAPIRemoveBackendServersCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockLBAPIRemoveBackendServersCall) Return

Return rewrite *gomock.Call.Return

type MockLBAPISetACLsCall

type MockLBAPISetACLsCall struct {
	*gomock.Call
}

MockLBAPISetACLsCall wrap *gomock.Call

func (*MockLBAPISetACLsCall) Do

Do rewrite *gomock.Call.Do

func (*MockLBAPISetACLsCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockLBAPISetACLsCall) Return

Return rewrite *gomock.Call.Return

type MockLBAPISetBackendServersCall

type MockLBAPISetBackendServersCall struct {
	*gomock.Call
}

MockLBAPISetBackendServersCall wrap *gomock.Call

func (*MockLBAPISetBackendServersCall) Do

Do rewrite *gomock.Call.Do

func (*MockLBAPISetBackendServersCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockLBAPISetBackendServersCall) Return

Return rewrite *gomock.Call.Return

type MockLBAPIUpdateACLCall

type MockLBAPIUpdateACLCall struct {
	*gomock.Call
}

MockLBAPIUpdateACLCall wrap *gomock.Call

func (*MockLBAPIUpdateACLCall) Do

Do rewrite *gomock.Call.Do

func (*MockLBAPIUpdateACLCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockLBAPIUpdateACLCall) Return

func (c *MockLBAPIUpdateACLCall) Return(arg0 *lb.ACL, arg1 error) *MockLBAPIUpdateACLCall

Return rewrite *gomock.Call.Return

type MockLBAPIZonesCall

type MockLBAPIZonesCall struct {
	*gomock.Call
}

MockLBAPIZonesCall wrap *gomock.Call

func (*MockLBAPIZonesCall) Do

func (c *MockLBAPIZonesCall) Do(f func() []scw.Zone) *MockLBAPIZonesCall

Do rewrite *gomock.Call.Do

func (*MockLBAPIZonesCall) DoAndReturn

func (c *MockLBAPIZonesCall) DoAndReturn(f func() []scw.Zone) *MockLBAPIZonesCall

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockLBAPIZonesCall) Return

func (c *MockLBAPIZonesCall) Return(arg0 []scw.Zone) *MockLBAPIZonesCall

Return rewrite *gomock.Call.Return

type MockLBAddBackendServerCall

type MockLBAddBackendServerCall struct {
	*gomock.Call
}

MockLBAddBackendServerCall wrap *gomock.Call

func (*MockLBAddBackendServerCall) Do

Do rewrite *gomock.Call.Do

func (*MockLBAddBackendServerCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockLBAddBackendServerCall) Return

Return rewrite *gomock.Call.Return

type MockLBAttachLBPrivateNetworkCall

type MockLBAttachLBPrivateNetworkCall struct {
	*gomock.Call
}

MockLBAttachLBPrivateNetworkCall wrap *gomock.Call

func (*MockLBAttachLBPrivateNetworkCall) Do

Do rewrite *gomock.Call.Do

func (*MockLBAttachLBPrivateNetworkCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockLBAttachLBPrivateNetworkCall) Return

Return rewrite *gomock.Call.Return

type MockLBCreateBackendCall

type MockLBCreateBackendCall struct {
	*gomock.Call
}

MockLBCreateBackendCall wrap *gomock.Call

func (*MockLBCreateBackendCall) Do

Do rewrite *gomock.Call.Do

func (*MockLBCreateBackendCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockLBCreateBackendCall) Return

Return rewrite *gomock.Call.Return

type MockLBCreateFrontendCall

type MockLBCreateFrontendCall struct {
	*gomock.Call
}

MockLBCreateFrontendCall wrap *gomock.Call

func (*MockLBCreateFrontendCall) Do

Do rewrite *gomock.Call.Do

func (*MockLBCreateFrontendCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockLBCreateFrontendCall) Return

Return rewrite *gomock.Call.Return

type MockLBCreateLBACLCall

type MockLBCreateLBACLCall struct {
	*gomock.Call
}

MockLBCreateLBACLCall wrap *gomock.Call

func (*MockLBCreateLBACLCall) Do

Do rewrite *gomock.Call.Do

func (*MockLBCreateLBACLCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockLBCreateLBACLCall) Return

Return rewrite *gomock.Call.Return

type MockLBCreateLBCall

type MockLBCreateLBCall struct {
	*gomock.Call
}

MockLBCreateLBCall wrap *gomock.Call

func (*MockLBCreateLBCall) Do

Do rewrite *gomock.Call.Do

func (*MockLBCreateLBCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockLBCreateLBCall) Return

func (c *MockLBCreateLBCall) Return(arg0 *lb.LB, arg1 error) *MockLBCreateLBCall

Return rewrite *gomock.Call.Return

type MockLBDeleteLBACLCall

type MockLBDeleteLBACLCall struct {
	*gomock.Call
}

MockLBDeleteLBACLCall wrap *gomock.Call

func (*MockLBDeleteLBACLCall) Do

Do rewrite *gomock.Call.Do

func (*MockLBDeleteLBACLCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockLBDeleteLBACLCall) Return

Return rewrite *gomock.Call.Return

type MockLBDeleteLBCall

type MockLBDeleteLBCall struct {
	*gomock.Call
}

MockLBDeleteLBCall wrap *gomock.Call

func (*MockLBDeleteLBCall) Do

Do rewrite *gomock.Call.Do

func (*MockLBDeleteLBCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockLBDeleteLBCall) Return

func (c *MockLBDeleteLBCall) Return(arg0 error) *MockLBDeleteLBCall

Return rewrite *gomock.Call.Return

type MockLBFindBackendCall

type MockLBFindBackendCall struct {
	*gomock.Call
}

MockLBFindBackendCall wrap *gomock.Call

func (*MockLBFindBackendCall) Do

Do rewrite *gomock.Call.Do

func (*MockLBFindBackendCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockLBFindBackendCall) Return

Return rewrite *gomock.Call.Return

type MockLBFindFrontendCall

type MockLBFindFrontendCall struct {
	*gomock.Call
}

MockLBFindFrontendCall wrap *gomock.Call

func (*MockLBFindFrontendCall) Do

Do rewrite *gomock.Call.Do

func (*MockLBFindFrontendCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockLBFindFrontendCall) Return

Return rewrite *gomock.Call.Return

type MockLBFindLBACLByNameCall

type MockLBFindLBACLByNameCall struct {
	*gomock.Call
}

MockLBFindLBACLByNameCall wrap *gomock.Call

func (*MockLBFindLBACLByNameCall) Do

Do rewrite *gomock.Call.Do

func (*MockLBFindLBACLByNameCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockLBFindLBACLByNameCall) Return

Return rewrite *gomock.Call.Return

type MockLBFindLBCall

type MockLBFindLBCall struct {
	*gomock.Call
}

MockLBFindLBCall wrap *gomock.Call

func (*MockLBFindLBCall) Do

Do rewrite *gomock.Call.Do

func (*MockLBFindLBCall) DoAndReturn

func (c *MockLBFindLBCall) DoAndReturn(f func(context.Context, scw.Zone, []string) (*lb.LB, error)) *MockLBFindLBCall

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockLBFindLBCall) Return

func (c *MockLBFindLBCall) Return(arg0 *lb.LB, arg1 error) *MockLBFindLBCall

Return rewrite *gomock.Call.Return

type MockLBFindLBIPCall

type MockLBFindLBIPCall struct {
	*gomock.Call
}

MockLBFindLBIPCall wrap *gomock.Call

func (*MockLBFindLBIPCall) Do

Do rewrite *gomock.Call.Do

func (*MockLBFindLBIPCall) DoAndReturn

func (c *MockLBFindLBIPCall) DoAndReturn(f func(context.Context, scw.Zone, string) (*lb.IP, error)) *MockLBFindLBIPCall

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockLBFindLBIPCall) Return

func (c *MockLBFindLBIPCall) Return(arg0 *lb.IP, arg1 error) *MockLBFindLBIPCall

Return rewrite *gomock.Call.Return

type MockLBFindLBPrivateNetworkCall

type MockLBFindLBPrivateNetworkCall struct {
	*gomock.Call
}

MockLBFindLBPrivateNetworkCall wrap *gomock.Call

func (*MockLBFindLBPrivateNetworkCall) Do

Do rewrite *gomock.Call.Do

func (*MockLBFindLBPrivateNetworkCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockLBFindLBPrivateNetworkCall) Return

Return rewrite *gomock.Call.Return

type MockLBFindLBsCall

type MockLBFindLBsCall struct {
	*gomock.Call
}

MockLBFindLBsCall wrap *gomock.Call

func (*MockLBFindLBsCall) Do

Do rewrite *gomock.Call.Do

func (*MockLBFindLBsCall) DoAndReturn

func (c *MockLBFindLBsCall) DoAndReturn(f func(context.Context, []string) ([]*lb.LB, error)) *MockLBFindLBsCall

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockLBFindLBsCall) Return

func (c *MockLBFindLBsCall) Return(arg0 []*lb.LB, arg1 error) *MockLBFindLBsCall

Return rewrite *gomock.Call.Return

type MockLBListLBACLsCall

type MockLBListLBACLsCall struct {
	*gomock.Call
}

MockLBListLBACLsCall wrap *gomock.Call

func (*MockLBListLBACLsCall) Do

Do rewrite *gomock.Call.Do

func (*MockLBListLBACLsCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockLBListLBACLsCall) Return

func (c *MockLBListLBACLsCall) Return(arg0 []*lb.ACL, arg1 error) *MockLBListLBACLsCall

Return rewrite *gomock.Call.Return

type MockLBMigrateLBCall

type MockLBMigrateLBCall struct {
	*gomock.Call
}

MockLBMigrateLBCall wrap *gomock.Call

func (*MockLBMigrateLBCall) Do

Do rewrite *gomock.Call.Do

func (*MockLBMigrateLBCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockLBMigrateLBCall) Return

func (c *MockLBMigrateLBCall) Return(arg0 *lb.LB, arg1 error) *MockLBMigrateLBCall

Return rewrite *gomock.Call.Return

type MockLBMockRecorder

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

MockLBMockRecorder is the mock recorder for MockLB.

func (*MockLBMockRecorder) AddBackendServer

func (mr *MockLBMockRecorder) AddBackendServer(ctx, zone, backendID, ip any) *MockLBAddBackendServerCall

AddBackendServer indicates an expected call of AddBackendServer.

func (*MockLBMockRecorder) AttachLBPrivateNetwork

func (mr *MockLBMockRecorder) AttachLBPrivateNetwork(ctx, zone, lbID, privateNetworkID, ipID any) *MockLBAttachLBPrivateNetworkCall

AttachLBPrivateNetwork indicates an expected call of AttachLBPrivateNetwork.

func (*MockLBMockRecorder) CreateBackend

func (mr *MockLBMockRecorder) CreateBackend(ctx, zone, lbID, name, servers, port any) *MockLBCreateBackendCall

CreateBackend indicates an expected call of CreateBackend.

func (*MockLBMockRecorder) CreateFrontend

func (mr *MockLBMockRecorder) CreateFrontend(ctx, zone, lbID, name, backendID, port any) *MockLBCreateFrontendCall

CreateFrontend indicates an expected call of CreateFrontend.

func (*MockLBMockRecorder) CreateLB

func (mr *MockLBMockRecorder) CreateLB(ctx, zone, name, lbType, ipID, private, tags any) *MockLBCreateLBCall

CreateLB indicates an expected call of CreateLB.

func (*MockLBMockRecorder) CreateLBACL

func (mr *MockLBMockRecorder) CreateLBACL(ctx, zone, frontendID, name, index, action, matchedSubnets any) *MockLBCreateLBACLCall

CreateLBACL indicates an expected call of CreateLBACL.

func (*MockLBMockRecorder) DeleteLB

func (mr *MockLBMockRecorder) DeleteLB(ctx, zone, id, releaseIP any) *MockLBDeleteLBCall

DeleteLB indicates an expected call of DeleteLB.

func (*MockLBMockRecorder) DeleteLBACL

func (mr *MockLBMockRecorder) DeleteLBACL(ctx, zone, aclID any) *MockLBDeleteLBACLCall

DeleteLBACL indicates an expected call of DeleteLBACL.

func (*MockLBMockRecorder) FindBackend

func (mr *MockLBMockRecorder) FindBackend(ctx, zone, lbID, name any) *MockLBFindBackendCall

FindBackend indicates an expected call of FindBackend.

func (*MockLBMockRecorder) FindFrontend

func (mr *MockLBMockRecorder) FindFrontend(ctx, zone, lbID, name any) *MockLBFindFrontendCall

FindFrontend indicates an expected call of FindFrontend.

func (*MockLBMockRecorder) FindLB

func (mr *MockLBMockRecorder) FindLB(ctx, zone, tags any) *MockLBFindLBCall

FindLB indicates an expected call of FindLB.

func (*MockLBMockRecorder) FindLBACLByName

func (mr *MockLBMockRecorder) FindLBACLByName(ctx, zone, frontendID, name any) *MockLBFindLBACLByNameCall

FindLBACLByName indicates an expected call of FindLBACLByName.

func (*MockLBMockRecorder) FindLBIP

func (mr *MockLBMockRecorder) FindLBIP(ctx, zone, ip any) *MockLBFindLBIPCall

FindLBIP indicates an expected call of FindLBIP.

func (*MockLBMockRecorder) FindLBPrivateNetwork

func (mr *MockLBMockRecorder) FindLBPrivateNetwork(ctx, zone, lbID, privateNetworkID any) *MockLBFindLBPrivateNetworkCall

FindLBPrivateNetwork indicates an expected call of FindLBPrivateNetwork.

func (*MockLBMockRecorder) FindLBs

func (mr *MockLBMockRecorder) FindLBs(ctx, tags any) *MockLBFindLBsCall

FindLBs indicates an expected call of FindLBs.

func (*MockLBMockRecorder) ListLBACLs

func (mr *MockLBMockRecorder) ListLBACLs(ctx, zone, frontendID any) *MockLBListLBACLsCall

ListLBACLs indicates an expected call of ListLBACLs.

func (*MockLBMockRecorder) MigrateLB

func (mr *MockLBMockRecorder) MigrateLB(ctx, zone, id, newType any) *MockLBMigrateLBCall

MigrateLB indicates an expected call of MigrateLB.

func (*MockLBMockRecorder) RemoveBackendServer

func (mr *MockLBMockRecorder) RemoveBackendServer(ctx, zone, backendID, ip any) *MockLBRemoveBackendServerCall

RemoveBackendServer indicates an expected call of RemoveBackendServer.

func (*MockLBMockRecorder) SetBackendServers

func (mr *MockLBMockRecorder) SetBackendServers(ctx, zone, backendID, servers any) *MockLBSetBackendServersCall

SetBackendServers indicates an expected call of SetBackendServers.

func (*MockLBMockRecorder) SetLBACLs

func (mr *MockLBMockRecorder) SetLBACLs(ctx, zone, frontendID, acls any) *MockLBSetLBACLsCall

SetLBACLs indicates an expected call of SetLBACLs.

func (*MockLBMockRecorder) UpdateLBACL

func (mr *MockLBMockRecorder) UpdateLBACL(ctx, zone, aclID, name, index, action, matchedSubnets any) *MockLBUpdateLBACLCall

UpdateLBACL indicates an expected call of UpdateLBACL.

type MockLBRemoveBackendServerCall

type MockLBRemoveBackendServerCall struct {
	*gomock.Call
}

MockLBRemoveBackendServerCall wrap *gomock.Call

func (*MockLBRemoveBackendServerCall) Do

Do rewrite *gomock.Call.Do

func (*MockLBRemoveBackendServerCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockLBRemoveBackendServerCall) Return

Return rewrite *gomock.Call.Return

type MockLBSetBackendServersCall

type MockLBSetBackendServersCall struct {
	*gomock.Call
}

MockLBSetBackendServersCall wrap *gomock.Call

func (*MockLBSetBackendServersCall) Do

Do rewrite *gomock.Call.Do

func (*MockLBSetBackendServersCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockLBSetBackendServersCall) Return

Return rewrite *gomock.Call.Return

type MockLBSetLBACLsCall

type MockLBSetLBACLsCall struct {
	*gomock.Call
}

MockLBSetLBACLsCall wrap *gomock.Call

func (*MockLBSetLBACLsCall) Do

Do rewrite *gomock.Call.Do

func (*MockLBSetLBACLsCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockLBSetLBACLsCall) Return

Return rewrite *gomock.Call.Return

type MockLBUpdateLBACLCall

type MockLBUpdateLBACLCall struct {
	*gomock.Call
}

MockLBUpdateLBACLCall wrap *gomock.Call

func (*MockLBUpdateLBACLCall) Do

Do rewrite *gomock.Call.Do

func (*MockLBUpdateLBACLCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockLBUpdateLBACLCall) Return

Return rewrite *gomock.Call.Return

type MockMarketplace

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

MockMarketplace is a mock of Marketplace interface.

func NewMockMarketplace

func NewMockMarketplace(ctrl *gomock.Controller) *MockMarketplace

NewMockMarketplace creates a new mock instance.

func (*MockMarketplace) EXPECT

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

func (*MockMarketplace) GetLocalImageByLabel

func (m *MockMarketplace) GetLocalImageByLabel(ctx context.Context, zone scw.Zone, commercialType, imageLabel string, imageType marketplace.LocalImageType) (*marketplace.LocalImage, error)

GetLocalImageByLabel mocks base method.

type MockMarketplaceAPI

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

MockMarketplaceAPI is a mock of MarketplaceAPI interface.

func NewMockMarketplaceAPI

func NewMockMarketplaceAPI(ctrl *gomock.Controller) *MockMarketplaceAPI

NewMockMarketplaceAPI creates a new mock instance.

func (*MockMarketplaceAPI) EXPECT

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

func (*MockMarketplaceAPI) GetLocalImageByLabel

GetLocalImageByLabel mocks base method.

type MockMarketplaceAPIGetLocalImageByLabelCall

type MockMarketplaceAPIGetLocalImageByLabelCall struct {
	*gomock.Call
}

MockMarketplaceAPIGetLocalImageByLabelCall wrap *gomock.Call

func (*MockMarketplaceAPIGetLocalImageByLabelCall) Do

Do rewrite *gomock.Call.Do

func (*MockMarketplaceAPIGetLocalImageByLabelCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockMarketplaceAPIGetLocalImageByLabelCall) Return

Return rewrite *gomock.Call.Return

type MockMarketplaceAPIMockRecorder

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

MockMarketplaceAPIMockRecorder is the mock recorder for MockMarketplaceAPI.

func (*MockMarketplaceAPIMockRecorder) GetLocalImageByLabel

func (mr *MockMarketplaceAPIMockRecorder) GetLocalImageByLabel(req any, opts ...any) *MockMarketplaceAPIGetLocalImageByLabelCall

GetLocalImageByLabel indicates an expected call of GetLocalImageByLabel.

type MockMarketplaceGetLocalImageByLabelCall

type MockMarketplaceGetLocalImageByLabelCall struct {
	*gomock.Call
}

MockMarketplaceGetLocalImageByLabelCall wrap *gomock.Call

func (*MockMarketplaceGetLocalImageByLabelCall) Do

Do rewrite *gomock.Call.Do

func (*MockMarketplaceGetLocalImageByLabelCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockMarketplaceGetLocalImageByLabelCall) Return

Return rewrite *gomock.Call.Return

type MockMarketplaceMockRecorder

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

MockMarketplaceMockRecorder is the mock recorder for MockMarketplace.

func (*MockMarketplaceMockRecorder) GetLocalImageByLabel

func (mr *MockMarketplaceMockRecorder) GetLocalImageByLabel(ctx, zone, commercialType, imageLabel, imageType any) *MockMarketplaceGetLocalImageByLabelCall

GetLocalImageByLabel indicates an expected call of GetLocalImageByLabel.

type MockVPC

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

MockVPC is a mock of VPC interface.

func NewMockVPC

func NewMockVPC(ctrl *gomock.Controller) *MockVPC

NewMockVPC creates a new mock instance.

func (*MockVPC) CreatePrivateNetwork

func (m *MockVPC) CreatePrivateNetwork(ctx context.Context, name string, vpcID, subnet *string, tags []string) (*vpc.PrivateNetwork, error)

CreatePrivateNetwork mocks base method.

func (*MockVPC) DeletePrivateNetwork

func (m *MockVPC) DeletePrivateNetwork(ctx context.Context, id string) error

DeletePrivateNetwork mocks base method.

func (*MockVPC) EXPECT

func (m *MockVPC) EXPECT() *MockVPCMockRecorder

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

func (*MockVPC) FindPrivateNetwork

func (m *MockVPC) FindPrivateNetwork(ctx context.Context, tags []string, vpcID *string) (*vpc.PrivateNetwork, error)

FindPrivateNetwork mocks base method.

func (*MockVPC) GetPrivateNetwork

func (m *MockVPC) GetPrivateNetwork(ctx context.Context, privateNetworkID string) (*vpc.PrivateNetwork, error)

GetPrivateNetwork mocks base method.

type MockVPCAPI

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

MockVPCAPI is a mock of VPCAPI interface.

func NewMockVPCAPI

func NewMockVPCAPI(ctrl *gomock.Controller) *MockVPCAPI

NewMockVPCAPI creates a new mock instance.

func (*MockVPCAPI) CreatePrivateNetwork

func (m *MockVPCAPI) CreatePrivateNetwork(req *vpc.CreatePrivateNetworkRequest, opts ...scw.RequestOption) (*vpc.PrivateNetwork, error)

CreatePrivateNetwork mocks base method.

func (*MockVPCAPI) DeletePrivateNetwork

func (m *MockVPCAPI) DeletePrivateNetwork(req *vpc.DeletePrivateNetworkRequest, opts ...scw.RequestOption) error

DeletePrivateNetwork mocks base method.

func (*MockVPCAPI) EXPECT

func (m *MockVPCAPI) EXPECT() *MockVPCAPIMockRecorder

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

func (*MockVPCAPI) GetPrivateNetwork

func (m *MockVPCAPI) GetPrivateNetwork(req *vpc.GetPrivateNetworkRequest, opts ...scw.RequestOption) (*vpc.PrivateNetwork, error)

GetPrivateNetwork mocks base method.

func (*MockVPCAPI) ListPrivateNetworks

ListPrivateNetworks mocks base method.

type MockVPCAPICreatePrivateNetworkCall

type MockVPCAPICreatePrivateNetworkCall struct {
	*gomock.Call
}

MockVPCAPICreatePrivateNetworkCall wrap *gomock.Call

func (*MockVPCAPICreatePrivateNetworkCall) Do

Do rewrite *gomock.Call.Do

func (*MockVPCAPICreatePrivateNetworkCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockVPCAPICreatePrivateNetworkCall) Return

Return rewrite *gomock.Call.Return

type MockVPCAPIDeletePrivateNetworkCall

type MockVPCAPIDeletePrivateNetworkCall struct {
	*gomock.Call
}

MockVPCAPIDeletePrivateNetworkCall wrap *gomock.Call

func (*MockVPCAPIDeletePrivateNetworkCall) Do

Do rewrite *gomock.Call.Do

func (*MockVPCAPIDeletePrivateNetworkCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockVPCAPIDeletePrivateNetworkCall) Return

Return rewrite *gomock.Call.Return

type MockVPCAPIGetPrivateNetworkCall

type MockVPCAPIGetPrivateNetworkCall struct {
	*gomock.Call
}

MockVPCAPIGetPrivateNetworkCall wrap *gomock.Call

func (*MockVPCAPIGetPrivateNetworkCall) Do

Do rewrite *gomock.Call.Do

func (*MockVPCAPIGetPrivateNetworkCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockVPCAPIGetPrivateNetworkCall) Return

Return rewrite *gomock.Call.Return

type MockVPCAPIListPrivateNetworksCall

type MockVPCAPIListPrivateNetworksCall struct {
	*gomock.Call
}

MockVPCAPIListPrivateNetworksCall wrap *gomock.Call

func (*MockVPCAPIListPrivateNetworksCall) Do

Do rewrite *gomock.Call.Do

func (*MockVPCAPIListPrivateNetworksCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockVPCAPIListPrivateNetworksCall) Return

Return rewrite *gomock.Call.Return

type MockVPCAPIMockRecorder

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

MockVPCAPIMockRecorder is the mock recorder for MockVPCAPI.

func (*MockVPCAPIMockRecorder) CreatePrivateNetwork

func (mr *MockVPCAPIMockRecorder) CreatePrivateNetwork(req any, opts ...any) *MockVPCAPICreatePrivateNetworkCall

CreatePrivateNetwork indicates an expected call of CreatePrivateNetwork.

func (*MockVPCAPIMockRecorder) DeletePrivateNetwork

func (mr *MockVPCAPIMockRecorder) DeletePrivateNetwork(req any, opts ...any) *MockVPCAPIDeletePrivateNetworkCall

DeletePrivateNetwork indicates an expected call of DeletePrivateNetwork.

func (*MockVPCAPIMockRecorder) GetPrivateNetwork

func (mr *MockVPCAPIMockRecorder) GetPrivateNetwork(req any, opts ...any) *MockVPCAPIGetPrivateNetworkCall

GetPrivateNetwork indicates an expected call of GetPrivateNetwork.

func (*MockVPCAPIMockRecorder) ListPrivateNetworks

func (mr *MockVPCAPIMockRecorder) ListPrivateNetworks(req any, opts ...any) *MockVPCAPIListPrivateNetworksCall

ListPrivateNetworks indicates an expected call of ListPrivateNetworks.

type MockVPCCreatePrivateNetworkCall

type MockVPCCreatePrivateNetworkCall struct {
	*gomock.Call
}

MockVPCCreatePrivateNetworkCall wrap *gomock.Call

func (*MockVPCCreatePrivateNetworkCall) Do

Do rewrite *gomock.Call.Do

func (*MockVPCCreatePrivateNetworkCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockVPCCreatePrivateNetworkCall) Return

Return rewrite *gomock.Call.Return

type MockVPCDeletePrivateNetworkCall

type MockVPCDeletePrivateNetworkCall struct {
	*gomock.Call
}

MockVPCDeletePrivateNetworkCall wrap *gomock.Call

func (*MockVPCDeletePrivateNetworkCall) Do

Do rewrite *gomock.Call.Do

func (*MockVPCDeletePrivateNetworkCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockVPCDeletePrivateNetworkCall) Return

Return rewrite *gomock.Call.Return

type MockVPCFindPrivateNetworkCall

type MockVPCFindPrivateNetworkCall struct {
	*gomock.Call
}

MockVPCFindPrivateNetworkCall wrap *gomock.Call

func (*MockVPCFindPrivateNetworkCall) Do

Do rewrite *gomock.Call.Do

func (*MockVPCFindPrivateNetworkCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockVPCFindPrivateNetworkCall) Return

Return rewrite *gomock.Call.Return

type MockVPCGW

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

MockVPCGW is a mock of VPCGW interface.

func NewMockVPCGW

func NewMockVPCGW(ctrl *gomock.Controller) *MockVPCGW

NewMockVPCGW creates a new mock instance.

func (*MockVPCGW) CreateGateway

func (m *MockVPCGW) CreateGateway(ctx context.Context, zone scw.Zone, name, gwType string, tags []string, ipID *string) (*vpcgw.Gateway, error)

CreateGateway mocks base method.

func (*MockVPCGW) CreateGatewayNetwork

func (m *MockVPCGW) CreateGatewayNetwork(ctx context.Context, zone scw.Zone, gatewayID, privateNetworkID string) error

CreateGatewayNetwork mocks base method.

func (*MockVPCGW) DeleteGateway

func (m *MockVPCGW) DeleteGateway(ctx context.Context, zone scw.Zone, id string, deleteIP bool) error

DeleteGateway mocks base method.

func (*MockVPCGW) EXPECT

func (m *MockVPCGW) EXPECT() *MockVPCGWMockRecorder

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

func (*MockVPCGW) FindGatewayIP

func (m *MockVPCGW) FindGatewayIP(ctx context.Context, zone scw.Zone, ip string) (*vpcgw.IP, error)

FindGatewayIP mocks base method.

func (*MockVPCGW) FindGateways

func (m *MockVPCGW) FindGateways(ctx context.Context, tags []string) ([]*vpcgw.Gateway, error)

FindGateways mocks base method.

func (*MockVPCGW) ListGatewayTypes

func (m *MockVPCGW) ListGatewayTypes(ctx context.Context, zone scw.Zone) ([]string, error)

ListGatewayTypes mocks base method.

func (*MockVPCGW) UpgradeGateway

func (m *MockVPCGW) UpgradeGateway(ctx context.Context, zone scw.Zone, gatewayID, newType string) (*vpcgw.Gateway, error)

UpgradeGateway mocks base method.

type MockVPCGWAPI

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

MockVPCGWAPI is a mock of VPCGWAPI interface.

func NewMockVPCGWAPI

func NewMockVPCGWAPI(ctrl *gomock.Controller) *MockVPCGWAPI

NewMockVPCGWAPI creates a new mock instance.

func (*MockVPCGWAPI) CreateGateway

func (m *MockVPCGWAPI) CreateGateway(req *vpcgw.CreateGatewayRequest, opts ...scw.RequestOption) (*vpcgw.Gateway, error)

CreateGateway mocks base method.

func (*MockVPCGWAPI) CreateGatewayNetwork

func (m *MockVPCGWAPI) CreateGatewayNetwork(req *vpcgw.CreateGatewayNetworkRequest, opts ...scw.RequestOption) (*vpcgw.GatewayNetwork, error)

CreateGatewayNetwork mocks base method.

func (*MockVPCGWAPI) DeleteGateway

func (m *MockVPCGWAPI) DeleteGateway(req *vpcgw.DeleteGatewayRequest, opts ...scw.RequestOption) (*vpcgw.Gateway, error)

DeleteGateway mocks base method.

func (*MockVPCGWAPI) EXPECT

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

func (*MockVPCGWAPI) ListGatewayTypes

ListGatewayTypes mocks base method.

func (*MockVPCGWAPI) ListGateways

ListGateways mocks base method.

func (*MockVPCGWAPI) ListIPs

ListIPs mocks base method.

func (*MockVPCGWAPI) UpgradeGateway

func (m *MockVPCGWAPI) UpgradeGateway(req *vpcgw.UpgradeGatewayRequest, opts ...scw.RequestOption) (*vpcgw.Gateway, error)

UpgradeGateway mocks base method.

func (*MockVPCGWAPI) Zones

func (m *MockVPCGWAPI) Zones() []scw.Zone

Zones mocks base method.

type MockVPCGWAPICreateGatewayCall

type MockVPCGWAPICreateGatewayCall struct {
	*gomock.Call
}

MockVPCGWAPICreateGatewayCall wrap *gomock.Call

func (*MockVPCGWAPICreateGatewayCall) Do

Do rewrite *gomock.Call.Do

func (*MockVPCGWAPICreateGatewayCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockVPCGWAPICreateGatewayCall) Return

Return rewrite *gomock.Call.Return

type MockVPCGWAPICreateGatewayNetworkCall

type MockVPCGWAPICreateGatewayNetworkCall struct {
	*gomock.Call
}

MockVPCGWAPICreateGatewayNetworkCall wrap *gomock.Call

func (*MockVPCGWAPICreateGatewayNetworkCall) Do

Do rewrite *gomock.Call.Do

func (*MockVPCGWAPICreateGatewayNetworkCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockVPCGWAPICreateGatewayNetworkCall) Return

Return rewrite *gomock.Call.Return

type MockVPCGWAPIDeleteGatewayCall

type MockVPCGWAPIDeleteGatewayCall struct {
	*gomock.Call
}

MockVPCGWAPIDeleteGatewayCall wrap *gomock.Call

func (*MockVPCGWAPIDeleteGatewayCall) Do

Do rewrite *gomock.Call.Do

func (*MockVPCGWAPIDeleteGatewayCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockVPCGWAPIDeleteGatewayCall) Return

Return rewrite *gomock.Call.Return

type MockVPCGWAPIListGatewayTypesCall

type MockVPCGWAPIListGatewayTypesCall struct {
	*gomock.Call
}

MockVPCGWAPIListGatewayTypesCall wrap *gomock.Call

func (*MockVPCGWAPIListGatewayTypesCall) Do

Do rewrite *gomock.Call.Do

func (*MockVPCGWAPIListGatewayTypesCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockVPCGWAPIListGatewayTypesCall) Return

Return rewrite *gomock.Call.Return

type MockVPCGWAPIListGatewaysCall

type MockVPCGWAPIListGatewaysCall struct {
	*gomock.Call
}

MockVPCGWAPIListGatewaysCall wrap *gomock.Call

func (*MockVPCGWAPIListGatewaysCall) Do

Do rewrite *gomock.Call.Do

func (*MockVPCGWAPIListGatewaysCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockVPCGWAPIListGatewaysCall) Return

Return rewrite *gomock.Call.Return

type MockVPCGWAPIListIPsCall

type MockVPCGWAPIListIPsCall struct {
	*gomock.Call
}

MockVPCGWAPIListIPsCall wrap *gomock.Call

func (*MockVPCGWAPIListIPsCall) Do

Do rewrite *gomock.Call.Do

func (*MockVPCGWAPIListIPsCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockVPCGWAPIListIPsCall) Return

Return rewrite *gomock.Call.Return

type MockVPCGWAPIMockRecorder

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

MockVPCGWAPIMockRecorder is the mock recorder for MockVPCGWAPI.

func (*MockVPCGWAPIMockRecorder) CreateGateway

func (mr *MockVPCGWAPIMockRecorder) CreateGateway(req any, opts ...any) *MockVPCGWAPICreateGatewayCall

CreateGateway indicates an expected call of CreateGateway.

func (*MockVPCGWAPIMockRecorder) CreateGatewayNetwork

func (mr *MockVPCGWAPIMockRecorder) CreateGatewayNetwork(req any, opts ...any) *MockVPCGWAPICreateGatewayNetworkCall

CreateGatewayNetwork indicates an expected call of CreateGatewayNetwork.

func (*MockVPCGWAPIMockRecorder) DeleteGateway

func (mr *MockVPCGWAPIMockRecorder) DeleteGateway(req any, opts ...any) *MockVPCGWAPIDeleteGatewayCall

DeleteGateway indicates an expected call of DeleteGateway.

func (*MockVPCGWAPIMockRecorder) ListGatewayTypes

func (mr *MockVPCGWAPIMockRecorder) ListGatewayTypes(req any, opts ...any) *MockVPCGWAPIListGatewayTypesCall

ListGatewayTypes indicates an expected call of ListGatewayTypes.

func (*MockVPCGWAPIMockRecorder) ListGateways

func (mr *MockVPCGWAPIMockRecorder) ListGateways(req any, opts ...any) *MockVPCGWAPIListGatewaysCall

ListGateways indicates an expected call of ListGateways.

func (*MockVPCGWAPIMockRecorder) ListIPs

func (mr *MockVPCGWAPIMockRecorder) ListIPs(req any, opts ...any) *MockVPCGWAPIListIPsCall

ListIPs indicates an expected call of ListIPs.

func (*MockVPCGWAPIMockRecorder) UpgradeGateway

func (mr *MockVPCGWAPIMockRecorder) UpgradeGateway(req any, opts ...any) *MockVPCGWAPIUpgradeGatewayCall

UpgradeGateway indicates an expected call of UpgradeGateway.

func (*MockVPCGWAPIMockRecorder) Zones

Zones indicates an expected call of Zones.

type MockVPCGWAPIUpgradeGatewayCall

type MockVPCGWAPIUpgradeGatewayCall struct {
	*gomock.Call
}

MockVPCGWAPIUpgradeGatewayCall wrap *gomock.Call

func (*MockVPCGWAPIUpgradeGatewayCall) Do

Do rewrite *gomock.Call.Do

func (*MockVPCGWAPIUpgradeGatewayCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockVPCGWAPIUpgradeGatewayCall) Return

Return rewrite *gomock.Call.Return

type MockVPCGWAPIZonesCall

type MockVPCGWAPIZonesCall struct {
	*gomock.Call
}

MockVPCGWAPIZonesCall wrap *gomock.Call

func (*MockVPCGWAPIZonesCall) Do

Do rewrite *gomock.Call.Do

func (*MockVPCGWAPIZonesCall) DoAndReturn

func (c *MockVPCGWAPIZonesCall) DoAndReturn(f func() []scw.Zone) *MockVPCGWAPIZonesCall

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockVPCGWAPIZonesCall) Return

Return rewrite *gomock.Call.Return

type MockVPCGWCreateGatewayCall

type MockVPCGWCreateGatewayCall struct {
	*gomock.Call
}

MockVPCGWCreateGatewayCall wrap *gomock.Call

func (*MockVPCGWCreateGatewayCall) Do

Do rewrite *gomock.Call.Do

func (*MockVPCGWCreateGatewayCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockVPCGWCreateGatewayCall) Return

Return rewrite *gomock.Call.Return

type MockVPCGWCreateGatewayNetworkCall

type MockVPCGWCreateGatewayNetworkCall struct {
	*gomock.Call
}

MockVPCGWCreateGatewayNetworkCall wrap *gomock.Call

func (*MockVPCGWCreateGatewayNetworkCall) Do

Do rewrite *gomock.Call.Do

func (*MockVPCGWCreateGatewayNetworkCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockVPCGWCreateGatewayNetworkCall) Return

Return rewrite *gomock.Call.Return

type MockVPCGWDeleteGatewayCall

type MockVPCGWDeleteGatewayCall struct {
	*gomock.Call
}

MockVPCGWDeleteGatewayCall wrap *gomock.Call

func (*MockVPCGWDeleteGatewayCall) Do

Do rewrite *gomock.Call.Do

func (*MockVPCGWDeleteGatewayCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockVPCGWDeleteGatewayCall) Return

Return rewrite *gomock.Call.Return

type MockVPCGWFindGatewayIPCall

type MockVPCGWFindGatewayIPCall struct {
	*gomock.Call
}

MockVPCGWFindGatewayIPCall wrap *gomock.Call

func (*MockVPCGWFindGatewayIPCall) Do

Do rewrite *gomock.Call.Do

func (*MockVPCGWFindGatewayIPCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockVPCGWFindGatewayIPCall) Return

Return rewrite *gomock.Call.Return

type MockVPCGWFindGatewaysCall

type MockVPCGWFindGatewaysCall struct {
	*gomock.Call
}

MockVPCGWFindGatewaysCall wrap *gomock.Call

func (*MockVPCGWFindGatewaysCall) Do

Do rewrite *gomock.Call.Do

func (*MockVPCGWFindGatewaysCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockVPCGWFindGatewaysCall) Return

Return rewrite *gomock.Call.Return

type MockVPCGWListGatewayTypesCall

type MockVPCGWListGatewayTypesCall struct {
	*gomock.Call
}

MockVPCGWListGatewayTypesCall wrap *gomock.Call

func (*MockVPCGWListGatewayTypesCall) Do

Do rewrite *gomock.Call.Do

func (*MockVPCGWListGatewayTypesCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockVPCGWListGatewayTypesCall) Return

Return rewrite *gomock.Call.Return

type MockVPCGWMockRecorder

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

MockVPCGWMockRecorder is the mock recorder for MockVPCGW.

func (*MockVPCGWMockRecorder) CreateGateway

func (mr *MockVPCGWMockRecorder) CreateGateway(ctx, zone, name, gwType, tags, ipID any) *MockVPCGWCreateGatewayCall

CreateGateway indicates an expected call of CreateGateway.

func (*MockVPCGWMockRecorder) CreateGatewayNetwork

func (mr *MockVPCGWMockRecorder) CreateGatewayNetwork(ctx, zone, gatewayID, privateNetworkID any) *MockVPCGWCreateGatewayNetworkCall

CreateGatewayNetwork indicates an expected call of CreateGatewayNetwork.

func (*MockVPCGWMockRecorder) DeleteGateway

func (mr *MockVPCGWMockRecorder) DeleteGateway(ctx, zone, id, deleteIP any) *MockVPCGWDeleteGatewayCall

DeleteGateway indicates an expected call of DeleteGateway.

func (*MockVPCGWMockRecorder) FindGatewayIP

func (mr *MockVPCGWMockRecorder) FindGatewayIP(ctx, zone, ip any) *MockVPCGWFindGatewayIPCall

FindGatewayIP indicates an expected call of FindGatewayIP.

func (*MockVPCGWMockRecorder) FindGateways

func (mr *MockVPCGWMockRecorder) FindGateways(ctx, tags any) *MockVPCGWFindGatewaysCall

FindGateways indicates an expected call of FindGateways.

func (*MockVPCGWMockRecorder) ListGatewayTypes

func (mr *MockVPCGWMockRecorder) ListGatewayTypes(ctx, zone any) *MockVPCGWListGatewayTypesCall

ListGatewayTypes indicates an expected call of ListGatewayTypes.

func (*MockVPCGWMockRecorder) UpgradeGateway

func (mr *MockVPCGWMockRecorder) UpgradeGateway(ctx, zone, gatewayID, newType any) *MockVPCGWUpgradeGatewayCall

UpgradeGateway indicates an expected call of UpgradeGateway.

type MockVPCGWUpgradeGatewayCall

type MockVPCGWUpgradeGatewayCall struct {
	*gomock.Call
}

MockVPCGWUpgradeGatewayCall wrap *gomock.Call

func (*MockVPCGWUpgradeGatewayCall) Do

Do rewrite *gomock.Call.Do

func (*MockVPCGWUpgradeGatewayCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockVPCGWUpgradeGatewayCall) Return

Return rewrite *gomock.Call.Return

type MockVPCGetPrivateNetworkCall

type MockVPCGetPrivateNetworkCall struct {
	*gomock.Call
}

MockVPCGetPrivateNetworkCall wrap *gomock.Call

func (*MockVPCGetPrivateNetworkCall) Do

Do rewrite *gomock.Call.Do

func (*MockVPCGetPrivateNetworkCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockVPCGetPrivateNetworkCall) Return

Return rewrite *gomock.Call.Return

type MockVPCMockRecorder

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

MockVPCMockRecorder is the mock recorder for MockVPC.

func (*MockVPCMockRecorder) CreatePrivateNetwork

func (mr *MockVPCMockRecorder) CreatePrivateNetwork(ctx, name, vpcID, subnet, tags any) *MockVPCCreatePrivateNetworkCall

CreatePrivateNetwork indicates an expected call of CreatePrivateNetwork.

func (*MockVPCMockRecorder) DeletePrivateNetwork

func (mr *MockVPCMockRecorder) DeletePrivateNetwork(ctx, id any) *MockVPCDeletePrivateNetworkCall

DeletePrivateNetwork indicates an expected call of DeletePrivateNetwork.

func (*MockVPCMockRecorder) FindPrivateNetwork

func (mr *MockVPCMockRecorder) FindPrivateNetwork(ctx, tags, vpcID any) *MockVPCFindPrivateNetworkCall

FindPrivateNetwork indicates an expected call of FindPrivateNetwork.

func (*MockVPCMockRecorder) GetPrivateNetwork

func (mr *MockVPCMockRecorder) GetPrivateNetwork(ctx, privateNetworkID any) *MockVPCGetPrivateNetworkCall

GetPrivateNetwork indicates an expected call of GetPrivateNetwork.

type MockZones

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

MockZones is a mock of Zones interface.

func NewMockZones

func NewMockZones(ctrl *gomock.Controller) *MockZones

NewMockZones creates a new mock instance.

func (*MockZones) DefaultZone

func (m *MockZones) DefaultZone() scw.Zone

DefaultZone mocks base method.

func (*MockZones) EXPECT

func (m *MockZones) EXPECT() *MockZonesMockRecorder

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

func (*MockZones) GetControlPlaneZones

func (m *MockZones) GetControlPlaneZones() []scw.Zone

GetControlPlaneZones mocks base method.

func (*MockZones) GetZoneOrDefault

func (m *MockZones) GetZoneOrDefault(zone *string) (scw.Zone, error)

GetZoneOrDefault mocks base method.

type MockZonesDefaultZoneCall

type MockZonesDefaultZoneCall struct {
	*gomock.Call
}

MockZonesDefaultZoneCall wrap *gomock.Call

func (*MockZonesDefaultZoneCall) Do

Do rewrite *gomock.Call.Do

func (*MockZonesDefaultZoneCall) DoAndReturn

func (c *MockZonesDefaultZoneCall) DoAndReturn(f func() scw.Zone) *MockZonesDefaultZoneCall

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockZonesDefaultZoneCall) Return

Return rewrite *gomock.Call.Return

type MockZonesGetControlPlaneZonesCall

type MockZonesGetControlPlaneZonesCall struct {
	*gomock.Call
}

MockZonesGetControlPlaneZonesCall wrap *gomock.Call

func (*MockZonesGetControlPlaneZonesCall) Do

Do rewrite *gomock.Call.Do

func (*MockZonesGetControlPlaneZonesCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockZonesGetControlPlaneZonesCall) Return

Return rewrite *gomock.Call.Return

type MockZonesGetZoneOrDefaultCall

type MockZonesGetZoneOrDefaultCall struct {
	*gomock.Call
}

MockZonesGetZoneOrDefaultCall wrap *gomock.Call

func (*MockZonesGetZoneOrDefaultCall) Do

Do rewrite *gomock.Call.Do

func (*MockZonesGetZoneOrDefaultCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockZonesGetZoneOrDefaultCall) Return

Return rewrite *gomock.Call.Return

type MockZonesMockRecorder

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

MockZonesMockRecorder is the mock recorder for MockZones.

func (*MockZonesMockRecorder) DefaultZone

DefaultZone indicates an expected call of DefaultZone.

func (*MockZonesMockRecorder) GetControlPlaneZones

func (mr *MockZonesMockRecorder) GetControlPlaneZones() *MockZonesGetControlPlaneZonesCall

GetControlPlaneZones indicates an expected call of GetControlPlaneZones.

func (*MockZonesMockRecorder) GetZoneOrDefault

func (mr *MockZonesMockRecorder) GetZoneOrDefault(zone any) *MockZonesGetZoneOrDefaultCall

GetZoneOrDefault indicates an expected call of GetZoneOrDefault.

type MockzonesGetter

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

MockzonesGetter is a mock of zonesGetter interface.

func NewMockzonesGetter

func NewMockzonesGetter(ctrl *gomock.Controller) *MockzonesGetter

NewMockzonesGetter creates a new mock instance.

func (*MockzonesGetter) EXPECT

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

func (*MockzonesGetter) Zones

func (m *MockzonesGetter) Zones() []scw.Zone

Zones mocks base method.

type MockzonesGetterMockRecorder

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

MockzonesGetterMockRecorder is the mock recorder for MockzonesGetter.

func (*MockzonesGetterMockRecorder) Zones

Zones indicates an expected call of Zones.

type MockzonesGetterZonesCall

type MockzonesGetterZonesCall struct {
	*gomock.Call
}

MockzonesGetterZonesCall wrap *gomock.Call

func (*MockzonesGetterZonesCall) Do

Do rewrite *gomock.Call.Do

func (*MockzonesGetterZonesCall) DoAndReturn

func (c *MockzonesGetterZonesCall) DoAndReturn(f func() []scw.Zone) *MockzonesGetterZonesCall

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockzonesGetterZonesCall) Return

Return rewrite *gomock.Call.Return

Jump to

Keyboard shortcuts

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