mockinterfaces

package
v1.0.39 Latest Latest
Warning

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

Go to latest
Published: Aug 17, 2017 License: GPL-2.0 Imports: 2 Imported by: 0

Documentation

Overview

nolint

Index

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
}

Mock of Implementor interface

func NewMockImplementor

func NewMockImplementor(ctrl *gomock.Controller) *MockImplementor

func (*MockImplementor) ConfigureRules

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

func (*MockImplementor) DeleteRules

func (_m *MockImplementor) DeleteRules(version int, context string, ipAddresses policy.ExtendedMap, port string, mark string) error

func (*MockImplementor) EXPECT

func (_m *MockImplementor) EXPECT() *_MockImplementorRecorder

func (*MockImplementor) SetTargetNetworks

func (_m *MockImplementor) SetTargetNetworks(_param0 []string, _param1 []string) error

func (*MockImplementor) Start

func (_m *MockImplementor) Start() error

func (*MockImplementor) Stop

func (_m *MockImplementor) Stop() error

func (*MockImplementor) UpdateRules

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

type MockSupervisor

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

Mock of Supervisor interface

func NewMockSupervisor

func NewMockSupervisor(ctrl *gomock.Controller) *MockSupervisor

func (*MockSupervisor) EXPECT

func (_m *MockSupervisor) EXPECT() *_MockSupervisorRecorder

func (*MockSupervisor) SetTargetNetworks

func (_m *MockSupervisor) SetTargetNetworks(_param0 []string) error

func (*MockSupervisor) Start

func (_m *MockSupervisor) Start() error

func (*MockSupervisor) Stop

func (_m *MockSupervisor) Stop() error

func (*MockSupervisor) Supervise

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

func (*MockSupervisor) Unsupervise

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

Jump to

Keyboard shortcuts

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