Documentation ¶
Overview ¶
Package testing is a generated GoMock package.
Index ¶
- type MockPodPortRules
- func (m *MockPodPortRules) AddAllRules(arg0 []rules.PodNodePort) error
- func (m *MockPodPortRules) AddRule(arg0 int, arg1 string) error
- func (m *MockPodPortRules) DeleteAllRules() error
- func (m *MockPodPortRules) DeleteRule(arg0 int, arg1 string) error
- func (m *MockPodPortRules) EXPECT() *MockPodPortRulesMockRecorder
- func (m *MockPodPortRules) Init() error
- type MockPodPortRulesMockRecorder
- func (mr *MockPodPortRulesMockRecorder) AddAllRules(arg0 interface{}) *gomock.Call
- func (mr *MockPodPortRulesMockRecorder) AddRule(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockPodPortRulesMockRecorder) DeleteAllRules() *gomock.Call
- func (mr *MockPodPortRulesMockRecorder) DeleteRule(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockPodPortRulesMockRecorder) Init() *gomock.Call
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) 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) error
DeleteRule mocks base method
func (*MockPodPortRules) EXPECT ¶
func (m *MockPodPortRules) EXPECT() *MockPodPortRulesMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
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 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 interface{}) *gomock.Call
DeleteRule indicates an expected call of DeleteRule
func (*MockPodPortRulesMockRecorder) Init ¶
func (mr *MockPodPortRulesMockRecorder) Init() *gomock.Call
Init indicates an expected call of Init