mock_ipsetmanager

package
v10.341.1+incompatible Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2021 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package mock_ipsetmanager is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockAclL3

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

MockAclL3 is a mock of AclL3 interface

func NewMockAclL3

func NewMockAclL3(ctrl *gomock.Controller) *MockAclL3

NewMockAclL3 creates a new mock instance

func (*MockAclL3) DestroyUnusedIPsets

func (m *MockAclL3) DestroyUnusedIPsets()

DestroyUnusedIPsets mocks base method

func (*MockAclL3) EXPECT

func (m *MockAclL3) EXPECT() *MockAclL3MockRecorder

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

func (*MockAclL3) GetACLIPsetsNames

func (m *MockAclL3) GetACLIPsetsNames(extnets policy.IPRuleList) []string

GetACLIPsetsNames mocks base method

func (*MockAclL3) RegisterExternalNets

func (m *MockAclL3) RegisterExternalNets(contextID string, extnets policy.IPRuleList) error

RegisterExternalNets mocks base method

func (*MockAclL3) RemoveExternalNets

func (m *MockAclL3) RemoveExternalNets(contextID string)

RemoveExternalNets mocks base method

func (*MockAclL3) UpdateACLIPsets

func (m *MockAclL3) UpdateACLIPsets(arg0 []string, arg1 string)

UpdateACLIPsets mocks base method

type MockAclL3MockRecorder

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

MockAclL3MockRecorder is the mock recorder for MockAclL3

func (*MockAclL3MockRecorder) DestroyUnusedIPsets

func (mr *MockAclL3MockRecorder) DestroyUnusedIPsets() *gomock.Call

DestroyUnusedIPsets indicates an expected call of DestroyUnusedIPsets

func (*MockAclL3MockRecorder) GetACLIPsetsNames

func (mr *MockAclL3MockRecorder) GetACLIPsetsNames(extnets interface{}) *gomock.Call

GetACLIPsetsNames indicates an expected call of GetACLIPsetsNames

func (*MockAclL3MockRecorder) RegisterExternalNets

func (mr *MockAclL3MockRecorder) RegisterExternalNets(contextID, extnets interface{}) *gomock.Call

RegisterExternalNets indicates an expected call of RegisterExternalNets

func (*MockAclL3MockRecorder) RemoveExternalNets

func (mr *MockAclL3MockRecorder) RemoveExternalNets(contextID interface{}) *gomock.Call

RemoveExternalNets indicates an expected call of RemoveExternalNets

func (*MockAclL3MockRecorder) UpdateACLIPsets

func (mr *MockAclL3MockRecorder) UpdateACLIPsets(arg0, arg1 interface{}) *gomock.Call

UpdateACLIPsets indicates an expected call of UpdateACLIPsets

type MockIPSetManager

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

MockIPSetManager is a mock of IPSetManager interface

func NewMockIPSetManager

func NewMockIPSetManager(ctrl *gomock.Controller) *MockIPSetManager

NewMockIPSetManager creates a new mock instance

func (*MockIPSetManager) AddIPPortToDependentService

func (m *MockIPSetManager) AddIPPortToDependentService(contextID string, ip *net.IPNet, port string) error

AddIPPortToDependentService mocks base method

func (*MockIPSetManager) AddPortToExposedService

func (m *MockIPSetManager) AddPortToExposedService(contextID, port string) error

AddPortToExposedService mocks base method

func (*MockIPSetManager) AddPortToServerPortSet

func (m *MockIPSetManager) AddPortToServerPortSet(contextID, port string) error

AddPortToServerPortSet mocks base method

func (*MockIPSetManager) CreateProxySets

func (m *MockIPSetManager) CreateProxySets(contextID string) error

CreateProxySets mocks base method

func (*MockIPSetManager) CreateServerPortSet

func (m *MockIPSetManager) CreateServerPortSet(contextID string) error

CreateServerPortSet mocks base method

func (*MockIPSetManager) DeletePortFromServerPortSet

