mocks

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Feb 23, 2022 License: MPL-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Server

type Server struct {
	mock.Mock
}

Server is an autogenerated mock type for the Server type

func (*Server) Config

func (_m *Server) Config() config.Config

Config provides a mock function with given fields:

func (*Server) Events

func (_m *Server) Events(ctx context.Context, taskName string) (map[string][]event.Event, error)

Events provides a mock function with given fields: ctx, taskName

func (*Server) Task

func (_m *Server) Task(ctx context.Context, taskName string) (config.TaskConfig, error)

Task provides a mock function with given fields: ctx, taskName

func (*Server) TaskCreate

func (_m *Server) TaskCreate(_a0 context.Context, _a1 config.TaskConfig) (config.TaskConfig, error)

TaskCreate provides a mock function with given fields: _a0, _a1

func (*Server) TaskCreateAndRun

func (_m *Server) TaskCreateAndRun(_a0 context.Context, _a1 config.TaskConfig) (config.TaskConfig, error)

TaskCreateAndRun provides a mock function with given fields: _a0, _a1

func (*Server) TaskDelete

func (_m *Server) TaskDelete(ctx context.Context, taskName string) error

TaskDelete provides a mock function with given fields: ctx, taskName

func (*Server) TaskInspect

func (_m *Server) TaskInspect(_a0 context.Context, _a1 config.TaskConfig) (bool, string, string, error)

TaskInspect provides a mock function with given fields: _a0, _a1

func (*Server) TaskUpdate

func (_m *Server) TaskUpdate(ctx context.Context, updateConf config.TaskConfig, runOp string) (bool, string, string, error)

TaskUpdate provides a mock function with given fields: ctx, updateConf, runOp

func (*Server) Tasks

func (_m *Server) Tasks(_a0 context.Context) ([]config.TaskConfig, error)

Tasks provides a mock function with given fields: _a0

Jump to

Keyboard shortcuts

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