mock

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: May 2, 2025 License: Apache-2.0 Imports: 32 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package mock is a generated GoMock package.

Package mock is a generated GoMock package.

Package mock is a generated GoMock package.

Package mock is a generated GoMock package.

Package mock is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockComputeClient

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

MockComputeClient is a mock of ComputeClient interface.

func NewMockComputeClient

func NewMockComputeClient(ctrl *gomock.Controller) *MockComputeClient

NewMockComputeClient creates a new mock instance.

func (*MockComputeClient) CreateFlavor

CreateFlavor mocks base method.

func (*MockComputeClient) CreateServer

func (m *MockComputeClient) CreateServer(ctx context.Context, createOpts servers.CreateOptsBuilder, schedulerHints servers.SchedulerHintOptsBuilder) (*servers.Server, error)

CreateServer mocks base method.

func (*MockComputeClient) DeleteAttachedInterface

func (m *MockComputeClient) DeleteAttachedInterface(serverID, portID string) error

DeleteAttachedInterface mocks base method.

func (*MockComputeClient) DeleteFlavor

func (m *MockComputeClient) DeleteFlavor(ctx context.Context, id string) error

DeleteFlavor mocks base method.

func (*MockComputeClient) DeleteServer

func (m *MockComputeClient) DeleteServer(ctx context.Context, serverID string) error

DeleteServer mocks base method.

func (*MockComputeClient) EXPECT

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

func (*MockComputeClient) GetFlavor

func (m *MockComputeClient) GetFlavor(ctx context.Context, id string) (*flavors.Flavor, error)

GetFlavor mocks base method.

func (*MockComputeClient) GetServer

func (m *MockComputeClient) GetServer(ctx context.Context, serverID string) (*servers.Server, error)

GetServer mocks base method.

func (*MockComputeClient) ListAttachedInterfaces

func (m *MockComputeClient) ListAttachedInterfaces(serverID string) ([]attachinterfaces.Interface, error)

ListAttachedInterfaces mocks base method.

func (*MockComputeClient) ListAvailabilityZones

func (m *MockComputeClient) ListAvailabilityZones() ([]availabilityzones.AvailabilityZone, error)

ListAvailabilityZones mocks base method.

func (*MockComputeClient) ListFlavors

func (m *MockComputeClient) ListFlavors(ctx context.Context, listOpts flavors.ListOptsBuilder) <-chan osclients.Result[*flavors.Flavor]

ListFlavors mocks base method.

func (*MockComputeClient) ListServerGroups

func (m *MockComputeClient) ListServerGroups() ([]servergroups.ServerGroup, error)

ListServerGroups mocks base method.

func (*MockComputeClient) ListServers

func (m *MockComputeClient) ListServers(ctx context.Context, listOpts servers.ListOptsBuilder) <-chan osclients.Result[*servers.Server]

ListServers mocks base method.

type MockComputeClientMockRecorder

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

MockComputeClientMockRecorder is the mock recorder for MockComputeClient.

func (*MockComputeClientMockRecorder) CreateFlavor

func (mr *MockComputeClientMockRecorder) CreateFlavor(ctx, opts any) *gomock.Call

CreateFlavor indicates an expected call of CreateFlavor.

func (*MockComputeClientMockRecorder) CreateServer

func (mr *MockComputeClientMockRecorder) CreateServer(ctx, createOpts, schedulerHints any) *gomock.Call

CreateServer indicates an expected call of CreateServer.

func (*MockComputeClientMockRecorder) DeleteAttachedInterface

func (mr *MockComputeClientMockRecorder) DeleteAttachedInterface(serverID, portID any) *gomock.Call

DeleteAttachedInterface indicates an expected call of DeleteAttachedInterface.

func (*MockComputeClientMockRecorder) DeleteFlavor

func (mr *MockComputeClientMockRecorder) DeleteFlavor(ctx, id any) *gomock.Call

DeleteFlavor indicates an expected call of DeleteFlavor.

func (*MockComputeClientMockRecorder) DeleteServer

func (mr *MockComputeClientMockRecorder) DeleteServer(ctx, serverID any) *gomock.Call

DeleteServer indicates an expected call of DeleteServer.

func (*MockComputeClientMockRecorder) GetFlavor

func (mr *MockComputeClientMockRecorder) GetFlavor(ctx, id any) *gomock.Call

GetFlavor indicates an expected call of GetFlavor.

func (*MockComputeClientMockRecorder) GetServer

func (mr *MockComputeClientMockRecorder) GetServer(ctx, serverID any) *gomock.Call

GetServer indicates an expected call of GetServer.

func (*MockComputeClientMockRecorder) ListAttachedInterfaces

func (mr *MockComputeClientMockRecorder) ListAttachedInterfaces(serverID any) *gomock.Call

