Documentation
¶
Index ¶
- type Controller
- type Handlers
- func (h *Handlers) HandleAddExecutor(c backends.Context, recoveredID string, payloadType string, jsonString string)
- func (h *Handlers) HandleApproveExecutor(c backends.Context, recoveredID string, payloadType string, jsonString string)
- func (h *Handlers) HandleGetExecutor(c backends.Context, recoveredID string, payloadType string, jsonString string)
- func (h *Handlers) HandleGetExecutorByID(c backends.Context, recoveredID string, payloadType string, jsonString string)
- func (h *Handlers) HandleGetExecutors(c backends.Context, recoveredID string, payloadType string, jsonString string)
- func (h *Handlers) HandleRejectExecutor(c backends.Context, recoveredID string, payloadType string, jsonString string)
- func (h *Handlers) HandleRemoveExecutor(c backends.Context, recoveredID string, payloadType string, jsonString string)
- func (h *Handlers) HandleReportAllocations(c backends.Context, recoveredID string, payloadType string, jsonString string)
- func (h *Handlers) HandleUpdateExecutor(c backends.Context, recoveredID string, payloadType string, jsonString string)
- func (h *Handlers) RegisterHandlers(handlerRegistry *registry.HandlerRegistry) error
- type Server
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Controller ¶
type Handlers ¶
type Handlers struct {
// contains filtered or unexported fields
}
func NewHandlers ¶
func (*Handlers) HandleAddExecutor ¶
func (*Handlers) HandleApproveExecutor ¶
func (*Handlers) HandleGetExecutor ¶
func (*Handlers) HandleGetExecutorByID ¶ added in v1.9.3
func (*Handlers) HandleGetExecutors ¶
func (*Handlers) HandleRejectExecutor ¶
func (*Handlers) HandleRemoveExecutor ¶
func (*Handlers) HandleReportAllocations ¶
func (*Handlers) HandleUpdateExecutor ¶ added in v1.9.6
func (*Handlers) RegisterHandlers ¶
func (h *Handlers) RegisterHandlers(handlerRegistry *registry.HandlerRegistry) error
RegisterHandlers implements the HandlerRegistrar interface
type Server ¶
type Server interface {
HandleHTTPError(c backends.Context, err error, errorCode int) bool
SendHTTPReply(c backends.Context, payloadType string, jsonString string)
SendEmptyHTTPReply(c backends.Context, payloadType string)
Validator() security.Validator
ExecutorDB() database.ExecutorDatabase
ExecutorController() Controller
AllowExecutorReregister() bool
TriggerReconciliationForReconciler(colonyName, executorType, locationName string) error
}
Click to show internal directories.
Click to hide internal directories.