Documentation ¶
Index ¶
- type AgentsController
- func (ctrl *AgentsController) AgentAccess(c *gin.Context)
- func (ctrl *AgentsController) Create(c *gin.Context)
- func (ctrl *AgentsController) Delete(c *gin.Context)
- func (ctrl *AgentsController) Get(c *gin.Context)
- func (ctrl *AgentsController) GetRuns(c *gin.Context)
- func (ctrl *AgentsController) List(c *gin.Context)
- func (ctrl *AgentsController) Update(c *gin.Context)
- type CreateAgentRequest
- type CreateRunInput
- type OrganizationsController
- type RegistryController
- type RunsController
- func (ctrl *RunsController) Create(c *gin.Context)
- func (ctrl *RunsController) GeneratePresignedUrl(c *gin.Context)
- func (ctrl *RunsController) Get(c *gin.Context)
- func (ctrl *RunsController) List(c *gin.Context)
- func (ctrl *RunsController) SaveLogs(c *gin.Context)
- func (ctrl *RunsController) StorePlan(c *gin.Context)
- func (ctrl *RunsController) Update(c *gin.Context)
- type WorkspacesController
- func (ctrl *WorkspacesController) CreateWorkspace(c *gin.Context)
- func (ctrl *WorkspacesController) DeleteWorkspace(c *gin.Context)
- func (ctrl *WorkspacesController) GetState(c *gin.Context)
- func (ctrl *WorkspacesController) GetWorkspace(c *gin.Context)
- func (ctrl *WorkspacesController) ListWorkspaces(c *gin.Context)
- func (ctrl *WorkspacesController) LockWorkspace(c *gin.Context)
- func (ctrl *WorkspacesController) UnlockWorkspace(c *gin.Context)
- func (ctrl *WorkspacesController) UpdateWorkspace(c *gin.Context)
- func (ctrl *WorkspacesController) UploadState(c *gin.Context)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AgentsController ¶
type AgentsController struct { Repository agent.AgentRepository RunsRepository run.RunRepository WorkspaceRepository workspaces.WorkspacesRepository }
func (*AgentsController) AgentAccess ¶
func (ctrl *AgentsController) AgentAccess(c *gin.Context)
func (*AgentsController) Create ¶
func (ctrl *AgentsController) Create(c *gin.Context)
func (*AgentsController) Delete ¶
func (ctrl *AgentsController) Delete(c *gin.Context)
func (*AgentsController) Get ¶
func (ctrl *AgentsController) Get(c *gin.Context)
func (*AgentsController) GetRuns ¶
func (ctrl *AgentsController) GetRuns(c *gin.Context)
func (*AgentsController) List ¶
func (ctrl *AgentsController) List(c *gin.Context)
func (*AgentsController) Update ¶
func (ctrl *AgentsController) Update(c *gin.Context)
type CreateAgentRequest ¶
type CreateAgentRequest struct {
Name string `json:"name"`
}
type CreateRunInput ¶
type CreateRunInput struct {
Operation string `json:"operation"`
}
type OrganizationsController ¶
type OrganizationsController struct {
Repository organization.OrganizationRepository
}
func (*OrganizationsController) Create ¶
func (ctrl *OrganizationsController) Create(c *gin.Context)
func (*OrganizationsController) Get ¶
func (ctrl *OrganizationsController) Get(c *gin.Context)
func (*OrganizationsController) List ¶
func (ctrl *OrganizationsController) List(c *gin.Context)
func (*OrganizationsController) SetContext ¶
func (ctrl *OrganizationsController) SetContext(c *gin.Context)
type RegistryController ¶
type RegistryController struct { }
type RunsController ¶
type RunsController struct { Runs run.RunRepository Workspaces workspaces.WorkspacesRepository RunManager run_manager.RunManager FileManager file_manager.FileManager }
func (*RunsController) Create ¶
func (ctrl *RunsController) Create(c *gin.Context)
func (*RunsController) GeneratePresignedUrl ¶
func (ctrl *RunsController) GeneratePresignedUrl(c *gin.Context)
func (*RunsController) Get ¶
func (ctrl *RunsController) Get(c *gin.Context)
func (*RunsController) List ¶
func (ctrl *RunsController) List(c *gin.Context)
func (*RunsController) SaveLogs ¶
func (ctrl *RunsController) SaveLogs(c *gin.Context)
func (*RunsController) StorePlan ¶
func (ctrl *RunsController) StorePlan(c *gin.Context)
func (*RunsController) Update ¶
func (ctrl *RunsController) Update(c *gin.Context)
type WorkspacesController ¶
type WorkspacesController struct { Repository workspaces.WorkspacesRepository FileManager file_manager.FileManager }
func (*WorkspacesController) CreateWorkspace ¶
func (ctrl *WorkspacesController) CreateWorkspace(c *gin.Context)
func (*WorkspacesController) DeleteWorkspace ¶
func (ctrl *WorkspacesController) DeleteWorkspace(c *gin.Context)
func (*WorkspacesController) GetState ¶
func (ctrl *WorkspacesController) GetState(c *gin.Context)
func (*WorkspacesController) GetWorkspace ¶
func (ctrl *WorkspacesController) GetWorkspace(c *gin.Context)
func (*WorkspacesController) ListWorkspaces ¶
func (ctrl *WorkspacesController) ListWorkspaces(c *gin.Context)
func (*WorkspacesController) LockWorkspace ¶
func (ctrl *WorkspacesController) LockWorkspace(c *gin.Context)
func (*WorkspacesController) UnlockWorkspace ¶
func (ctrl *WorkspacesController) UnlockWorkspace(c *gin.Context)
func (*WorkspacesController) UpdateWorkspace ¶
func (ctrl *WorkspacesController) UpdateWorkspace(c *gin.Context)
func (*WorkspacesController) UploadState ¶
func (ctrl *WorkspacesController) UploadState(c *gin.Context)
Click to show internal directories.
Click to hide internal directories.