Documentation ¶
Index ¶
- type Project
- func (_m *Project) Create(ctx context.Context, project *domain.CreateProjectRequest) (*domain.Project, error)
- func (_m *Project) GetByID(ctx context.Context, id uuid.UUID) (*domain.Project, error)
- func (_m *Project) GetByName(ctx context.Context, name string) (*domain.Project, error)
- func (_m *Project) List(ctx context.Context, getProjectsRequest *domain.ListProjectsRequest) ([]*domain.Project, error)
- type Run
- func (_m *Run) Create(ctx context.Context, createRunRequest *domain.CreateRunRequest) (*domain.Run, error)
- func (_m *Run) Get(ctx context.Context, id uuid.UUID) (*domain.Run, error)
- func (_m *Run) ListForProject(ctx context.Context, listForProject *domain.ListRunsForProjectRequest) ([]*domain.Run, error)
- func (_m *Run) Update(ctx context.Context, updateRunRequest *domain.UpdateRunRequest) (*domain.Run, 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) Create ¶
func (_m *Project) Create(ctx context.Context, project *domain.CreateProjectRequest) (*domain.Project, error)
Create provides a mock function with given fields: ctx, project
type Run ¶
Run is an autogenerated mock type for the Run type
func NewRun ¶
NewRun creates a new instance of Run. 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 (*Run) Create ¶
func (_m *Run) Create(ctx context.Context, createRunRequest *domain.CreateRunRequest) (*domain.Run, error)
Create provides a mock function with given fields: ctx, createRunRequest
func (*Run) ListForProject ¶
func (_m *Run) ListForProject(ctx context.Context, listForProject *domain.ListRunsForProjectRequest) ([]*domain.Run, error)
ListForProject provides a mock function with given fields: ctx, listForProject
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) Create ¶
func (_m *Scenario) Create(ctx context.Context, scenario *domain.CreateScenarioRequest) (*domain.Scenario, error)
Create provides a mock function with given fields: ctx, scenario
func (*Scenario) GetForProject ¶
func (_m *Scenario) GetForProject(ctx context.Context, getForProjectRequest *domain.GetScenariosForProjectRequest) ([]*domain.Scenario, error)
GetForProject provides a mock function with given fields: ctx, getForProjectRequest