Documentation ¶
Index ¶
- type Project
- type Runner
- func (_m *Runner) ListRunsForProject(ctx context.Context, listRunsForProjectRequest *app.ListRunsForProjectRequest) (*app.ListRunsForProjectResponse, error)
- func (_m *Runner) RunProject(ctx context.Context, run *app.RunProjectRequest) (*app.ProjectRunOutput, error)
- func (_m *Runner) RunProjectByName(ctx context.Context, run *app.RunProjectByNameRequest) (*app.ProjectRunOutput, error)
- type Scenario
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Project ¶
Project is an autogenerated mock type for the Project type
func NewProject ¶
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 ¶
Runner is an autogenerated mock type for the Runner type
func NewRunner ¶
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 ¶
Scenario is an autogenerated mock type for the Scenario type
func NewScenario ¶
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