eventmock

package
v0.0.0-...-f843765 Latest Latest
Warning

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

Go to latest
Published: Jul 28, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Package eventmock is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockAttributeHandler

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

MockAttributeHandler is a mock of AttributeHandler interface.

func NewMockAttributeHandler

func NewMockAttributeHandler(ctrl *gomock.Controller) *MockAttributeHandler

NewMockAttributeHandler creates a new mock instance.

func (*MockAttributeHandler) ConvertLabels

func (m *MockAttributeHandler) ConvertLabels(arg0 map[string]string) map[string][]string

ConvertLabels mocks base method.

func (*MockAttributeHandler) EXPECT

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

func (*MockAttributeHandler) GetLabelsFromEnvVars

func (m *MockAttributeHandler) GetLabelsFromEnvVars(arg0 map[string]string) (map[string][]string, error)

GetLabelsFromEnvVars mocks base method.

func (*MockAttributeHandler) GetLocalEnvVars

func (m *MockAttributeHandler) GetLocalEnvVars(arg0 v10.Object) (map[string]string, error)

GetLocalEnvVars mocks base method.

func (*MockAttributeHandler) MergeLabels

func (m *MockAttributeHandler) MergeLabels(arg0 ...map[string][]string) (map[string][]string, error)

MergeLabels mocks base method.

type MockAttributeHandlerMockRecorder

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

MockAttributeHandlerMockRecorder is the mock recorder for MockAttributeHandler.

func (*MockAttributeHandlerMockRecorder) ConvertLabels

func (mr *MockAttributeHandlerMockRecorder) ConvertLabels(arg0 interface{}) *gomock.Call

ConvertLabels indicates an expected call of ConvertLabels.

func (*MockAttributeHandlerMockRecorder) GetLabelsFromEnvVars

func (mr *MockAttributeHandlerMockRecorder) GetLabelsFromEnvVars(arg0 interface{}) *gomock.Call

GetLabelsFromEnvVars indicates an expected call of GetLabelsFromEnvVars.

func (*MockAttributeHandlerMockRecorder) GetLocalEnvVars

func (mr *MockAttributeHandlerMockRecorder) GetLocalEnvVars(arg0 interface{}) *gomock.Call

GetLocalEnvVars indicates an expected call of GetLocalEnvVars.

func (*MockAttributeHandlerMockRecorder) MergeLabels

func (mr *MockAttributeHandlerMockRecorder) MergeLabels(arg0 ...interface{}) *gomock.Call

MergeLabels indicates an expected call of MergeLabels.

type MockNetworkPolicyHandler

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

MockNetworkPolicyHandler is a mock of NetworkPolicyHandler interface.

func NewMockNetworkPolicyHandler

func NewMockNetworkPolicyHandler(ctrl *gomock.Controller) *MockNetworkPolicyHandler

NewMockNetworkPolicyHandler creates a new mock instance.

func (*MockNetworkPolicyHandler) AppendLabelsToPeers

func (m *MockNetworkPolicyHandler) AppendLabelsToPeers(arg0 map[string][]string) ([]v1.NetworkPolicyPeer, []v1.NetworkPolicyPeer, error)

AppendLabelsToPeers mocks base method.

func (*MockNetworkPolicyHandler) EXPECT

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

func (*MockNetworkPolicyHandler) GetPolicyByPodLabels

func (m *MockNetworkPolicyHandler) GetPolicyByPodLabels(arg0 string, arg1 map[string]string) (*v1.NetworkPolicy, error)

GetPolicyByPodLabels mocks base method.

func (*MockNetworkPolicyHandler) NewPolicy

func (m *MockNetworkPolicyHandler) NewPolicy(arg0, arg1 string, arg2 map[string]string, arg3 map[string][]string) (*v1.NetworkPolicy, error)

NewPolicy mocks base method.

type MockNetworkPolicyHandlerMockRecorder

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

MockNetworkPolicyHandlerMockRecorder is the mock recorder for MockNetworkPolicyHandler.

func (*MockNetworkPolicyHandlerMockRecorder) AppendLabelsToPeers

func (mr *MockNetworkPolicyHandlerMockRecorder) AppendLabelsToPeers(arg0 interface{}) *gomock.Call

AppendLabelsToPeers indicates an expected call of AppendLabelsToPeers.

func (*MockNetworkPolicyHandlerMockRecorder) GetPolicyByPodLabels

func (mr *MockNetworkPolicyHandlerMockRecorder) GetPolicyByPodLabels(arg0, arg1 interface{}) *gomock.Call

GetPolicyByPodLabels indicates an expected call of GetPolicyByPodLabels.

func (*MockNetworkPolicyHandlerMockRecorder) NewPolicy

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

NewPolicy indicates an expected call of NewPolicy.

type MockObjectHandler

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

MockObjectHandler is a mock of ObjectHandler interface.

func NewMockObjectHandler

func NewMockObjectHandler(ctrl *gomock.Controller) *MockObjectHandler

NewMockObjectHandler creates a new mock instance.

func (*MockObjectHandler) AddLabel

func (m *MockObjectHandler) AddLabel() error

AddLabel mocks base method.

func (*MockObjectHandler) EXPECT

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

func (*MockObjectHandler) Mutate

func (m *MockObjectHandler) Mutate(arg0 object.Action) error

Mutate mocks base method.

type MockObjectHandlerMockRecorder

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

MockObjectHandlerMockRecorder is the mock recorder for MockObjectHandler.

func (*MockObjectHandlerMockRecorder) AddLabel

func (mr *MockObjectHandlerMockRecorder) AddLabel() *gomock.Call

AddLabel indicates an expected call of AddLabel.

func (*MockObjectHandlerMockRecorder) Mutate

func (mr *MockObjectHandlerMockRecorder) Mutate(arg0 interface{}) *gomock.Call

Mutate indicates an expected call of Mutate.

Jump to

Keyboard shortcuts

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