ListAttachedInterfaces indicates an expected call of ListAttachedInterfaces.

func (*MockComputeClientMockRecorder) ListAvailabilityZones

func (mr *MockComputeClientMockRecorder) ListAvailabilityZones() *gomock.Call

ListAvailabilityZones indicates an expected call of ListAvailabilityZones.

func (*MockComputeClientMockRecorder) ListFlavors

func (mr *MockComputeClientMockRecorder) ListFlavors(ctx, listOpts any) *gomock.Call

ListFlavors indicates an expected call of ListFlavors.

func (*MockComputeClientMockRecorder) ListServerGroups

func (mr *MockComputeClientMockRecorder) ListServerGroups() *gomock.Call

ListServerGroups indicates an expected call of ListServerGroups.

func (*MockComputeClientMockRecorder) ListServers

func (mr *MockComputeClientMockRecorder) ListServers(ctx, listOpts any) *gomock.Call

ListServers indicates an expected call of ListServers.

type MockImageClient

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

MockImageClient is a mock of ImageClient interface.

func NewMockImageClient

func NewMockImageClient(ctrl *gomock.Controller) *MockImageClient

NewMockImageClient creates a new mock instance.

func (*MockImageClient) CreateImage

func (m *MockImageClient) CreateImage(ctx context.Context, createOpts images.CreateOptsBuilder) (*images.Image, error)

CreateImage mocks base method.

func (*MockImageClient) CreateImport

func (m *MockImageClient) CreateImport(ctx context.Context, id string, createOpts imageimport.CreateOptsBuilder) error

CreateImport mocks base method.

func (*MockImageClient) DeleteImage

func (m *MockImageClient) DeleteImage(ctx context.Context, id string) error

DeleteImage mocks base method.

func (*MockImageClient) EXPECT

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

func (*MockImageClient) GetImage

func (m *MockImageClient) GetImage(id string) (*images.Image, error)

GetImage mocks base method.

func (*MockImageClient) GetImportInfo

func (m *MockImageClient) GetImportInfo(ctx context.Context) (*imageimport.ImportInfo, error)

GetImportInfo mocks base method.

func (*MockImageClient) ListImages

func (m *MockImageClient) ListImages(listOpts images.ListOptsBuilder) ([]images.Image, error)

ListImages mocks base method.

func (*MockImageClient) UploadData

func (m *MockImageClient) UploadData(ctx context.Context, id string, data io.Reader) error

UploadData mocks base method.

type MockImageClientMockRecorder

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

MockImageClientMockRecorder is the mock recorder for MockImageClient.

func (*MockImageClientMockRecorder) CreateImage

func (mr *MockImageClientMockRecorder) CreateImage(ctx, createOpts any) *gomock.Call

CreateImage indicates an expected call of CreateImage.

func (*MockImageClientMockRecorder) CreateImport

func (mr *MockImageClientMockRecorder) CreateImport(ctx, id, createOpts any) *gomock.Call

CreateImport indicates an expected call of CreateImport.

func (*MockImageClientMockRecorder) DeleteImage

func (mr *MockImageClientMockRecorder) DeleteImage(ctx, id any) *gomock.Call

DeleteImage indicates an expected call of DeleteImage.

func (*MockImageClientMockRecorder) GetImage

func (mr *MockImageClientMockRecorder) GetImage(id any) *gomock.Call

GetImage indicates an expected call of GetImage.

func (*MockImageClientMockRecorder) GetImportInfo

func (mr *MockImageClientMockRecorder) GetImportInfo(ctx any) *gomock.Call

GetImportInfo indicates an expected call of GetImportInfo.

func (*MockImageClientMockRecorder) ListImages

func (mr *MockImageClientMockRecorder) ListImages(listOpts any) *gomock.Call

ListImages indicates an expected call of ListImages.

func (*MockImageClientMockRecorder) UploadData

func (mr *MockImageClientMockRecorder) UploadData(ctx, id, data any) *gomock.Call

UploadData indicates an expected call of UploadData.

type MockLbClient

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

MockLbClient is a mock of LbClient interface.

func NewMockLbClient

func NewMockLbClient(ctrl *gomock.Controller) *MockLbClient

NewMockLbClient creates a new mock instance.

func (*MockLbClient) CreateListener

func (m *MockLbClient) CreateListener(opts listeners.CreateOptsBuilder) (*listeners.Listener, error)

CreateListener mocks base method.

func (*MockLbClient) CreateLoadBalancer

CreateLoadBalancer mocks base method.

func (*MockLbClient) CreateMonitor

func (m *MockLbClient) CreateMonitor(opts monitors.CreateOptsBuilder) (*monitors.Monitor, error)

CreateMonitor mocks base method.

