Documentation ¶
Overview ¶
Package mocksupervisor is a generated GoMock package.
Index ¶
- type MockImplementor
- func (m *MockImplementor) ConfigureRules(version int, contextID string, containerInfo *policy.PUInfo) error
- func (m *MockImplementor) DeleteRules(version int, context string, ipAddresses policy.ExtendedMap, ...) error
- func (m *MockImplementor) EXPECT() *MockImplementorMockRecorder
- func (m *MockImplementor) SetTargetNetworks(arg0, arg1 []string) error
- func (m *MockImplementor) Start() error
- func (m *MockImplementor) Stop() error
- func (m *MockImplementor) UpdateRules(version int, contextID string, containerInfo *policy.PUInfo) error
- type MockImplementorMockRecorder
- func (mr *MockImplementorMockRecorder) ConfigureRules(version, contextID, containerInfo interface{}) *gomock.Call
- func (mr *MockImplementorMockRecorder) DeleteRules(version, context, ipAddresses, port, mark, uid interface{}) *gomock.Call
- func (mr *MockImplementorMockRecorder) SetTargetNetworks(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockImplementorMockRecorder) Start() *gomock.Call
- func (mr *MockImplementorMockRecorder) Stop() *gomock.Call
- func (mr *MockImplementorMockRecorder) UpdateRules(version, contextID, containerInfo interface{}) *gomock.Call
- type MockSupervisor
- func (m *MockSupervisor) EXPECT() *MockSupervisorMockRecorder
- func (m *MockSupervisor) SetTargetNetworks(arg0 []string) error
- func (m *MockSupervisor) Start() error
- func (m *MockSupervisor) Stop() error
- func (m *MockSupervisor) Supervise(contextID string, puInfo *policy.PUInfo) error
- func (m *MockSupervisor) Unsupervise(contextID string) error
- type MockSupervisorMockRecorder
- func (mr *MockSupervisorMockRecorder) SetTargetNetworks(arg0 interface{}) *gomock.Call
- func (mr *MockSupervisorMockRecorder) Start() *gomock.Call
- func (mr *MockSupervisorMockRecorder) Stop() *gomock.Call
- func (mr *MockSupervisorMockRecorder) Supervise(contextID, puInfo interface{}) *gomock.Call
- func (mr *MockSupervisorMockRecorder) Unsupervise(contextID interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockImplementor ¶
type MockImplementor struct {
// contains filtered or unexported fields
}
MockImplementor is a mock of Implementor interface nolint
func NewMockImplementor ¶
func NewMockImplementor(ctrl *gomock.Controller) *MockImplementor
NewMockImplementor creates a new mock instance nolint
func (*MockImplementor) ConfigureRules ¶
func (m *MockImplementor) ConfigureRules(version int, contextID string, containerInfo *policy.PUInfo) error
ConfigureRules mocks base method nolint
func (*MockImplementor) DeleteRules ¶
func (m *MockImplementor) DeleteRules(version int, context string, ipAddresses policy.ExtendedMap, port, mark, uid string) error
DeleteRules mocks base method nolint
func (*MockImplementor) EXPECT ¶
func (m *MockImplementor) EXPECT() *MockImplementorMockRecorder
EXPECT returns an object that allows the caller to indicate expected use nolint
func (*MockImplementor) SetTargetNetworks ¶
func (m *MockImplementor) SetTargetNetworks(arg0, arg1 []string) error
SetTargetNetworks mocks base method nolint
func (*MockImplementor) Start ¶
func (m *MockImplementor) Start() error
Start mocks base method nolint
func (*MockImplementor) UpdateRules ¶
func (m *MockImplementor) UpdateRules(version int, contextID string, containerInfo *policy.PUInfo) error
UpdateRules mocks base method nolint
type MockImplementorMockRecorder ¶
type MockImplementorMockRecorder struct {
// contains filtered or unexported fields
}
MockImplementorMockRecorder is the mock recorder for MockImplementor nolint
func (*MockImplementorMockRecorder) ConfigureRules ¶
func (mr *MockImplementorMockRecorder) ConfigureRules(version, contextID, containerInfo interface{}) *gomock.Call
ConfigureRules indicates an expected call of ConfigureRules nolint
func (*MockImplementorMockRecorder) DeleteRules ¶
func (mr *MockImplementorMockRecorder) DeleteRules(version, context, ipAddresses, port, mark, uid interface{}) *gomock.Call
DeleteRules indicates an expected call of DeleteRules nolint
func (*MockImplementorMockRecorder) SetTargetNetworks ¶
func (mr *MockImplementorMockRecorder) SetTargetNetworks(arg0, arg1 interface{}) *gomock.Call
SetTargetNetworks indicates an expected call of SetTargetNetworks nolint
func (*MockImplementorMockRecorder) Start ¶
func (mr *MockImplementorMockRecorder) Start() *gomock.Call
Start indicates an expected call of Start nolint
func (*MockImplementorMockRecorder) Stop ¶
func (mr *MockImplementorMockRecorder) Stop() *gomock.Call
Stop indicates an expected call of Stop nolint
func (*MockImplementorMockRecorder) UpdateRules ¶
func (mr *MockImplementorMockRecorder) UpdateRules(version, contextID, containerInfo interface{}) *gomock.Call
UpdateRules indicates an expected call of UpdateRules nolint
type MockSupervisor ¶
type MockSupervisor struct {
// contains filtered or unexported fields
}
MockSupervisor is a mock of Supervisor interface nolint
func NewMockSupervisor ¶
func NewMockSupervisor(ctrl *gomock.Controller) *MockSupervisor
NewMockSupervisor creates a new mock instance nolint
func (*MockSupervisor) EXPECT ¶
func (m *MockSupervisor) EXPECT() *MockSupervisorMockRecorder
EXPECT returns an object that allows the caller to indicate expected use nolint
func (*MockSupervisor) SetTargetNetworks ¶
func (m *MockSupervisor) SetTargetNetworks(arg0 []string) error
SetTargetNetworks mocks base method nolint
func (*MockSupervisor) Start ¶
func (m *MockSupervisor) Start() error
Start mocks base method nolint
func (*MockSupervisor) Supervise ¶
func (m *MockSupervisor) Supervise(contextID string, puInfo *policy.PUInfo) error
Supervise mocks base method nolint
func (*MockSupervisor) Unsupervise ¶
func (m *MockSupervisor) Unsupervise(contextID string) error
Unsupervise mocks base method nolint
type MockSupervisorMockRecorder ¶
type MockSupervisorMockRecorder struct {
// contains filtered or unexported fields
}
MockSupervisorMockRecorder is the mock recorder for MockSupervisor nolint
func (*MockSupervisorMockRecorder) SetTargetNetworks ¶
func (mr *MockSupervisorMockRecorder) SetTargetNetworks(arg0 interface{}) *gomock.Call
SetTargetNetworks indicates an expected call of SetTargetNetworks nolint
func (*MockSupervisorMockRecorder) Start ¶
func (mr *MockSupervisorMockRecorder) Start() *gomock.Call
Start indicates an expected call of Start nolint
func (*MockSupervisorMockRecorder) Stop ¶
func (mr *MockSupervisorMockRecorder) Stop() *gomock.Call
Stop indicates an expected call of Stop nolint
func (*MockSupervisorMockRecorder) Supervise ¶
func (mr *MockSupervisorMockRecorder) Supervise(contextID, puInfo interface{}) *gomock.Call
Supervise indicates an expected call of Supervise nolint
func (*MockSupervisorMockRecorder) Unsupervise ¶
func (mr *MockSupervisorMockRecorder) Unsupervise(contextID interface{}) *gomock.Call
Unsupervise indicates an expected call of Unsupervise nolint