run_manager

package
v0.0.0-...-699ca5e Latest Latest
Warning

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

Go to latest
Published: Feb 6, 2024 License: MPL-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CreateRunParams

type CreateRunParams struct {
	OrganizationId uuid.UUID
	WorkspaceId    uuid.UUID
	Operation      string
}

type CreateRunResponse

type CreateRunResponse struct {
	Run *run.Run
}

type RunManager

type RunManager interface {
	CreateRun(params *CreateRunParams) (*CreateRunResponse, error)
}

func New

func New(runRepo run.RunRepository, workspaceRepo workspaces.WorkspacesRepository) RunManager

type RunManagerImpl

type RunManagerImpl struct {
	RunsRepository       run.RunRepository
	WorkspacesRepository workspaces.WorkspacesRepository
}

func (*RunManagerImpl) CreateRun

func (impl *RunManagerImpl) CreateRun(params *CreateRunParams) (*CreateRunResponse, error)

Jump to

Keyboard shortcuts

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