func (m *MockIPSetManager) DeletePortFromServerPortSet(contextID, port string) error

DeletePortFromServerPortSet mocks base method

func (*MockIPSetManager) DestroyProxySets

func (m *MockIPSetManager) DestroyProxySets(contextID string)

DestroyProxySets mocks base method

func (*MockIPSetManager) DestroyServerPortSet

func (m *MockIPSetManager) DestroyServerPortSet(contextID string) error

DestroyServerPortSet mocks base method

func (*MockIPSetManager) DestroyUnusedIPsets

func (m *MockIPSetManager) DestroyUnusedIPsets()

DestroyUnusedIPsets mocks base method

func (*MockIPSetManager) EXPECT

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

func (*MockIPSetManager) FlushProxySets

func (m *MockIPSetManager) FlushProxySets(contextID string)

FlushProxySets mocks base method

func (*MockIPSetManager) GetACLIPsetsNames

func (m *MockIPSetManager) GetACLIPsetsNames(extnets policy.IPRuleList) []string

GetACLIPsetsNames mocks base method

func (*MockIPSetManager) GetProxySetNames

func (m *MockIPSetManager) GetProxySetNames(contextID string) (string, string)

GetProxySetNames mocks base method

func (*MockIPSetManager) GetServerPortSetName

func (m *MockIPSetManager) GetServerPortSetName(contextID string) string

GetServerPortSetName mocks base method

func (*MockIPSetManager) RegisterExternalNets

func (m *MockIPSetManager) RegisterExternalNets(contextID string, extnets policy.IPRuleList) error

RegisterExternalNets mocks base method

func (*MockIPSetManager) RemoveExternalNets

func (m *MockIPSetManager) RemoveExternalNets(contextID string)

RemoveExternalNets mocks base method

func (*MockIPSetManager) UpdateACLIPsets

func (m *MockIPSetManager) UpdateACLIPsets(arg0 []string, arg1 string)

UpdateACLIPsets mocks base method

type MockIPSetManagerMockRecorder

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

MockIPSetManagerMockRecorder is the mock recorder for MockIPSetManager

func (*MockIPSetManagerMockRecorder) AddIPPortToDependentService

func (mr *MockIPSetManagerMockRecorder) AddIPPortToDependentService(contextID, ip, port interface{}) *gomock.Call

AddIPPortToDependentService indicates an expected call of AddIPPortToDependentService

func (*MockIPSetManagerMockRecorder) AddPortToExposedService

func (mr *MockIPSetManagerMockRecorder) AddPortToExposedService(contextID, port interface{}) *gomock.Call

AddPortToExposedService indicates an expected call of AddPortToExposedService

func (*MockIPSetManagerMockRecorder) AddPortToServerPortSet

func (mr *MockIPSetManagerMockRecorder) AddPortToServerPortSet(contextID, port interface{}) *gomock.Call

AddPortToServerPortSet indicates an expected call of AddPortToServerPortSet

func (*MockIPSetManagerMockRecorder) CreateProxySets

func (mr *MockIPSetManagerMockRecorder) CreateProxySets(contextID interface{}) *gomock.Call

CreateProxySets indicates an expected call of CreateProxySets

func (*MockIPSetManagerMockRecorder) CreateServerPortSet

func (mr *MockIPSetManagerMockRecorder) CreateServerPortSet(contextID interface{}) *gomock.Call

CreateServerPortSet indicates an expected call of CreateServerPortSet

func (*MockIPSetManagerMockRecorder) DeletePortFromServerPortSet

func (mr *MockIPSetManagerMockRecorder) DeletePortFromServerPortSet(contextID, port interface{}) *gomock.Call

DeletePortFromServerPortSet indicates an expected call of DeletePortFromServerPortSet

func (*MockIPSetManagerMockRecorder) DestroyProxySets

func (mr *MockIPSetManagerMockRecorder) DestroyProxySets(contextID interface{}) *gomock.Call

DestroyProxySets indicates an expected call of DestroyProxySets

