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