Documentation ¶
Overview ¶
Package eventmock is a generated GoMock package.
Index ¶
- type MockAttributeHandler
- func (m *MockAttributeHandler) ConvertLabels(arg0 map[string]string) map[string][]string
- func (m *MockAttributeHandler) EXPECT() *MockAttributeHandlerMockRecorder
- func (m *MockAttributeHandler) GetLabelsFromEnvVars(arg0 map[string]string) (map[string][]string, error)
- func (m *MockAttributeHandler) GetLocalEnvVars(arg0 v10.Object) (map[string]string, error)
- func (m *MockAttributeHandler) MergeLabels(arg0 ...map[string][]string) (map[string][]string, error)
- type MockAttributeHandlerMockRecorder
- func (mr *MockAttributeHandlerMockRecorder) ConvertLabels(arg0 interface{}) *gomock.Call
- func (mr *MockAttributeHandlerMockRecorder) GetLabelsFromEnvVars(arg0 interface{}) *gomock.Call
- func (mr *MockAttributeHandlerMockRecorder) GetLocalEnvVars(arg0 interface{}) *gomock.Call
- func (mr *MockAttributeHandlerMockRecorder) MergeLabels(arg0 ...interface{}) *gomock.Call
- type MockNetworkPolicyHandler
- func (m *MockNetworkPolicyHandler) AppendLabelsToPeers(arg0 map[string][]string) ([]v1.NetworkPolicyPeer, []v1.NetworkPolicyPeer, error)
- func (m *MockNetworkPolicyHandler) EXPECT() *MockNetworkPolicyHandlerMockRecorder
- func (m *MockNetworkPolicyHandler) GetPolicyByPodLabels(arg0 string, arg1 map[string]string) (*v1.NetworkPolicy, error)
- func (m *MockNetworkPolicyHandler) NewPolicy(arg0, arg1 string, arg2 map[string]string, arg3 map[string][]string) (*v1.NetworkPolicy, error)
- type MockNetworkPolicyHandlerMockRecorder
- func (mr *MockNetworkPolicyHandlerMockRecorder) AppendLabelsToPeers(arg0 interface{}) *gomock.Call
- func (mr *MockNetworkPolicyHandlerMockRecorder) GetPolicyByPodLabels(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockNetworkPolicyHandlerMockRecorder) NewPolicy(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- type MockObjectHandler
- type MockObjectHandlerMockRecorder
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 ¶
func (m *MockAttributeHandler) EXPECT() *MockAttributeHandlerMockRecorder
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 ¶
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 ¶
func (m *MockNetworkPolicyHandler) EXPECT() *MockNetworkPolicyHandlerMockRecorder
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.
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 ¶
func (m *MockObjectHandler) EXPECT() *MockObjectHandlerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
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.