func (*MockIPSetManagerMockRecorder) DestroyServerPortSet

func (mr *MockIPSetManagerMockRecorder) DestroyServerPortSet(contextID interface{}) *gomock.Call

DestroyServerPortSet indicates an expected call of DestroyServerPortSet

func (*MockIPSetManagerMockRecorder) DestroyUnusedIPsets

func (mr *MockIPSetManagerMockRecorder) DestroyUnusedIPsets() *gomock.Call

DestroyUnusedIPsets indicates an expected call of DestroyUnusedIPsets

func (*MockIPSetManagerMockRecorder) FlushProxySets

func (mr *MockIPSetManagerMockRecorder) FlushProxySets(contextID interface{}) *gomock.Call

FlushProxySets indicates an expected call of FlushProxySets

func (*MockIPSetManagerMockRecorder) GetACLIPsetsNames

func (mr *MockIPSetManagerMockRecorder) GetACLIPsetsNames(extnets interface{}) *gomock.Call

GetACLIPsetsNames indicates an expected call of GetACLIPsetsNames

func (*MockIPSetManagerMockRecorder) GetProxySetNames

func (mr *MockIPSetManagerMockRecorder) GetProxySetNames(contextID interface{}) *gomock.Call

GetProxySetNames indicates an expected call of GetProxySetNames

func (*MockIPSetManagerMockRecorder) GetServerPortSetName

func (mr *MockIPSetManagerMockRecorder) GetServerPortSetName(contextID interface{}) *gomock.Call

GetServerPortSetName indicates an expected call of GetServerPortSetName

func (*MockIPSetManagerMockRecorder) RegisterExternalNets

func (mr *MockIPSetManagerMockRecorder) RegisterExternalNets(contextID, extnets interface{}) *gomock.Call

RegisterExternalNets indicates an expected call of RegisterExternalNets

func (*MockIPSetManagerMockRecorder) RemoveExternalNets

func (mr *MockIPSetManagerMockRecorder) RemoveExternalNets(contextID interface{}) *gomock.Call

RemoveExternalNets indicates an expected call of RemoveExternalNets

func (*MockIPSetManagerMockRecorder) UpdateACLIPsets

func (mr *MockIPSetManagerMockRecorder) UpdateACLIPsets(arg0, arg1 interface{}) *gomock.Call

UpdateACLIPsets indicates an expected call of UpdateACLIPsets

type MockProxyL4

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

MockProxyL4 is a mock of ProxyL4 interface

func NewMockProxyL4

func NewMockProxyL4(ctrl *gomock.Controller) *MockProxyL4

NewMockProxyL4 creates a new mock instance

func (*MockProxyL4) AddIPPortToDependentService

func (m *MockProxyL4) AddIPPortToDependentService(contextID string, ip *net.IPNet, port string) error

AddIPPortToDependentService mocks base method

func (*MockProxyL4) AddPortToExposedService

func (m *MockProxyL4) AddPortToExposedService(contextID, port string) error

AddPortToExposedService mocks base method

func (*MockProxyL4) CreateProxySets

func (m *MockProxyL4) CreateProxySets(contextID string) error

CreateProxySets mocks base method

func (*MockProxyL4) DestroyProxySets

func (m *MockProxyL4) DestroyProxySets(contextID string)

DestroyProxySets mocks base method

func (*MockProxyL4) EXPECT

func (m *MockProxyL4) EXPECT() *MockProxyL4MockRecorder

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

func (*MockProxyL4) FlushProxySets

func (m *MockProxyL4) FlushProxySets(contextID string)

FlushProxySets mocks base method

func (*MockProxyL4) GetProxySetNames

func (m *MockProxyL4) GetProxySetNames(contextID string) (string, string)

GetProxySetNames mocks base method

type MockProxyL4MockRecorder

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

MockProxyL4MockRecorder is the mock recorder for MockProxyL4

func (*MockProxyL4MockRecorder) AddIPPortToDependentService

