Documentation
¶
Overview ¶
Package mocks is a generated GoMock package.
Index ¶
- type MockCompute
- func (m *MockCompute) CreateKeyPair(ctx context.Context, name, publicKey string) (*keypairs.KeyPair, error)
- func (m *MockCompute) CreateServer(ctx context.Context, createOpts servers.CreateOpts) (*servers.Server, error)
- func (m *MockCompute) CreateServerGroup(ctx context.Context, name, policy string) (*servergroups.ServerGroup, error)
- func (m *MockCompute) DeleteKeyPair(ctx context.Context, name string) error
- func (m *MockCompute) DeleteServer(ctx context.Context, id string) error
- func (m *MockCompute) DeleteServerGroup(ctx context.Context, id string) error
- func (m *MockCompute) EXPECT() *MockComputeMockRecorder
- func (m *MockCompute) FindFlavorID(ctx context.Context, name string) (string, error)
- func (m *MockCompute) FindServersByName(ctx context.Context, name string) ([]servers.Server, error)
- func (m *MockCompute) GetKeyPair(ctx context.Context, name string) (*keypairs.KeyPair, error)
- func (m *MockCompute) GetServerGroup(ctx context.Context, id string) (*servergroups.ServerGroup, error)
- func (m *MockCompute) ListServerGroups(ctx context.Context) ([]servergroups.ServerGroup, error)
- type MockComputeMockRecorder
- func (mr *MockComputeMockRecorder) CreateKeyPair(ctx, name, publicKey any) *gomock.Call
- func (mr *MockComputeMockRecorder) CreateServer(ctx, createOpts any) *gomock.Call
- func (mr *MockComputeMockRecorder) CreateServerGroup(ctx, name, policy any) *gomock.Call
- func (mr *MockComputeMockRecorder) DeleteKeyPair(ctx, name any) *gomock.Call
- func (mr *MockComputeMockRecorder) DeleteServer(ctx, id any) *gomock.Call
- func (mr *MockComputeMockRecorder) DeleteServerGroup(ctx, id any) *gomock.Call
- func (mr *MockComputeMockRecorder) FindFlavorID(ctx, name any) *gomock.Call
- func (mr *MockComputeMockRecorder) FindServersByName(ctx, name any) *gomock.Call
- func (mr *MockComputeMockRecorder) GetKeyPair(ctx, name any) *gomock.Call
- func (mr *MockComputeMockRecorder) GetServerGroup(ctx, id any) *gomock.Call
- func (mr *MockComputeMockRecorder) ListServerGroups(ctx any) *gomock.Call
- type MockDNS
- func (m *MockDNS) CreateOrUpdateRecordSet(ctx context.Context, zoneID, name, recordType string, records []string, ...) error
- func (m *MockDNS) DeleteRecordSet(ctx context.Context, zoneID, name, recordType string) error
- func (m *MockDNS) EXPECT() *MockDNSMockRecorder
- func (m *MockDNS) GetZones(ctx context.Context) (map[string]string, error)
- type MockDNSMockRecorder
- type MockFactory
- func (m *MockFactory) Compute(options ...client.Option) (client.Compute, error)
- func (m *MockFactory) DNS(options ...client.Option) (client.DNS, error)
- func (m *MockFactory) EXPECT() *MockFactoryMockRecorder
- func (m *MockFactory) Images(options ...client.Option) (client.Images, error)
- func (m *MockFactory) Loadbalancing(options ...client.Option) (client.Loadbalancing, error)
- func (m *MockFactory) Networking(options ...client.Option) (client.Networking, error)
- func (m *MockFactory) Storage(options ...client.Option) (client.Storage, error)
- type MockFactoryFactory
- type MockFactoryFactoryMockRecorder
- type MockFactoryMockRecorder
- func (mr *MockFactoryMockRecorder) Compute(options ...any) *gomock.Call
- func (mr *MockFactoryMockRecorder) DNS(options ...any) *gomock.Call
- func (mr *MockFactoryMockRecorder) Images(options ...any) *gomock.Call
- func (mr *MockFactoryMockRecorder) Loadbalancing(options ...any) *gomock.Call
- func (mr *MockFactoryMockRecorder) Networking(options ...any) *gomock.Call
- func (mr *MockFactoryMockRecorder) Storage(options ...any) *gomock.Call
- type MockLoadbalancing
- func (m *MockLoadbalancing) DeleteLoadbalancer(ctx context.Context, id string, opts loadbalancers.DeleteOpts) error
- func (m *MockLoadbalancing) EXPECT() *MockLoadbalancingMockRecorder
- func (m *MockLoadbalancing) GetLoadbalancer(ctx context.Context, id string) (*loadbalancers.LoadBalancer, error)
- func (m *MockLoadbalancing) ListLoadbalancers(ctx context.Context, opts loadbalancers.ListOpts) ([]loadbalancers.LoadBalancer, error)
- type MockLoadbalancingMockRecorder
- type MockNetworking
- func (m *MockNetworking) AddRouterInterface(ctx context.Context, routerID string, addOpts routers.AddInterfaceOpts) (*routers.InterfaceInfo, error)
- func (m *MockNetworking) AddTag(ctx context.Context, resourceType, resourceID, tag string) error
- func (m *MockNetworking) CreateFloatingIP(ctx context.Context, createOpts floatingips.CreateOpts) (*floatingips.FloatingIP, error)
- func (m *MockNetworking) CreateNetwork(ctx context.Context, opts networks.CreateOpts) (*networks.Network, error)
- func (m *MockNetworking) CreateRouter(ctx context.Context, createOpts routers.CreateOpts) (*routers.Router, error)
- func (m *MockNetworking) CreateRule(ctx context.Context, createOpts rules.CreateOpts) (*rules.SecGroupRule, error)
- func (m *MockNetworking) CreateSecurityGroup(ctx context.Context, listOpts groups.CreateOpts) (*groups.SecGroup, error)
- func (m *MockNetworking) CreateSubnet(ctx context.Context, createOpts subnets.CreateOpts) (*subnets.Subnet, error)
- func (m *MockNetworking) DeleteFloatingIP(ctx context.Context, id string) error
- func (m *MockNetworking) DeleteNetwork(ctx context.Context, networkID string) error
- func (m *MockNetworking) DeleteRouter(ctx context.Context, routerID string) error
- func (m *MockNetworking) DeleteRule(ctx context.Context, ruleID string) error
- func (m *MockNetworking) DeleteSecurityGroup(ctx context.Context, groupID string) error
- func (m *MockNetworking) DeleteSubnet(ctx context.Context, subnetID string) error
- func (m *MockNetworking) EXPECT() *MockNetworkingMockRecorder
- func (m *MockNetworking) GetExternalNetworkByName(ctx context.Context, name string) (*networks.Network, error)
- func (m *MockNetworking) GetExternalNetworkNames(ctx context.Context) ([]string, error)
- func (m *MockNetworking) GetFipByName(ctx context.Context, name string) ([]floatingips.FloatingIP, error)
- func (m *MockNetworking) GetNetworkByID(ctx context.Context, id string) (*networks.Network, error)
- func (m *MockNetworking) GetNetworkByName(ctx context.Context, name string) ([]networks.Network, error)
- func (m *MockNetworking) GetPort(ctx context.Context, portID string) (*ports.Port, error)
- func (m *MockNetworking) GetRouterByID(ctx context.Context, id string) (*routers.Router, error)
- func (m *MockNetworking) GetRouterInterfacePort(ctx context.Context, routerID, subnetID string) (*ports.Port, error)
- func (m *MockNetworking) GetRouterInterfacePortsByNetwork(ctx context.Context, networkID string) ([]ports.Port, error)
- func (m *MockNetworking) GetSecurityGroup(ctx context.Context, groupID string) (*groups.SecGroup, error)
- func (m *MockNetworking) GetSecurityGroupByName(ctx context.Context, name string) ([]groups.SecGroup, error)
- func (m *MockNetworking) GetSubnetByID(ctx context.Context, id string) (*subnets.Subnet, error)
- func (m *MockNetworking) ListFip(ctx context.Context, listOpts floatingips.ListOpts) ([]floatingips.FloatingIP, error)
- func (m *MockNetworking) ListNetwork(ctx context.Context, listOpts networks.ListOpts) ([]networks.Network, error)
- func (m *MockNetworking) ListRouters(ctx context.Context, listOpts routers.ListOpts) ([]routers.Router, error)
- func (m *MockNetworking) ListRules(ctx context.Context, listOpts rules.ListOpts) ([]rules.SecGroupRule, error)
- func (m *MockNetworking) ListSecurityGroup(ctx context.Context, listOpts groups.ListOpts) ([]groups.SecGroup, error)
- func (m *MockNetworking) ListSubnets(ctx context.Context, listOpts subnets.ListOpts) ([]subnets.Subnet, error)
- func (m *MockNetworking) RemoveRouterInterface(ctx context.Context, routerID string, removeOpts routers.RemoveInterfaceOpts) (*routers.InterfaceInfo, error)
- func (m *MockNetworking) UpdateNetwork(ctx context.Context, networkID string, opts networks.UpdateOpts) (*networks.Network, error)
- func (m *MockNetworking) UpdateRouter(ctx context.Context, routerID string, updateOpts routers.UpdateOpts) (*routers.Router, error)
- func (m *MockNetworking) UpdateRoutesForRouter(ctx context.Context, routes []routers.Route, routerID string) (*routers.Router, error)
- func (m *MockNetworking) UpdateSubnet(ctx context.Context, subnetID string, updateOpts subnets.UpdateOpts) (*subnets.Subnet, error)
- type MockNetworkingMockRecorder
- func (mr *MockNetworkingMockRecorder) AddRouterInterface(ctx, routerID, addOpts any) *gomock.Call
- func (mr *MockNetworkingMockRecorder) AddTag(ctx, resourceType, resourceID, tag any) *gomock.Call
- func (mr *MockNetworkingMockRecorder) CreateFloatingIP(ctx, createOpts any) *gomock.Call
- func (mr *MockNetworkingMockRecorder) CreateNetwork(ctx, opts any) *gomock.Call
- func (mr *MockNetworkingMockRecorder) CreateRouter(ctx, createOpts any) *gomock.Call
- func (mr *MockNetworkingMockRecorder) CreateRule(ctx, createOpts any) *gomock.Call
- func (mr *MockNetworkingMockRecorder) CreateSecurityGroup(ctx, listOpts any) *gomock.Call
- func (mr *MockNetworkingMockRecorder) CreateSubnet(ctx, createOpts any) *gomock.Call
- func (mr *MockNetworkingMockRecorder) DeleteFloatingIP(ctx, id any) *gomock.Call
- func (mr *MockNetworkingMockRecorder) DeleteNetwork(ctx, networkID any) *gomock.Call
- func (mr *MockNetworkingMockRecorder) DeleteRouter(ctx, routerID any) *gomock.Call
- func (mr *MockNetworkingMockRecorder) DeleteRule(ctx, ruleID any) *gomock.Call
- func (mr *MockNetworkingMockRecorder) DeleteSecurityGroup(ctx, groupID any) *gomock.Call
- func (mr *MockNetworkingMockRecorder) DeleteSubnet(ctx, subnetID any) *gomock.Call
- func (mr *MockNetworkingMockRecorder) GetExternalNetworkByName(ctx, name any) *gomock.Call
- func (mr *MockNetworkingMockRecorder) GetExternalNetworkNames(ctx any) *gomock.Call
- func (mr *MockNetworkingMockRecorder) GetFipByName(ctx, name any) *gomock.Call
- func (mr *MockNetworkingMockRecorder) GetNetworkByID(ctx, id any) *gomock.Call
- func (mr *MockNetworkingMockRecorder) GetNetworkByName(ctx, name any) *gomock.Call
- func (mr *MockNetworkingMockRecorder) GetPort(ctx, portID any) *gomock.Call
- func (mr *MockNetworkingMockRecorder) GetRouterByID(ctx, id any) *gomock.Call
- func (mr *MockNetworkingMockRecorder) GetRouterInterfacePort(ctx, routerID, subnetID any) *gomock.Call
- func (mr *MockNetworkingMockRecorder) GetRouterInterfacePortsByNetwork(ctx, networkID any) *gomock.Call
- func (mr *MockNetworkingMockRecorder) GetSecurityGroup(ctx, groupID any) *gomock.Call
- func (mr *MockNetworkingMockRecorder) GetSecurityGroupByName(ctx, name any) *gomock.Call
- func (mr *MockNetworkingMockRecorder) GetSubnetByID(ctx, id any) *gomock.Call
- func (mr *MockNetworkingMockRecorder) ListFip(ctx, listOpts any) *gomock.Call
- func (mr *MockNetworkingMockRecorder) ListNetwork(ctx, listOpts any) *gomock.Call
- func (mr *MockNetworkingMockRecorder) ListRouters(ctx, listOpts any) *gomock.Call
- func (mr *MockNetworkingMockRecorder) ListRules(ctx, listOpts any) *gomock.Call
- func (mr *MockNetworkingMockRecorder) ListSecurityGroup(ctx, listOpts any) *gomock.Call
- func (mr *MockNetworkingMockRecorder) ListSubnets(ctx, listOpts any) *gomock.Call
- func (mr *MockNetworkingMockRecorder) RemoveRouterInterface(ctx, routerID, removeOpts any) *gomock.Call
- func (mr *MockNetworkingMockRecorder) UpdateNetwork(ctx, networkID, opts any) *gomock.Call
- func (mr *MockNetworkingMockRecorder) UpdateRouter(ctx, routerID, updateOpts any) *gomock.Call
- func (mr *MockNetworkingMockRecorder) UpdateRoutesForRouter(ctx, routes, routerID any) *gomock.Call
- func (mr *MockNetworkingMockRecorder) UpdateSubnet(ctx, subnetID, updateOpts any) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockCompute ¶
type MockCompute struct {
// contains filtered or unexported fields
}
MockCompute is a mock of Compute interface.
func NewMockCompute ¶
func NewMockCompute(ctrl *gomock.Controller) *MockCompute
NewMockCompute creates a new mock instance.
func (*MockCompute) CreateKeyPair ¶
func (m *MockCompute) CreateKeyPair(ctx context.Context, name, publicKey string) (*keypairs.KeyPair, error)
CreateKeyPair mocks base method.
func (*MockCompute) CreateServer ¶
func (m *MockCompute) CreateServer(ctx context.Context, createOpts servers.CreateOpts) (*servers.Server, error)
CreateServer mocks base method.
func (*MockCompute) CreateServerGroup ¶
func (m *MockCompute) CreateServerGroup(ctx context.Context, name, policy string) (*servergroups.ServerGroup, error)
CreateServerGroup mocks base method.
func (*MockCompute) DeleteKeyPair ¶
func (m *MockCompute) DeleteKeyPair(ctx context.Context, name string) error
DeleteKeyPair mocks base method.
func (*MockCompute) DeleteServer ¶
func (m *MockCompute) DeleteServer(ctx context.Context, id string) error
DeleteServer mocks base method.
func (*MockCompute) DeleteServerGroup ¶
func (m *MockCompute) DeleteServerGroup(ctx context.Context, id string) error
DeleteServerGroup mocks base method.
func (*MockCompute) EXPECT ¶
func (m *MockCompute) EXPECT() *MockComputeMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockCompute) FindFlavorID ¶
FindFlavorID mocks base method.
func (*MockCompute) FindServersByName ¶
FindServersByName mocks base method.
func (*MockCompute) GetKeyPair ¶
GetKeyPair mocks base method.
func (*MockCompute) GetServerGroup ¶
func (m *MockCompute) GetServerGroup(ctx context.Context, id string) (*servergroups.ServerGroup, error)
GetServerGroup mocks base method.
func (*MockCompute) ListServerGroups ¶
func (m *MockCompute) ListServerGroups(ctx context.Context) ([]servergroups.ServerGroup, error)
ListServerGroups mocks base method.
type MockComputeMockRecorder ¶
type MockComputeMockRecorder struct {
// contains filtered or unexported fields
}
MockComputeMockRecorder is the mock recorder for MockCompute.
func (*MockComputeMockRecorder) CreateKeyPair ¶
func (mr *MockComputeMockRecorder) CreateKeyPair(ctx, name, publicKey any) *gomock.Call
CreateKeyPair indicates an expected call of CreateKeyPair.
func (*MockComputeMockRecorder) CreateServer ¶
func (mr *MockComputeMockRecorder) CreateServer(ctx, createOpts any) *gomock.Call
CreateServer indicates an expected call of CreateServer.
func (*MockComputeMockRecorder) CreateServerGroup ¶
func (mr *MockComputeMockRecorder) CreateServerGroup(ctx, name, policy any) *gomock.Call
CreateServerGroup indicates an expected call of CreateServerGroup.
func (*MockComputeMockRecorder) DeleteKeyPair ¶
func (mr *MockComputeMockRecorder) DeleteKeyPair(ctx, name any) *gomock.Call
DeleteKeyPair indicates an expected call of DeleteKeyPair.
func (*MockComputeMockRecorder) DeleteServer ¶
func (mr *MockComputeMockRecorder) DeleteServer(ctx, id any) *gomock.Call
DeleteServer indicates an expected call of DeleteServer.
func (*MockComputeMockRecorder) DeleteServerGroup ¶
func (mr *MockComputeMockRecorder) DeleteServerGroup(ctx, id any) *gomock.Call
DeleteServerGroup indicates an expected call of DeleteServerGroup.
func (*MockComputeMockRecorder) FindFlavorID ¶
func (mr *MockComputeMockRecorder) FindFlavorID(ctx, name any) *gomock.Call
FindFlavorID indicates an expected call of FindFlavorID.
func (*MockComputeMockRecorder) FindServersByName ¶
func (mr *MockComputeMockRecorder) FindServersByName(ctx, name any) *gomock.Call
FindServersByName indicates an expected call of FindServersByName.
func (*MockComputeMockRecorder) GetKeyPair ¶
func (mr *MockComputeMockRecorder) GetKeyPair(ctx, name any) *gomock.Call
GetKeyPair indicates an expected call of GetKeyPair.
func (*MockComputeMockRecorder) GetServerGroup ¶
func (mr *MockComputeMockRecorder) GetServerGroup(ctx, id any) *gomock.Call
GetServerGroup indicates an expected call of GetServerGroup.
func (*MockComputeMockRecorder) ListServerGroups ¶
func (mr *MockComputeMockRecorder) ListServerGroups(ctx any) *gomock.Call
ListServerGroups indicates an expected call of ListServerGroups.
type MockDNS ¶
type MockDNS struct {
// contains filtered or unexported fields
}
MockDNS is a mock of DNS interface.
func NewMockDNS ¶
func NewMockDNS(ctrl *gomock.Controller) *MockDNS
NewMockDNS creates a new mock instance.
func (*MockDNS) CreateOrUpdateRecordSet ¶
func (m *MockDNS) CreateOrUpdateRecordSet(ctx context.Context, zoneID, name, recordType string, records []string, ttl int) error
CreateOrUpdateRecordSet mocks base method.
func (*MockDNS) DeleteRecordSet ¶
DeleteRecordSet mocks base method.
func (*MockDNS) EXPECT ¶
func (m *MockDNS) EXPECT() *MockDNSMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockDNSMockRecorder ¶
type MockDNSMockRecorder struct {
// contains filtered or unexported fields
}
MockDNSMockRecorder is the mock recorder for MockDNS.
func (*MockDNSMockRecorder) CreateOrUpdateRecordSet ¶
func (mr *MockDNSMockRecorder) CreateOrUpdateRecordSet(ctx, zoneID, name, recordType, records, ttl any) *gomock.Call
CreateOrUpdateRecordSet indicates an expected call of CreateOrUpdateRecordSet.
func (*MockDNSMockRecorder) DeleteRecordSet ¶
func (mr *MockDNSMockRecorder) DeleteRecordSet(ctx, zoneID, name, recordType any) *gomock.Call
DeleteRecordSet indicates an expected call of DeleteRecordSet.
type MockFactory ¶
type MockFactory struct {
// contains filtered or unexported fields
}
MockFactory is a mock of Factory interface.
func NewMockFactory ¶
func NewMockFactory(ctrl *gomock.Controller) *MockFactory
NewMockFactory creates a new mock instance.
func (*MockFactory) EXPECT ¶
func (m *MockFactory) EXPECT() *MockFactoryMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockFactory) Loadbalancing ¶
func (m *MockFactory) Loadbalancing(options ...client.Option) (client.Loadbalancing, error)
Loadbalancing mocks base method.
func (*MockFactory) Networking ¶
func (m *MockFactory) Networking(options ...client.Option) (client.Networking, error)
Networking mocks base method.
type MockFactoryFactory ¶
type MockFactoryFactory struct {
// contains filtered or unexported fields
}
MockFactoryFactory is a mock of FactoryFactory interface.
func NewMockFactoryFactory ¶
func NewMockFactoryFactory(ctrl *gomock.Controller) *MockFactoryFactory
NewMockFactoryFactory creates a new mock instance.
func (*MockFactoryFactory) EXPECT ¶
func (m *MockFactoryFactory) EXPECT() *MockFactoryFactoryMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockFactoryFactory) NewFactory ¶
func (m *MockFactoryFactory) NewFactory(ctx context.Context, credentials *openstack.Credentials) (client.Factory, error)
NewFactory mocks base method.
type MockFactoryFactoryMockRecorder ¶
type MockFactoryFactoryMockRecorder struct {
// contains filtered or unexported fields
}
MockFactoryFactoryMockRecorder is the mock recorder for MockFactoryFactory.
func (*MockFactoryFactoryMockRecorder) NewFactory ¶
func (mr *MockFactoryFactoryMockRecorder) NewFactory(ctx, credentials any) *gomock.Call
NewFactory indicates an expected call of NewFactory.
type MockFactoryMockRecorder ¶
type MockFactoryMockRecorder struct {
// contains filtered or unexported fields
}
MockFactoryMockRecorder is the mock recorder for MockFactory.
func (*MockFactoryMockRecorder) Compute ¶
func (mr *MockFactoryMockRecorder) Compute(options ...any) *gomock.Call
Compute indicates an expected call of Compute.
func (*MockFactoryMockRecorder) DNS ¶
func (mr *MockFactoryMockRecorder) DNS(options ...any) *gomock.Call
DNS indicates an expected call of DNS.
func (*MockFactoryMockRecorder) Images ¶
func (mr *MockFactoryMockRecorder) Images(options ...any) *gomock.Call
Images indicates an expected call of Images.
func (*MockFactoryMockRecorder) Loadbalancing ¶
func (mr *MockFactoryMockRecorder) Loadbalancing(options ...any) *gomock.Call
Loadbalancing indicates an expected call of Loadbalancing.
func (*MockFactoryMockRecorder) Networking ¶
func (mr *MockFactoryMockRecorder) Networking(options ...any) *gomock.Call
Networking indicates an expected call of Networking.
type MockLoadbalancing ¶
type MockLoadbalancing struct {
// contains filtered or unexported fields
}
MockLoadbalancing is a mock of Loadbalancing interface.
func NewMockLoadbalancing ¶
func NewMockLoadbalancing(ctrl *gomock.Controller) *MockLoadbalancing
NewMockLoadbalancing creates a new mock instance.
func (*MockLoadbalancing) DeleteLoadbalancer ¶
func (m *MockLoadbalancing) DeleteLoadbalancer(ctx context.Context, id string, opts loadbalancers.DeleteOpts) error
DeleteLoadbalancer mocks base method.
func (*MockLoadbalancing) EXPECT ¶
func (m *MockLoadbalancing) EXPECT() *MockLoadbalancingMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockLoadbalancing) GetLoadbalancer ¶
func (m *MockLoadbalancing) GetLoadbalancer(ctx context.Context, id string) (*loadbalancers.LoadBalancer, error)
GetLoadbalancer mocks base method.
func (*MockLoadbalancing) ListLoadbalancers ¶
func (m *MockLoadbalancing) ListLoadbalancers(ctx context.Context, opts loadbalancers.ListOpts) ([]loadbalancers.LoadBalancer, error)
ListLoadbalancers mocks base method.
type MockLoadbalancingMockRecorder ¶
type MockLoadbalancingMockRecorder struct {
// contains filtered or unexported fields
}
MockLoadbalancingMockRecorder is the mock recorder for MockLoadbalancing.
func (*MockLoadbalancingMockRecorder) DeleteLoadbalancer ¶
func (mr *MockLoadbalancingMockRecorder) DeleteLoadbalancer(ctx, id, opts any) *gomock.Call
DeleteLoadbalancer indicates an expected call of DeleteLoadbalancer.
func (*MockLoadbalancingMockRecorder) GetLoadbalancer ¶
func (mr *MockLoadbalancingMockRecorder) GetLoadbalancer(ctx, id any) *gomock.Call
GetLoadbalancer indicates an expected call of GetLoadbalancer.
func (*MockLoadbalancingMockRecorder) ListLoadbalancers ¶
func (mr *MockLoadbalancingMockRecorder) ListLoadbalancers(ctx, opts any) *gomock.Call
ListLoadbalancers indicates an expected call of ListLoadbalancers.
type MockNetworking ¶
type MockNetworking struct {
// contains filtered or unexported fields
}
MockNetworking is a mock of Networking interface.
func NewMockNetworking ¶
func NewMockNetworking(ctrl *gomock.Controller) *MockNetworking
NewMockNetworking creates a new mock instance.
func (*MockNetworking) AddRouterInterface ¶
func (m *MockNetworking) AddRouterInterface(ctx context.Context, routerID string, addOpts routers.AddInterfaceOpts) (*routers.InterfaceInfo, error)
AddRouterInterface mocks base method.
func (*MockNetworking) AddTag ¶
func (m *MockNetworking) AddTag(ctx context.Context, resourceType, resourceID, tag string) error
AddTag mocks base method.
func (*MockNetworking) CreateFloatingIP ¶
func (m *MockNetworking) CreateFloatingIP(ctx context.Context, createOpts floatingips.CreateOpts) (*floatingips.FloatingIP, error)
CreateFloatingIP mocks base method.
func (*MockNetworking) CreateNetwork ¶
func (m *MockNetworking) CreateNetwork(ctx context.Context, opts networks.CreateOpts) (*networks.Network, error)
CreateNetwork mocks base method.
func (*MockNetworking) CreateRouter ¶
func (m *MockNetworking) CreateRouter(ctx context.Context, createOpts routers.CreateOpts) (*routers.Router, error)
CreateRouter mocks base method.
func (*MockNetworking) CreateRule ¶
func (m *MockNetworking) CreateRule(ctx context.Context, createOpts rules.CreateOpts) (*rules.SecGroupRule, error)
CreateRule mocks base method.
func (*MockNetworking) CreateSecurityGroup ¶
func (m *MockNetworking) CreateSecurityGroup(ctx context.Context, listOpts groups.CreateOpts) (*groups.SecGroup, error)
CreateSecurityGroup mocks base method.
func (*MockNetworking) CreateSubnet ¶
func (m *MockNetworking) CreateSubnet(ctx context.Context, createOpts subnets.CreateOpts) (*subnets.Subnet, error)
CreateSubnet mocks base method.
func (*MockNetworking) DeleteFloatingIP ¶
func (m *MockNetworking) DeleteFloatingIP(ctx context.Context, id string) error
DeleteFloatingIP mocks base method.
func (*MockNetworking) DeleteNetwork ¶
func (m *MockNetworking) DeleteNetwork(ctx context.Context, networkID string) error
DeleteNetwork mocks base method.
func (*MockNetworking) DeleteRouter ¶
func (m *MockNetworking) DeleteRouter(ctx context.Context, routerID string) error
DeleteRouter mocks base method.
func (*MockNetworking) DeleteRule ¶
func (m *MockNetworking) DeleteRule(ctx context.Context, ruleID string) error
DeleteRule mocks base method.
func (*MockNetworking) DeleteSecurityGroup ¶
func (m *MockNetworking) DeleteSecurityGroup(ctx context.Context, groupID string) error
DeleteSecurityGroup mocks base method.
func (*MockNetworking) DeleteSubnet ¶
func (m *MockNetworking) DeleteSubnet(ctx context.Context, subnetID string) error
DeleteSubnet mocks base method.
func (*MockNetworking) EXPECT ¶
func (m *MockNetworking) EXPECT() *MockNetworkingMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockNetworking) GetExternalNetworkByName ¶
func (m *MockNetworking) GetExternalNetworkByName(ctx context.Context, name string) (*networks.Network, error)
GetExternalNetworkByName mocks base method.
func (*MockNetworking) GetExternalNetworkNames ¶
func (m *MockNetworking) GetExternalNetworkNames(ctx context.Context) ([]string, error)
GetExternalNetworkNames mocks base method.
func (*MockNetworking) GetFipByName ¶
func (m *MockNetworking) GetFipByName(ctx context.Context, name string) ([]floatingips.FloatingIP, error)
GetFipByName mocks base method.
func (*MockNetworking) GetNetworkByID ¶
GetNetworkByID mocks base method.
func (*MockNetworking) GetNetworkByName ¶
func (m *MockNetworking) GetNetworkByName(ctx context.Context, name string) ([]networks.Network, error)
GetNetworkByName mocks base method.
func (*MockNetworking) GetRouterByID ¶
GetRouterByID mocks base method.
func (*MockNetworking) GetRouterInterfacePort ¶
func (m *MockNetworking) GetRouterInterfacePort(ctx context.Context, routerID, subnetID string) (*ports.Port, error)
GetRouterInterfacePort mocks base method.
func (*MockNetworking) GetRouterInterfacePortsByNetwork ¶
func (m *MockNetworking) GetRouterInterfacePortsByNetwork(ctx context.Context, networkID string) ([]ports.Port, error)
GetRouterInterfacePortsByNetwork mocks base method.
func (*MockNetworking) GetSecurityGroup ¶
func (m *MockNetworking) GetSecurityGroup(ctx context.Context, groupID string) (*groups.SecGroup, error)
GetSecurityGroup mocks base method.
func (*MockNetworking) GetSecurityGroupByName ¶
func (m *MockNetworking) GetSecurityGroupByName(ctx context.Context, name string) ([]groups.SecGroup, error)
GetSecurityGroupByName mocks base method.
func (*MockNetworking) GetSubnetByID ¶
GetSubnetByID mocks base method.
func (*MockNetworking) ListFip ¶
func (m *MockNetworking) ListFip(ctx context.Context, listOpts floatingips.ListOpts) ([]floatingips.FloatingIP, error)
ListFip mocks base method.
func (*MockNetworking) ListNetwork ¶
func (m *MockNetworking) ListNetwork(ctx context.Context, listOpts networks.ListOpts) ([]networks.Network, error)
ListNetwork mocks base method.
func (*MockNetworking) ListRouters ¶
func (m *MockNetworking) ListRouters(ctx context.Context, listOpts routers.ListOpts) ([]routers.Router, error)
ListRouters mocks base method.
func (*MockNetworking) ListRules ¶
func (m *MockNetworking) ListRules(ctx context.Context, listOpts rules.ListOpts) ([]rules.SecGroupRule, error)
ListRules mocks base method.
func (*MockNetworking) ListSecurityGroup ¶
func (m *MockNetworking) ListSecurityGroup(ctx context.Context, listOpts groups.ListOpts) ([]groups.SecGroup, error)
ListSecurityGroup mocks base method.
func (*MockNetworking) ListSubnets ¶
func (m *MockNetworking) ListSubnets(ctx context.Context, listOpts subnets.ListOpts) ([]subnets.Subnet, error)
ListSubnets mocks base method.
func (*MockNetworking) RemoveRouterInterface ¶
func (m *MockNetworking) RemoveRouterInterface(ctx context.Context, routerID string, removeOpts routers.RemoveInterfaceOpts) (*routers.InterfaceInfo, error)
RemoveRouterInterface mocks base method.
func (*MockNetworking) UpdateNetwork ¶
func (m *MockNetworking) UpdateNetwork(ctx context.Context, networkID string, opts networks.UpdateOpts) (*networks.Network, error)
UpdateNetwork mocks base method.
func (*MockNetworking) UpdateRouter ¶
func (m *MockNetworking) UpdateRouter(ctx context.Context, routerID string, updateOpts routers.UpdateOpts) (*routers.Router, error)
UpdateRouter mocks base method.
func (*MockNetworking) UpdateRoutesForRouter ¶
func (m *MockNetworking) UpdateRoutesForRouter(ctx context.Context, routes []routers.Route, routerID string) (*routers.Router, error)
UpdateRoutesForRouter mocks base method.
func (*MockNetworking) UpdateSubnet ¶
func (m *MockNetworking) UpdateSubnet(ctx context.Context, subnetID string, updateOpts subnets.UpdateOpts) (*subnets.Subnet, error)
UpdateSubnet mocks base method.
type MockNetworkingMockRecorder ¶
type MockNetworkingMockRecorder struct {
// contains filtered or unexported fields
}
MockNetworkingMockRecorder is the mock recorder for MockNetworking.
func (*MockNetworkingMockRecorder) AddRouterInterface ¶
func (mr *MockNetworkingMockRecorder) AddRouterInterface(ctx, routerID, addOpts any) *gomock.Call
AddRouterInterface indicates an expected call of AddRouterInterface.
func (*MockNetworkingMockRecorder) AddTag ¶
func (mr *MockNetworkingMockRecorder) AddTag(ctx, resourceType, resourceID, tag any) *gomock.Call
AddTag indicates an expected call of AddTag.
func (*MockNetworkingMockRecorder) CreateFloatingIP ¶
func (mr *MockNetworkingMockRecorder) CreateFloatingIP(ctx, createOpts any) *gomock.Call
CreateFloatingIP indicates an expected call of CreateFloatingIP.
func (*MockNetworkingMockRecorder) CreateNetwork ¶
func (mr *MockNetworkingMockRecorder) CreateNetwork(ctx, opts any) *gomock.Call
CreateNetwork indicates an expected call of CreateNetwork.
func (*MockNetworkingMockRecorder) CreateRouter ¶
func (mr *MockNetworkingMockRecorder) CreateRouter(ctx, createOpts any) *gomock.Call
CreateRouter indicates an expected call of CreateRouter.
func (*MockNetworkingMockRecorder) CreateRule ¶
func (mr *MockNetworkingMockRecorder) CreateRule(ctx, createOpts any) *gomock.Call
CreateRule indicates an expected call of CreateRule.
func (*MockNetworkingMockRecorder) CreateSecurityGroup ¶
func (mr *MockNetworkingMockRecorder) CreateSecurityGroup(ctx, listOpts any) *gomock.Call
CreateSecurityGroup indicates an expected call of CreateSecurityGroup.
func (*MockNetworkingMockRecorder) CreateSubnet ¶
func (mr *MockNetworkingMockRecorder) CreateSubnet(ctx, createOpts any) *gomock.Call
CreateSubnet indicates an expected call of CreateSubnet.
func (*MockNetworkingMockRecorder) DeleteFloatingIP ¶
func (mr *MockNetworkingMockRecorder) DeleteFloatingIP(ctx, id any) *gomock.Call
DeleteFloatingIP indicates an expected call of DeleteFloatingIP.
func (*MockNetworkingMockRecorder) DeleteNetwork ¶
func (mr *MockNetworkingMockRecorder) DeleteNetwork(ctx, networkID any) *gomock.Call
DeleteNetwork indicates an expected call of DeleteNetwork.
func (*MockNetworkingMockRecorder) DeleteRouter ¶
func (mr *MockNetworkingMockRecorder) DeleteRouter(ctx, routerID any) *gomock.Call
DeleteRouter indicates an expected call of DeleteRouter.
func (*MockNetworkingMockRecorder) DeleteRule ¶
func (mr *MockNetworkingMockRecorder) DeleteRule(ctx, ruleID any) *gomock.Call
DeleteRule indicates an expected call of DeleteRule.
func (*MockNetworkingMockRecorder) DeleteSecurityGroup ¶
func (mr *MockNetworkingMockRecorder) DeleteSecurityGroup(ctx, groupID any) *gomock.Call
DeleteSecurityGroup indicates an expected call of DeleteSecurityGroup.
func (*MockNetworkingMockRecorder) DeleteSubnet ¶
func (mr *MockNetworkingMockRecorder) DeleteSubnet(ctx, subnetID any) *gomock.Call
DeleteSubnet indicates an expected call of DeleteSubnet.
func (*MockNetworkingMockRecorder) GetExternalNetworkByName ¶
func (mr *MockNetworkingMockRecorder) GetExternalNetworkByName(ctx, name any) *gomock.Call
GetExternalNetworkByName indicates an expected call of GetExternalNetworkByName.
func (*MockNetworkingMockRecorder) GetExternalNetworkNames ¶
func (mr *MockNetworkingMockRecorder) GetExternalNetworkNames(ctx any) *gomock.Call
GetExternalNetworkNames indicates an expected call of GetExternalNetworkNames.
func (*MockNetworkingMockRecorder) GetFipByName ¶
func (mr *MockNetworkingMockRecorder) GetFipByName(ctx, name any) *gomock.Call
GetFipByName indicates an expected call of GetFipByName.
func (*MockNetworkingMockRecorder) GetNetworkByID ¶
func (mr *MockNetworkingMockRecorder) GetNetworkByID(ctx, id any) *gomock.Call
GetNetworkByID indicates an expected call of GetNetworkByID.
func (*MockNetworkingMockRecorder) GetNetworkByName ¶
func (mr *MockNetworkingMockRecorder) GetNetworkByName(ctx, name any) *gomock.Call
GetNetworkByName indicates an expected call of GetNetworkByName.
func (*MockNetworkingMockRecorder) GetPort ¶
func (mr *MockNetworkingMockRecorder) GetPort(ctx, portID any) *gomock.Call
GetPort indicates an expected call of GetPort.
func (*MockNetworkingMockRecorder) GetRouterByID ¶
func (mr *MockNetworkingMockRecorder) GetRouterByID(ctx, id any) *gomock.Call
GetRouterByID indicates an expected call of GetRouterByID.
func (*MockNetworkingMockRecorder) GetRouterInterfacePort ¶
func (mr *MockNetworkingMockRecorder) GetRouterInterfacePort(ctx, routerID, subnetID any) *gomock.Call
GetRouterInterfacePort indicates an expected call of GetRouterInterfacePort.
func (*MockNetworkingMockRecorder) GetRouterInterfacePortsByNetwork ¶
func (mr *MockNetworkingMockRecorder) GetRouterInterfacePortsByNetwork(ctx, networkID any) *gomock.Call
GetRouterInterfacePortsByNetwork indicates an expected call of GetRouterInterfacePortsByNetwork.
func (*MockNetworkingMockRecorder) GetSecurityGroup ¶
func (mr *MockNetworkingMockRecorder) GetSecurityGroup(ctx, groupID any) *gomock.Call
GetSecurityGroup indicates an expected call of GetSecurityGroup.
func (*MockNetworkingMockRecorder) GetSecurityGroupByName ¶
func (mr *MockNetworkingMockRecorder) GetSecurityGroupByName(ctx, name any) *gomock.Call
GetSecurityGroupByName indicates an expected call of GetSecurityGroupByName.
func (*MockNetworkingMockRecorder) GetSubnetByID ¶
func (mr *MockNetworkingMockRecorder) GetSubnetByID(ctx, id any) *gomock.Call
GetSubnetByID indicates an expected call of GetSubnetByID.
func (*MockNetworkingMockRecorder) ListFip ¶
func (mr *MockNetworkingMockRecorder) ListFip(ctx, listOpts any) *gomock.Call
ListFip indicates an expected call of ListFip.
func (*MockNetworkingMockRecorder) ListNetwork ¶
func (mr *MockNetworkingMockRecorder) ListNetwork(ctx, listOpts any) *gomock.Call
ListNetwork indicates an expected call of ListNetwork.
func (*MockNetworkingMockRecorder) ListRouters ¶
func (mr *MockNetworkingMockRecorder) ListRouters(ctx, listOpts any) *gomock.Call
ListRouters indicates an expected call of ListRouters.
func (*MockNetworkingMockRecorder) ListRules ¶
func (mr *MockNetworkingMockRecorder) ListRules(ctx, listOpts any) *gomock.Call
ListRules indicates an expected call of ListRules.
func (*MockNetworkingMockRecorder) ListSecurityGroup ¶
func (mr *MockNetworkingMockRecorder) ListSecurityGroup(ctx, listOpts any) *gomock.Call
ListSecurityGroup indicates an expected call of ListSecurityGroup.
func (*MockNetworkingMockRecorder) ListSubnets ¶
func (mr *MockNetworkingMockRecorder) ListSubnets(ctx, listOpts any) *gomock.Call
ListSubnets indicates an expected call of ListSubnets.
func (*MockNetworkingMockRecorder) RemoveRouterInterface ¶
func (mr *MockNetworkingMockRecorder) RemoveRouterInterface(ctx, routerID, removeOpts any) *gomock.Call
RemoveRouterInterface indicates an expected call of RemoveRouterInterface.
func (*MockNetworkingMockRecorder) UpdateNetwork ¶
func (mr *MockNetworkingMockRecorder) UpdateNetwork(ctx, networkID, opts any) *gomock.Call
UpdateNetwork indicates an expected call of UpdateNetwork.
func (*MockNetworkingMockRecorder) UpdateRouter ¶
func (mr *MockNetworkingMockRecorder) UpdateRouter(ctx, routerID, updateOpts any) *gomock.Call
UpdateRouter indicates an expected call of UpdateRouter.
func (*MockNetworkingMockRecorder) UpdateRoutesForRouter ¶
func (mr *MockNetworkingMockRecorder) UpdateRoutesForRouter(ctx, routes, routerID any) *gomock.Call
UpdateRoutesForRouter indicates an expected call of UpdateRoutesForRouter.
func (*MockNetworkingMockRecorder) UpdateSubnet ¶
func (mr *MockNetworkingMockRecorder) UpdateSubnet(ctx, subnetID, updateOpts any) *gomock.Call
UpdateSubnet indicates an expected call of UpdateSubnet.