Documentation
¶
Overview ¶
Code generated by MockGen. DO NOT EDIT. Source: interfaces.go
Generated by this command:
mockgen -source=interfaces.go -destination=mock/interfaces.go -package=mock
Package mock is a generated GoMock package.
Index ¶
- type MockBaremetalInterface
- type MockBaremetalInterfaceMockRecorder
- type MockComputeInterface
- func (m *MockComputeInterface) CreateImageFromServer(ctx context.Context, id string, opts *servers.CreateImageOpts) (string, error)
- func (m *MockComputeInterface) CreateKeypair(ctx context.Context, name, publicKey string) error
- func (m *MockComputeInterface) CreateRemoteConsole(ctx context.Context, id string) (*remoteconsoles.RemoteConsole, error)
- func (m *MockComputeInterface) CreateServer(ctx context.Context, server *v1alpha1.Server, keyName string, ...) (*servers.Server, error)
- func (m *MockComputeInterface) CreateServerGroup(ctx context.Context, name string) (*servergroups.ServerGroup, error)
- func (m *MockComputeInterface) DeleteKeypair(ctx context.Context, name string) error
- func (m *MockComputeInterface) DeleteServer(ctx context.Context, id string) error
- func (m *MockComputeInterface) DeleteServerGroup(ctx context.Context, id string) error
- func (m *MockComputeInterface) EXPECT() *MockComputeInterfaceMockRecorder
- func (m *MockComputeInterface) GetFlavors(ctx context.Context) ([]flavors.Flavor, error)
- func (m *MockComputeInterface) GetServer(ctx context.Context, server *v1alpha1.Server) (*servers.Server, error)
- func (m *MockComputeInterface) RebootServer(ctx context.Context, id string, hard bool) error
- func (m *MockComputeInterface) ShowConsoleOutput(ctx context.Context, id string, length *int) (string, error)
- func (m *MockComputeInterface) StartServer(ctx context.Context, id string) error
- func (m *MockComputeInterface) StopServer(ctx context.Context, id string) error
- func (m *MockComputeInterface) UpdateQuotas(ctx context.Context, projectID string) error
- type MockComputeInterfaceMockRecorder
- func (mr *MockComputeInterfaceMockRecorder) CreateImageFromServer(ctx, id, opts any) *gomock.Call
- func (mr *MockComputeInterfaceMockRecorder) CreateKeypair(ctx, name, publicKey any) *gomock.Call
- func (mr *MockComputeInterfaceMockRecorder) CreateRemoteConsole(ctx, id any) *gomock.Call
- func (mr *MockComputeInterfaceMockRecorder) CreateServer(ctx, server, keyName, networks, serverGroupID, metadata any) *gomock.Call
- func (mr *MockComputeInterfaceMockRecorder) CreateServerGroup(ctx, name any) *gomock.Call
- func (mr *MockComputeInterfaceMockRecorder) DeleteKeypair(ctx, name any) *gomock.Call
- func (mr *MockComputeInterfaceMockRecorder) DeleteServer(ctx, id any) *gomock.Call
- func (mr *MockComputeInterfaceMockRecorder) DeleteServerGroup(ctx, id any) *gomock.Call
- func (mr *MockComputeInterfaceMockRecorder) GetFlavors(ctx any) *gomock.Call
- func (mr *MockComputeInterfaceMockRecorder) GetServer(ctx, server any) *gomock.Call
- func (mr *MockComputeInterfaceMockRecorder) RebootServer(ctx, id, hard any) *gomock.Call
- func (mr *MockComputeInterfaceMockRecorder) ShowConsoleOutput(ctx, id, length any) *gomock.Call
- func (mr *MockComputeInterfaceMockRecorder) StartServer(ctx, id any) *gomock.Call
- func (mr *MockComputeInterfaceMockRecorder) StopServer(ctx, id any) *gomock.Call
- func (mr *MockComputeInterfaceMockRecorder) UpdateQuotas(ctx, projectID any) *gomock.Call
- type MockComputeQuotaInterface
- type MockComputeQuotaInterfaceMockRecorder
- type MockExternalNetworkInterface
- type MockExternalNetworkInterfaceMockRecorder
- type MockFlavorInterface
- type MockFlavorInterfaceMockRecorder
- type MockFloatingIPInterface
- func (m *MockFloatingIPInterface) CreateFloatingIP(ctx context.Context, portID string) (*floatingips.FloatingIP, error)
- func (m *MockFloatingIPInterface) DeleteFloatingIP(ctx context.Context, id string) error
- func (m *MockFloatingIPInterface) EXPECT() *MockFloatingIPInterfaceMockRecorder
- func (m *MockFloatingIPInterface) GetFloatingIP(ctx context.Context, portID string) (*floatingips.FloatingIP, error)
- type MockFloatingIPInterfaceMockRecorder
- type MockKeypairInterface
- type MockKeypairInterfaceMockRecorder
- type MockLoadBalancerInterface
- func (m *MockLoadBalancerInterface) CreateLoadBalancer(ctx context.Context, opts loadbalancers.CreateOptsBuilder) (*loadbalancers.LoadBalancer, error)
- func (m *MockLoadBalancerInterface) DeleteLoadBalancer(ctx context.Context, id string, cascade bool) error
- func (m *MockLoadBalancerInterface) EXPECT() *MockLoadBalancerInterfaceMockRecorder
- func (m *MockLoadBalancerInterface) GetLoadBalancer(ctx context.Context, loadBalancer *v1alpha1.LoadBalancer) (*loadbalancers.LoadBalancer, error)
- func (m *MockLoadBalancerInterface) ListLoadBalancers(ctx context.Context, name string) ([]loadbalancers.LoadBalancer, error)
- func (m *MockLoadBalancerInterface) UpdateLoadBalancer(ctx context.Context, id string, opts loadbalancers.UpdateOptsBuilder) (*loadbalancers.LoadBalancer, error)
- type MockLoadBalancerInterfaceMockRecorder
- func (mr *MockLoadBalancerInterfaceMockRecorder) CreateLoadBalancer(ctx, opts any) *gomock.Call
- func (mr *MockLoadBalancerInterfaceMockRecorder) DeleteLoadBalancer(ctx, id, cascade any) *gomock.Call
- func (mr *MockLoadBalancerInterfaceMockRecorder) GetLoadBalancer(ctx, loadBalancer any) *gomock.Call
- func (mr *MockLoadBalancerInterfaceMockRecorder) ListLoadBalancers(ctx, name any) *gomock.Call
- func (mr *MockLoadBalancerInterfaceMockRecorder) UpdateLoadBalancer(ctx, id, opts any) *gomock.Call
- type MockLoadBalancerListenerInterface
- func (m *MockLoadBalancerListenerInterface) CreateListener(ctx context.Context, opts listeners.CreateOptsBuilder) (*listeners.Listener, error)
- func (m *MockLoadBalancerListenerInterface) DeleteListener(ctx context.Context, id string) error
- func (m *MockLoadBalancerListenerInterface) EXPECT() *MockLoadBalancerListenerInterfaceMockRecorder
- func (m *MockLoadBalancerListenerInterface) GetListener(ctx context.Context, loadBalancerID string, ...) (*listeners.Listener, error)
- func (m *MockLoadBalancerListenerInterface) ListListeners(ctx context.Context, loadBalancerID, name string) ([]listeners.Listener, error)
- func (m *MockLoadBalancerListenerInterface) UpdateListener(ctx context.Context, id string, opts listeners.UpdateOptsBuilder) (*listeners.Listener, error)
- type MockLoadBalancerListenerInterfaceMockRecorder
- func (mr *MockLoadBalancerListenerInterfaceMockRecorder) CreateListener(ctx, opts any) *gomock.Call
- func (mr *MockLoadBalancerListenerInterfaceMockRecorder) DeleteListener(ctx, id any) *gomock.Call
- func (mr *MockLoadBalancerListenerInterfaceMockRecorder) GetListener(ctx, loadBalancerID, loadBalancer, listener any) *gomock.Call
- func (mr *MockLoadBalancerListenerInterfaceMockRecorder) ListListeners(ctx, loadBalancerID, name any) *gomock.Call
- func (mr *MockLoadBalancerListenerInterfaceMockRecorder) UpdateListener(ctx, id, opts any) *gomock.Call
- type MockLoadBalancerMemberInterface
- func (m *MockLoadBalancerMemberInterface) BatchUpdateMembers(ctx context.Context, poolID string, opts []pools.BatchUpdateMemberOpts) error
- func (m *MockLoadBalancerMemberInterface) EXPECT() *MockLoadBalancerMemberInterfaceMockRecorder
- func (m *MockLoadBalancerMemberInterface) ListMembers(ctx context.Context, poolID string) ([]pools.Member, error)
- type MockLoadBalancerMemberInterfaceMockRecorder
- type MockLoadBalancerMonitorInterface
- func (m *MockLoadBalancerMonitorInterface) CreateMonitor(ctx context.Context, opts monitors.CreateOptsBuilder) (*monitors.Monitor, error)
- func (m *MockLoadBalancerMonitorInterface) DeleteMonitor(ctx context.Context, id string) error
- func (m *MockLoadBalancerMonitorInterface) EXPECT() *MockLoadBalancerMonitorInterfaceMockRecorder
- func (m *MockLoadBalancerMonitorInterface) GetMonitor(ctx context.Context, poolID string, loadBalancer *v1alpha1.LoadBalancer, ...) (*monitors.Monitor, error)
- func (m *MockLoadBalancerMonitorInterface) ListMonitors(ctx context.Context, poolID, name string) ([]monitors.Monitor, error)
- func (m *MockLoadBalancerMonitorInterface) UpdateMonitor(ctx context.Context, id string, opts monitors.UpdateOptsBuilder) (*monitors.Monitor, error)
- type MockLoadBalancerMonitorInterfaceMockRecorder
- func (mr *MockLoadBalancerMonitorInterfaceMockRecorder) CreateMonitor(ctx, opts any) *gomock.Call
- func (mr *MockLoadBalancerMonitorInterfaceMockRecorder) DeleteMonitor(ctx, id any) *gomock.Call
- func (mr *MockLoadBalancerMonitorInterfaceMockRecorder) GetMonitor(ctx, poolID, loadBalancer, listener any) *gomock.Call
- func (mr *MockLoadBalancerMonitorInterfaceMockRecorder) ListMonitors(ctx, poolID, name any) *gomock.Call
- func (mr *MockLoadBalancerMonitorInterfaceMockRecorder) UpdateMonitor(ctx, id, opts any) *gomock.Call
- type MockLoadBalancerPoolInterface
- func (m *MockLoadBalancerPoolInterface) CreatePool(ctx context.Context, opts pools.CreateOptsBuilder) (*pools.Pool, error)
- func (m *MockLoadBalancerPoolInterface) DeletePool(ctx context.Context, id string) error
- func (m *MockLoadBalancerPoolInterface) EXPECT() *MockLoadBalancerPoolInterfaceMockRecorder
- func (m *MockLoadBalancerPoolInterface) GetPool(ctx context.Context, loadBalancerID string, ...) (*pools.Pool, error)
- func (m *MockLoadBalancerPoolInterface) ListPools(ctx context.Context, loadBalancerID, name string) ([]pools.Pool, error)
- func (m *MockLoadBalancerPoolInterface) UpdatePool(ctx context.Context, id string, opts pools.UpdateOptsBuilder) (*pools.Pool, error)
- type MockLoadBalancerPoolInterfaceMockRecorder
- func (mr *MockLoadBalancerPoolInterfaceMockRecorder) CreatePool(ctx, opts any) *gomock.Call
- func (mr *MockLoadBalancerPoolInterfaceMockRecorder) DeletePool(ctx, id any) *gomock.Call
- func (mr *MockLoadBalancerPoolInterfaceMockRecorder) GetPool(ctx, loadBalancerID, loadBalancer, listener any) *gomock.Call
- func (mr *MockLoadBalancerPoolInterfaceMockRecorder) ListPools(ctx, loadBalancerID, name any) *gomock.Call
- func (mr *MockLoadBalancerPoolInterfaceMockRecorder) UpdatePool(ctx, id, opts any) *gomock.Call
- type MockLoadBalancingInterface
- func (m *MockLoadBalancingInterface) BatchUpdateMembers(ctx context.Context, poolID string, opts []pools.BatchUpdateMemberOpts) error
- func (m *MockLoadBalancingInterface) CreateListener(ctx context.Context, opts listeners.CreateOptsBuilder) (*listeners.Listener, error)
- func (m *MockLoadBalancingInterface) CreateLoadBalancer(ctx context.Context, opts loadbalancers.CreateOptsBuilder) (*loadbalancers.LoadBalancer, error)
- func (m *MockLoadBalancingInterface) CreateMonitor(ctx context.Context, opts monitors.CreateOptsBuilder) (*monitors.Monitor, error)
- func (m *MockLoadBalancingInterface) CreatePool(ctx context.Context, opts pools.CreateOptsBuilder) (*pools.Pool, error)
- func (m *MockLoadBalancingInterface) DeleteListener(ctx context.Context, id string) error
- func (m *MockLoadBalancingInterface) DeleteLoadBalancer(ctx context.Context, id string, cascade bool) error
- func (m *MockLoadBalancingInterface) DeleteMonitor(ctx context.Context, id string) error
- func (m *MockLoadBalancingInterface) DeletePool(ctx context.Context, id string) error
- func (m *MockLoadBalancingInterface) EXPECT() *MockLoadBalancingInterfaceMockRecorder
- func (m *MockLoadBalancingInterface) GetListener(ctx context.Context, loadBalancerID string, ...) (*listeners.Listener, error)
- func (m *MockLoadBalancingInterface) GetLoadBalancer(ctx context.Context, loadBalancer *v1alpha1.LoadBalancer) (*loadbalancers.LoadBalancer, error)
- func (m *MockLoadBalancingInterface) GetMonitor(ctx context.Context, poolID string, loadBalancer *v1alpha1.LoadBalancer, ...) (*monitors.Monitor, error)
- func (m *MockLoadBalancingInterface) GetPool(ctx context.Context, loadBalancerID string, ...) (*pools.Pool, error)
- func (m *MockLoadBalancingInterface) ListListeners(ctx context.Context, loadBalancerID, name string) ([]listeners.Listener, error)
- func (m *MockLoadBalancingInterface) ListLoadBalancers(ctx context.Context, name string) ([]loadbalancers.LoadBalancer, error)
- func (m *MockLoadBalancingInterface) ListMembers(ctx context.Context, poolID string) ([]pools.Member, error)
- func (m *MockLoadBalancingInterface) ListMonitors(ctx context.Context, poolID, name string) ([]monitors.Monitor, error)
- func (m *MockLoadBalancingInterface) ListPools(ctx context.Context, loadBalancerID, name string) ([]pools.Pool, error)
- func (m *MockLoadBalancingInterface) UpdateListener(ctx context.Context, id string, opts listeners.UpdateOptsBuilder) (*listeners.Listener, error)
- func (m *MockLoadBalancingInterface) UpdateLoadBalancer(ctx context.Context, id string, opts loadbalancers.UpdateOptsBuilder) (*loadbalancers.LoadBalancer, error)
- func (m *MockLoadBalancingInterface) UpdateMonitor(ctx context.Context, id string, opts monitors.UpdateOptsBuilder) (*monitors.Monitor, error)
- func (m *MockLoadBalancingInterface) UpdatePool(ctx context.Context, id string, opts pools.UpdateOptsBuilder) (*pools.Pool, error)
- type MockLoadBalancingInterfaceMockRecorder
- func (mr *MockLoadBalancingInterfaceMockRecorder) BatchUpdateMembers(ctx, poolID, opts any) *gomock.Call
- func (mr *MockLoadBalancingInterfaceMockRecorder) CreateListener(ctx, opts any) *gomock.Call
- func (mr *MockLoadBalancingInterfaceMockRecorder) CreateLoadBalancer(ctx, opts any) *gomock.Call
- func (mr *MockLoadBalancingInterfaceMockRecorder) CreateMonitor(ctx, opts any) *gomock.Call
- func (mr *MockLoadBalancingInterfaceMockRecorder) CreatePool(ctx, opts any) *gomock.Call
- func (mr *MockLoadBalancingInterfaceMockRecorder) DeleteListener(ctx, id any) *gomock.Call
- func (mr *MockLoadBalancingInterfaceMockRecorder) DeleteLoadBalancer(ctx, id, cascade any) *gomock.Call
- func (mr *MockLoadBalancingInterfaceMockRecorder) DeleteMonitor(ctx, id any) *gomock.Call
- func (mr *MockLoadBalancingInterfaceMockRecorder) DeletePool(ctx, id any) *gomock.Call
- func (mr *MockLoadBalancingInterfaceMockRecorder) GetListener(ctx, loadBalancerID, loadBalancer, listener any) *gomock.Call
- func (mr *MockLoadBalancingInterfaceMockRecorder) GetLoadBalancer(ctx, loadBalancer any) *gomock.Call
- func (mr *MockLoadBalancingInterfaceMockRecorder) GetMonitor(ctx, poolID, loadBalancer, listener any) *gomock.Call
- func (mr *MockLoadBalancingInterfaceMockRecorder) GetPool(ctx, loadBalancerID, loadBalancer, listener any) *gomock.Call
- func (mr *MockLoadBalancingInterfaceMockRecorder) ListListeners(ctx, loadBalancerID, name any) *gomock.Call
- func (mr *MockLoadBalancingInterfaceMockRecorder) ListLoadBalancers(ctx, name any) *gomock.Call
- func (mr *MockLoadBalancingInterfaceMockRecorder) ListMembers(ctx, poolID any) *gomock.Call
- func (mr *MockLoadBalancingInterfaceMockRecorder) ListMonitors(ctx, poolID, name any) *gomock.Call
- func (mr *MockLoadBalancingInterfaceMockRecorder) ListPools(ctx, loadBalancerID, name any) *gomock.Call
- func (mr *MockLoadBalancingInterfaceMockRecorder) UpdateListener(ctx, id, opts any) *gomock.Call
- func (mr *MockLoadBalancingInterfaceMockRecorder) UpdateLoadBalancer(ctx, id, opts any) *gomock.Call
- func (mr *MockLoadBalancingInterfaceMockRecorder) UpdateMonitor(ctx, id, opts any) *gomock.Call
- func (mr *MockLoadBalancingInterfaceMockRecorder) UpdatePool(ctx, id, opts any) *gomock.Call
- type MockNetworkInterface
- func (m *MockNetworkInterface) CreateNetwork(ctx context.Context, network *v1alpha1.Network, vlanID *int) (*openstack.NetworkExt, error)
- func (m *MockNetworkInterface) DeleteNetwork(ctx context.Context, id string) error
- func (m *MockNetworkInterface) EXPECT() *MockNetworkInterfaceMockRecorder
- func (m *MockNetworkInterface) GetNetwork(ctx context.Context, network *v1alpha1.Network) (*openstack.NetworkExt, error)
- type MockNetworkInterfaceMockRecorder
- type MockNetworkingInterface
- func (m *MockNetworkingInterface) AddRouterInterface(ctx context.Context, routerID, subnetID string) error
- func (m *MockNetworkingInterface) CreateFloatingIP(ctx context.Context, portID string) (*floatingips.FloatingIP, error)
- func (m *MockNetworkingInterface) CreateNetwork(ctx context.Context, network *v1alpha1.Network, vlanID *int) (*openstack.NetworkExt, error)
- func (m *MockNetworkingInterface) CreateRouter(ctx context.Context, network *v1alpha1.Network) (*routers.Router, error)
- func (m *MockNetworkingInterface) CreateSecurityGroup(ctx context.Context, securityGroup *v1alpha1.SecurityGroup) (*groups.SecGroup, error)
- func (m *MockNetworkingInterface) CreateSecurityGroupRule(ctx context.Context, securityGroupID string, direction rules.RuleDirection, ...) (*rules.SecGroupRule, error)
- func (m *MockNetworkingInterface) CreateServerPort(ctx context.Context, server *v1alpha1.Server, networkID string, ...) (*ports.Port, error)
- func (m *MockNetworkingInterface) CreateSubnet(ctx context.Context, network *v1alpha1.Network, ...) (*subnets.Subnet, error)
- func (m *MockNetworkingInterface) DeleteFloatingIP(ctx context.Context, id string) error
- func (m *MockNetworkingInterface) DeleteNetwork(ctx context.Context, id string) error
- func (m *MockNetworkingInterface) DeletePort(ctx context.Context, portID string) error
- func (m *MockNetworkingInterface) DeleteRouter(ctx context.Context, id string) error
- func (m *MockNetworkingInterface) DeleteSecurityGroup(ctx context.Context, securityGroupID string) error
- func (m *MockNetworkingInterface) DeleteSecurityGroupRule(ctx context.Context, securityGroupID, ruleID string) error
- func (m *MockNetworkingInterface) DeleteSubnet(ctx context.Context, id string) error
- func (m *MockNetworkingInterface) EXPECT() *MockNetworkingInterfaceMockRecorder
- func (m *MockNetworkingInterface) ExternalNetworks(ctx context.Context) ([]networks.Network, error)
- func (m *MockNetworkingInterface) GetFloatingIP(ctx context.Context, portID string) (*floatingips.FloatingIP, error)
- func (m *MockNetworkingInterface) GetNetwork(ctx context.Context, network *v1alpha1.Network) (*openstack.NetworkExt, error)
- func (m *MockNetworkingInterface) GetRouter(ctx context.Context, network *v1alpha1.Network) (*routers.Router, error)
- func (m *MockNetworkingInterface) GetSecurityGroup(ctx context.Context, securityGroup *v1alpha1.SecurityGroup) (*groups.SecGroup, error)
- func (m *MockNetworkingInterface) GetServerPort(ctx context.Context, server *v1alpha1.Server) (*ports.Port, error)
- func (m *MockNetworkingInterface) GetSubnet(ctx context.Context, network *v1alpha1.Network) (*subnets.Subnet, error)
- func (m *MockNetworkingInterface) ListRouterPorts(ctx context.Context, routerID string) ([]ports.Port, error)
- func (m *MockNetworkingInterface) ListSecurityGroupRules(ctx context.Context, securityGroupID string) ([]rules.SecGroupRule, error)
- func (m *MockNetworkingInterface) ListServerPorts(ctx context.Context, serverID string) ([]ports.Port, error)
- func (m *MockNetworkingInterface) RemoveRouterInterface(ctx context.Context, routerID, subnetID string) error
- func (m *MockNetworkingInterface) UpdatePort(ctx context.Context, portID string, securityGroupIDs []string, ...) (*ports.Port, error)
- func (m *MockNetworkingInterface) UpdateSubnet(ctx context.Context, subnetID string, dnsNameservers []string, ...) (*subnets.Subnet, error)
- type MockNetworkingInterfaceMockRecorder
- func (mr *MockNetworkingInterfaceMockRecorder) AddRouterInterface(ctx, routerID, subnetID any) *gomock.Call
- func (mr *MockNetworkingInterfaceMockRecorder) CreateFloatingIP(ctx, portID any) *gomock.Call
- func (mr *MockNetworkingInterfaceMockRecorder) CreateNetwork(ctx, network, vlanID any) *gomock.Call
- func (mr *MockNetworkingInterfaceMockRecorder) CreateRouter(ctx, network any) *gomock.Call
- func (mr *MockNetworkingInterfaceMockRecorder) CreateSecurityGroup(ctx, securityGroup any) *gomock.Call
- func (mr *MockNetworkingInterfaceMockRecorder) CreateSecurityGroupRule(ctx, securityGroupID, direction, protocol, portStart, portEnd, prefix any) *gomock.Call
- func (mr *MockNetworkingInterfaceMockRecorder) CreateServerPort(ctx, server, networkID, securityGroupIDs, allowedAddressPairs any) *gomock.Call
- func (mr *MockNetworkingInterfaceMockRecorder) CreateSubnet(ctx, network, networkID, prefix, gatewayID, dnsNameservers, routes, ... any) *gomock.Call
- func (mr *MockNetworkingInterfaceMockRecorder) DeleteFloatingIP(ctx, id any) *gomock.Call
- func (mr *MockNetworkingInterfaceMockRecorder) DeleteNetwork(ctx, id any) *gomock.Call
- func (mr *MockNetworkingInterfaceMockRecorder) DeletePort(ctx, portID any) *gomock.Call
- func (mr *MockNetworkingInterfaceMockRecorder) DeleteRouter(ctx, id any) *gomock.Call
- func (mr *MockNetworkingInterfaceMockRecorder) DeleteSecurityGroup(ctx, securityGroupID any) *gomock.Call
- func (mr *MockNetworkingInterfaceMockRecorder) DeleteSecurityGroupRule(ctx, securityGroupID, ruleID any) *gomock.Call
- func (mr *MockNetworkingInterfaceMockRecorder) DeleteSubnet(ctx, id any) *gomock.Call
- func (mr *MockNetworkingInterfaceMockRecorder) ExternalNetworks(ctx any) *gomock.Call
- func (mr *MockNetworkingInterfaceMockRecorder) GetFloatingIP(ctx, portID any) *gomock.Call
- func (mr *MockNetworkingInterfaceMockRecorder) GetNetwork(ctx, network any) *gomock.Call
- func (mr *MockNetworkingInterfaceMockRecorder) GetRouter(ctx, network any) *gomock.Call
- func (mr *MockNetworkingInterfaceMockRecorder) GetSecurityGroup(ctx, securityGroup any) *gomock.Call
- func (mr *MockNetworkingInterfaceMockRecorder) GetServerPort(ctx, server any) *gomock.Call
- func (mr *MockNetworkingInterfaceMockRecorder) GetSubnet(ctx, network any) *gomock.Call
- func (mr *MockNetworkingInterfaceMockRecorder) ListRouterPorts(ctx, routerID any) *gomock.Call
- func (mr *MockNetworkingInterfaceMockRecorder) ListSecurityGroupRules(ctx, securityGroupID any) *gomock.Call
- func (mr *MockNetworkingInterfaceMockRecorder) ListServerPorts(ctx, serverID any) *gomock.Call
- func (mr *MockNetworkingInterfaceMockRecorder) RemoveRouterInterface(ctx, routerID, subnetID any) *gomock.Call
- func (mr *MockNetworkingInterfaceMockRecorder) UpdatePort(ctx, portID, securityGroupIDs, allowedAddressPairs any) *gomock.Call
- func (mr *MockNetworkingInterfaceMockRecorder) UpdateSubnet(ctx, subnetID, dnsNameservers, routes any) *gomock.Call
- type MockPlacementInterface
- type MockPlacementInterfaceMockRecorder
- type MockPortInterface
- func (m *MockPortInterface) CreateServerPort(ctx context.Context, server *v1alpha1.Server, networkID string, ...) (*ports.Port, error)
- func (m *MockPortInterface) DeletePort(ctx context.Context, portID string) error
- func (m *MockPortInterface) EXPECT() *MockPortInterfaceMockRecorder
- func (m *MockPortInterface) GetServerPort(ctx context.Context, server *v1alpha1.Server) (*ports.Port, error)
- func (m *MockPortInterface) ListRouterPorts(ctx context.Context, routerID string) ([]ports.Port, error)
- func (m *MockPortInterface) ListServerPorts(ctx context.Context, serverID string) ([]ports.Port, error)
- func (m *MockPortInterface) UpdatePort(ctx context.Context, portID string, securityGroupIDs []string, ...) (*ports.Port, error)
- type MockPortInterfaceMockRecorder
- func (mr *MockPortInterfaceMockRecorder) CreateServerPort(ctx, server, networkID, securityGroupIDs, allowedAddressPairs any) *gomock.Call
- func (mr *MockPortInterfaceMockRecorder) DeletePort(ctx, portID any) *gomock.Call
- func (mr *MockPortInterfaceMockRecorder) GetServerPort(ctx, server any) *gomock.Call
- func (mr *MockPortInterfaceMockRecorder) ListRouterPorts(ctx, routerID any) *gomock.Call
- func (mr *MockPortInterfaceMockRecorder) ListServerPorts(ctx, serverID any) *gomock.Call
- func (mr *MockPortInterfaceMockRecorder) UpdatePort(ctx, portID, securityGroupIDs, allowedAddressPairs any) *gomock.Call
- type MockRouterInterface
- func (m *MockRouterInterface) AddRouterInterface(ctx context.Context, routerID, subnetID string) error
- func (m *MockRouterInterface) CreateRouter(ctx context.Context, network *v1alpha1.Network) (*routers.Router, error)
- func (m *MockRouterInterface) DeleteRouter(ctx context.Context, id string) error
- func (m *MockRouterInterface) EXPECT() *MockRouterInterfaceMockRecorder
- func (m *MockRouterInterface) GetRouter(ctx context.Context, network *v1alpha1.Network) (*routers.Router, error)
- func (m *MockRouterInterface) RemoveRouterInterface(ctx context.Context, routerID, subnetID string) error
- type MockRouterInterfaceMockRecorder
- func (mr *MockRouterInterfaceMockRecorder) AddRouterInterface(ctx, routerID, subnetID any) *gomock.Call
- func (mr *MockRouterInterfaceMockRecorder) CreateRouter(ctx, network any) *gomock.Call
- func (mr *MockRouterInterfaceMockRecorder) DeleteRouter(ctx, id any) *gomock.Call
- func (mr *MockRouterInterfaceMockRecorder) GetRouter(ctx, network any) *gomock.Call
- func (mr *MockRouterInterfaceMockRecorder) RemoveRouterInterface(ctx, routerID, subnetID any) *gomock.Call
- type MockSecurityGroupInterface
- func (m *MockSecurityGroupInterface) CreateSecurityGroup(ctx context.Context, securityGroup *v1alpha1.SecurityGroup) (*groups.SecGroup, error)
- func (m *MockSecurityGroupInterface) CreateSecurityGroupRule(ctx context.Context, securityGroupID string, direction rules.RuleDirection, ...) (*rules.SecGroupRule, error)
- func (m *MockSecurityGroupInterface) DeleteSecurityGroup(ctx context.Context, securityGroupID string) error
- func (m *MockSecurityGroupInterface) DeleteSecurityGroupRule(ctx context.Context, securityGroupID, ruleID string) error
- func (m *MockSecurityGroupInterface) EXPECT() *MockSecurityGroupInterfaceMockRecorder
- func (m *MockSecurityGroupInterface) GetSecurityGroup(ctx context.Context, securityGroup *v1alpha1.SecurityGroup) (*groups.SecGroup, error)
- func (m *MockSecurityGroupInterface) ListSecurityGroupRules(ctx context.Context, securityGroupID string) ([]rules.SecGroupRule, error)
- type MockSecurityGroupInterfaceMockRecorder
- func (mr *MockSecurityGroupInterfaceMockRecorder) CreateSecurityGroup(ctx, securityGroup any) *gomock.Call
- func (mr *MockSecurityGroupInterfaceMockRecorder) CreateSecurityGroupRule(ctx, securityGroupID, direction, protocol, portStart, portEnd, prefix any) *gomock.Call
- func (mr *MockSecurityGroupInterfaceMockRecorder) DeleteSecurityGroup(ctx, securityGroupID any) *gomock.Call
- func (mr *MockSecurityGroupInterfaceMockRecorder) DeleteSecurityGroupRule(ctx, securityGroupID, ruleID any) *gomock.Call
- func (mr *MockSecurityGroupInterfaceMockRecorder) GetSecurityGroup(ctx, securityGroup any) *gomock.Call
- func (mr *MockSecurityGroupInterfaceMockRecorder) ListSecurityGroupRules(ctx, securityGroupID any) *gomock.Call
- type MockServerGroupInterface
- type MockServerGroupInterfaceMockRecorder
- type MockServerInterface
- func (m *MockServerInterface) CreateImageFromServer(ctx context.Context, id string, opts *servers.CreateImageOpts) (string, error)
- func (m *MockServerInterface) CreateRemoteConsole(ctx context.Context, id string) (*remoteconsoles.RemoteConsole, error)
- func (m *MockServerInterface) CreateServer(ctx context.Context, server *v1alpha1.Server, keyName string, ...) (*servers.Server, error)
- func (m *MockServerInterface) DeleteServer(ctx context.Context, id string) error
- func (m *MockServerInterface) EXPECT() *MockServerInterfaceMockRecorder
- func (m *MockServerInterface) GetServer(ctx context.Context, server *v1alpha1.Server) (*servers.Server, error)
- func (m *MockServerInterface) RebootServer(ctx context.Context, id string, hard bool) error
- func (m *MockServerInterface) ShowConsoleOutput(ctx context.Context, id string, length *int) (string, error)
- func (m *MockServerInterface) StartServer(ctx context.Context, id string) error
- func (m *MockServerInterface) StopServer(ctx context.Context, id string) error
- type MockServerInterfaceMockRecorder
- func (mr *MockServerInterfaceMockRecorder) CreateImageFromServer(ctx, id, opts any) *gomock.Call
- func (mr *MockServerInterfaceMockRecorder) CreateRemoteConsole(ctx, id any) *gomock.Call
- func (mr *MockServerInterfaceMockRecorder) CreateServer(ctx, server, keyName, networks, serverGroupID, metadata any) *gomock.Call
- func (mr *MockServerInterfaceMockRecorder) DeleteServer(ctx, id any) *gomock.Call
- func (mr *MockServerInterfaceMockRecorder) GetServer(ctx, server any) *gomock.Call
- func (mr *MockServerInterfaceMockRecorder) RebootServer(ctx, id, hard any) *gomock.Call
- func (mr *MockServerInterfaceMockRecorder) ShowConsoleOutput(ctx, id, length any) *gomock.Call
- func (mr *MockServerInterfaceMockRecorder) StartServer(ctx, id any) *gomock.Call
- func (mr *MockServerInterfaceMockRecorder) StopServer(ctx, id any) *gomock.Call
- type MockSubnetInterface
- func (m *MockSubnetInterface) CreateSubnet(ctx context.Context, network *v1alpha1.Network, ...) (*subnets.Subnet, error)
- func (m *MockSubnetInterface) DeleteSubnet(ctx context.Context, id string) error
- func (m *MockSubnetInterface) EXPECT() *MockSubnetInterfaceMockRecorder
- func (m *MockSubnetInterface) GetSubnet(ctx context.Context, network *v1alpha1.Network) (*subnets.Subnet, error)
- func (m *MockSubnetInterface) UpdateSubnet(ctx context.Context, subnetID string, dnsNameservers []string, ...) (*subnets.Subnet, error)
- type MockSubnetInterfaceMockRecorder
- func (mr *MockSubnetInterfaceMockRecorder) CreateSubnet(ctx, network, networkID, prefix, gatewayID, dnsNameservers, routes, ... any) *gomock.Call
- func (mr *MockSubnetInterfaceMockRecorder) DeleteSubnet(ctx, id any) *gomock.Call
- func (mr *MockSubnetInterfaceMockRecorder) GetSubnet(ctx, network any) *gomock.Call
- func (mr *MockSubnetInterfaceMockRecorder) UpdateSubnet(ctx, subnetID, dnsNameservers, routes any) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockBaremetalInterface ¶ added in v1.17.3
type MockBaremetalInterface struct {
// contains filtered or unexported fields
}
MockBaremetalInterface is a mock of BaremetalInterface interface.
func NewMockBaremetalInterface ¶ added in v1.17.3
func NewMockBaremetalInterface(ctrl *gomock.Controller) *MockBaremetalInterface
NewMockBaremetalInterface creates a new mock instance.
func (*MockBaremetalInterface) EXPECT ¶ added in v1.17.3
func (m *MockBaremetalInterface) EXPECT() *MockBaremetalInterfaceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockBaremetalInterface) GetNodeByInstanceUUID ¶ added in v1.17.3
func (m *MockBaremetalInterface) GetNodeByInstanceUUID(ctx context.Context, instanceUUID string) (*nodes.Node, error)
GetNodeByInstanceUUID mocks base method.
type MockBaremetalInterfaceMockRecorder ¶ added in v1.17.3
type MockBaremetalInterfaceMockRecorder struct {
// contains filtered or unexported fields
}
MockBaremetalInterfaceMockRecorder is the mock recorder for MockBaremetalInterface.
func (*MockBaremetalInterfaceMockRecorder) GetNodeByInstanceUUID ¶ added in v1.17.3
func (mr *MockBaremetalInterfaceMockRecorder) GetNodeByInstanceUUID(ctx, instanceUUID any) *gomock.Call
GetNodeByInstanceUUID indicates an expected call of GetNodeByInstanceUUID.
type MockComputeInterface ¶
type MockComputeInterface struct {
// contains filtered or unexported fields
}
MockComputeInterface is a mock of ComputeInterface interface.
func NewMockComputeInterface ¶
func NewMockComputeInterface(ctrl *gomock.Controller) *MockComputeInterface
NewMockComputeInterface creates a new mock instance.
func (*MockComputeInterface) CreateImageFromServer ¶ added in v1.13.0
func (m *MockComputeInterface) CreateImageFromServer(ctx context.Context, id string, opts *servers.CreateImageOpts) (string, error)
CreateImageFromServer mocks base method.
func (*MockComputeInterface) CreateKeypair ¶
func (m *MockComputeInterface) CreateKeypair(ctx context.Context, name, publicKey string) error
CreateKeypair mocks base method.
func (*MockComputeInterface) CreateRemoteConsole ¶
func (m *MockComputeInterface) CreateRemoteConsole(ctx context.Context, id string) (*remoteconsoles.RemoteConsole, error)
CreateRemoteConsole mocks base method.
func (*MockComputeInterface) CreateServer ¶
func (m *MockComputeInterface) CreateServer(ctx context.Context, server *v1alpha1.Server, keyName string, networks []servers.Network, serverGroupID *string, metadata map[string]string) (*servers.Server, error)
CreateServer mocks base method.
func (*MockComputeInterface) CreateServerGroup ¶
func (m *MockComputeInterface) CreateServerGroup(ctx context.Context, name string) (*servergroups.ServerGroup, error)
CreateServerGroup mocks base method.
func (*MockComputeInterface) DeleteKeypair ¶
func (m *MockComputeInterface) DeleteKeypair(ctx context.Context, name string) error
DeleteKeypair mocks base method.
func (*MockComputeInterface) DeleteServer ¶
func (m *MockComputeInterface) DeleteServer(ctx context.Context, id string) error
DeleteServer mocks base method.
func (*MockComputeInterface) DeleteServerGroup ¶
func (m *MockComputeInterface) DeleteServerGroup(ctx context.Context, id string) error
DeleteServerGroup mocks base method.
func (*MockComputeInterface) EXPECT ¶
func (m *MockComputeInterface) EXPECT() *MockComputeInterfaceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockComputeInterface) GetFlavors ¶
GetFlavors mocks base method.
func (*MockComputeInterface) GetServer ¶
func (m *MockComputeInterface) GetServer(ctx context.Context, server *v1alpha1.Server) (*servers.Server, error)
GetServer mocks base method.
func (*MockComputeInterface) RebootServer ¶
RebootServer mocks base method.
func (*MockComputeInterface) ShowConsoleOutput ¶
func (m *MockComputeInterface) ShowConsoleOutput(ctx context.Context, id string, length *int) (string, error)
ShowConsoleOutput mocks base method.
func (*MockComputeInterface) StartServer ¶
func (m *MockComputeInterface) StartServer(ctx context.Context, id string) error
StartServer mocks base method.
func (*MockComputeInterface) StopServer ¶
func (m *MockComputeInterface) StopServer(ctx context.Context, id string) error
StopServer mocks base method.
func (*MockComputeInterface) UpdateQuotas ¶
func (m *MockComputeInterface) UpdateQuotas(ctx context.Context, projectID string) error
UpdateQuotas mocks base method.
type MockComputeInterfaceMockRecorder ¶
type MockComputeInterfaceMockRecorder struct {
// contains filtered or unexported fields
}
MockComputeInterfaceMockRecorder is the mock recorder for MockComputeInterface.
func (*MockComputeInterfaceMockRecorder) CreateImageFromServer ¶ added in v1.13.0
func (mr *MockComputeInterfaceMockRecorder) CreateImageFromServer(ctx, id, opts any) *gomock.Call
CreateImageFromServer indicates an expected call of CreateImageFromServer.
func (*MockComputeInterfaceMockRecorder) CreateKeypair ¶
func (mr *MockComputeInterfaceMockRecorder) CreateKeypair(ctx, name, publicKey any) *gomock.Call
CreateKeypair indicates an expected call of CreateKeypair.
func (*MockComputeInterfaceMockRecorder) CreateRemoteConsole ¶
func (mr *MockComputeInterfaceMockRecorder) CreateRemoteConsole(ctx, id any) *gomock.Call
CreateRemoteConsole indicates an expected call of CreateRemoteConsole.
func (*MockComputeInterfaceMockRecorder) CreateServer ¶
func (mr *MockComputeInterfaceMockRecorder) CreateServer(ctx, server, keyName, networks, serverGroupID, metadata any) *gomock.Call
CreateServer indicates an expected call of CreateServer.
func (*MockComputeInterfaceMockRecorder) CreateServerGroup ¶
func (mr *MockComputeInterfaceMockRecorder) CreateServerGroup(ctx, name any) *gomock.Call
CreateServerGroup indicates an expected call of CreateServerGroup.
func (*MockComputeInterfaceMockRecorder) DeleteKeypair ¶
func (mr *MockComputeInterfaceMockRecorder) DeleteKeypair(ctx, name any) *gomock.Call
DeleteKeypair indicates an expected call of DeleteKeypair.
func (*MockComputeInterfaceMockRecorder) DeleteServer ¶
func (mr *MockComputeInterfaceMockRecorder) DeleteServer(ctx, id any) *gomock.Call
DeleteServer indicates an expected call of DeleteServer.
func (*MockComputeInterfaceMockRecorder) DeleteServerGroup ¶
func (mr *MockComputeInterfaceMockRecorder) DeleteServerGroup(ctx, id any) *gomock.Call
DeleteServerGroup indicates an expected call of DeleteServerGroup.
func (*MockComputeInterfaceMockRecorder) GetFlavors ¶
func (mr *MockComputeInterfaceMockRecorder) GetFlavors(ctx any) *gomock.Call
GetFlavors indicates an expected call of GetFlavors.
func (*MockComputeInterfaceMockRecorder) GetServer ¶
func (mr *MockComputeInterfaceMockRecorder) GetServer(ctx, server any) *gomock.Call
GetServer indicates an expected call of GetServer.
func (*MockComputeInterfaceMockRecorder) RebootServer ¶
func (mr *MockComputeInterfaceMockRecorder) RebootServer(ctx, id, hard any) *gomock.Call
RebootServer indicates an expected call of RebootServer.
func (*MockComputeInterfaceMockRecorder) ShowConsoleOutput ¶
func (mr *MockComputeInterfaceMockRecorder) ShowConsoleOutput(ctx, id, length any) *gomock.Call
ShowConsoleOutput indicates an expected call of ShowConsoleOutput.
func (*MockComputeInterfaceMockRecorder) StartServer ¶
func (mr *MockComputeInterfaceMockRecorder) StartServer(ctx, id any) *gomock.Call
StartServer indicates an expected call of StartServer.
func (*MockComputeInterfaceMockRecorder) StopServer ¶
func (mr *MockComputeInterfaceMockRecorder) StopServer(ctx, id any) *gomock.Call
StopServer indicates an expected call of StopServer.
func (*MockComputeInterfaceMockRecorder) UpdateQuotas ¶
func (mr *MockComputeInterfaceMockRecorder) UpdateQuotas(ctx, projectID any) *gomock.Call
UpdateQuotas indicates an expected call of UpdateQuotas.
type MockComputeQuotaInterface ¶
type MockComputeQuotaInterface struct {
// contains filtered or unexported fields
}
MockComputeQuotaInterface is a mock of ComputeQuotaInterface interface.
func NewMockComputeQuotaInterface ¶
func NewMockComputeQuotaInterface(ctrl *gomock.Controller) *MockComputeQuotaInterface
NewMockComputeQuotaInterface creates a new mock instance.
func (*MockComputeQuotaInterface) EXPECT ¶
func (m *MockComputeQuotaInterface) EXPECT() *MockComputeQuotaInterfaceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockComputeQuotaInterface) UpdateQuotas ¶
func (m *MockComputeQuotaInterface) UpdateQuotas(ctx context.Context, projectID string) error
UpdateQuotas mocks base method.
type MockComputeQuotaInterfaceMockRecorder ¶
type MockComputeQuotaInterfaceMockRecorder struct {
// contains filtered or unexported fields
}
MockComputeQuotaInterfaceMockRecorder is the mock recorder for MockComputeQuotaInterface.
func (*MockComputeQuotaInterfaceMockRecorder) UpdateQuotas ¶
func (mr *MockComputeQuotaInterfaceMockRecorder) UpdateQuotas(ctx, projectID any) *gomock.Call
UpdateQuotas indicates an expected call of UpdateQuotas.
type MockExternalNetworkInterface ¶ added in v1.13.0
type MockExternalNetworkInterface struct {
// contains filtered or unexported fields
}
MockExternalNetworkInterface is a mock of ExternalNetworkInterface interface.
func NewMockExternalNetworkInterface ¶ added in v1.13.0
func NewMockExternalNetworkInterface(ctrl *gomock.Controller) *MockExternalNetworkInterface
NewMockExternalNetworkInterface creates a new mock instance.
func (*MockExternalNetworkInterface) EXPECT ¶ added in v1.13.0
func (m *MockExternalNetworkInterface) EXPECT() *MockExternalNetworkInterfaceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockExternalNetworkInterface) ExternalNetworks ¶ added in v1.13.0
func (m *MockExternalNetworkInterface) ExternalNetworks(ctx context.Context) ([]networks.Network, error)
ExternalNetworks mocks base method.
type MockExternalNetworkInterfaceMockRecorder ¶ added in v1.13.0
type MockExternalNetworkInterfaceMockRecorder struct {
// contains filtered or unexported fields
}
MockExternalNetworkInterfaceMockRecorder is the mock recorder for MockExternalNetworkInterface.
func (*MockExternalNetworkInterfaceMockRecorder) ExternalNetworks ¶ added in v1.13.0
func (mr *MockExternalNetworkInterfaceMockRecorder) ExternalNetworks(ctx any) *gomock.Call
ExternalNetworks indicates an expected call of ExternalNetworks.
type MockFlavorInterface ¶
type MockFlavorInterface struct {
// contains filtered or unexported fields
}
MockFlavorInterface is a mock of FlavorInterface interface.
func NewMockFlavorInterface ¶
func NewMockFlavorInterface(ctrl *gomock.Controller) *MockFlavorInterface
NewMockFlavorInterface creates a new mock instance.
func (*MockFlavorInterface) EXPECT ¶
func (m *MockFlavorInterface) EXPECT() *MockFlavorInterfaceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockFlavorInterface) GetFlavors ¶
GetFlavors mocks base method.
type MockFlavorInterfaceMockRecorder ¶
type MockFlavorInterfaceMockRecorder struct {
// contains filtered or unexported fields
}
MockFlavorInterfaceMockRecorder is the mock recorder for MockFlavorInterface.
func (*MockFlavorInterfaceMockRecorder) GetFlavors ¶
func (mr *MockFlavorInterfaceMockRecorder) GetFlavors(ctx any) *gomock.Call
GetFlavors indicates an expected call of GetFlavors.
type MockFloatingIPInterface ¶
type MockFloatingIPInterface struct {
// contains filtered or unexported fields
}
MockFloatingIPInterface is a mock of FloatingIPInterface interface.
func NewMockFloatingIPInterface ¶
func NewMockFloatingIPInterface(ctrl *gomock.Controller) *MockFloatingIPInterface
NewMockFloatingIPInterface creates a new mock instance.
func (*MockFloatingIPInterface) CreateFloatingIP ¶
func (m *MockFloatingIPInterface) CreateFloatingIP(ctx context.Context, portID string) (*floatingips.FloatingIP, error)
CreateFloatingIP mocks base method.
func (*MockFloatingIPInterface) DeleteFloatingIP ¶
func (m *MockFloatingIPInterface) DeleteFloatingIP(ctx context.Context, id string) error
DeleteFloatingIP mocks base method.
func (*MockFloatingIPInterface) EXPECT ¶
func (m *MockFloatingIPInterface) EXPECT() *MockFloatingIPInterfaceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockFloatingIPInterface) GetFloatingIP ¶
func (m *MockFloatingIPInterface) GetFloatingIP(ctx context.Context, portID string) (*floatingips.FloatingIP, error)
GetFloatingIP mocks base method.
type MockFloatingIPInterfaceMockRecorder ¶
type MockFloatingIPInterfaceMockRecorder struct {
// contains filtered or unexported fields
}
MockFloatingIPInterfaceMockRecorder is the mock recorder for MockFloatingIPInterface.
func (*MockFloatingIPInterfaceMockRecorder) CreateFloatingIP ¶
func (mr *MockFloatingIPInterfaceMockRecorder) CreateFloatingIP(ctx, portID any) *gomock.Call
CreateFloatingIP indicates an expected call of CreateFloatingIP.
func (*MockFloatingIPInterfaceMockRecorder) DeleteFloatingIP ¶
func (mr *MockFloatingIPInterfaceMockRecorder) DeleteFloatingIP(ctx, id any) *gomock.Call
DeleteFloatingIP indicates an expected call of DeleteFloatingIP.
func (*MockFloatingIPInterfaceMockRecorder) GetFloatingIP ¶
func (mr *MockFloatingIPInterfaceMockRecorder) GetFloatingIP(ctx, portID any) *gomock.Call
GetFloatingIP indicates an expected call of GetFloatingIP.
type MockKeypairInterface ¶
type MockKeypairInterface struct {
// contains filtered or unexported fields
}
MockKeypairInterface is a mock of KeypairInterface interface.
func NewMockKeypairInterface ¶
func NewMockKeypairInterface(ctrl *gomock.Controller) *MockKeypairInterface
NewMockKeypairInterface creates a new mock instance.
func (*MockKeypairInterface) CreateKeypair ¶
func (m *MockKeypairInterface) CreateKeypair(ctx context.Context, name, publicKey string) error
CreateKeypair mocks base method.
func (*MockKeypairInterface) DeleteKeypair ¶
func (m *MockKeypairInterface) DeleteKeypair(ctx context.Context, name string) error
DeleteKeypair mocks base method.
func (*MockKeypairInterface) EXPECT ¶
func (m *MockKeypairInterface) EXPECT() *MockKeypairInterfaceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockKeypairInterfaceMockRecorder ¶
type MockKeypairInterfaceMockRecorder struct {
// contains filtered or unexported fields
}
MockKeypairInterfaceMockRecorder is the mock recorder for MockKeypairInterface.
func (*MockKeypairInterfaceMockRecorder) CreateKeypair ¶
func (mr *MockKeypairInterfaceMockRecorder) CreateKeypair(ctx, name, publicKey any) *gomock.Call
CreateKeypair indicates an expected call of CreateKeypair.
func (*MockKeypairInterfaceMockRecorder) DeleteKeypair ¶
func (mr *MockKeypairInterfaceMockRecorder) DeleteKeypair(ctx, name any) *gomock.Call
DeleteKeypair indicates an expected call of DeleteKeypair.
type MockLoadBalancerInterface ¶ added in v1.16.5
type MockLoadBalancerInterface struct {
// contains filtered or unexported fields
}
MockLoadBalancerInterface is a mock of LoadBalancerInterface interface.
func NewMockLoadBalancerInterface ¶ added in v1.16.5
func NewMockLoadBalancerInterface(ctrl *gomock.Controller) *MockLoadBalancerInterface
NewMockLoadBalancerInterface creates a new mock instance.
func (*MockLoadBalancerInterface) CreateLoadBalancer ¶ added in v1.16.5
func (m *MockLoadBalancerInterface) CreateLoadBalancer(ctx context.Context, opts loadbalancers.CreateOptsBuilder) (*loadbalancers.LoadBalancer, error)
CreateLoadBalancer mocks base method.
func (*MockLoadBalancerInterface) DeleteLoadBalancer ¶ added in v1.16.5
func (m *MockLoadBalancerInterface) DeleteLoadBalancer(ctx context.Context, id string, cascade bool) error
DeleteLoadBalancer mocks base method.
func (*MockLoadBalancerInterface) EXPECT ¶ added in v1.16.5
func (m *MockLoadBalancerInterface) EXPECT() *MockLoadBalancerInterfaceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockLoadBalancerInterface) GetLoadBalancer ¶ added in v1.16.5
func (m *MockLoadBalancerInterface) GetLoadBalancer(ctx context.Context, loadBalancer *v1alpha1.LoadBalancer) (*loadbalancers.LoadBalancer, error)
GetLoadBalancer mocks base method.
func (*MockLoadBalancerInterface) ListLoadBalancers ¶ added in v1.16.5
func (m *MockLoadBalancerInterface) ListLoadBalancers(ctx context.Context, name string) ([]loadbalancers.LoadBalancer, error)
ListLoadBalancers mocks base method.
func (*MockLoadBalancerInterface) UpdateLoadBalancer ¶ added in v1.16.5
func (m *MockLoadBalancerInterface) UpdateLoadBalancer(ctx context.Context, id string, opts loadbalancers.UpdateOptsBuilder) (*loadbalancers.LoadBalancer, error)
UpdateLoadBalancer mocks base method.
type MockLoadBalancerInterfaceMockRecorder ¶ added in v1.16.5
type MockLoadBalancerInterfaceMockRecorder struct {
// contains filtered or unexported fields
}
MockLoadBalancerInterfaceMockRecorder is the mock recorder for MockLoadBalancerInterface.
func (*MockLoadBalancerInterfaceMockRecorder) CreateLoadBalancer ¶ added in v1.16.5
func (mr *MockLoadBalancerInterfaceMockRecorder) CreateLoadBalancer(ctx, opts any) *gomock.Call
CreateLoadBalancer indicates an expected call of CreateLoadBalancer.
func (*MockLoadBalancerInterfaceMockRecorder) DeleteLoadBalancer ¶ added in v1.16.5
func (mr *MockLoadBalancerInterfaceMockRecorder) DeleteLoadBalancer(ctx, id, cascade any) *gomock.Call
DeleteLoadBalancer indicates an expected call of DeleteLoadBalancer.
func (*MockLoadBalancerInterfaceMockRecorder) GetLoadBalancer ¶ added in v1.16.5
func (mr *MockLoadBalancerInterfaceMockRecorder) GetLoadBalancer(ctx, loadBalancer any) *gomock.Call
GetLoadBalancer indicates an expected call of GetLoadBalancer.
func (*MockLoadBalancerInterfaceMockRecorder) ListLoadBalancers ¶ added in v1.16.5
func (mr *MockLoadBalancerInterfaceMockRecorder) ListLoadBalancers(ctx, name any) *gomock.Call
ListLoadBalancers indicates an expected call of ListLoadBalancers.
func (*MockLoadBalancerInterfaceMockRecorder) UpdateLoadBalancer ¶ added in v1.16.5
func (mr *MockLoadBalancerInterfaceMockRecorder) UpdateLoadBalancer(ctx, id, opts any) *gomock.Call
UpdateLoadBalancer indicates an expected call of UpdateLoadBalancer.
type MockLoadBalancerListenerInterface ¶ added in v1.16.5
type MockLoadBalancerListenerInterface struct {
// contains filtered or unexported fields
}
MockLoadBalancerListenerInterface is a mock of LoadBalancerListenerInterface interface.
func NewMockLoadBalancerListenerInterface ¶ added in v1.16.5
func NewMockLoadBalancerListenerInterface(ctrl *gomock.Controller) *MockLoadBalancerListenerInterface
NewMockLoadBalancerListenerInterface creates a new mock instance.
func (*MockLoadBalancerListenerInterface) CreateListener ¶ added in v1.16.5
func (m *MockLoadBalancerListenerInterface) CreateListener(ctx context.Context, opts listeners.CreateOptsBuilder) (*listeners.Listener, error)
CreateListener mocks base method.
func (*MockLoadBalancerListenerInterface) DeleteListener ¶ added in v1.16.5
func (m *MockLoadBalancerListenerInterface) DeleteListener(ctx context.Context, id string) error
DeleteListener mocks base method.
func (*MockLoadBalancerListenerInterface) EXPECT ¶ added in v1.16.5
func (m *MockLoadBalancerListenerInterface) EXPECT() *MockLoadBalancerListenerInterfaceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockLoadBalancerListenerInterface) GetListener ¶ added in v1.16.5
func (m *MockLoadBalancerListenerInterface) GetListener(ctx context.Context, loadBalancerID string, loadBalancer *v1alpha1.LoadBalancer, listener *v1alpha1.LoadBalancerListener) (*listeners.Listener, error)
GetListener mocks base method.
func (*MockLoadBalancerListenerInterface) ListListeners ¶ added in v1.16.5
func (m *MockLoadBalancerListenerInterface) ListListeners(ctx context.Context, loadBalancerID, name string) ([]listeners.Listener, error)
ListListeners mocks base method.
func (*MockLoadBalancerListenerInterface) UpdateListener ¶ added in v1.16.5
func (m *MockLoadBalancerListenerInterface) UpdateListener(ctx context.Context, id string, opts listeners.UpdateOptsBuilder) (*listeners.Listener, error)
UpdateListener mocks base method.
type MockLoadBalancerListenerInterfaceMockRecorder ¶ added in v1.16.5
type MockLoadBalancerListenerInterfaceMockRecorder struct {
// contains filtered or unexported fields
}
MockLoadBalancerListenerInterfaceMockRecorder is the mock recorder for MockLoadBalancerListenerInterface.
func (*MockLoadBalancerListenerInterfaceMockRecorder) CreateListener ¶ added in v1.16.5
func (mr *MockLoadBalancerListenerInterfaceMockRecorder) CreateListener(ctx, opts any) *gomock.Call
CreateListener indicates an expected call of CreateListener.
func (*MockLoadBalancerListenerInterfaceMockRecorder) DeleteListener ¶ added in v1.16.5
func (mr *MockLoadBalancerListenerInterfaceMockRecorder) DeleteListener(ctx, id any) *gomock.Call
DeleteListener indicates an expected call of DeleteListener.
func (*MockLoadBalancerListenerInterfaceMockRecorder) GetListener ¶ added in v1.16.5
func (mr *MockLoadBalancerListenerInterfaceMockRecorder) GetListener(ctx, loadBalancerID, loadBalancer, listener any) *gomock.Call
GetListener indicates an expected call of GetListener.
func (*MockLoadBalancerListenerInterfaceMockRecorder) ListListeners ¶ added in v1.16.5
func (mr *MockLoadBalancerListenerInterfaceMockRecorder) ListListeners(ctx, loadBalancerID, name any) *gomock.Call
ListListeners indicates an expected call of ListListeners.
func (*MockLoadBalancerListenerInterfaceMockRecorder) UpdateListener ¶ added in v1.16.5
func (mr *MockLoadBalancerListenerInterfaceMockRecorder) UpdateListener(ctx, id, opts any) *gomock.Call
UpdateListener indicates an expected call of UpdateListener.
type MockLoadBalancerMemberInterface ¶ added in v1.16.5
type MockLoadBalancerMemberInterface struct {
// contains filtered or unexported fields
}
MockLoadBalancerMemberInterface is a mock of LoadBalancerMemberInterface interface.
func NewMockLoadBalancerMemberInterface ¶ added in v1.16.5
func NewMockLoadBalancerMemberInterface(ctrl *gomock.Controller) *MockLoadBalancerMemberInterface
NewMockLoadBalancerMemberInterface creates a new mock instance.
func (*MockLoadBalancerMemberInterface) BatchUpdateMembers ¶ added in v1.16.5
func (m *MockLoadBalancerMemberInterface) BatchUpdateMembers(ctx context.Context, poolID string, opts []pools.BatchUpdateMemberOpts) error
BatchUpdateMembers mocks base method.
func (*MockLoadBalancerMemberInterface) EXPECT ¶ added in v1.16.5
func (m *MockLoadBalancerMemberInterface) EXPECT() *MockLoadBalancerMemberInterfaceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockLoadBalancerMemberInterface) ListMembers ¶ added in v1.16.5
func (m *MockLoadBalancerMemberInterface) ListMembers(ctx context.Context, poolID string) ([]pools.Member, error)
ListMembers mocks base method.
type MockLoadBalancerMemberInterfaceMockRecorder ¶ added in v1.16.5
type MockLoadBalancerMemberInterfaceMockRecorder struct {
// contains filtered or unexported fields
}
MockLoadBalancerMemberInterfaceMockRecorder is the mock recorder for MockLoadBalancerMemberInterface.
func (*MockLoadBalancerMemberInterfaceMockRecorder) BatchUpdateMembers ¶ added in v1.16.5
func (mr *MockLoadBalancerMemberInterfaceMockRecorder) BatchUpdateMembers(ctx, poolID, opts any) *gomock.Call
BatchUpdateMembers indicates an expected call of BatchUpdateMembers.
func (*MockLoadBalancerMemberInterfaceMockRecorder) ListMembers ¶ added in v1.16.5
func (mr *MockLoadBalancerMemberInterfaceMockRecorder) ListMembers(ctx, poolID any) *gomock.Call
ListMembers indicates an expected call of ListMembers.
type MockLoadBalancerMonitorInterface ¶ added in v1.16.5
type MockLoadBalancerMonitorInterface struct {
// contains filtered or unexported fields
}
MockLoadBalancerMonitorInterface is a mock of LoadBalancerMonitorInterface interface.
func NewMockLoadBalancerMonitorInterface ¶ added in v1.16.5
func NewMockLoadBalancerMonitorInterface(ctrl *gomock.Controller) *MockLoadBalancerMonitorInterface
NewMockLoadBalancerMonitorInterface creates a new mock instance.
func (*MockLoadBalancerMonitorInterface) CreateMonitor ¶ added in v1.16.5
func (m *MockLoadBalancerMonitorInterface) CreateMonitor(ctx context.Context, opts monitors.CreateOptsBuilder) (*monitors.Monitor, error)
CreateMonitor mocks base method.
func (*MockLoadBalancerMonitorInterface) DeleteMonitor ¶ added in v1.16.5
func (m *MockLoadBalancerMonitorInterface) DeleteMonitor(ctx context.Context, id string) error
DeleteMonitor mocks base method.
func (*MockLoadBalancerMonitorInterface) EXPECT ¶ added in v1.16.5
func (m *MockLoadBalancerMonitorInterface) EXPECT() *MockLoadBalancerMonitorInterfaceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockLoadBalancerMonitorInterface) GetMonitor ¶ added in v1.16.5
func (m *MockLoadBalancerMonitorInterface) GetMonitor(ctx context.Context, poolID string, loadBalancer *v1alpha1.LoadBalancer, listener *v1alpha1.LoadBalancerListener) (*monitors.Monitor, error)
GetMonitor mocks base method.
func (*MockLoadBalancerMonitorInterface) ListMonitors ¶ added in v1.16.5
func (m *MockLoadBalancerMonitorInterface) ListMonitors(ctx context.Context, poolID, name string) ([]monitors.Monitor, error)
ListMonitors mocks base method.
func (*MockLoadBalancerMonitorInterface) UpdateMonitor ¶ added in v1.16.5
func (m *MockLoadBalancerMonitorInterface) UpdateMonitor(ctx context.Context, id string, opts monitors.UpdateOptsBuilder) (*monitors.Monitor, error)
UpdateMonitor mocks base method.
type MockLoadBalancerMonitorInterfaceMockRecorder ¶ added in v1.16.5
type MockLoadBalancerMonitorInterfaceMockRecorder struct {
// contains filtered or unexported fields
}
MockLoadBalancerMonitorInterfaceMockRecorder is the mock recorder for MockLoadBalancerMonitorInterface.
func (*MockLoadBalancerMonitorInterfaceMockRecorder) CreateMonitor ¶ added in v1.16.5
func (mr *MockLoadBalancerMonitorInterfaceMockRecorder) CreateMonitor(ctx, opts any) *gomock.Call
CreateMonitor indicates an expected call of CreateMonitor.
func (*MockLoadBalancerMonitorInterfaceMockRecorder) DeleteMonitor ¶ added in v1.16.5
func (mr *MockLoadBalancerMonitorInterfaceMockRecorder) DeleteMonitor(ctx, id any) *gomock.Call
DeleteMonitor indicates an expected call of DeleteMonitor.
func (*MockLoadBalancerMonitorInterfaceMockRecorder) GetMonitor ¶ added in v1.16.5
func (mr *MockLoadBalancerMonitorInterfaceMockRecorder) GetMonitor(ctx, poolID, loadBalancer, listener any) *gomock.Call
GetMonitor indicates an expected call of GetMonitor.
func (*MockLoadBalancerMonitorInterfaceMockRecorder) ListMonitors ¶ added in v1.16.5
func (mr *MockLoadBalancerMonitorInterfaceMockRecorder) ListMonitors(ctx, poolID, name any) *gomock.Call
ListMonitors indicates an expected call of ListMonitors.
func (*MockLoadBalancerMonitorInterfaceMockRecorder) UpdateMonitor ¶ added in v1.16.5
func (mr *MockLoadBalancerMonitorInterfaceMockRecorder) UpdateMonitor(ctx, id, opts any) *gomock.Call
UpdateMonitor indicates an expected call of UpdateMonitor.
type MockLoadBalancerPoolInterface ¶ added in v1.16.5
type MockLoadBalancerPoolInterface struct {
// contains filtered or unexported fields
}
MockLoadBalancerPoolInterface is a mock of LoadBalancerPoolInterface interface.
func NewMockLoadBalancerPoolInterface ¶ added in v1.16.5
func NewMockLoadBalancerPoolInterface(ctrl *gomock.Controller) *MockLoadBalancerPoolInterface
NewMockLoadBalancerPoolInterface creates a new mock instance.
func (*MockLoadBalancerPoolInterface) CreatePool ¶ added in v1.16.5
func (m *MockLoadBalancerPoolInterface) CreatePool(ctx context.Context, opts pools.CreateOptsBuilder) (*pools.Pool, error)
CreatePool mocks base method.
func (*MockLoadBalancerPoolInterface) DeletePool ¶ added in v1.16.5
func (m *MockLoadBalancerPoolInterface) DeletePool(ctx context.Context, id string) error
DeletePool mocks base method.
func (*MockLoadBalancerPoolInterface) EXPECT ¶ added in v1.16.5
func (m *MockLoadBalancerPoolInterface) EXPECT() *MockLoadBalancerPoolInterfaceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockLoadBalancerPoolInterface) GetPool ¶ added in v1.16.5
func (m *MockLoadBalancerPoolInterface) GetPool(ctx context.Context, loadBalancerID string, loadBalancer *v1alpha1.LoadBalancer, listener *v1alpha1.LoadBalancerListener) (*pools.Pool, error)
GetPool mocks base method.
func (*MockLoadBalancerPoolInterface) ListPools ¶ added in v1.16.5
func (m *MockLoadBalancerPoolInterface) ListPools(ctx context.Context, loadBalancerID, name string) ([]pools.Pool, error)
ListPools mocks base method.
func (*MockLoadBalancerPoolInterface) UpdatePool ¶ added in v1.16.5
func (m *MockLoadBalancerPoolInterface) UpdatePool(ctx context.Context, id string, opts pools.UpdateOptsBuilder) (*pools.Pool, error)
UpdatePool mocks base method.
type MockLoadBalancerPoolInterfaceMockRecorder ¶ added in v1.16.5
type MockLoadBalancerPoolInterfaceMockRecorder struct {
// contains filtered or unexported fields
}
MockLoadBalancerPoolInterfaceMockRecorder is the mock recorder for MockLoadBalancerPoolInterface.
func (*MockLoadBalancerPoolInterfaceMockRecorder) CreatePool ¶ added in v1.16.5
func (mr *MockLoadBalancerPoolInterfaceMockRecorder) CreatePool(ctx, opts any) *gomock.Call
CreatePool indicates an expected call of CreatePool.
func (*MockLoadBalancerPoolInterfaceMockRecorder) DeletePool ¶ added in v1.16.5
func (mr *MockLoadBalancerPoolInterfaceMockRecorder) DeletePool(ctx, id any) *gomock.Call
DeletePool indicates an expected call of DeletePool.
func (*MockLoadBalancerPoolInterfaceMockRecorder) GetPool ¶ added in v1.16.5
func (mr *MockLoadBalancerPoolInterfaceMockRecorder) GetPool(ctx, loadBalancerID, loadBalancer, listener any) *gomock.Call
GetPool indicates an expected call of GetPool.
func (*MockLoadBalancerPoolInterfaceMockRecorder) ListPools ¶ added in v1.16.5
func (mr *MockLoadBalancerPoolInterfaceMockRecorder) ListPools(ctx, loadBalancerID, name any) *gomock.Call
ListPools indicates an expected call of ListPools.
func (*MockLoadBalancerPoolInterfaceMockRecorder) UpdatePool ¶ added in v1.16.5
func (mr *MockLoadBalancerPoolInterfaceMockRecorder) UpdatePool(ctx, id, opts any) *gomock.Call
UpdatePool indicates an expected call of UpdatePool.
type MockLoadBalancingInterface ¶ added in v1.16.5
type MockLoadBalancingInterface struct {
// contains filtered or unexported fields
}
MockLoadBalancingInterface is a mock of LoadBalancingInterface interface.
func NewMockLoadBalancingInterface ¶ added in v1.16.5
func NewMockLoadBalancingInterface(ctrl *gomock.Controller) *MockLoadBalancingInterface
NewMockLoadBalancingInterface creates a new mock instance.
func (*MockLoadBalancingInterface) BatchUpdateMembers ¶ added in v1.16.5
func (m *MockLoadBalancingInterface) BatchUpdateMembers(ctx context.Context, poolID string, opts []pools.BatchUpdateMemberOpts) error
BatchUpdateMembers mocks base method.
func (*MockLoadBalancingInterface) CreateListener ¶ added in v1.16.5
func (m *MockLoadBalancingInterface) CreateListener(ctx context.Context, opts listeners.CreateOptsBuilder) (*listeners.Listener, error)
CreateListener mocks base method.
func (*MockLoadBalancingInterface) CreateLoadBalancer ¶ added in v1.16.5
func (m *MockLoadBalancingInterface) CreateLoadBalancer(ctx context.Context, opts loadbalancers.CreateOptsBuilder) (*loadbalancers.LoadBalancer, error)
CreateLoadBalancer mocks base method.
func (*MockLoadBalancingInterface) CreateMonitor ¶ added in v1.16.5
func (m *MockLoadBalancingInterface) CreateMonitor(ctx context.Context, opts monitors.CreateOptsBuilder) (*monitors.Monitor, error)
CreateMonitor mocks base method.
func (*MockLoadBalancingInterface) CreatePool ¶ added in v1.16.5
func (m *MockLoadBalancingInterface) CreatePool(ctx context.Context, opts pools.CreateOptsBuilder) (*pools.Pool, error)
CreatePool mocks base method.
func (*MockLoadBalancingInterface) DeleteListener ¶ added in v1.16.5
func (m *MockLoadBalancingInterface) DeleteListener(ctx context.Context, id string) error
DeleteListener mocks base method.
func (*MockLoadBalancingInterface) DeleteLoadBalancer ¶ added in v1.16.5
func (m *MockLoadBalancingInterface) DeleteLoadBalancer(ctx context.Context, id string, cascade bool) error
DeleteLoadBalancer mocks base method.
func (*MockLoadBalancingInterface) DeleteMonitor ¶ added in v1.16.5
func (m *MockLoadBalancingInterface) DeleteMonitor(ctx context.Context, id string) error
DeleteMonitor mocks base method.
func (*MockLoadBalancingInterface) DeletePool ¶ added in v1.16.5
func (m *MockLoadBalancingInterface) DeletePool(ctx context.Context, id string) error
DeletePool mocks base method.
func (*MockLoadBalancingInterface) EXPECT ¶ added in v1.16.5
func (m *MockLoadBalancingInterface) EXPECT() *MockLoadBalancingInterfaceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockLoadBalancingInterface) GetListener ¶ added in v1.16.5
func (m *MockLoadBalancingInterface) GetListener(ctx context.Context, loadBalancerID string, loadBalancer *v1alpha1.LoadBalancer, listener *v1alpha1.LoadBalancerListener) (*listeners.Listener, error)
GetListener mocks base method.
func (*MockLoadBalancingInterface) GetLoadBalancer ¶ added in v1.16.5
func (m *MockLoadBalancingInterface) GetLoadBalancer(ctx context.Context, loadBalancer *v1alpha1.LoadBalancer) (*loadbalancers.LoadBalancer, error)
GetLoadBalancer mocks base method.
func (*MockLoadBalancingInterface) GetMonitor ¶ added in v1.16.5
func (m *MockLoadBalancingInterface) GetMonitor(ctx context.Context, poolID string, loadBalancer *v1alpha1.LoadBalancer, listener *v1alpha1.LoadBalancerListener) (*monitors.Monitor, error)
GetMonitor mocks base method.
func (*MockLoadBalancingInterface) GetPool ¶ added in v1.16.5
func (m *MockLoadBalancingInterface) GetPool(ctx context.Context, loadBalancerID string, loadBalancer *v1alpha1.LoadBalancer, listener *v1alpha1.LoadBalancerListener) (*pools.Pool, error)
GetPool mocks base method.
func (*MockLoadBalancingInterface) ListListeners ¶ added in v1.16.5
func (m *MockLoadBalancingInterface) ListListeners(ctx context.Context, loadBalancerID, name string) ([]listeners.Listener, error)
ListListeners mocks base method.
func (*MockLoadBalancingInterface) ListLoadBalancers ¶ added in v1.16.5
func (m *MockLoadBalancingInterface) ListLoadBalancers(ctx context.Context, name string) ([]loadbalancers.LoadBalancer, error)
ListLoadBalancers mocks base method.
func (*MockLoadBalancingInterface) ListMembers ¶ added in v1.16.5
func (m *MockLoadBalancingInterface) ListMembers(ctx context.Context, poolID string) ([]pools.Member, error)
ListMembers mocks base method.
func (*MockLoadBalancingInterface) ListMonitors ¶ added in v1.16.5
func (m *MockLoadBalancingInterface) ListMonitors(ctx context.Context, poolID, name string) ([]monitors.Monitor, error)
ListMonitors mocks base method.
func (*MockLoadBalancingInterface) ListPools ¶ added in v1.16.5
func (m *MockLoadBalancingInterface) ListPools(ctx context.Context, loadBalancerID, name string) ([]pools.Pool, error)
ListPools mocks base method.
func (*MockLoadBalancingInterface) UpdateListener ¶ added in v1.16.5
func (m *MockLoadBalancingInterface) UpdateListener(ctx context.Context, id string, opts listeners.UpdateOptsBuilder) (*listeners.Listener, error)
UpdateListener mocks base method.
func (*MockLoadBalancingInterface) UpdateLoadBalancer ¶ added in v1.16.5
func (m *MockLoadBalancingInterface) UpdateLoadBalancer(ctx context.Context, id string, opts loadbalancers.UpdateOptsBuilder) (*loadbalancers.LoadBalancer, error)
UpdateLoadBalancer mocks base method.
func (*MockLoadBalancingInterface) UpdateMonitor ¶ added in v1.16.5
func (m *MockLoadBalancingInterface) UpdateMonitor(ctx context.Context, id string, opts monitors.UpdateOptsBuilder) (*monitors.Monitor, error)
UpdateMonitor mocks base method.
func (*MockLoadBalancingInterface) UpdatePool ¶ added in v1.16.5
func (m *MockLoadBalancingInterface) UpdatePool(ctx context.Context, id string, opts pools.UpdateOptsBuilder) (*pools.Pool, error)
UpdatePool mocks base method.
type MockLoadBalancingInterfaceMockRecorder ¶ added in v1.16.5
type MockLoadBalancingInterfaceMockRecorder struct {
// contains filtered or unexported fields
}
MockLoadBalancingInterfaceMockRecorder is the mock recorder for MockLoadBalancingInterface.
func (*MockLoadBalancingInterfaceMockRecorder) BatchUpdateMembers ¶ added in v1.16.5
func (mr *MockLoadBalancingInterfaceMockRecorder) BatchUpdateMembers(ctx, poolID, opts any) *gomock.Call
BatchUpdateMembers indicates an expected call of BatchUpdateMembers.
func (*MockLoadBalancingInterfaceMockRecorder) CreateListener ¶ added in v1.16.5
func (mr *MockLoadBalancingInterfaceMockRecorder) CreateListener(ctx, opts any) *gomock.Call
CreateListener indicates an expected call of CreateListener.
func (*MockLoadBalancingInterfaceMockRecorder) CreateLoadBalancer ¶ added in v1.16.5
func (mr *MockLoadBalancingInterfaceMockRecorder) CreateLoadBalancer(ctx, opts any) *gomock.Call
CreateLoadBalancer indicates an expected call of CreateLoadBalancer.
func (*MockLoadBalancingInterfaceMockRecorder) CreateMonitor ¶ added in v1.16.5
func (mr *MockLoadBalancingInterfaceMockRecorder) CreateMonitor(ctx, opts any) *gomock.Call
CreateMonitor indicates an expected call of CreateMonitor.
func (*MockLoadBalancingInterfaceMockRecorder) CreatePool ¶ added in v1.16.5
func (mr *MockLoadBalancingInterfaceMockRecorder) CreatePool(ctx, opts any) *gomock.Call
CreatePool indicates an expected call of CreatePool.
func (*MockLoadBalancingInterfaceMockRecorder) DeleteListener ¶ added in v1.16.5
func (mr *MockLoadBalancingInterfaceMockRecorder) DeleteListener(ctx, id any) *gomock.Call
DeleteListener indicates an expected call of DeleteListener.
func (*MockLoadBalancingInterfaceMockRecorder) DeleteLoadBalancer ¶ added in v1.16.5
func (mr *MockLoadBalancingInterfaceMockRecorder) DeleteLoadBalancer(ctx, id, cascade any) *gomock.Call
DeleteLoadBalancer indicates an expected call of DeleteLoadBalancer.
func (*MockLoadBalancingInterfaceMockRecorder) DeleteMonitor ¶ added in v1.16.5
func (mr *MockLoadBalancingInterfaceMockRecorder) DeleteMonitor(ctx, id any) *gomock.Call
DeleteMonitor indicates an expected call of DeleteMonitor.
func (*MockLoadBalancingInterfaceMockRecorder) DeletePool ¶ added in v1.16.5
func (mr *MockLoadBalancingInterfaceMockRecorder) DeletePool(ctx, id any) *gomock.Call
DeletePool indicates an expected call of DeletePool.
func (*MockLoadBalancingInterfaceMockRecorder) GetListener ¶ added in v1.16.5
func (mr *MockLoadBalancingInterfaceMockRecorder) GetListener(ctx, loadBalancerID, loadBalancer, listener any) *gomock.Call
GetListener indicates an expected call of GetListener.
func (*MockLoadBalancingInterfaceMockRecorder) GetLoadBalancer ¶ added in v1.16.5
func (mr *MockLoadBalancingInterfaceMockRecorder) GetLoadBalancer(ctx, loadBalancer any) *gomock.Call
GetLoadBalancer indicates an expected call of GetLoadBalancer.
func (*MockLoadBalancingInterfaceMockRecorder) GetMonitor ¶ added in v1.16.5
func (mr *MockLoadBalancingInterfaceMockRecorder) GetMonitor(ctx, poolID, loadBalancer, listener any) *gomock.Call
GetMonitor indicates an expected call of GetMonitor.
func (*MockLoadBalancingInterfaceMockRecorder) GetPool ¶ added in v1.16.5
func (mr *MockLoadBalancingInterfaceMockRecorder) GetPool(ctx, loadBalancerID, loadBalancer, listener any) *gomock.Call
GetPool indicates an expected call of GetPool.
func (*MockLoadBalancingInterfaceMockRecorder) ListListeners ¶ added in v1.16.5
func (mr *MockLoadBalancingInterfaceMockRecorder) ListListeners(ctx, loadBalancerID, name any) *gomock.Call
ListListeners indicates an expected call of ListListeners.
func (*MockLoadBalancingInterfaceMockRecorder) ListLoadBalancers ¶ added in v1.16.5
func (mr *MockLoadBalancingInterfaceMockRecorder) ListLoadBalancers(ctx, name any) *gomock.Call
ListLoadBalancers indicates an expected call of ListLoadBalancers.
func (*MockLoadBalancingInterfaceMockRecorder) ListMembers ¶ added in v1.16.5
func (mr *MockLoadBalancingInterfaceMockRecorder) ListMembers(ctx, poolID any) *gomock.Call
ListMembers indicates an expected call of ListMembers.
func (*MockLoadBalancingInterfaceMockRecorder) ListMonitors ¶ added in v1.16.5
func (mr *MockLoadBalancingInterfaceMockRecorder) ListMonitors(ctx, poolID, name any) *gomock.Call
ListMonitors indicates an expected call of ListMonitors.
func (*MockLoadBalancingInterfaceMockRecorder) ListPools ¶ added in v1.16.5
func (mr *MockLoadBalancingInterfaceMockRecorder) ListPools(ctx, loadBalancerID, name any) *gomock.Call
ListPools indicates an expected call of ListPools.
func (*MockLoadBalancingInterfaceMockRecorder) UpdateListener ¶ added in v1.16.5
func (mr *MockLoadBalancingInterfaceMockRecorder) UpdateListener(ctx, id, opts any) *gomock.Call
UpdateListener indicates an expected call of UpdateListener.
func (*MockLoadBalancingInterfaceMockRecorder) UpdateLoadBalancer ¶ added in v1.16.5
func (mr *MockLoadBalancingInterfaceMockRecorder) UpdateLoadBalancer(ctx, id, opts any) *gomock.Call
UpdateLoadBalancer indicates an expected call of UpdateLoadBalancer.
func (*MockLoadBalancingInterfaceMockRecorder) UpdateMonitor ¶ added in v1.16.5
func (mr *MockLoadBalancingInterfaceMockRecorder) UpdateMonitor(ctx, id, opts any) *gomock.Call
UpdateMonitor indicates an expected call of UpdateMonitor.
func (*MockLoadBalancingInterfaceMockRecorder) UpdatePool ¶ added in v1.16.5
func (mr *MockLoadBalancingInterfaceMockRecorder) UpdatePool(ctx, id, opts any) *gomock.Call
UpdatePool indicates an expected call of UpdatePool.
type MockNetworkInterface ¶
type MockNetworkInterface struct {
// contains filtered or unexported fields
}
MockNetworkInterface is a mock of NetworkInterface interface.
func NewMockNetworkInterface ¶
func NewMockNetworkInterface(ctrl *gomock.Controller) *MockNetworkInterface
NewMockNetworkInterface creates a new mock instance.
func (*MockNetworkInterface) CreateNetwork ¶
func (m *MockNetworkInterface) CreateNetwork(ctx context.Context, network *v1alpha1.Network, vlanID *int) (*openstack.NetworkExt, error)
CreateNetwork mocks base method.
func (*MockNetworkInterface) DeleteNetwork ¶
func (m *MockNetworkInterface) DeleteNetwork(ctx context.Context, id string) error
DeleteNetwork mocks base method.
func (*MockNetworkInterface) EXPECT ¶
func (m *MockNetworkInterface) EXPECT() *MockNetworkInterfaceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockNetworkInterface) GetNetwork ¶
func (m *MockNetworkInterface) GetNetwork(ctx context.Context, network *v1alpha1.Network) (*openstack.NetworkExt, error)
GetNetwork mocks base method.
type MockNetworkInterfaceMockRecorder ¶
type MockNetworkInterfaceMockRecorder struct {
// contains filtered or unexported fields
}
MockNetworkInterfaceMockRecorder is the mock recorder for MockNetworkInterface.
func (*MockNetworkInterfaceMockRecorder) CreateNetwork ¶
func (mr *MockNetworkInterfaceMockRecorder) CreateNetwork(ctx, network, vlanID any) *gomock.Call
CreateNetwork indicates an expected call of CreateNetwork.
func (*MockNetworkInterfaceMockRecorder) DeleteNetwork ¶
func (mr *MockNetworkInterfaceMockRecorder) DeleteNetwork(ctx, id any) *gomock.Call
DeleteNetwork indicates an expected call of DeleteNetwork.
func (*MockNetworkInterfaceMockRecorder) GetNetwork ¶
func (mr *MockNetworkInterfaceMockRecorder) GetNetwork(ctx, network any) *gomock.Call
GetNetwork indicates an expected call of GetNetwork.
type MockNetworkingInterface ¶
type MockNetworkingInterface struct {
// contains filtered or unexported fields
}
MockNetworkingInterface is a mock of NetworkingInterface interface.
func NewMockNetworkingInterface ¶
func NewMockNetworkingInterface(ctrl *gomock.Controller) *MockNetworkingInterface
NewMockNetworkingInterface creates a new mock instance.
func (*MockNetworkingInterface) AddRouterInterface ¶
func (m *MockNetworkingInterface) AddRouterInterface(ctx context.Context, routerID, subnetID string) error
AddRouterInterface mocks base method.
func (*MockNetworkingInterface) CreateFloatingIP ¶
func (m *MockNetworkingInterface) CreateFloatingIP(ctx context.Context, portID string) (*floatingips.FloatingIP, error)
CreateFloatingIP mocks base method.
func (*MockNetworkingInterface) CreateNetwork ¶
func (m *MockNetworkingInterface) CreateNetwork(ctx context.Context, network *v1alpha1.Network, vlanID *int) (*openstack.NetworkExt, error)
CreateNetwork mocks base method.
func (*MockNetworkingInterface) CreateRouter ¶
func (m *MockNetworkingInterface) CreateRouter(ctx context.Context, network *v1alpha1.Network) (*routers.Router, error)
CreateRouter mocks base method.
func (*MockNetworkingInterface) CreateSecurityGroup ¶
func (m *MockNetworkingInterface) CreateSecurityGroup(ctx context.Context, securityGroup *v1alpha1.SecurityGroup) (*groups.SecGroup, error)
CreateSecurityGroup mocks base method.
func (*MockNetworkingInterface) CreateSecurityGroupRule ¶
func (m *MockNetworkingInterface) CreateSecurityGroupRule(ctx context.Context, securityGroupID string, direction rules.RuleDirection, protocol rules.RuleProtocol, portStart, portEnd int, prefix string) (*rules.SecGroupRule, error)
CreateSecurityGroupRule mocks base method.
func (*MockNetworkingInterface) CreateServerPort ¶
func (m *MockNetworkingInterface) CreateServerPort(ctx context.Context, server *v1alpha1.Server, networkID string, securityGroupIDs []string, allowedAddressPairs []ports.AddressPair) (*ports.Port, error)
CreateServerPort mocks base method.
func (*MockNetworkingInterface) CreateSubnet ¶
func (m *MockNetworkingInterface) CreateSubnet(ctx context.Context, network *v1alpha1.Network, networkID, prefix, gatewayID string, dnsNameservers []string, routes []subnets.HostRoute, allocationPools []subnets.AllocationPool) (*subnets.Subnet, error)
CreateSubnet mocks base method.
func (*MockNetworkingInterface) DeleteFloatingIP ¶
func (m *MockNetworkingInterface) DeleteFloatingIP(ctx context.Context, id string) error
DeleteFloatingIP mocks base method.
func (*MockNetworkingInterface) DeleteNetwork ¶
func (m *MockNetworkingInterface) DeleteNetwork(ctx context.Context, id string) error
DeleteNetwork mocks base method.
func (*MockNetworkingInterface) DeletePort ¶
func (m *MockNetworkingInterface) DeletePort(ctx context.Context, portID string) error
DeletePort mocks base method.
func (*MockNetworkingInterface) DeleteRouter ¶
func (m *MockNetworkingInterface) DeleteRouter(ctx context.Context, id string) error
DeleteRouter mocks base method.
func (*MockNetworkingInterface) DeleteSecurityGroup ¶
func (m *MockNetworkingInterface) DeleteSecurityGroup(ctx context.Context, securityGroupID string) error
DeleteSecurityGroup mocks base method.
func (*MockNetworkingInterface) DeleteSecurityGroupRule ¶
func (m *MockNetworkingInterface) DeleteSecurityGroupRule(ctx context.Context, securityGroupID, ruleID string) error
DeleteSecurityGroupRule mocks base method.
func (*MockNetworkingInterface) DeleteSubnet ¶
func (m *MockNetworkingInterface) DeleteSubnet(ctx context.Context, id string) error
DeleteSubnet mocks base method.
func (*MockNetworkingInterface) EXPECT ¶
func (m *MockNetworkingInterface) EXPECT() *MockNetworkingInterfaceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockNetworkingInterface) ExternalNetworks ¶
ExternalNetworks mocks base method.
func (*MockNetworkingInterface) GetFloatingIP ¶
func (m *MockNetworkingInterface) GetFloatingIP(ctx context.Context, portID string) (*floatingips.FloatingIP, error)
GetFloatingIP mocks base method.
func (*MockNetworkingInterface) GetNetwork ¶
func (m *MockNetworkingInterface) GetNetwork(ctx context.Context, network *v1alpha1.Network) (*openstack.NetworkExt, error)
GetNetwork mocks base method.
func (*MockNetworkingInterface) GetRouter ¶
func (m *MockNetworkingInterface) GetRouter(ctx context.Context, network *v1alpha1.Network) (*routers.Router, error)
GetRouter mocks base method.
func (*MockNetworkingInterface) GetSecurityGroup ¶
func (m *MockNetworkingInterface) GetSecurityGroup(ctx context.Context, securityGroup *v1alpha1.SecurityGroup) (*groups.SecGroup, error)
GetSecurityGroup mocks base method.
func (*MockNetworkingInterface) GetServerPort ¶
func (m *MockNetworkingInterface) GetServerPort(ctx context.Context, server *v1alpha1.Server) (*ports.Port, error)
GetServerPort mocks base method.
func (*MockNetworkingInterface) GetSubnet ¶
func (m *MockNetworkingInterface) GetSubnet(ctx context.Context, network *v1alpha1.Network) (*subnets.Subnet, error)
GetSubnet mocks base method.
func (*MockNetworkingInterface) ListRouterPorts ¶
func (m *MockNetworkingInterface) ListRouterPorts(ctx context.Context, routerID string) ([]ports.Port, error)
ListRouterPorts mocks base method.
func (*MockNetworkingInterface) ListSecurityGroupRules ¶
func (m *MockNetworkingInterface) ListSecurityGroupRules(ctx context.Context, securityGroupID string) ([]rules.SecGroupRule, error)
ListSecurityGroupRules mocks base method.
func (*MockNetworkingInterface) ListServerPorts ¶
func (m *MockNetworkingInterface) ListServerPorts(ctx context.Context, serverID string) ([]ports.Port, error)
ListServerPorts mocks base method.
func (*MockNetworkingInterface) RemoveRouterInterface ¶
func (m *MockNetworkingInterface) RemoveRouterInterface(ctx context.Context, routerID, subnetID string) error
RemoveRouterInterface mocks base method.
func (*MockNetworkingInterface) UpdatePort ¶
func (m *MockNetworkingInterface) UpdatePort(ctx context.Context, portID string, securityGroupIDs []string, allowedAddressPairs []ports.AddressPair) (*ports.Port, error)
UpdatePort mocks base method.
type MockNetworkingInterfaceMockRecorder ¶
type MockNetworkingInterfaceMockRecorder struct {
// contains filtered or unexported fields
}
MockNetworkingInterfaceMockRecorder is the mock recorder for MockNetworkingInterface.
func (*MockNetworkingInterfaceMockRecorder) AddRouterInterface ¶
func (mr *MockNetworkingInterfaceMockRecorder) AddRouterInterface(ctx, routerID, subnetID any) *gomock.Call
AddRouterInterface indicates an expected call of AddRouterInterface.
func (*MockNetworkingInterfaceMockRecorder) CreateFloatingIP ¶
func (mr *MockNetworkingInterfaceMockRecorder) CreateFloatingIP(ctx, portID any) *gomock.Call
CreateFloatingIP indicates an expected call of CreateFloatingIP.
func (*MockNetworkingInterfaceMockRecorder) CreateNetwork ¶
func (mr *MockNetworkingInterfaceMockRecorder) CreateNetwork(ctx, network, vlanID any) *gomock.Call
CreateNetwork indicates an expected call of CreateNetwork.
func (*MockNetworkingInterfaceMockRecorder) CreateRouter ¶
func (mr *MockNetworkingInterfaceMockRecorder) CreateRouter(ctx, network any) *gomock.Call
CreateRouter indicates an expected call of CreateRouter.
func (*MockNetworkingInterfaceMockRecorder) CreateSecurityGroup ¶
func (mr *MockNetworkingInterfaceMockRecorder) CreateSecurityGroup(ctx, securityGroup any) *gomock.Call
CreateSecurityGroup indicates an expected call of CreateSecurityGroup.
func (*MockNetworkingInterfaceMockRecorder) CreateSecurityGroupRule ¶
func (mr *MockNetworkingInterfaceMockRecorder) CreateSecurityGroupRule(ctx, securityGroupID, direction, protocol, portStart, portEnd, prefix any) *gomock.Call
CreateSecurityGroupRule indicates an expected call of CreateSecurityGroupRule.
func (*MockNetworkingInterfaceMockRecorder) CreateServerPort ¶
func (mr *MockNetworkingInterfaceMockRecorder) CreateServerPort(ctx, server, networkID, securityGroupIDs, allowedAddressPairs any) *gomock.Call
CreateServerPort indicates an expected call of CreateServerPort.
func (*MockNetworkingInterfaceMockRecorder) CreateSubnet ¶
func (mr *MockNetworkingInterfaceMockRecorder) CreateSubnet(ctx, network, networkID, prefix, gatewayID, dnsNameservers, routes, allocationPools any) *gomock.Call
CreateSubnet indicates an expected call of CreateSubnet.
func (*MockNetworkingInterfaceMockRecorder) DeleteFloatingIP ¶
func (mr *MockNetworkingInterfaceMockRecorder) DeleteFloatingIP(ctx, id any) *gomock.Call
DeleteFloatingIP indicates an expected call of DeleteFloatingIP.
func (*MockNetworkingInterfaceMockRecorder) DeleteNetwork ¶
func (mr *MockNetworkingInterfaceMockRecorder) DeleteNetwork(ctx, id any) *gomock.Call
DeleteNetwork indicates an expected call of DeleteNetwork.
func (*MockNetworkingInterfaceMockRecorder) DeletePort ¶
func (mr *MockNetworkingInterfaceMockRecorder) DeletePort(ctx, portID any) *gomock.Call
DeletePort indicates an expected call of DeletePort.
func (*MockNetworkingInterfaceMockRecorder) DeleteRouter ¶
func (mr *MockNetworkingInterfaceMockRecorder) DeleteRouter(ctx, id any) *gomock.Call
DeleteRouter indicates an expected call of DeleteRouter.
func (*MockNetworkingInterfaceMockRecorder) DeleteSecurityGroup ¶
func (mr *MockNetworkingInterfaceMockRecorder) DeleteSecurityGroup(ctx, securityGroupID any) *gomock.Call
DeleteSecurityGroup indicates an expected call of DeleteSecurityGroup.
func (*MockNetworkingInterfaceMockRecorder) DeleteSecurityGroupRule ¶
func (mr *MockNetworkingInterfaceMockRecorder) DeleteSecurityGroupRule(ctx, securityGroupID, ruleID any) *gomock.Call
DeleteSecurityGroupRule indicates an expected call of DeleteSecurityGroupRule.
func (*MockNetworkingInterfaceMockRecorder) DeleteSubnet ¶
func (mr *MockNetworkingInterfaceMockRecorder) DeleteSubnet(ctx, id any) *gomock.Call
DeleteSubnet indicates an expected call of DeleteSubnet.
func (*MockNetworkingInterfaceMockRecorder) ExternalNetworks ¶
func (mr *MockNetworkingInterfaceMockRecorder) ExternalNetworks(ctx any) *gomock.Call
ExternalNetworks indicates an expected call of ExternalNetworks.
func (*MockNetworkingInterfaceMockRecorder) GetFloatingIP ¶
func (mr *MockNetworkingInterfaceMockRecorder) GetFloatingIP(ctx, portID any) *gomock.Call
GetFloatingIP indicates an expected call of GetFloatingIP.
func (*MockNetworkingInterfaceMockRecorder) GetNetwork ¶
func (mr *MockNetworkingInterfaceMockRecorder) GetNetwork(ctx, network any) *gomock.Call
GetNetwork indicates an expected call of GetNetwork.
func (*MockNetworkingInterfaceMockRecorder) GetRouter ¶
func (mr *MockNetworkingInterfaceMockRecorder) GetRouter(ctx, network any) *gomock.Call
GetRouter indicates an expected call of GetRouter.
func (*MockNetworkingInterfaceMockRecorder) GetSecurityGroup ¶
func (mr *MockNetworkingInterfaceMockRecorder) GetSecurityGroup(ctx, securityGroup any) *gomock.Call
GetSecurityGroup indicates an expected call of GetSecurityGroup.
func (*MockNetworkingInterfaceMockRecorder) GetServerPort ¶
func (mr *MockNetworkingInterfaceMockRecorder) GetServerPort(ctx, server any) *gomock.Call
GetServerPort indicates an expected call of GetServerPort.
func (*MockNetworkingInterfaceMockRecorder) GetSubnet ¶
func (mr *MockNetworkingInterfaceMockRecorder) GetSubnet(ctx, network any) *gomock.Call
GetSubnet indicates an expected call of GetSubnet.
func (*MockNetworkingInterfaceMockRecorder) ListRouterPorts ¶
func (mr *MockNetworkingInterfaceMockRecorder) ListRouterPorts(ctx, routerID any) *gomock.Call
ListRouterPorts indicates an expected call of ListRouterPorts.
func (*MockNetworkingInterfaceMockRecorder) ListSecurityGroupRules ¶
func (mr *MockNetworkingInterfaceMockRecorder) ListSecurityGroupRules(ctx, securityGroupID any) *gomock.Call
ListSecurityGroupRules indicates an expected call of ListSecurityGroupRules.
func (*MockNetworkingInterfaceMockRecorder) ListServerPorts ¶
func (mr *MockNetworkingInterfaceMockRecorder) ListServerPorts(ctx, serverID any) *gomock.Call
ListServerPorts indicates an expected call of ListServerPorts.
func (*MockNetworkingInterfaceMockRecorder) RemoveRouterInterface ¶
func (mr *MockNetworkingInterfaceMockRecorder) RemoveRouterInterface(ctx, routerID, subnetID any) *gomock.Call
RemoveRouterInterface indicates an expected call of RemoveRouterInterface.
func (*MockNetworkingInterfaceMockRecorder) UpdatePort ¶
func (mr *MockNetworkingInterfaceMockRecorder) UpdatePort(ctx, portID, securityGroupIDs, allowedAddressPairs any) *gomock.Call
UpdatePort indicates an expected call of UpdatePort.
func (*MockNetworkingInterfaceMockRecorder) UpdateSubnet ¶
func (mr *MockNetworkingInterfaceMockRecorder) UpdateSubnet(ctx, subnetID, dnsNameservers, routes any) *gomock.Call
UpdateSubnet indicates an expected call of UpdateSubnet.
type MockPlacementInterface ¶ added in v1.17.6
type MockPlacementInterface struct {
// contains filtered or unexported fields
}
MockPlacementInterface is a mock of PlacementInterface interface.
func NewMockPlacementInterface ¶ added in v1.17.6
func NewMockPlacementInterface(ctrl *gomock.Controller) *MockPlacementInterface
NewMockPlacementInterface creates a new mock instance.
func (*MockPlacementInterface) EXPECT ¶ added in v1.17.6
func (m *MockPlacementInterface) EXPECT() *MockPlacementInterfaceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockPlacementInterface) ResourceProviderAvailable ¶ added in v1.17.6
func (m *MockPlacementInterface) ResourceProviderAvailable(ctx context.Context, query openstack.PlacementResourceProviderQuery) (bool, error)
ResourceProviderAvailable mocks base method.
type MockPlacementInterfaceMockRecorder ¶ added in v1.17.6
type MockPlacementInterfaceMockRecorder struct {
// contains filtered or unexported fields
}
MockPlacementInterfaceMockRecorder is the mock recorder for MockPlacementInterface.
func (*MockPlacementInterfaceMockRecorder) ResourceProviderAvailable ¶ added in v1.17.6
func (mr *MockPlacementInterfaceMockRecorder) ResourceProviderAvailable(ctx, query any) *gomock.Call
ResourceProviderAvailable indicates an expected call of ResourceProviderAvailable.
type MockPortInterface ¶
type MockPortInterface struct {
// contains filtered or unexported fields
}
MockPortInterface is a mock of PortInterface interface.
func NewMockPortInterface ¶
func NewMockPortInterface(ctrl *gomock.Controller) *MockPortInterface
NewMockPortInterface creates a new mock instance.
func (*MockPortInterface) CreateServerPort ¶
func (m *MockPortInterface) CreateServerPort(ctx context.Context, server *v1alpha1.Server, networkID string, securityGroupIDs []string, allowedAddressPairs []ports.AddressPair) (*ports.Port, error)
CreateServerPort mocks base method.
func (*MockPortInterface) DeletePort ¶
func (m *MockPortInterface) DeletePort(ctx context.Context, portID string) error
DeletePort mocks base method.
func (*MockPortInterface) EXPECT ¶
func (m *MockPortInterface) EXPECT() *MockPortInterfaceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockPortInterface) GetServerPort ¶
func (m *MockPortInterface) GetServerPort(ctx context.Context, server *v1alpha1.Server) (*ports.Port, error)
GetServerPort mocks base method.
func (*MockPortInterface) ListRouterPorts ¶
func (m *MockPortInterface) ListRouterPorts(ctx context.Context, routerID string) ([]ports.Port, error)
ListRouterPorts mocks base method.
func (*MockPortInterface) ListServerPorts ¶
func (m *MockPortInterface) ListServerPorts(ctx context.Context, serverID string) ([]ports.Port, error)
ListServerPorts mocks base method.
func (*MockPortInterface) UpdatePort ¶
func (m *MockPortInterface) UpdatePort(ctx context.Context, portID string, securityGroupIDs []string, allowedAddressPairs []ports.AddressPair) (*ports.Port, error)
UpdatePort mocks base method.
type MockPortInterfaceMockRecorder ¶
type MockPortInterfaceMockRecorder struct {
// contains filtered or unexported fields
}
MockPortInterfaceMockRecorder is the mock recorder for MockPortInterface.
func (*MockPortInterfaceMockRecorder) CreateServerPort ¶
func (mr *MockPortInterfaceMockRecorder) CreateServerPort(ctx, server, networkID, securityGroupIDs, allowedAddressPairs any) *gomock.Call
CreateServerPort indicates an expected call of CreateServerPort.
func (*MockPortInterfaceMockRecorder) DeletePort ¶
func (mr *MockPortInterfaceMockRecorder) DeletePort(ctx, portID any) *gomock.Call
DeletePort indicates an expected call of DeletePort.
func (*MockPortInterfaceMockRecorder) GetServerPort ¶
func (mr *MockPortInterfaceMockRecorder) GetServerPort(ctx, server any) *gomock.Call
GetServerPort indicates an expected call of GetServerPort.
func (*MockPortInterfaceMockRecorder) ListRouterPorts ¶
func (mr *MockPortInterfaceMockRecorder) ListRouterPorts(ctx, routerID any) *gomock.Call
ListRouterPorts indicates an expected call of ListRouterPorts.
func (*MockPortInterfaceMockRecorder) ListServerPorts ¶
func (mr *MockPortInterfaceMockRecorder) ListServerPorts(ctx, serverID any) *gomock.Call
ListServerPorts indicates an expected call of ListServerPorts.
func (*MockPortInterfaceMockRecorder) UpdatePort ¶
func (mr *MockPortInterfaceMockRecorder) UpdatePort(ctx, portID, securityGroupIDs, allowedAddressPairs any) *gomock.Call
UpdatePort indicates an expected call of UpdatePort.
type MockRouterInterface ¶
type MockRouterInterface struct {
// contains filtered or unexported fields
}
MockRouterInterface is a mock of RouterInterface interface.
func NewMockRouterInterface ¶
func NewMockRouterInterface(ctrl *gomock.Controller) *MockRouterInterface
NewMockRouterInterface creates a new mock instance.
func (*MockRouterInterface) AddRouterInterface ¶
func (m *MockRouterInterface) AddRouterInterface(ctx context.Context, routerID, subnetID string) error
AddRouterInterface mocks base method.
func (*MockRouterInterface) CreateRouter ¶
func (m *MockRouterInterface) CreateRouter(ctx context.Context, network *v1alpha1.Network) (*routers.Router, error)
CreateRouter mocks base method.
func (*MockRouterInterface) DeleteRouter ¶
func (m *MockRouterInterface) DeleteRouter(ctx context.Context, id string) error
DeleteRouter mocks base method.
func (*MockRouterInterface) EXPECT ¶
func (m *MockRouterInterface) EXPECT() *MockRouterInterfaceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockRouterInterface) GetRouter ¶
func (m *MockRouterInterface) GetRouter(ctx context.Context, network *v1alpha1.Network) (*routers.Router, error)
GetRouter mocks base method.
func (*MockRouterInterface) RemoveRouterInterface ¶
func (m *MockRouterInterface) RemoveRouterInterface(ctx context.Context, routerID, subnetID string) error
RemoveRouterInterface mocks base method.
type MockRouterInterfaceMockRecorder ¶
type MockRouterInterfaceMockRecorder struct {
// contains filtered or unexported fields
}
MockRouterInterfaceMockRecorder is the mock recorder for MockRouterInterface.
func (*MockRouterInterfaceMockRecorder) AddRouterInterface ¶
func (mr *MockRouterInterfaceMockRecorder) AddRouterInterface(ctx, routerID, subnetID any) *gomock.Call
AddRouterInterface indicates an expected call of AddRouterInterface.
func (*MockRouterInterfaceMockRecorder) CreateRouter ¶
func (mr *MockRouterInterfaceMockRecorder) CreateRouter(ctx, network any) *gomock.Call
CreateRouter indicates an expected call of CreateRouter.
func (*MockRouterInterfaceMockRecorder) DeleteRouter ¶
func (mr *MockRouterInterfaceMockRecorder) DeleteRouter(ctx, id any) *gomock.Call
DeleteRouter indicates an expected call of DeleteRouter.
func (*MockRouterInterfaceMockRecorder) GetRouter ¶
func (mr *MockRouterInterfaceMockRecorder) GetRouter(ctx, network any) *gomock.Call
GetRouter indicates an expected call of GetRouter.
func (*MockRouterInterfaceMockRecorder) RemoveRouterInterface ¶
func (mr *MockRouterInterfaceMockRecorder) RemoveRouterInterface(ctx, routerID, subnetID any) *gomock.Call
RemoveRouterInterface indicates an expected call of RemoveRouterInterface.
type MockSecurityGroupInterface ¶
type MockSecurityGroupInterface struct {
// contains filtered or unexported fields
}
MockSecurityGroupInterface is a mock of SecurityGroupInterface interface.
func NewMockSecurityGroupInterface ¶
func NewMockSecurityGroupInterface(ctrl *gomock.Controller) *MockSecurityGroupInterface
NewMockSecurityGroupInterface creates a new mock instance.
func (*MockSecurityGroupInterface) CreateSecurityGroup ¶
func (m *MockSecurityGroupInterface) CreateSecurityGroup(ctx context.Context, securityGroup *v1alpha1.SecurityGroup) (*groups.SecGroup, error)
CreateSecurityGroup mocks base method.
func (*MockSecurityGroupInterface) CreateSecurityGroupRule ¶
func (m *MockSecurityGroupInterface) CreateSecurityGroupRule(ctx context.Context, securityGroupID string, direction rules.RuleDirection, protocol rules.RuleProtocol, portStart, portEnd int, prefix string) (*rules.SecGroupRule, error)
CreateSecurityGroupRule mocks base method.
func (*MockSecurityGroupInterface) DeleteSecurityGroup ¶
func (m *MockSecurityGroupInterface) DeleteSecurityGroup(ctx context.Context, securityGroupID string) error
DeleteSecurityGroup mocks base method.
func (*MockSecurityGroupInterface) DeleteSecurityGroupRule ¶
func (m *MockSecurityGroupInterface) DeleteSecurityGroupRule(ctx context.Context, securityGroupID, ruleID string) error
DeleteSecurityGroupRule mocks base method.
func (*MockSecurityGroupInterface) EXPECT ¶
func (m *MockSecurityGroupInterface) EXPECT() *MockSecurityGroupInterfaceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockSecurityGroupInterface) GetSecurityGroup ¶
func (m *MockSecurityGroupInterface) GetSecurityGroup(ctx context.Context, securityGroup *v1alpha1.SecurityGroup) (*groups.SecGroup, error)
GetSecurityGroup mocks base method.
func (*MockSecurityGroupInterface) ListSecurityGroupRules ¶
func (m *MockSecurityGroupInterface) ListSecurityGroupRules(ctx context.Context, securityGroupID string) ([]rules.SecGroupRule, error)
ListSecurityGroupRules mocks base method.
type MockSecurityGroupInterfaceMockRecorder ¶
type MockSecurityGroupInterfaceMockRecorder struct {
// contains filtered or unexported fields
}
MockSecurityGroupInterfaceMockRecorder is the mock recorder for MockSecurityGroupInterface.
func (*MockSecurityGroupInterfaceMockRecorder) CreateSecurityGroup ¶
func (mr *MockSecurityGroupInterfaceMockRecorder) CreateSecurityGroup(ctx, securityGroup any) *gomock.Call
CreateSecurityGroup indicates an expected call of CreateSecurityGroup.
func (*MockSecurityGroupInterfaceMockRecorder) CreateSecurityGroupRule ¶
func (mr *MockSecurityGroupInterfaceMockRecorder) CreateSecurityGroupRule(ctx, securityGroupID, direction, protocol, portStart, portEnd, prefix any) *gomock.Call
CreateSecurityGroupRule indicates an expected call of CreateSecurityGroupRule.
func (*MockSecurityGroupInterfaceMockRecorder) DeleteSecurityGroup ¶
func (mr *MockSecurityGroupInterfaceMockRecorder) DeleteSecurityGroup(ctx, securityGroupID any) *gomock.Call
DeleteSecurityGroup indicates an expected call of DeleteSecurityGroup.
func (*MockSecurityGroupInterfaceMockRecorder) DeleteSecurityGroupRule ¶
func (mr *MockSecurityGroupInterfaceMockRecorder) DeleteSecurityGroupRule(ctx, securityGroupID, ruleID any) *gomock.Call
DeleteSecurityGroupRule indicates an expected call of DeleteSecurityGroupRule.
func (*MockSecurityGroupInterfaceMockRecorder) GetSecurityGroup ¶
func (mr *MockSecurityGroupInterfaceMockRecorder) GetSecurityGroup(ctx, securityGroup any) *gomock.Call
GetSecurityGroup indicates an expected call of GetSecurityGroup.
func (*MockSecurityGroupInterfaceMockRecorder) ListSecurityGroupRules ¶
func (mr *MockSecurityGroupInterfaceMockRecorder) ListSecurityGroupRules(ctx, securityGroupID any) *gomock.Call
ListSecurityGroupRules indicates an expected call of ListSecurityGroupRules.
type MockServerGroupInterface ¶
type MockServerGroupInterface struct {
// contains filtered or unexported fields
}
MockServerGroupInterface is a mock of ServerGroupInterface interface.
func NewMockServerGroupInterface ¶
func NewMockServerGroupInterface(ctrl *gomock.Controller) *MockServerGroupInterface
NewMockServerGroupInterface creates a new mock instance.
func (*MockServerGroupInterface) CreateServerGroup ¶
func (m *MockServerGroupInterface) CreateServerGroup(ctx context.Context, name string) (*servergroups.ServerGroup, error)
CreateServerGroup mocks base method.
func (*MockServerGroupInterface) DeleteServerGroup ¶
func (m *MockServerGroupInterface) DeleteServerGroup(ctx context.Context, id string) error
DeleteServerGroup mocks base method.
func (*MockServerGroupInterface) EXPECT ¶
func (m *MockServerGroupInterface) EXPECT() *MockServerGroupInterfaceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockServerGroupInterfaceMockRecorder ¶
type MockServerGroupInterfaceMockRecorder struct {
// contains filtered or unexported fields
}
MockServerGroupInterfaceMockRecorder is the mock recorder for MockServerGroupInterface.
func (*MockServerGroupInterfaceMockRecorder) CreateServerGroup ¶
func (mr *MockServerGroupInterfaceMockRecorder) CreateServerGroup(ctx, name any) *gomock.Call
CreateServerGroup indicates an expected call of CreateServerGroup.
func (*MockServerGroupInterfaceMockRecorder) DeleteServerGroup ¶
func (mr *MockServerGroupInterfaceMockRecorder) DeleteServerGroup(ctx, id any) *gomock.Call
DeleteServerGroup indicates an expected call of DeleteServerGroup.
type MockServerInterface ¶
type MockServerInterface struct {
// contains filtered or unexported fields
}
MockServerInterface is a mock of ServerInterface interface.
func NewMockServerInterface ¶
func NewMockServerInterface(ctrl *gomock.Controller) *MockServerInterface
NewMockServerInterface creates a new mock instance.
func (*MockServerInterface) CreateImageFromServer ¶ added in v1.13.0
func (m *MockServerInterface) CreateImageFromServer(ctx context.Context, id string, opts *servers.CreateImageOpts) (string, error)
CreateImageFromServer mocks base method.
func (*MockServerInterface) CreateRemoteConsole ¶
func (m *MockServerInterface) CreateRemoteConsole(ctx context.Context, id string) (*remoteconsoles.RemoteConsole, error)
CreateRemoteConsole mocks base method.
func (*MockServerInterface) CreateServer ¶
func (m *MockServerInterface) CreateServer(ctx context.Context, server *v1alpha1.Server, keyName string, networks []servers.Network, serverGroupID *string, metadata map[string]string) (*servers.Server, error)
CreateServer mocks base method.
func (*MockServerInterface) DeleteServer ¶
func (m *MockServerInterface) DeleteServer(ctx context.Context, id string) error
DeleteServer mocks base method.
func (*MockServerInterface) EXPECT ¶
func (m *MockServerInterface) EXPECT() *MockServerInterfaceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockServerInterface) GetServer ¶
func (m *MockServerInterface) GetServer(ctx context.Context, server *v1alpha1.Server) (*servers.Server, error)
GetServer mocks base method.
func (*MockServerInterface) RebootServer ¶
RebootServer mocks base method.
func (*MockServerInterface) ShowConsoleOutput ¶
func (m *MockServerInterface) ShowConsoleOutput(ctx context.Context, id string, length *int) (string, error)
ShowConsoleOutput mocks base method.
func (*MockServerInterface) StartServer ¶
func (m *MockServerInterface) StartServer(ctx context.Context, id string) error
StartServer mocks base method.
func (*MockServerInterface) StopServer ¶
func (m *MockServerInterface) StopServer(ctx context.Context, id string) error
StopServer mocks base method.
type MockServerInterfaceMockRecorder ¶
type MockServerInterfaceMockRecorder struct {
// contains filtered or unexported fields
}
MockServerInterfaceMockRecorder is the mock recorder for MockServerInterface.
func (*MockServerInterfaceMockRecorder) CreateImageFromServer ¶ added in v1.13.0
func (mr *MockServerInterfaceMockRecorder) CreateImageFromServer(ctx, id, opts any) *gomock.Call
CreateImageFromServer indicates an expected call of CreateImageFromServer.
func (*MockServerInterfaceMockRecorder) CreateRemoteConsole ¶
func (mr *MockServerInterfaceMockRecorder) CreateRemoteConsole(ctx, id any) *gomock.Call
CreateRemoteConsole indicates an expected call of CreateRemoteConsole.
func (*MockServerInterfaceMockRecorder) CreateServer ¶
func (mr *MockServerInterfaceMockRecorder) CreateServer(ctx, server, keyName, networks, serverGroupID, metadata any) *gomock.Call
CreateServer indicates an expected call of CreateServer.
func (*MockServerInterfaceMockRecorder) DeleteServer ¶
func (mr *MockServerInterfaceMockRecorder) DeleteServer(ctx, id any) *gomock.Call
DeleteServer indicates an expected call of DeleteServer.
func (*MockServerInterfaceMockRecorder) GetServer ¶
func (mr *MockServerInterfaceMockRecorder) GetServer(ctx, server any) *gomock.Call
GetServer indicates an expected call of GetServer.
func (*MockServerInterfaceMockRecorder) RebootServer ¶
func (mr *MockServerInterfaceMockRecorder) RebootServer(ctx, id, hard any) *gomock.Call
RebootServer indicates an expected call of RebootServer.
func (*MockServerInterfaceMockRecorder) ShowConsoleOutput ¶
func (mr *MockServerInterfaceMockRecorder) ShowConsoleOutput(ctx, id, length any) *gomock.Call
ShowConsoleOutput indicates an expected call of ShowConsoleOutput.
func (*MockServerInterfaceMockRecorder) StartServer ¶
func (mr *MockServerInterfaceMockRecorder) StartServer(ctx, id any) *gomock.Call
StartServer indicates an expected call of StartServer.
func (*MockServerInterfaceMockRecorder) StopServer ¶
func (mr *MockServerInterfaceMockRecorder) StopServer(ctx, id any) *gomock.Call
StopServer indicates an expected call of StopServer.
type MockSubnetInterface ¶
type MockSubnetInterface struct {
// contains filtered or unexported fields
}
MockSubnetInterface is a mock of SubnetInterface interface.
func NewMockSubnetInterface ¶
func NewMockSubnetInterface(ctrl *gomock.Controller) *MockSubnetInterface
NewMockSubnetInterface creates a new mock instance.
func (*MockSubnetInterface) CreateSubnet ¶
func (m *MockSubnetInterface) CreateSubnet(ctx context.Context, network *v1alpha1.Network, networkID, prefix, gatewayID string, dnsNameservers []string, routes []subnets.HostRoute, allocationPools []subnets.AllocationPool) (*subnets.Subnet, error)
CreateSubnet mocks base method.
func (*MockSubnetInterface) DeleteSubnet ¶
func (m *MockSubnetInterface) DeleteSubnet(ctx context.Context, id string) error
DeleteSubnet mocks base method.
func (*MockSubnetInterface) EXPECT ¶
func (m *MockSubnetInterface) EXPECT() *MockSubnetInterfaceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockSubnetInterfaceMockRecorder ¶
type MockSubnetInterfaceMockRecorder struct {
// contains filtered or unexported fields
}
MockSubnetInterfaceMockRecorder is the mock recorder for MockSubnetInterface.
func (*MockSubnetInterfaceMockRecorder) CreateSubnet ¶
func (mr *MockSubnetInterfaceMockRecorder) CreateSubnet(ctx, network, networkID, prefix, gatewayID, dnsNameservers, routes, allocationPools any) *gomock.Call
CreateSubnet indicates an expected call of CreateSubnet.
func (*MockSubnetInterfaceMockRecorder) DeleteSubnet ¶
func (mr *MockSubnetInterfaceMockRecorder) DeleteSubnet(ctx, id any) *gomock.Call
DeleteSubnet indicates an expected call of DeleteSubnet.
func (*MockSubnetInterfaceMockRecorder) GetSubnet ¶
func (mr *MockSubnetInterfaceMockRecorder) GetSubnet(ctx, network any) *gomock.Call
GetSubnet indicates an expected call of GetSubnet.
func (*MockSubnetInterfaceMockRecorder) UpdateSubnet ¶
func (mr *MockSubnetInterfaceMockRecorder) UpdateSubnet(ctx, subnetID, dnsNameservers, routes any) *gomock.Call
UpdateSubnet indicates an expected call of UpdateSubnet.