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) DeleteExecutor(ctx context.Context, executorID string) error
- func (h *ActionHandler) RunTaskSetAnnotations(ctx context.Context, req *RunTaskSetAnnotationsRequest) error
- func (h *ActionHandler) StopRun(ctx context.Context, req *RunStopRequest) error
- 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(logger *zap.Logger, e *etcd.Store, readDB *readdb.ReadDB, ost *objectstorage.ObjStorage, dm *datamanager.DataManager) *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) DeleteExecutor ¶
func (h *ActionHandler) DeleteExecutor(ctx context.Context, executorID string) error
func (*ActionHandler) RunTaskSetAnnotations ¶
func (h *ActionHandler) RunTaskSetAnnotations(ctx context.Context, req *RunTaskSetAnnotationsRequest) error
func (*ActionHandler) StopRun ¶
func (h *ActionHandler) StopRun(ctx context.Context, req *RunStopRequest) error
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.