Documentation ¶
Index ¶
- func CreateField(d dal.Dal, table, field string) errors.Error
- func MakePipelinePlan(subtaskMetas []core.SubTaskMeta, connectionId uint64, ...) (core.PipelinePlan, errors.Error)
- type Handlers
- func (h *Handlers) CreateFields(input *core.ApiResourceInput) (*core.ApiResourceOutput, errors.Error)
- func (h *Handlers) DeleteField(input *core.ApiResourceInput) (*core.ApiResourceOutput, errors.Error)
- func (h *Handlers) ListFields(input *core.ApiResourceInput) (*core.ApiResourceOutput, errors.Error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MakePipelinePlan ¶
func MakePipelinePlan(subtaskMetas []core.SubTaskMeta, connectionId uint64, scope []*core.BlueprintScopeV100) (core.PipelinePlan, errors.Error)
Types ¶
type Handlers ¶
type Handlers struct {
// contains filtered or unexported fields
}
func NewHandlers ¶
func (*Handlers) CreateFields ¶
func (h *Handlers) CreateFields(input *core.ApiResourceInput) (*core.ApiResourceOutput, errors.Error)
CreateFields create a customized field @Summary create a customized field @Description create a customized field @Tags plugins/customize @Param request body input true "request body" @Success 200 {object} shared.ApiBody "Success" @Failure 400 {string} errcode.Error "Bad Request" @Failure 500 {string} errcode.Error "Internel Error" @Router /plugins/customize/{table}/fields [POST]
func (*Handlers) DeleteField ¶
func (h *Handlers) DeleteField(input *core.ApiResourceInput) (*core.ApiResourceOutput, errors.Error)
DeleteField delete a customized fields @Summary return all customized fields @Description return all customized fields @Tags plugins/customize @Success 200 {object} shared.ApiBody "Success" @Failure 400 {string} errcode.Error "Bad Request" @Failure 500 {string} errcode.Error "Internel Error" @Router /plugins/customize/{table}/fields [DELETE]
func (*Handlers) ListFields ¶
func (h *Handlers) ListFields(input *core.ApiResourceInput) (*core.ApiResourceOutput, errors.Error)
ListFields return all customized fields @Summary return all customized fields @Description return all customized fieldsh @Tags plugins/customize @Success 200 {object} shared.ApiBody "Success" @Failure 400 {string} errcode.Error "Bad Request" @Failure 500 {string} errcode.Error "Internel Error" @Router /plugins/customize/{table}/fields [GET]