mock_networking

package
v0.6.4 Latest Latest
Warning

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

Go to latest
Published: Sep 5, 2022 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Overview

Package mock_networking is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockNetworkClient

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

MockNetworkClient is a mock of NetworkClient interface.

func NewMockNetworkClient

func NewMockNetworkClient(ctrl *gomock.Controller) *MockNetworkClient

NewMockNetworkClient creates a new mock instance.

func (*MockNetworkClient) AddRouterInterface

func (m *MockNetworkClient) AddRouterInterface(arg0 string, arg1 routers.AddInterfaceOptsBuilder) (*routers.InterfaceInfo, error)

AddRouterInterface mocks base method.

func (*MockNetworkClient) CreateFloatingIP

CreateFloatingIP mocks base method.

func (*MockNetworkClient) CreateNetwork

CreateNetwork mocks base method.

func (*MockNetworkClient) CreatePort

func (m *MockNetworkClient) CreatePort(arg0 ports.CreateOptsBuilder) (*ports.Port, error)

CreatePort mocks base method.

func (*MockNetworkClient) CreateRouter

func (m *MockNetworkClient) CreateRouter(arg0 routers.CreateOptsBuilder) (*routers.Router, error)

CreateRouter mocks base method.

func (*MockNetworkClient) CreateSecGroup

func (m *MockNetworkClient) CreateSecGroup(arg0 groups.CreateOptsBuilder) (*groups.SecGroup, error)

CreateSecGroup mocks base method.

func (*MockNetworkClient) CreateSecGroupRule

func (m *MockNetworkClient) CreateSecGroupRule(arg0 rules.CreateOptsBuilder) (*rules.SecGroupRule, error)

CreateSecGroupRule mocks base method.

func (*MockNetworkClient) CreateSubnet

func (m *MockNetworkClient) CreateSubnet(arg0 subnets.CreateOptsBuilder) (*subnets.Subnet, error)

CreateSubnet mocks base method.

func (*MockNetworkClient) CreateTrunk

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

CreateTrunk mocks base method.

func (*MockNetworkClient) DeleteFloatingIP

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

DeleteFloatingIP mocks base method.

func (*MockNetworkClient) DeleteNetwork

func (m *MockNetworkClient) DeleteNetwork(arg0 string) error

DeleteNetwork mocks base method.

func (*MockNetworkClient) DeletePort

func (m *MockNetworkClient) DeletePort(arg0 string) error

DeletePort mocks base method.

func (*MockNetworkClient) DeleteRouter

func (m *MockNetworkClient) DeleteRouter(arg0 string) error

DeleteRouter mocks base method.

func (*MockNetworkClient) DeleteSecGroup

func (m *MockNetworkClient) DeleteSecGroup(arg0 string) error

DeleteSecGroup mocks base method.

func (*MockNetworkClient) DeleteSecGroupRule

func (m *MockNetworkClient) DeleteSecGroupRule(arg0 string) error

DeleteSecGroupRule mocks base method.

func (*MockNetworkClient) DeleteSubnet

func (m *MockNetworkClient) DeleteSubnet(arg0 string) error

DeleteSubnet mocks base method.

func (*MockNetworkClient) DeleteTrunk

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

DeleteTrunk mocks base method.

func (*MockNetworkClient) EXPECT

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

func (*MockNetworkClient) GetFloatingIP

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

GetFloatingIP mocks base method.

func (*MockNetworkClient) GetNetwork

func (m *MockNetworkClient) GetNetwork(arg0 string) (*networks.Network, error)

GetNetwork mocks base method.

func (*MockNetworkClient) GetPort

func (m *MockNetworkClient) GetPort(arg0 string) (*ports.Port, error)

GetPort mocks base method.

func (*MockNetworkClient) GetRouter

func (m *MockNetworkClient) GetRouter(arg0 string) (*routers.Router, error)

GetRouter mocks base method.

func (*MockNetworkClient) GetSecGroup

func (m *MockNetworkClient) GetSecGroup(arg0 string) (*groups.SecGroup, error)

GetSecGroup mocks base method.

func (*MockNetworkClient) GetSecGroupRule

func (m *MockNetworkClient) GetSecGroupRule(arg0 string) (*rules.SecGroupRule, error)

GetSecGroupRule mocks base method.

func (*MockNetworkClient) GetSubnet

func (m *MockNetworkClient) GetSubnet(arg0 string) (*subnets.Subnet, error)

GetSubnet mocks base method.

func (*MockNetworkClient) ListExtensions

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

