testing

package
v1.5.2 Latest Latest
Warning

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

Go to latest
Published: Mar 21, 2022 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package testing is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockPodPortRules

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

MockPodPortRules is a mock of PodPortRules interface

func NewMockPodPortRules

func NewMockPodPortRules(ctrl *gomock.Controller) *MockPodPortRules

NewMockPodPortRules creates a new mock instance

func (*MockPodPortRules) AddAllRules

func (m *MockPodPortRules) AddAllRules(arg0 []rules.PodNodePort) error

AddAllRules mocks base method

func (*MockPodPortRules) AddRule

func (m *MockPodPortRules) AddRule(arg0 int, arg1 string, arg2 int, arg3 string) error

AddRule mocks base method

func (*MockPodPortRules) DeleteAllRules

func (m *MockPodPortRules) DeleteAllRules() error

DeleteAllRules mocks base method

func (*MockPodPortRules) DeleteRule

func (m *MockPodPortRules) DeleteRule(arg0 int, arg1 string, arg2 int, arg3 string) error

DeleteRule mocks base method

func (*MockPodPortRules) EXPECT

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

func (*MockPodPortRules) Init

func (m *MockPodPortRules) Init() error

Init mocks base method

type MockPodPortRulesMockRecorder

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

MockPodPortRulesMockRecorder is the mock recorder for MockPodPortRules

func (*MockPodPortRulesMockRecorder) AddAllRules

func (mr *MockPodPortRulesMockRecorder) AddAllRules(arg0 interface{}) *gomock.Call

AddAllRules indicates an expected call of AddAllRules

func (*MockPodPortRulesMockRecorder) AddRule

func (mr *MockPodPortRulesMockRecorder) AddRule(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

AddRule indicates an expected call of AddRule

func (*MockPodPortRulesMockRecorder) DeleteAllRules

func (mr *MockPodPortRulesMockRecorder) DeleteAllRules() *gomock.Call

DeleteAllRules indicates an expected call of DeleteAllRules

func (*MockPodPortRulesMockRecorder) DeleteRule

func (mr *MockPodPortRulesMockRecorder) DeleteRule(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

DeleteRule indicates an expected call of DeleteRule

func (*MockPodPortRulesMockRecorder) Init

Init indicates an expected call of Init

Jump to

Keyboard shortcuts

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