mocks

package
v0.4.2 Latest Latest
Warning

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

Go to latest
Published: Feb 4, 2020 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package mocks is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockTrigger

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

MockTrigger is a mock of Trigger interface

func NewMockTrigger

func NewMockTrigger(ctrl *gomock.Controller) *MockTrigger

NewMockTrigger creates a new mock instance

func (*MockTrigger) EXPECT

func (m *MockTrigger) EXPECT() *MockTriggerMockRecorder

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

func (*MockTrigger) FormatNotification

func (m *MockTrigger) FormatNotification(arg0 *unstructured.Unstructured, arg1 map[string]string) (*notifiers.Notification, error)

FormatNotification mocks base method

func (*MockTrigger) Triggered

func (m *MockTrigger) Triggered(arg0 *unstructured.Unstructured) (bool, error)

Triggered mocks base method

type MockTriggerMockRecorder

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

MockTriggerMockRecorder is the mock recorder for MockTrigger

func (*MockTriggerMockRecorder) FormatNotification

func (mr *MockTriggerMockRecorder) FormatNotification(arg0, arg1 interface{}) *gomock.Call

FormatNotification indicates an expected call of FormatNotification

func (*MockTriggerMockRecorder) Triggered

func (mr *MockTriggerMockRecorder) Triggered(arg0 interface{}) *gomock.Call

Triggered indicates an expected call of Triggered

Jump to

Keyboard shortcuts

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