ListExtensions mocks base method.

func (*MockNetworkClient) ListFloatingIP

ListFloatingIP mocks base method.

func (*MockNetworkClient) ListNetwork

func (m *MockNetworkClient) ListNetwork(arg0 networks.ListOptsBuilder) ([]networks.Network, error)

ListNetwork mocks base method.

func (*MockNetworkClient) ListPort

func (m *MockNetworkClient) ListPort(arg0 ports.ListOptsBuilder) ([]ports.Port, error)

ListPort mocks base method.

func (*MockNetworkClient) ListRouter

func (m *MockNetworkClient) ListRouter(arg0 routers.ListOpts) ([]routers.Router, error)

ListRouter mocks base method.

func (*MockNetworkClient) ListSecGroup

func (m *MockNetworkClient) ListSecGroup(arg0 groups.ListOpts) ([]groups.SecGroup, error)

ListSecGroup mocks base method.

func (*MockNetworkClient) ListSecGroupRule

func (m *MockNetworkClient) ListSecGroupRule(arg0 rules.ListOpts) ([]rules.SecGroupRule, error)

ListSecGroupRule mocks base method.

func (*MockNetworkClient) ListSubnet

func (m *MockNetworkClient) ListSubnet(arg0 subnets.ListOptsBuilder) ([]subnets.Subnet, error)

ListSubnet mocks base method.

func (*MockNetworkClient) ListTrunk

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

ListTrunk mocks base method.

func (*MockNetworkClient) RemoveRouterInterface

func (m *MockNetworkClient) RemoveRouterInterface(arg0 string, arg1 routers.RemoveInterfaceOptsBuilder) (*routers.InterfaceInfo, error)

RemoveRouterInterface mocks base method.

func (*MockNetworkClient) ReplaceAllAttributesTags

func (m *MockNetworkClient) ReplaceAllAttributesTags(arg0, arg1 string, arg2 attributestags.ReplaceAllOptsBuilder) ([]string, error)

ReplaceAllAttributesTags mocks base method.

func (*MockNetworkClient) UpdateFloatingIP

UpdateFloatingIP mocks base method.

func (*MockNetworkClient) UpdateNetwork

func (m *MockNetworkClient) UpdateNetwork(arg0 string, arg1 networks.UpdateOptsBuilder) (*networks.Network, error)

UpdateNetwork mocks base method.

func (*MockNetworkClient) UpdatePort

func (m *MockNetworkClient) UpdatePort(arg0 string, arg1 ports.UpdateOptsBuilder) (*ports.Port, error)

UpdatePort mocks base method.

func (*MockNetworkClient) UpdateRouter

func (m *MockNetworkClient) UpdateRouter(arg0 string, arg1 routers.UpdateOptsBuilder) (*routers.Router, error)

UpdateRouter mocks base method.

func (*MockNetworkClient) UpdateSecGroup

func (m *MockNetworkClient) UpdateSecGroup(arg0 string, arg1 groups.UpdateOptsBuilder) (*groups.SecGroup, error)

UpdateSecGroup mocks base method.

func (*MockNetworkClient) UpdateSubnet

func (m *MockNetworkClient) UpdateSubnet(arg0 string, arg1 subnets.UpdateOptsBuilder) (*subnets.Subnet, error)

UpdateSubnet mocks base method.

type MockNetworkClientMockRecorder

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

MockNetworkClientMockRecorder is the mock recorder for MockNetworkClient.

func (*MockNetworkClientMockRecorder) AddRouterInterface

func (mr *MockNetworkClientMockRecorder) AddRouterInterface(arg0, arg1 interface{}) *gomock.Call

AddRouterInterface indicates an expected call of AddRouterInterface.

func (*MockNetworkClientMockRecorder) CreateFloatingIP

func (mr *MockNetworkClientMockRecorder) CreateFloatingIP(arg0 interface{}) *gomock.Call

CreateFloatingIP indicates an expected call of CreateFloatingIP.

func (*MockNetworkClientMockRecorder) CreateNetwork

func (mr *MockNetworkClientMockRecorder) CreateNetwork(arg0 interface{}) *gomock.Call

CreateNetwork indicates an expected call of CreateNetwork.

func (*MockNetworkClientMockRecorder) CreatePort

func (mr *MockNetworkClientMockRecorder) CreatePort(arg0 interface{}) *gomock.Call

CreatePort indicates an expected call of CreatePort.

func (*MockNetworkClientMockRecorder) CreateRouter

