mocks

package
v0.0.0-...-56a2066 Latest Latest
Warning

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

Go to latest
Published: Dec 24, 2024 License: BSD-3-Clause Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ConfigReader

type ConfigReader struct {
	mock.Mock
}

ConfigReader is an autogenerated mock type for the ConfigReader type

func NewConfigReader

func NewConfigReader(t interface {
	mock.TestingT
	Cleanup(func())
}) *ConfigReader

NewConfigReader creates a new instance of ConfigReader. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*ConfigReader) GetAuthorsFileContents

func (_m *ConfigReader) GetAuthorsFileContents(ctx context.Context, authorsPath string) (string, error)

GetAuthorsFileContents provides a mock function with given fields: ctx, authorsPath

func (*ConfigReader) GetSkCQCfg

func (_m *ConfigReader) GetSkCQCfg(ctx context.Context) (*config.SkCQCfg, error)

GetSkCQCfg provides a mock function with given fields: ctx

func (*ConfigReader) GetTasksCfg

func (_m *ConfigReader) GetTasksCfg(ctx context.Context, tasksJSONPath string) (*specs.TasksCfg, error)

GetTasksCfg provides a mock function with given fields: ctx, tasksJSONPath

Jump to

Keyboard shortcuts

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