trireme-lib: go.aporeto.io/trireme-lib/controller/internal/supervisor/mocksupervisor Index | Files

package mocksupervisor

import "go.aporeto.io/trireme-lib/controller/internal/supervisor/mocksupervisor"

Package mocksupervisor is a generated GoMock package.

Index

Package Files

mocksupervisor.go

type MockImplementor Uses

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

MockImplementor is a mock of Implementor interface nolint

func NewMockImplementor Uses

func NewMockImplementor(ctrl *gomock.Controller) *MockImplementor

NewMockImplementor creates a new mock instance nolint

func (*MockImplementor) ACLProvider Uses

func (m *MockImplementor) ACLProvider() aclprovider.IptablesProvider

ACLProvider mocks base method nolint

func (*MockImplementor) CleanUp Uses

func (m *MockImplementor) CleanUp() error

CleanUp mocks base method nolint

func (*MockImplementor) ConfigureRules Uses

func (m *MockImplementor) ConfigureRules(version int, contextID string, containerInfo *policy.PUInfo) error

ConfigureRules mocks base method nolint

func (*MockImplementor) DeleteRules Uses

func (m *MockImplementor) DeleteRules(version int, context, tcpPorts, udpPorts, mark, uid, proxyPort, puType string, exclusions []string) error

DeleteRules mocks base method nolint

func (*MockImplementor) EXPECT Uses

func (m *MockImplementor) EXPECT() *MockImplementorMockRecorder

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

func (*MockImplementor) Run Uses

func (m *MockImplementor) Run(ctx context.Context) error

Run mocks base method nolint

func (*MockImplementor) SetTargetNetworks Uses

func (m *MockImplementor) SetTargetNetworks(arg0, arg1 []string) error

SetTargetNetworks mocks base method nolint

func (*MockImplementor) UpdateRules Uses

func (m *MockImplementor) UpdateRules(version int, contextID string, containerInfo, oldContainerInfo *policy.PUInfo) error

UpdateRules mocks base method nolint

type MockImplementorMockRecorder Uses

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

MockImplementorMockRecorder is the mock recorder for MockImplementor nolint

func (*MockImplementorMockRecorder) ACLProvider Uses

func (mr *MockImplementorMockRecorder) ACLProvider() *gomock.Call

ACLProvider indicates an expected call of ACLProvider nolint

func (*MockImplementorMockRecorder) CleanUp Uses

func (mr *MockImplementorMockRecorder) CleanUp() *gomock.Call

CleanUp indicates an expected call of CleanUp nolint

func (*MockImplementorMockRecorder) ConfigureRules Uses

func (mr *MockImplementorMockRecorder) ConfigureRules(version, contextID, containerInfo interface{}) *gomock.Call

ConfigureRules indicates an expected call of ConfigureRules nolint

func (*MockImplementorMockRecorder) DeleteRules Uses

func (mr *MockImplementorMockRecorder) DeleteRules(version, context, tcpPorts, udpPorts, mark, uid, proxyPort, puType, exclusions interface{}) *gomock.Call

DeleteRules indicates an expected call of DeleteRules nolint

func (*MockImplementorMockRecorder) Run Uses

func (mr *MockImplementorMockRecorder) Run(ctx interface{}) *gomock.Call

Run indicates an expected call of Run nolint

func (*MockImplementorMockRecorder) SetTargetNetworks Uses

func (mr *MockImplementorMockRecorder) SetTargetNetworks(arg0, arg1 interface{}) *gomock.Call

SetTargetNetworks indicates an expected call of SetTargetNetworks nolint

func (*MockImplementorMockRecorder) UpdateRules Uses

func (mr *MockImplementorMockRecorder) UpdateRules(version, contextID, containerInfo, oldContainerInfo interface{}) *gomock.Call

UpdateRules indicates an expected call of UpdateRules nolint

type MockSupervisor Uses

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

MockSupervisor is a mock of Supervisor interface nolint

func NewMockSupervisor Uses

func NewMockSupervisor(ctrl *gomock.Controller) *MockSupervisor

NewMockSupervisor creates a new mock instance nolint

func (*MockSupervisor) CleanUp Uses

func (m *MockSupervisor) CleanUp() error

CleanUp mocks base method nolint

func (*MockSupervisor) EXPECT Uses

func (m *MockSupervisor) EXPECT() *MockSupervisorMockRecorder

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

func (*MockSupervisor) Run Uses

func (m *MockSupervisor) Run(ctx context.Context) error

Run mocks base method nolint

func (*MockSupervisor) SetTargetNetworks Uses

func (m *MockSupervisor) SetTargetNetworks(arg0 []string) error

SetTargetNetworks mocks base method nolint

func (*MockSupervisor) Supervise Uses

func (m *MockSupervisor) Supervise(contextID string, puInfo *policy.PUInfo) error

Supervise mocks base method nolint

func (*MockSupervisor) Unsupervise Uses

func (m *MockSupervisor) Unsupervise(contextID string) error

Unsupervise mocks base method nolint

type MockSupervisorMockRecorder Uses

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

MockSupervisorMockRecorder is the mock recorder for MockSupervisor nolint

func (*MockSupervisorMockRecorder) CleanUp Uses

func (mr *MockSupervisorMockRecorder) CleanUp() *gomock.Call

CleanUp indicates an expected call of CleanUp nolint

func (*MockSupervisorMockRecorder) Run Uses

func (mr *MockSupervisorMockRecorder) Run(ctx interface{}) *gomock.Call

Run indicates an expected call of Run nolint

func (*MockSupervisorMockRecorder) SetTargetNetworks Uses

func (mr *MockSupervisorMockRecorder) SetTargetNetworks(arg0 interface{}) *gomock.Call

SetTargetNetworks indicates an expected call of SetTargetNetworks nolint

func (*MockSupervisorMockRecorder) Supervise Uses

func (mr *MockSupervisorMockRecorder) Supervise(contextID, puInfo interface{}) *gomock.Call

Supervise indicates an expected call of Supervise nolint

func (*MockSupervisorMockRecorder) Unsupervise Uses

func (mr *MockSupervisorMockRecorder) Unsupervise(contextID interface{}) *gomock.Call

Unsupervise indicates an expected call of Unsupervise nolint

Package mocksupervisor imports 5 packages (graph). Updated 2018-11-15. Refresh now. Tools for package owners.