func (mr *MockNetworkClientMockRecorder) CreateRouter(arg0 interface{}) *gomock.Call

CreateRouter indicates an expected call of CreateRouter.

func (*MockNetworkClientMockRecorder) CreateSecGroup

func (mr *MockNetworkClientMockRecorder) CreateSecGroup(arg0 interface{}) *gomock.Call

CreateSecGroup indicates an expected call of CreateSecGroup.

func (*MockNetworkClientMockRecorder) CreateSecGroupRule

func (mr *MockNetworkClientMockRecorder) CreateSecGroupRule(arg0 interface{}) *gomock.Call

CreateSecGroupRule indicates an expected call of CreateSecGroupRule.

func (*MockNetworkClientMockRecorder) CreateSubnet

func (mr *MockNetworkClientMockRecorder) CreateSubnet(arg0 interface{}) *gomock.Call

CreateSubnet indicates an expected call of CreateSubnet.

func (*MockNetworkClientMockRecorder) CreateTrunk

func (mr *MockNetworkClientMockRecorder) CreateTrunk(arg0 interface{}) *gomock.Call

CreateTrunk indicates an expected call of CreateTrunk.

func (*MockNetworkClientMockRecorder) DeleteFloatingIP

func (mr *MockNetworkClientMockRecorder) DeleteFloatingIP(arg0 interface{}) *gomock.Call

DeleteFloatingIP indicates an expected call of DeleteFloatingIP.

func (*MockNetworkClientMockRecorder) DeleteNetwork

func (mr *MockNetworkClientMockRecorder) DeleteNetwork(arg0 interface{}) *gomock.Call

DeleteNetwork indicates an expected call of DeleteNetwork.

func (*MockNetworkClientMockRecorder) DeletePort

func (mr *MockNetworkClientMockRecorder) DeletePort(arg0 interface{}) *gomock.Call

DeletePort indicates an expected call of DeletePort.

func (*MockNetworkClientMockRecorder) DeleteRouter

func (mr *MockNetworkClientMockRecorder) DeleteRouter(arg0 interface{}) *gomock.Call

DeleteRouter indicates an expected call of DeleteRouter.

func (*MockNetworkClientMockRecorder) DeleteSecGroup

func (mr *MockNetworkClientMockRecorder) DeleteSecGroup(arg0 interface{}) *gomock.Call

DeleteSecGroup indicates an expected call of DeleteSecGroup.

func (*MockNetworkClientMockRecorder) DeleteSecGroupRule

func (mr *MockNetworkClientMockRecorder) DeleteSecGroupRule(arg0 interface{}) *gomock.Call

DeleteSecGroupRule indicates an expected call of DeleteSecGroupRule.

func (*MockNetworkClientMockRecorder) DeleteSubnet

func (mr *MockNetworkClientMockRecorder) DeleteSubnet(arg0 interface{}) *gomock.Call

DeleteSubnet indicates an expected call of DeleteSubnet.

func (*MockNetworkClientMockRecorder) DeleteTrunk

func (mr *MockNetworkClientMockRecorder) DeleteTrunk(arg0 interface{}) *gomock.Call

DeleteTrunk indicates an expected call of DeleteTrunk.

func (*MockNetworkClientMockRecorder) GetFloatingIP

func (mr *MockNetworkClientMockRecorder) GetFloatingIP(arg0 interface{}) *gomock.Call

GetFloatingIP indicates an expected call of GetFloatingIP.

func (*MockNetworkClientMockRecorder) GetNetwork

func (mr *MockNetworkClientMockRecorder) GetNetwork(arg0 interface{}) *gomock.Call

GetNetwork indicates an expected call of GetNetwork.

func (*MockNetworkClientMockRecorder) GetPort

func (mr *MockNetworkClientMockRecorder) GetPort(arg0 interface{}) *gomock.Call

GetPort indicates an expected call of GetPort.

func (*MockNetworkClientMockRecorder) GetRouter

func (mr *MockNetworkClientMockRecorder) GetRouter(arg0 interface{}) *gomock.Call

GetRouter indicates an expected call of GetRouter.

func (*MockNetworkClientMockRecorder) GetSecGroup

func (mr *MockNetworkClientMockRecorder) GetSecGroup(arg0 interface{}) *gomock.Call

GetSecGroup indicates an expected call of GetSecGroup.

func (*MockNetworkClientMockRecorder) GetSecGroupRule

func (mr *MockNetworkClientMockRecorder) GetSecGroupRule(arg0 interface{}) *gomock.Call