func (*MockLbClient) CreatePool

func (m *MockLbClient) CreatePool(opts pools.CreateOptsBuilder) (*pools.Pool, error)

CreatePool mocks base method.

func (*MockLbClient) CreatePoolMember

func (m *MockLbClient) CreatePoolMember(poolID string, opts pools.CreateMemberOptsBuilder) (*pools.Member, error)

CreatePoolMember mocks base method.

func (*MockLbClient) DeleteListener

func (m *MockLbClient) DeleteListener(id string) error

DeleteListener mocks base method.

func (*MockLbClient) DeleteLoadBalancer

func (m *MockLbClient) DeleteLoadBalancer(id string, opts loadbalancers.DeleteOptsBuilder) error

DeleteLoadBalancer mocks base method.

func (*MockLbClient) DeleteMonitor

func (m *MockLbClient) DeleteMonitor(id string) error

DeleteMonitor mocks base method.

func (*MockLbClient) DeletePool

func (m *MockLbClient) DeletePool(id string) error

DeletePool mocks base method.

func (*MockLbClient) DeletePoolMember

func (m *MockLbClient) DeletePoolMember(poolID, lbMemberID string) error

DeletePoolMember mocks base method.

func (*MockLbClient) EXPECT

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

func (*MockLbClient) GetListener

func (m *MockLbClient) GetListener(id string) (*listeners.Listener, error)

GetListener mocks base method.

func (*MockLbClient) GetLoadBalancer

func (m *MockLbClient) GetLoadBalancer(id string) (*loadbalancers.LoadBalancer, error)

GetLoadBalancer mocks base method.

func (*MockLbClient) GetPool

func (m *MockLbClient) GetPool(id string) (*pools.Pool, error)

GetPool mocks base method.

func (*MockLbClient) ListListeners

func (m *MockLbClient) ListListeners(opts listeners.ListOptsBuilder) ([]listeners.Listener, error)

ListListeners mocks base method.

func (*MockLbClient) ListLoadBalancerFlavors

func (m *MockLbClient) ListLoadBalancerFlavors() ([]flavors.Flavor, error)

ListLoadBalancerFlavors mocks base method.

func (*MockLbClient) ListLoadBalancerProviders

func (m *MockLbClient) ListLoadBalancerProviders() ([]providers.Provider, error)

ListLoadBalancerProviders mocks base method.

func (*MockLbClient) ListLoadBalancers

ListLoadBalancers mocks base method.

func (*MockLbClient) ListMonitors

func (m *MockLbClient) ListMonitors(opts monitors.ListOptsBuilder) ([]monitors.Monitor, error)

ListMonitors mocks base method.

func (*MockLbClient) ListOctaviaVersions

func (m *MockLbClient) ListOctaviaVersions() ([]apiversions.APIVersion, error)

ListOctaviaVersions mocks base method.

func (*MockLbClient) ListPoolMember

func (m *MockLbClient) ListPoolMember(poolID string, opts pools.ListMembersOptsBuilder) ([]pools.Member, error)

ListPoolMember mocks base method.

func (*MockLbClient) ListPools

func (m *MockLbClient) ListPools(opts pools.ListOptsBuilder) ([]pools.Pool, error)

ListPools mocks base method.

func (*MockLbClient) UpdateListener

func (m *MockLbClient) UpdateListener(id string, opts listeners.UpdateOpts) (*listeners.Listener, error)

UpdateListener mocks base method.

type MockLbClientMockRecorder

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

MockLbClientMockRecorder is the mock recorder for MockLbClient.

func (*MockLbClientMockRecorder) CreateListener

func (mr *MockLbClientMockRecorder) CreateListener(opts any) *gomock.Call

CreateListener indicates an expected call of CreateListener.

func (*MockLbClientMockRecorder) CreateLoadBalancer

func (mr *MockLbClientMockRecorder) CreateLoadBalancer(opts any) *gomock.Call

CreateLoadBalancer indicates an expected call of CreateLoadBalancer.

func (*MockLbClientMockRecorder) CreateMonitor

func (mr *MockLbClientMockRecorder) CreateMonitor(opts any) *gomock.Call

CreateMonitor indicates an expected call of CreateMonitor.

func (*MockLbClientMockRecorder) CreatePool

func (mr *MockLbClientMockRecorder) CreatePool(opts any) *gomock.Call

CreatePool indicates an expected call of CreatePool.

func (*MockLbClientMockRecorder) CreatePoolMember

func (mr *MockLbClientMockRecorder) CreatePoolMember(poolID, opts any) *gomock.Call

CreatePoolMember indicates an expected call of CreatePoolMember.

func (*MockLbClientMockRecorder) DeleteListener

func (mr *MockLbClientMockRecorder) DeleteListener(id any) *gomock.Call

