mocks

package
v0.0.0-...-f96b470 Latest Latest
Warning

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

Go to latest
Published: Nov 10, 2023 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 Project

type Project struct {
	mock.Mock
}

Project is an autogenerated mock type for the Project type

func NewProject

func NewProject(t interface {
	mock.TestingT
	Cleanup(func())
}) *Project

NewProject creates a new instance of Project. 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 (*Project) CreateProject

func (_m *Project) CreateProject(ctx context.Context, createProjectRequest *app.CreateProjectRequest) (*app.Project, error)

CreateProject provides a mock function with given fields: ctx, createProjectRequest

func (*Project) ListProjects

func (_m *Project) ListProjects(ctx context.Context, getProjectsRequest *app.ListProjectsRequest) ([]*app.Project, error)

ListProjects provides a mock function with given fields: ctx, getProjectsRequest

type Runner

type Runner struct {
	mock.Mock
}

Runner is an autogenerated mock type for the Runner type

func NewRunner

func NewRunner(t interface {
	mock.TestingT
	Cleanup(func())
}) *Runner

NewRunner creates a new instance of Runner. 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 (*Runner) ListRunsForProject

func (_m *Runner) ListRunsForProject(ctx context.Context, listRunsForProjectRequest *app.ListRunsForProjectRequest) (*app.ListRunsForProjectResponse, error)

ListRunsForProject provides a mock function with given fields: ctx, listRunsForProjectRequest

func (*Runner) RunProject

func (_m *Runner) RunProject(ctx context.Context, run *app.RunProjectRequest) (*app.ProjectRunOutput, error)

RunProject provides a mock function with given fields: ctx, run

func (*Runner) RunProjectByName

func (_m *Runner) RunProjectByName(ctx context.Context, run *app.RunProjectByNameRequest) (*app.ProjectRunOutput, error)

RunProjectByName provides a mock function with given fields: ctx, run

type Scenario

type Scenario struct {
	mock.Mock
}

Scenario is an autogenerated mock type for the Scenario type

func NewScenario

func NewScenario(t interface {
	mock.TestingT
	Cleanup(func())
}) *Scenario

NewScenario creates a new instance of Scenario. 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 (*Scenario) CreateScenario

func (_m *Scenario) CreateScenario(ctx context.Context, createScenarioRequest *app.CreateScenarioRequest) (*app.Scenario, error)

CreateScenario provides a mock function with given fields: ctx, createScenarioRequest

func (*Scenario) ListScenarios

func (_m *Scenario) ListScenarios(ctx context.Context, listScenariosRequest *app.ListScenariosRequest) ([]*app.Scenario, error)

ListScenarios provides a mock function with given fields: ctx, listScenariosRequest

Jump to

Keyboard shortcuts

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