GetSecGroupRule indicates an expected call of GetSecGroupRule.

func (*MockNetworkClientMockRecorder) GetSubnet

func (mr *MockNetworkClientMockRecorder) GetSubnet(arg0 interface{}) *gomock.Call

GetSubnet indicates an expected call of GetSubnet.

func (*MockNetworkClientMockRecorder) ListExtensions

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

ListExtensions indicates an expected call of ListExtensions.

func (*MockNetworkClientMockRecorder) ListFloatingIP

func (mr *MockNetworkClientMockRecorder) ListFloatingIP(arg0 interface{}) *gomock.Call

ListFloatingIP indicates an expected call of ListFloatingIP.

func (*MockNetworkClientMockRecorder) ListNetwork

func (mr *MockNetworkClientMockRecorder) ListNetwork(arg0 interface{}) *gomock.Call

ListNetwork indicates an expected call of ListNetwork.

func (*MockNetworkClientMockRecorder) ListPort

func (mr *MockNetworkClientMockRecorder) ListPort(arg0 interface{}) *gomock.Call

ListPort indicates an expected call of ListPort.

func (*MockNetworkClientMockRecorder) ListRouter

func (mr *MockNetworkClientMockRecorder) ListRouter(arg0 interface{}) *gomock.Call

ListRouter indicates an expected call of ListRouter.

func (*MockNetworkClientMockRecorder) ListSecGroup

func (mr *MockNetworkClientMockRecorder) ListSecGroup(arg0 interface{}) *gomock.Call

ListSecGroup indicates an expected call of ListSecGroup.

func (*MockNetworkClientMockRecorder) ListSecGroupRule

func (mr *MockNetworkClientMockRecorder) ListSecGroupRule(arg0 interface{}) *gomock.Call

ListSecGroupRule indicates an expected call of ListSecGroupRule.

func (*MockNetworkClientMockRecorder) ListSubnet

func (mr *MockNetworkClientMockRecorder) ListSubnet(arg0 interface{}) *gomock.Call

ListSubnet indicates an expected call of ListSubnet.

func (*MockNetworkClientMockRecorder) ListTrunk

func (mr *MockNetworkClientMockRecorder) ListTrunk(arg0 interface{}) *gomock.Call

ListTrunk indicates an expected call of ListTrunk.

func (*MockNetworkClientMockRecorder) RemoveRouterInterface

func (mr *MockNetworkClientMockRecorder) RemoveRouterInterface(arg0, arg1 interface{}) *gomock.Call

RemoveRouterInterface indicates an expected call of RemoveRouterInterface.

func (*MockNetworkClientMockRecorder) ReplaceAllAttributesTags

func (mr *MockNetworkClientMockRecorder) ReplaceAllAttributesTags(arg0, arg1, arg2 interface{}) *gomock.Call

ReplaceAllAttributesTags indicates an expected call of ReplaceAllAttributesTags.

func (*MockNetworkClientMockRecorder) UpdateFloatingIP

func (mr *MockNetworkClientMockRecorder) UpdateFloatingIP(arg0, arg1 interface{}) *gomock.Call

UpdateFloatingIP indicates an expected call of UpdateFloatingIP.

func (*MockNetworkClientMockRecorder) UpdateNetwork

func (mr *MockNetworkClientMockRecorder) UpdateNetwork(arg0, arg1 interface{}) *gomock.Call

UpdateNetwork indicates an expected call of UpdateNetwork.

func (*MockNetworkClientMockRecorder) UpdatePort

func (mr *MockNetworkClientMockRecorder) UpdatePort(arg0, arg1 interface{}) *gomock.Call

UpdatePort indicates an expected call of UpdatePort.

func (*MockNetworkClientMockRecorder) UpdateRouter

func (mr *MockNetworkClientMockRecorder) UpdateRouter(arg0, arg1 interface{}) *gomock.Call

UpdateRouter indicates an expected call of UpdateRouter.

func (*MockNetworkClientMockRecorder) UpdateSecGroup

func (mr *MockNetworkClientMockRecorder) UpdateSecGroup(arg0, arg1 interface{}) *gomock.Call

UpdateSecGroup indicates an expected call of UpdateSecGroup.

func (*MockNetworkClientMockRecorder) UpdateSubnet

func (mr *MockNetworkClientMockRecorder) UpdateSubnet(arg0, arg1 interface{}) *gomock.Call

UpdateSubnet indicates an expected call of UpdateSubnet.

Jump to

Keyboard shortcuts

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