DeleteListener indicates an expected call of DeleteListener.

func (*MockLbClientMockRecorder) DeleteLoadBalancer

func (mr *MockLbClientMockRecorder) DeleteLoadBalancer(id, opts any) *gomock.Call

DeleteLoadBalancer indicates an expected call of DeleteLoadBalancer.

func (*MockLbClientMockRecorder) DeleteMonitor

func (mr *MockLbClientMockRecorder) DeleteMonitor(id any) *gomock.Call

DeleteMonitor indicates an expected call of DeleteMonitor.

func (*MockLbClientMockRecorder) DeletePool

func (mr *MockLbClientMockRecorder) DeletePool(id any) *gomock.Call

DeletePool indicates an expected call of DeletePool.

func (*MockLbClientMockRecorder) DeletePoolMember

func (mr *MockLbClientMockRecorder) DeletePoolMember(poolID, lbMemberID any) *gomock.Call

DeletePoolMember indicates an expected call of DeletePoolMember.

func (*MockLbClientMockRecorder) GetListener

func (mr *MockLbClientMockRecorder) GetListener(id any) *gomock.Call

GetListener indicates an expected call of GetListener.

func (*MockLbClientMockRecorder) GetLoadBalancer

func (mr *MockLbClientMockRecorder) GetLoadBalancer(id any) *gomock.Call

GetLoadBalancer indicates an expected call of GetLoadBalancer.

func (*MockLbClientMockRecorder) GetPool

func (mr *MockLbClientMockRecorder) GetPool(id any) *gomock.Call

GetPool indicates an expected call of GetPool.

func (*MockLbClientMockRecorder) ListListeners

func (mr *MockLbClientMockRecorder) ListListeners(opts any) *gomock.Call

ListListeners indicates an expected call of ListListeners.

func (*MockLbClientMockRecorder) ListLoadBalancerFlavors

func (mr *MockLbClientMockRecorder) ListLoadBalancerFlavors() *gomock.Call

ListLoadBalancerFlavors indicates an expected call of ListLoadBalancerFlavors.

func (*MockLbClientMockRecorder) ListLoadBalancerProviders

func (mr *MockLbClientMockRecorder) ListLoadBalancerProviders() *gomock.Call

ListLoadBalancerProviders indicates an expected call of ListLoadBalancerProviders.

func (*MockLbClientMockRecorder) ListLoadBalancers

func (mr *MockLbClientMockRecorder) ListLoadBalancers(opts any) *gomock.Call

ListLoadBalancers indicates an expected call of ListLoadBalancers.

func (*MockLbClientMockRecorder) ListMonitors

func (mr *MockLbClientMockRecorder) ListMonitors(opts any) *gomock.Call

ListMonitors indicates an expected call of ListMonitors.

func (*MockLbClientMockRecorder) ListOctaviaVersions

func (mr *MockLbClientMockRecorder) ListOctaviaVersions() *gomock.Call

ListOctaviaVersions indicates an expected call of ListOctaviaVersions.

func (*MockLbClientMockRecorder) ListPoolMember

func (mr *MockLbClientMockRecorder) ListPoolMember(poolID, opts any) *gomock.Call

ListPoolMember indicates an expected call of ListPoolMember.

func (*MockLbClientMockRecorder) ListPools

func (mr *MockLbClientMockRecorder) ListPools(opts any) *gomock.Call

ListPools indicates an expected call of ListPools.

func (*MockLbClientMockRecorder) UpdateListener

func (mr *MockLbClientMockRecorder) UpdateListener(id, opts any) *gomock.Call

UpdateListener indicates an expected call of UpdateListener.

type MockNetworkClient

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

MockNetworkClient is a mock of NetworkClient interface.

func NewMockNetworkClient

func NewMockNetworkClient(ctrl *gomock.Controller) *MockNetworkClient

NewMockNetworkClient creates a new mock instance.

func (*MockNetworkClient) AddRouterInterface

AddRouterInterface mocks base method.

func (*MockNetworkClient) CreateFloatingIP

CreateFloatingIP mocks base method.

func (*MockNetworkClient) CreateNetwork

CreateNetwork mocks base method.

func (*MockNetworkClient) CreatePort

func (m *MockNetworkClient) CreatePort(ctx context.Context, opts ports.CreateOptsBuilder) (*ports.Port, error)

CreatePort mocks base method.

func (*MockNetworkClient) CreateRouter

CreateRouter mocks base method.

func (*MockNetworkClient) CreateSecGroup

func (m *MockNetworkClient) CreateSecGroup(ctx context.Context, opts groups.CreateOptsBuilder) (*groups.SecGroup, error)

CreateSecGroup mocks base method.

func (*MockNetworkClient) CreateSecGroupRules

