package
Version:
v0.0.1
Opens a new window with list of versions in this module.
Published: Apr 5, 2022
License: MIT
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type AddTask struct {
AgentName string `json:"agent_name" binding:"required"`
AgentUrl string `json:"agent_url" binding:"required"`
Workspace string `json:"workspace" binding:"required"`
Description string `json:"description"`
}
type AgentID struct {
AgentID string `json:"agent_id" binding:"required"`
}
type AuthModel struct {
Email string `json:"email" validate:"required"`
Name string `json:"name" validate:"required"`
Role enum.Role `json:"role"`
}
type ConfigurationID struct {
ConfigurationID string `json:"configuration_id" form:"configuration_id" binding:"required"`
}
type ConfigurationToken struct {
ConfigurationToken string `json:"configuration_token" form:"configuration_token" binding:"required"`
}
type CreateConfiguration struct {
Subtask string `json:"subtask" binding:"required"`
Filename string `json:"filename" binding:"required"`
Body string `json:"body" binding:"required"`
}
type CreateSubtask struct {
TaskID string `json:"task_id" binding:"required"`
Name string `json:"name" binding:"required"`
AgentID string `json:"agent_id" binding:"required"`
Branch string `json:"branch" binding:"required"`
Action enum.TaskAction `json:"action" binding:"required"`
Instruction string `json:"instruction" binding:"required"`
Description string `json:"description"`
}
type CreateTask struct {
Name string `json:"name" form:"name" binding:"required"`
Description string `json:"description" form:"description"`
}
type CreateUser struct {
Email string `json:"email" form:"email" binding:"required"`
Name string `json:"name" form:"name" binding:"required"`
Password string `json:"password" form:"password" binding:"required"`
}
type ModifyConfiguration struct {
ConfigurationID string `json:"configuration_id" binding:"required"`
Filename string `json:"filename"`
Body string `json:"body"`
}
type Subtask struct {
SubtaskID string `json:"subtask_id" form:"subtask_id" binding:"required"`
}
type Task struct {
TaskID string `json:"task_id" form:"task_id" binding:"required"`
}
type TaskLogID struct {
TaskID string `json:"task_id" form:"task_id"`
SubtaskID string `json:"subtask_id" form:"subtask_id"`
}
type UpdateSubtask struct {
SubtaskID string `json:"subtask_id" form:"subtask_id" binding:"required"`
Instruction string `json:"instruction" binding:"required"`
Description string `json:"description"`
}
type WebLogin struct {
Email string `json:"email" form:"email" binding:"required"`
Password string `json:"password" form:"password" binding:"required"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.