trireme-lib: go.aporeto.io/trireme-lib/controller/internal/enforcer/mockenforcer Index | Files

package mockenforcer

import "go.aporeto.io/trireme-lib/controller/internal/enforcer/mockenforcer"

Package mockenforcer is a generated GoMock package.

Index

Package Files

mockenforcer.go

type MockDebugInfo Uses

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

MockDebugInfo is a mock of DebugInfo interface nolint

func NewMockDebugInfo Uses

func NewMockDebugInfo(ctrl *gomock.Controller) *MockDebugInfo

NewMockDebugInfo creates a new mock instance nolint

func (*MockDebugInfo) EXPECT Uses

func (m *MockDebugInfo) EXPECT() *MockDebugInfoMockRecorder

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

func (*MockDebugInfo) EnableDatapathPacketTracing Uses

func (m *MockDebugInfo) EnableDatapathPacketTracing(ctx context.Context, contextID string, direction packettracing.TracingDirection, interval time.Duration) error

EnableDatapathPacketTracing mocks base method nolint

func (*MockDebugInfo) EnableIPTablesPacketTracing Uses

func (m *MockDebugInfo) EnableIPTablesPacketTracing(ctx context.Context, contextID string, interval time.Duration) error

EnableIPTablesPacketTracing mocks base method nolint

type MockDebugInfoMockRecorder Uses

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

MockDebugInfoMockRecorder is the mock recorder for MockDebugInfo nolint

func (*MockDebugInfoMockRecorder) EnableDatapathPacketTracing Uses

func (mr *MockDebugInfoMockRecorder) EnableDatapathPacketTracing(ctx, contextID, direction, interval interface{}) *gomock.Call

EnableDatapathPacketTracing indicates an expected call of EnableDatapathPacketTracing nolint

func (*MockDebugInfoMockRecorder) EnableIPTablesPacketTracing Uses

func (mr *MockDebugInfoMockRecorder) EnableIPTablesPacketTracing(ctx, contextID, interval interface{}) *gomock.Call

EnableIPTablesPacketTracing indicates an expected call of EnableIPTablesPacketTracing nolint

type MockEnforcer Uses

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

MockEnforcer is a mock of Enforcer interface nolint

func NewMockEnforcer Uses

func NewMockEnforcer(ctrl *gomock.Controller) *MockEnforcer

NewMockEnforcer creates a new mock instance nolint

func (*MockEnforcer) CleanUp Uses

func (m *MockEnforcer) CleanUp() error

CleanUp mocks base method nolint

func (*MockEnforcer) EXPECT Uses

func (m *MockEnforcer) EXPECT() *MockEnforcerMockRecorder

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

func (*MockEnforcer) EnableDatapathPacketTracing Uses

func (m *MockEnforcer) EnableDatapathPacketTracing(ctx context.Context, contextID string, direction packettracing.TracingDirection, interval time.Duration) error

EnableDatapathPacketTracing mocks base method nolint

func (*MockEnforcer) EnableIPTablesPacketTracing Uses

func (m *MockEnforcer) EnableIPTablesPacketTracing(ctx context.Context, contextID string, interval time.Duration) error

EnableIPTablesPacketTracing mocks base method nolint

func (*MockEnforcer) Enforce Uses

func (m *MockEnforcer) Enforce(contextID string, puInfo *policy.PUInfo) error

Enforce mocks base method nolint

func (*MockEnforcer) GetFilterQueue Uses

func (m *MockEnforcer) GetFilterQueue() *fqconfig.FilterQueue

GetFilterQueue mocks base method nolint

func (*MockEnforcer) Run Uses

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

Run mocks base method nolint

func (*MockEnforcer) SetLogLevel Uses

func (m *MockEnforcer) SetLogLevel(level constants.LogLevel) error

SetLogLevel mocks base method nolint

func (*MockEnforcer) SetTargetNetworks Uses

func (m *MockEnforcer) SetTargetNetworks(cfg *runtime.Configuration) error

SetTargetNetworks mocks base method nolint

func (*MockEnforcer) Unenforce Uses

func (m *MockEnforcer) Unenforce(contextID string) error

Unenforce mocks base method nolint

func (*MockEnforcer) UpdateSecrets Uses

func (m *MockEnforcer) UpdateSecrets(secrets secrets.Secrets) error

UpdateSecrets mocks base method nolint

type MockEnforcerMockRecorder Uses

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

MockEnforcerMockRecorder is the mock recorder for MockEnforcer nolint

func (*MockEnforcerMockRecorder) CleanUp Uses

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

CleanUp indicates an expected call of CleanUp nolint

func (*MockEnforcerMockRecorder) EnableDatapathPacketTracing Uses

func (mr *MockEnforcerMockRecorder) EnableDatapathPacketTracing(ctx, contextID, direction, interval interface{}) *gomock.Call

EnableDatapathPacketTracing indicates an expected call of EnableDatapathPacketTracing nolint

func (*MockEnforcerMockRecorder) EnableIPTablesPacketTracing Uses

func (mr *MockEnforcerMockRecorder) EnableIPTablesPacketTracing(ctx, contextID, interval interface{}) *gomock.Call

EnableIPTablesPacketTracing indicates an expected call of EnableIPTablesPacketTracing nolint

func (*MockEnforcerMockRecorder) Enforce Uses

func (mr *MockEnforcerMockRecorder) Enforce(contextID, puInfo interface{}) *gomock.Call

Enforce indicates an expected call of Enforce nolint

func (*MockEnforcerMockRecorder) GetFilterQueue Uses

func (mr *MockEnforcerMockRecorder) GetFilterQueue() *gomock.Call

GetFilterQueue indicates an expected call of GetFilterQueue nolint

func (*MockEnforcerMockRecorder) Run Uses

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

Run indicates an expected call of Run nolint

func (*MockEnforcerMockRecorder) SetLogLevel Uses

func (mr *MockEnforcerMockRecorder) SetLogLevel(level interface{}) *gomock.Call

SetLogLevel indicates an expected call of SetLogLevel nolint

func (*MockEnforcerMockRecorder) SetTargetNetworks Uses

func (mr *MockEnforcerMockRecorder) SetTargetNetworks(cfg interface{}) *gomock.Call

SetTargetNetworks indicates an expected call of SetTargetNetworks nolint

func (*MockEnforcerMockRecorder) Unenforce Uses

func (mr *MockEnforcerMockRecorder) Unenforce(contextID interface{}) *gomock.Call

Unenforce indicates an expected call of Unenforce nolint

func (*MockEnforcerMockRecorder) UpdateSecrets Uses

func (mr *MockEnforcerMockRecorder) UpdateSecrets(secrets interface{}) *gomock.Call

UpdateSecrets indicates an expected call of UpdateSecrets nolint

Package mockenforcer imports 10 packages (graph). Updated 2019-11-15. Refresh now. Tools for package owners.