func (m *MockNetworkClient) CreateSecGroupRules(ctx context.Context, opts []rules.CreateOpts) ([]rules.SecGroupRule, error)

CreateSecGroupRules mocks base method.

func (*MockNetworkClient) CreateSubnet

CreateSubnet mocks base method.

func (*MockNetworkClient) CreateTrunk

func (m *MockNetworkClient) CreateTrunk(opts trunks.CreateOptsBuilder) (*trunks.Trunk, error)

CreateTrunk mocks base method.

func (*MockNetworkClient) DeleteFloatingIP

func (m *MockNetworkClient) DeleteFloatingIP(id string) error

DeleteFloatingIP mocks base method.

func (*MockNetworkClient) DeleteNetwork

func (m *MockNetworkClient) DeleteNetwork(ctx context.Context, id string) networks.DeleteResult

DeleteNetwork mocks base method.

func (*MockNetworkClient) DeletePort

func (m *MockNetworkClient) DeletePort(ctx context.Context, id string) error

DeletePort mocks base method.

func (*MockNetworkClient) DeleteRouter

func (m *MockNetworkClient) DeleteRouter(ctx context.Context, id string) error

DeleteRouter mocks base method.

func (*MockNetworkClient) DeleteSecGroup

func (m *MockNetworkClient) DeleteSecGroup(ctx context.Context, id string) error

DeleteSecGroup mocks base method.

func (*MockNetworkClient) DeleteSecGroupRule

func (m *MockNetworkClient) DeleteSecGroupRule(ctx context.Context, id string) error

DeleteSecGroupRule mocks base method.

func (*MockNetworkClient) DeleteSubnet

func (m *MockNetworkClient) DeleteSubnet(ctx context.Context, id string) error

DeleteSubnet mocks base method.

func (*MockNetworkClient) DeleteTrunk

func (m *MockNetworkClient) DeleteTrunk(id string) error

DeleteTrunk mocks base method.

func (*MockNetworkClient) EXPECT

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

func (*MockNetworkClient) GetFloatingIP

func (m *MockNetworkClient) GetFloatingIP(id string) (*floatingips.FloatingIP, error)

GetFloatingIP mocks base method.

func (*MockNetworkClient) GetNetwork

func (m *MockNetworkClient) GetNetwork(ctx context.Context, id string) networks.GetResult

GetNetwork mocks base method.

func (*MockNetworkClient) GetPort

func (m *MockNetworkClient) GetPort(ctx context.Context, id string) (*ports.Port, error)

GetPort mocks base method.

func (*MockNetworkClient) GetRouter

func (m *MockNetworkClient) GetRouter(ctx context.Context, id string) (*routers.Router, error)

GetRouter mocks base method.

func (*MockNetworkClient) GetSecGroup

func (m *MockNetworkClient) GetSecGroup(ctx context.Context, id string) (*groups.SecGroup, error)

GetSecGroup mocks base method.

func (*MockNetworkClient) GetSecGroupRule

func (m *MockNetworkClient) GetSecGroupRule(ctx context.Context, id string) (*rules.SecGroupRule, error)

GetSecGroupRule mocks base method.

func (*MockNetworkClient) GetSubnet

func (m *MockNetworkClient) GetSubnet(ctx context.Context, id string) (*subnets.Subnet, error)

GetSubnet mocks base method.

func (*MockNetworkClient) ListExtensions

func (m *MockNetworkClient) ListExtensions() ([]extensions.Extension, error)

ListExtensions mocks base method.

func (*MockNetworkClient) ListFloatingIP

ListFloatingIP mocks base method.

func (*MockNetworkClient) ListNetwork

ListNetwork mocks base method.

func (*MockNetworkClient) ListPort

func (m *MockNetworkClient) ListPort(ctx context.Context, opts ports.ListOptsBuilder) ([]ports.Port, error)

ListPort mocks base method.

func (*MockNetworkClient) ListRouter

func (m *MockNetworkClient) ListRouter(ctx context.Context, opts routers.ListOpts) ([]routers.Router, error)

ListRouter mocks base method.

func (*MockNetworkClient) ListSecGroup

func (m *MockNetworkClient) ListSecGroup(ctx context.Context, opts groups.ListOpts) ([]groups.SecGroup, error)

ListSecGroup mocks base method.

func (*MockNetworkClient) ListSecGroupRule

func (m *MockNetworkClient) ListSecGroupRule(ctx context.Context, opts rules.ListOpts) ([]rules.SecGroupRule, error)

ListSecGroupRule mocks base method.

func (*MockNetworkClient) ListSubnet

ListSubnet mocks base method.

func (*MockNetworkClient) ListTrunk

func (m *MockNetworkClient) ListTrunk(opts trunks.ListOptsBuilder) ([]trunks.Trunk, error)

