Documentation ¶
Index ¶
- type ActionHandler
- func (h *ActionHandler) ApproveRunTask(ctx context.Context, req *RunTaskApproveRequest) error
- func (h *ActionHandler) ChangeRunPhase(ctx context.Context, req *RunChangePhaseRequest) error
- func (h *ActionHandler) CreateRun(ctx context.Context, req *RunCreateRequest) (*types.RunBundle, error)
- func (h *ActionHandler) Export(ctx context.Context, w io.Writer) error
- func (h *ActionHandler) GetChangeGroupsUpdateTokens(tx *sql.Tx, changeGroupsNames []string) (*types.ChangeGroupsUpdateToken, error)
- func (h *ActionHandler) GetExecutorTask(ctx context.Context, etID string) (*GetExecutorTaskResponse, error)
- func (h *ActionHandler) GetExecutorTasks(ctx context.Context, executorID string) ([]*GetExecutorTaskResponse, error)
- func (h *ActionHandler) GetGroupRuns(ctx context.Context, req *GetGroupRunsRequest) (*GetGroupRunsResponse, error)
- func (h *ActionHandler) Import(ctx context.Context, r io.Reader) error
- func (h *ActionHandler) IsMaintenanceEnabled(ctx context.Context) (bool, error)
- func (h *ActionHandler) IsMaintenanceMode() bool
- func (h *ActionHandler) RunTaskSetAnnotations(ctx context.Context, req *RunTaskSetAnnotationsRequest) error
- func (h *ActionHandler) SetMaintenanceEnabled(ctx context.Context, enable bool) error
- func (h *ActionHandler) SetMaintenanceMode(maintenanceMode bool)
- func (h *ActionHandler) StopRun(ctx context.Context, req *RunStopRequest) error
- func (h *ActionHandler) UpdateChangeGroups(tx *sql.Tx, cgt *types.ChangeGroupsUpdateToken) error
- type GetExecutorTaskResponse
- type GetGroupRunsRequest
- type GetGroupRunsResponse
- type RunChangePhaseRequest
- type RunCreateRequest
- type RunStopRequest
- type RunTaskApproveRequest
- type RunTaskSetAnnotationsRequest
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ActionHandler ¶
type ActionHandler struct {
// contains filtered or unexported fields
}
func NewActionHandler ¶
func NewActionHandler(log zerolog.Logger, d *db.DB, ost objectstorage.ObjStorage, lf lock.LockFactory) *ActionHandler
func (*ActionHandler) ApproveRunTask ¶
func (h *ActionHandler) ApproveRunTask(ctx context.Context, req *RunTaskApproveRequest) error
func (*ActionHandler) ChangeRunPhase ¶
func (h *ActionHandler) ChangeRunPhase(ctx context.Context, req *RunChangePhaseRequest) error
func (*ActionHandler) CreateRun ¶
func (h *ActionHandler) CreateRun(ctx context.Context, req *RunCreateRequest) (*types.RunBundle, error)
func (*ActionHandler) GetChangeGroupsUpdateTokens ¶ added in v0.8.0
func (h *ActionHandler) GetChangeGroupsUpdateTokens(tx *sql.Tx, changeGroupsNames []string) (*types.ChangeGroupsUpdateToken, error)
func (*ActionHandler) GetExecutorTask ¶ added in v0.3.0
func (h *ActionHandler) GetExecutorTask(ctx context.Context, etID string) (*GetExecutorTaskResponse, error)
func (*ActionHandler) GetExecutorTasks ¶ added in v0.3.0
func (h *ActionHandler) GetExecutorTasks(ctx context.Context, executorID string) ([]*GetExecutorTaskResponse, error)
func (*ActionHandler) GetGroupRuns ¶ added in v0.9.0
func (h *ActionHandler) GetGroupRuns(ctx context.Context, req *GetGroupRunsRequest) (*GetGroupRunsResponse, error)
func (*ActionHandler) IsMaintenanceEnabled ¶ added in v0.8.0
func (h *ActionHandler) IsMaintenanceEnabled(ctx context.Context) (bool, error)
func (*ActionHandler) IsMaintenanceMode ¶ added in v0.9.0
func (h *ActionHandler) IsMaintenanceMode() bool
func (*ActionHandler) RunTaskSetAnnotations ¶
func (h *ActionHandler) RunTaskSetAnnotations(ctx context.Context, req *RunTaskSetAnnotationsRequest) error
func (*ActionHandler) SetMaintenanceEnabled ¶ added in v0.9.0
func (h *ActionHandler) SetMaintenanceEnabled(ctx context.Context, enable bool) error
func (*ActionHandler) SetMaintenanceMode ¶ added in v0.2.0
func (h *ActionHandler) SetMaintenanceMode(maintenanceMode bool)
func (*ActionHandler) StopRun ¶
func (h *ActionHandler) StopRun(ctx context.Context, req *RunStopRequest) error
func (*ActionHandler) UpdateChangeGroups ¶ added in v0.8.0
func (h *ActionHandler) UpdateChangeGroups(tx *sql.Tx, cgt *types.ChangeGroupsUpdateToken) error
type GetExecutorTaskResponse ¶ added in v0.8.0
type GetExecutorTaskResponse struct { Et *types.ExecutorTask EtSpecData *types.ExecutorTaskSpecData }
type GetGroupRunsRequest ¶ added in v0.9.0
type GetGroupRunsResponse ¶ added in v0.9.0
type RunChangePhaseRequest ¶
type RunCreateRequest ¶
type RunCreateRequest struct { RunConfigTasks map[string]*types.RunConfigTask Name string Group string SetupErrors []string StaticEnvironment map[string]string CacheGroup string // existing run fields RunID string FromStart bool ResetTasks []string // common fields Environment map[string]string Annotations map[string]string ChangeGroupsUpdateToken string }
type RunStopRequest ¶
type RunTaskApproveRequest ¶
Click to show internal directories.
Click to hide internal directories.