mocks

package
v2.5.0-rc7+incompatible Latest Latest
Warning

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

Go to latest
Published: Jan 31, 2020 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type OffloadNodeStatusRepo

type OffloadNodeStatusRepo struct {
	mock.Mock
}

OffloadNodeStatusRepo is an autogenerated mock type for the OffloadNodeStatusRepo type

func (*OffloadNodeStatusRepo) Delete

func (_m *OffloadNodeStatusRepo) Delete(uid string) error

Delete provides a mock function with given fields: uid

func (*OffloadNodeStatusRepo) Get

func (_m *OffloadNodeStatusRepo) Get(uid string, version string) (v1alpha1.Nodes, error)

Get provides a mock function with given fields: uid, version

func (*OffloadNodeStatusRepo) IsEnabled

func (_m *OffloadNodeStatusRepo) IsEnabled() bool

IsEnabled provides a mock function with given fields:

func (*OffloadNodeStatusRepo) List

func (_m *OffloadNodeStatusRepo) List(namespace string) (map[sqldb.UUIDVersion]v1alpha1.Nodes, error)

List provides a mock function with given fields: namespace

func (*OffloadNodeStatusRepo) ListOldUIDs

func (_m *OffloadNodeStatusRepo) ListOldUIDs(namespace string) ([]string, error)

ListOldUIDs provides a mock function with given fields: namespace

func (*OffloadNodeStatusRepo) Save

func (_m *OffloadNodeStatusRepo) Save(uid string, namespace string, nodes v1alpha1.Nodes) (string, error)

Save provides a mock function with given fields: uid, namespace, nodes

type WorkflowArchive

type WorkflowArchive struct {
	mock.Mock
}

WorkflowArchive is an autogenerated mock type for the WorkflowArchive type

func (*WorkflowArchive) ArchiveWorkflow

func (_m *WorkflowArchive) ArchiveWorkflow(wf *v1alpha1.Workflow) error

ArchiveWorkflow provides a mock function with given fields: wf

func (*WorkflowArchive) DeleteWorkflow

func (_m *WorkflowArchive) DeleteWorkflow(uid string) error

DeleteWorkflow provides a mock function with given fields: uid

func (*WorkflowArchive) GetWorkflow

func (_m *WorkflowArchive) GetWorkflow(uid string) (*v1alpha1.Workflow, error)

GetWorkflow provides a mock function with given fields: uid

func (*WorkflowArchive) ListWorkflows

func (_m *WorkflowArchive) ListWorkflows(namespace string, limit int, offset int) (v1alpha1.Workflows, error)

ListWorkflows provides a mock function with given fields: namespace, limit, offset

Jump to

Keyboard shortcuts

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