mocks

package
Version: v2.4.1+incompatible Latest Latest
Warning

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

Go to latest
Published: Oct 8, 2019 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DBRepository

type DBRepository struct {
	mock.Mock
}

DBRepository is an autogenerated mock type for the DBRepository type

func (*DBRepository) Close

func (_m *DBRepository) Close() error

Close provides a mock function with given fields:

func (*DBRepository) Get

func (_m *DBRepository) Get(uid string) (*v1alpha1.Workflow, error)

Get provides a mock function with given fields: uid

func (*DBRepository) IsInterfaceNil

func (_m *DBRepository) IsInterfaceNil() bool

IsInterfaceNil provides a mock function with given fields:

func (*DBRepository) IsNodeStatusOffload

func (_m *DBRepository) IsNodeStatusOffload() bool

IsNodeStatusOffload provides a mock function with given fields:

func (*DBRepository) List

func (_m *DBRepository) List() ([]v1alpha1.Workflow, error)

List provides a mock function with given fields:

func (*DBRepository) Query

func (_m *DBRepository) Query(condition interface{}) ([]v1alpha1.Workflow, error)

Query provides a mock function with given fields: condition

func (*DBRepository) Save

func (_m *DBRepository) Save(wf *v1alpha1.Workflow) error

Save provides a mock function with given fields: wf

Source Files

Jump to

Keyboard shortcuts

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