func (mr *MockProxyL4MockRecorder) AddIPPortToDependentService(contextID, ip, port interface{}) *gomock.Call

AddIPPortToDependentService indicates an expected call of AddIPPortToDependentService

func (*MockProxyL4MockRecorder) AddPortToExposedService

func (mr *MockProxyL4MockRecorder) AddPortToExposedService(contextID, port interface{}) *gomock.Call

AddPortToExposedService indicates an expected call of AddPortToExposedService

func (*MockProxyL4MockRecorder) CreateProxySets

func (mr *MockProxyL4MockRecorder) CreateProxySets(contextID interface{}) *gomock.Call

CreateProxySets indicates an expected call of CreateProxySets

func (*MockProxyL4MockRecorder) DestroyProxySets

func (mr *MockProxyL4MockRecorder) DestroyProxySets(contextID interface{}) *gomock.Call

DestroyProxySets indicates an expected call of DestroyProxySets

func (*MockProxyL4MockRecorder) FlushProxySets

func (mr *MockProxyL4MockRecorder) FlushProxySets(contextID interface{}) *gomock.Call

FlushProxySets indicates an expected call of FlushProxySets

func (*MockProxyL4MockRecorder) GetProxySetNames

func (mr *MockProxyL4MockRecorder) GetProxySetNames(contextID interface{}) *gomock.Call

GetProxySetNames indicates an expected call of GetProxySetNames

type MockServerL3

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

MockServerL3 is a mock of ServerL3 interface

func NewMockServerL3

func NewMockServerL3(ctrl *gomock.Controller) *MockServerL3

NewMockServerL3 creates a new mock instance

func (*MockServerL3) AddPortToServerPortSet

func (m *MockServerL3) AddPortToServerPortSet(contextID, port string) error

AddPortToServerPortSet mocks base method

func (*MockServerL3) CreateServerPortSet

func (m *MockServerL3) CreateServerPortSet(contextID string) error

CreateServerPortSet mocks base method

func (*MockServerL3) DeletePortFromServerPortSet

func (m *MockServerL3) DeletePortFromServerPortSet(contextID, port string) error

DeletePortFromServerPortSet mocks base method

func (*MockServerL3) DestroyServerPortSet

func (m *MockServerL3) DestroyServerPortSet(contextID string) error

DestroyServerPortSet mocks base method

func (*MockServerL3) EXPECT

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

func (*MockServerL3) GetServerPortSetName

func (m *MockServerL3) GetServerPortSetName(contextID string) string

GetServerPortSetName mocks base method

type MockServerL3MockRecorder

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

MockServerL3MockRecorder is the mock recorder for MockServerL3

func (*MockServerL3MockRecorder) AddPortToServerPortSet

func (mr *MockServerL3MockRecorder) AddPortToServerPortSet(contextID, port interface{}) *gomock.Call

AddPortToServerPortSet indicates an expected call of AddPortToServerPortSet

func (*MockServerL3MockRecorder) CreateServerPortSet

func (mr *MockServerL3MockRecorder) CreateServerPortSet(contextID interface{}) *gomock.Call

CreateServerPortSet indicates an expected call of CreateServerPortSet

func (*MockServerL3MockRecorder) DeletePortFromServerPortSet

func (mr *MockServerL3MockRecorder) DeletePortFromServerPortSet(contextID, port interface{}) *gomock.Call

DeletePortFromServerPortSet indicates an expected call of DeletePortFromServerPortSet

func (*MockServerL3MockRecorder) DestroyServerPortSet

func (mr *MockServerL3MockRecorder) DestroyServerPortSet(contextID interface{}) *gomock.Call

DestroyServerPortSet indicates an expected call of DestroyServerPortSet

func (*MockServerL3MockRecorder) GetServerPortSetName

func (mr *MockServerL3MockRecorder) GetServerPortSetName(contextID interface{}) *gomock.Call

GetServerPortSetName indicates an expected call of GetServerPortSetName

Jump to

Keyboard shortcuts

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