ListTrunk mocks base method.

func (*MockNetworkClient) ListTrunkSubports

func (m *MockNetworkClient) ListTrunkSubports(trunkID string) ([]trunks.Subport, error)

ListTrunkSubports mocks base method.

func (*MockNetworkClient) RemoveRouterInterface

RemoveRouterInterface mocks base method.

func (*MockNetworkClient) RemoveSubports

func (m *MockNetworkClient) RemoveSubports(id string, opts trunks.RemoveSubportsOpts) error

RemoveSubports mocks base method.

func (*MockNetworkClient) ReplaceAllAttributesTags

func (m *MockNetworkClient) ReplaceAllAttributesTags(ctx context.Context, resourceType, resourceID string, opts attributestags.ReplaceAllOptsBuilder) ([]string, error)

ReplaceAllAttributesTags mocks base method.

func (*MockNetworkClient) UpdateFloatingIP

UpdateFloatingIP mocks base method.

func (*MockNetworkClient) UpdateNetwork

UpdateNetwork mocks base method.

func (*MockNetworkClient) UpdatePort

func (m *MockNetworkClient) UpdatePort(id string, opts ports.UpdateOptsBuilder) (*ports.Port, error)

UpdatePort mocks base method.

func (*MockNetworkClient) UpdateRouter

UpdateRouter mocks base method.

func (*MockNetworkClient) UpdateSecGroup

func (m *MockNetworkClient) UpdateSecGroup(ctx context.Context, id string, opts groups.UpdateOptsBuilder) (*groups.SecGroup, error)

UpdateSecGroup mocks base method.

func (*MockNetworkClient) UpdateSubnet

UpdateSubnet mocks base method.

type MockNetworkClientMockRecorder

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

MockNetworkClientMockRecorder is the mock recorder for MockNetworkClient.

func (*MockNetworkClientMockRecorder) AddRouterInterface

func (mr *MockNetworkClientMockRecorder) AddRouterInterface(ctx, id, opts any) *gomock.Call

AddRouterInterface indicates an expected call of AddRouterInterface.

func (*MockNetworkClientMockRecorder) CreateFloatingIP

func (mr *MockNetworkClientMockRecorder) CreateFloatingIP(opts any) *gomock.Call

CreateFloatingIP indicates an expected call of CreateFloatingIP.

func (*MockNetworkClientMockRecorder) CreateNetwork

func (mr *MockNetworkClientMockRecorder) CreateNetwork(ctx, opts any) *gomock.Call

CreateNetwork indicates an expected call of CreateNetwork.

func (*MockNetworkClientMockRecorder) CreatePort

func (mr *MockNetworkClientMockRecorder) CreatePort(ctx, opts any) *gomock.Call

CreatePort indicates an expected call of CreatePort.

func (*MockNetworkClientMockRecorder) CreateRouter

func (mr *MockNetworkClientMockRecorder) CreateRouter(ctx, opts any) *gomock.Call

CreateRouter indicates an expected call of CreateRouter.

func (*MockNetworkClientMockRecorder) CreateSecGroup

func (mr *MockNetworkClientMockRecorder) CreateSecGroup(ctx, opts any) *gomock.Call

CreateSecGroup indicates an expected call of CreateSecGroup.

func (*MockNetworkClientMockRecorder) CreateSecGroupRules

func (mr *MockNetworkClientMockRecorder) CreateSecGroupRules(ctx, opts any) *gomock.Call

CreateSecGroupRules indicates an expected call of CreateSecGroupRules.

func (*MockNetworkClientMockRecorder) CreateSubnet

func (mr *MockNetworkClientMockRecorder) CreateSubnet(ctx, opts any) *gomock.Call

CreateSubnet indicates an expected call of CreateSubnet.

func (*MockNetworkClientMockRecorder) CreateTrunk

func (mr *MockNetworkClientMockRecorder) CreateTrunk(opts any) *gomock.Call

CreateTrunk indicates an expected call of CreateTrunk.

func (*MockNetworkClientMockRecorder) DeleteFloatingIP

func (mr *MockNetworkClientMockRecorder) DeleteFloatingIP(id any) *gomock.Call

DeleteFloatingIP indicates an expected call of DeleteFloatingIP.

func (*MockNetworkClientMockRecorder) DeleteNetwork

func (mr *MockNetworkClientMockRecorder) DeleteNetwork(ctx, id any) *gomock.Call

DeleteNetwork indicates an expected call of DeleteNetwork.

func (*MockNetworkClientMockRecorder) DeletePort

func (mr *MockNetworkClientMockRecorder) DeletePort(ctx, id any) *gomock.Call

DeletePort indicates an expected call of DeletePort.

func (*MockNetworkClientMockRecorder) DeleteRouter

