mocks

package
v1.16.0 Latest Latest
Warning

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

Go to latest
Published: May 21, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Code generated by mockery v1.0.0. DO NOT EDIT.

Code generated by mockery v1.0.0. DO NOT EDIT.

Code generated by mockery v1.0.0. DO NOT EDIT.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Source

type Source struct {
	mock.Mock
}

Source is an autogenerated mock type for the Source type

func (*Source) GetTasks

func (_m *Source) GetTasks(podName string) ([]pod.Task, error)

GetTasks provides a mock function with given fields: podName

func (*Source) Name

func (_m *Source) Name() string

Name provides a mock function with given fields:

func (*Source) Pods

func (_m *Source) Pods() ([]string, error)

Pods provides a mock function with given fields:

func (*Source) URL

func (_m *Source) URL() string

URL provides a mock function with given fields:

type Task

type Task struct {
	mock.Mock
}

Task is an autogenerated mock type for the Task type

func (*Task) GetMongoAddr

func (_m *Task) GetMongoAddr() (*db.Addr, error)

GetMongoAddr provides a mock function with given fields:

func (*Task) GetMongoReplsetName

func (_m *Task) GetMongoReplsetName() (string, error)

GetMongoReplsetName provides a mock function with given fields:

func (*Task) HasState

func (_m *Task) HasState() bool

HasState provides a mock function with given fields:

func (*Task) IsRunning

func (_m *Task) IsRunning() bool

IsRunning provides a mock function with given fields:

func (*Task) IsTaskType

func (_m *Task) IsTaskType(taskType pod.TaskType) bool

IsTaskType provides a mock function with given fields: taskType

func (*Task) IsUpdating

func (_m *Task) IsUpdating() bool

IsUpdating provides a mock function with given fields:

func (*Task) Name

func (_m *Task) Name() string

Name provides a mock function with given fields:

func (*Task) Service

func (_m *Task) Service() string

Service provides a mock function with given fields:

func (*Task) State

func (_m *Task) State() pod.TaskState

State provides a mock function with given fields:

type TaskState

type TaskState struct {
	mock.Mock
}

TaskState is an autogenerated mock type for the TaskState type

func (*TaskState) String

func (_m *TaskState) String() string

String provides a mock function with given fields:

Jump to

Keyboard shortcuts

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