func (mr *MockNetworkClientMockRecorder) DeleteRouter(ctx, id any) *gomock.Call

DeleteRouter indicates an expected call of DeleteRouter.

func (*MockNetworkClientMockRecorder) DeleteSecGroup

func (mr *MockNetworkClientMockRecorder) DeleteSecGroup(ctx, id any) *gomock.Call

DeleteSecGroup indicates an expected call of DeleteSecGroup.

func (*MockNetworkClientMockRecorder) DeleteSecGroupRule

func (mr *MockNetworkClientMockRecorder) DeleteSecGroupRule(ctx, id any) *gomock.Call

DeleteSecGroupRule indicates an expected call of DeleteSecGroupRule.

func (*MockNetworkClientMockRecorder) DeleteSubnet

func (mr *MockNetworkClientMockRecorder) DeleteSubnet(ctx, id any) *gomock.Call

DeleteSubnet indicates an expected call of DeleteSubnet.

func (*MockNetworkClientMockRecorder) DeleteTrunk

func (mr *MockNetworkClientMockRecorder) DeleteTrunk(id any) *gomock.Call

DeleteTrunk indicates an expected call of DeleteTrunk.

func (*MockNetworkClientMockRecorder) GetFloatingIP

func (mr *MockNetworkClientMockRecorder) GetFloatingIP(id any) *gomock.Call

GetFloatingIP indicates an expected call of GetFloatingIP.

func (*MockNetworkClientMockRecorder) GetNetwork

func (mr *MockNetworkClientMockRecorder) GetNetwork(ctx, id any) *gomock.Call

GetNetwork indicates an expected call of GetNetwork.

func (*MockNetworkClientMockRecorder) GetPort

func (mr *MockNetworkClientMockRecorder) GetPort(ctx, id any) *gomock.Call

GetPort indicates an expected call of GetPort.

func (*MockNetworkClientMockRecorder) GetRouter

func (mr *MockNetworkClientMockRecorder) GetRouter(ctx, id any) *gomock.Call

GetRouter indicates an expected call of GetRouter.

func (*MockNetworkClientMockRecorder) GetSecGroup

func (mr *MockNetworkClientMockRecorder) GetSecGroup(ctx, id any) *gomock.Call

GetSecGroup indicates an expected call of GetSecGroup.

func (*MockNetworkClientMockRecorder) GetSecGroupRule

func (mr *MockNetworkClientMockRecorder) GetSecGroupRule(ctx, id any) *gomock.Call

GetSecGroupRule indicates an expected call of GetSecGroupRule.

func (*MockNetworkClientMockRecorder) GetSubnet

func (mr *MockNetworkClientMockRecorder) GetSubnet(ctx, id any) *gomock.Call

GetSubnet indicates an expected call of GetSubnet.

func (*MockNetworkClientMockRecorder) ListExtensions

func (mr *MockNetworkClientMockRecorder) ListExtensions() *gomock.Call

ListExtensions indicates an expected call of ListExtensions.

func (*MockNetworkClientMockRecorder) ListFloatingIP

func (mr *MockNetworkClientMockRecorder) ListFloatingIP(opts any) *gomock.Call

ListFloatingIP indicates an expected call of ListFloatingIP.

func (*MockNetworkClientMockRecorder) ListNetwork

func (mr *MockNetworkClientMockRecorder) ListNetwork(opts any) *gomock.Call

ListNetwork indicates an expected call of ListNetwork.

func (*MockNetworkClientMockRecorder) ListPort

func (mr *MockNetworkClientMockRecorder) ListPort(ctx, opts any) *gomock.Call

ListPort indicates an expected call of ListPort.

func (*MockNetworkClientMockRecorder) ListRouter

func (mr *MockNetworkClientMockRecorder) ListRouter(ctx, opts any) *gomock.Call

ListRouter indicates an expected call of ListRouter.

func (*MockNetworkClientMockRecorder) ListSecGroup

func (mr *MockNetworkClientMockRecorder) ListSecGroup(ctx, opts any) *gomock.Call

ListSecGroup indicates an expected call of ListSecGroup.

func (*MockNetworkClientMockRecorder) ListSecGroupRule

func (mr *MockNetworkClientMockRecorder) ListSecGroupRule(ctx, opts any) *gomock.Call

ListSecGroupRule indicates an expected call of ListSecGroupRule.

func (*MockNetworkClientMockRecorder) ListSubnet

func (mr *MockNetworkClientMockRecorder) ListSubnet(ctx, opts any) *gomock.Call

ListSubnet indicates an expected call of ListSubnet.

func (*MockNetworkClientMockRecorder) ListTrunk

func (mr *MockNetworkClientMockRecorder) ListTrunk(opts any) *gomock.Call

ListTrunk indicates an expected call of ListTrunk.

func (*MockNetworkClientMockRecorder) ListTrunkSubports

func (mr *MockNetworkClientMockRecorder) ListTrunkSubports(trunkID any) *gomock.Call

ListTrunkSubports indicates an expected call of ListTrunkSubports.

func (*MockNetworkClientMockRecorder) RemoveRouterInterface

func (mr *MockNetworkClientMockRecorder) RemoveRouterInterface(ctx, id, opts any) *gomock.Call

RemoveRouterInterface indicates an expected call of RemoveRouterInterface.

func (*MockNetworkClientMockRecorder) RemoveSubports

func (mr *MockNetworkClientMockRecorder) RemoveSubports(id, opts any) *gomock.Call

RemoveSubports indicates an expected call of RemoveSubports.

func (*MockNetworkClientMockRecorder) ReplaceAllAttributesTags

func (mr *MockNetworkClientMockRecorder) ReplaceAllAttributesTags(ctx, resourceType, resourceID, opts any) *gomock.Call

ReplaceAllAttributesTags indicates an expected call of ReplaceAllAttributesTags.

func (*MockNetworkClientMockRecorder) UpdateFloatingIP

func (mr *MockNetworkClientMockRecorder) UpdateFloatingIP(id, opts any) *gomock.Call

UpdateFloatingIP indicates an expected call of UpdateFloatingIP.

func (*MockNetworkClientMockRecorder) UpdateNetwork

func (mr *MockNetworkClientMockRecorder) UpdateNetwork(ctx, id, opts any) *gomock.Call

UpdateNetwork indicates an expected call of UpdateNetwork.

func (*MockNetworkClientMockRecorder) UpdatePort

func (mr *MockNetworkClientMockRecorder) UpdatePort(id, opts any) *gomock.Call

UpdatePort indicates an expected call of UpdatePort.

func (*MockNetworkClientMockRecorder) UpdateRouter

func (mr *MockNetworkClientMockRecorder) UpdateRouter(ctx, id, opts any) *gomock.Call

UpdateRouter indicates an expected call of UpdateRouter.

func (*MockNetworkClientMockRecorder) UpdateSecGroup

func (mr *MockNetworkClientMockRecorder) UpdateSecGroup(ctx, id, opts any) *gomock.Call

UpdateSecGroup indicates an expected call of UpdateSecGroup.

func (*MockNetworkClientMockRecorder) UpdateSubnet

func (mr *MockNetworkClientMockRecorder) UpdateSubnet(ctx, id, opts any) *gomock.Call

UpdateSubnet indicates an expected call of UpdateSubnet.

type MockVolumeClient

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

MockVolumeClient is a mock of VolumeClient interface.

func NewMockVolumeClient

func NewMockVolumeClient(ctrl *gomock.Controller) *MockVolumeClient

NewMockVolumeClient creates a new mock instance.

func (*MockVolumeClient) CreateVolume

func (m *MockVolumeClient) CreateVolume(opts volumes.CreateOptsBuilder) (*volumes.Volume, error)

CreateVolume mocks base method.

func (*MockVolumeClient) DeleteVolume

func (m *MockVolumeClient) DeleteVolume(volumeID string, opts volumes.DeleteOptsBuilder) error

DeleteVolume mocks base method.

func (*MockVolumeClient) EXPECT

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

func (*MockVolumeClient) GetVolume

func (m *MockVolumeClient) GetVolume(volumeID string) (*volumes.Volume, error)

GetVolume mocks base method.

func (*MockVolumeClient) ListVolumes

func (m *MockVolumeClient) ListVolumes(opts volumes.ListOptsBuilder) ([]volumes.Volume, error)

ListVolumes mocks base method.

type MockVolumeClientMockRecorder

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

MockVolumeClientMockRecorder is the mock recorder for MockVolumeClient.

func (*MockVolumeClientMockRecorder) CreateVolume

func (mr *MockVolumeClientMockRecorder) CreateVolume(opts any) *gomock.Call

CreateVolume indicates an expected call of CreateVolume.

func (*MockVolumeClientMockRecorder) DeleteVolume

func (mr *MockVolumeClientMockRecorder) DeleteVolume(volumeID, opts any) *gomock.Call

DeleteVolume indicates an expected call of DeleteVolume.

func (*MockVolumeClientMockRecorder) GetVolume

func (mr *MockVolumeClientMockRecorder) GetVolume(volumeID any) *gomock.Call

GetVolume indicates an expected call of GetVolume.

func (*MockVolumeClientMockRecorder) ListVolumes

func (mr *MockVolumeClientMockRecorder) ListVolumes(opts any) *gomock.Call

ListVolumes indicates an expected call of ListVolumes.

Jump to

Keyboard shortcuts

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