Documentation
¶
Index ¶
- type AddTaskRequest
- type CancelTaskRecord
- type DeleteDataSourceRequest
- type DeleteFileRequest
- type DeleteTaskRequest
- type DeleteVariableRequest
- type GetDataSourceTypeListResponse
- type GetDatasourceParamsByTypeRequest
- type GetFileListRequest
- type GetTaskByIdRequest
- type GetTaskRecordListRequest
- type GetTypeByComponentResponse
- type GetVariableTypeListResponse
- type KeyValue
- type KeyValues
- type LoginRequest
- type LoginResponse
- type LoginWithCodeRequest
- type Mission
- type MissionLog
- type NewDataSourceRequest
- type NewVariableRequest
- type RequestLog
- type ResponseModel
- type ResponseWithData
- type RunTaskOnceRequest
- type RunTaskRequest
- type StopTaskRequest
- type TaskData
- type TestVariableRequest
- type TypeDataSource
- type TypeNoDataSource
- type UpdateTaskRequest
- type UploadFileRequest
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AddTaskRequest ¶
type CancelTaskRecord ¶
type CancelTaskRecord struct {
ID string `json:"id"`
}
type DeleteDataSourceRequest ¶
type DeleteDataSourceRequest struct {
Id string `json:"id" binding:"required"`
}
type DeleteFileRequest ¶
type DeleteFileRequest struct {
ID string `json:"id" binding:"required"`
}
type DeleteTaskRequest ¶
type DeleteTaskRequest struct {
Id string `json:"id" binding:"required"`
}
type DeleteVariableRequest ¶
type DeleteVariableRequest struct {
Id string `json:"id" binding:"required"`
}
type GetDatasourceParamsByTypeRequest ¶
type GetDatasourceParamsByTypeRequest struct {
Type string `json:"type" binding:"required"`
}
type GetFileListRequest ¶
type GetTaskByIdRequest ¶
type GetTaskByIdRequest struct {
Id string `json:"id" binding:"required"`
}
type GetTypeByComponentResponse ¶
type GetTypeByComponentResponse struct {
Executor []TypeDataSource `json:"executor"`
Source []TypeDataSource `json:"source"`
Processor []TypeNoDataSource `json:"processor"`
Sink []TypeDataSource `json:"sink"`
}
type LoginRequest ¶
type LoginResponse ¶
type LoginResponse struct {
Token string `json:"token"`
}
type LoginWithCodeRequest ¶
type MissionLog ¶
type NewDataSourceRequest ¶
type NewVariableRequest ¶
type NewVariableRequest struct {
ID string `json:"id"`
Type string `json:"type"`
DataSourceID *string `json:"datasource_id" binding:"required"`
Name string `json:"name" binding:"required"`
Description string `json:"description" binding:"required"`
Value KeyValues `json:"value" binding:"required"`
Edit string `json:"edit" binding:"required"`
}
type RequestLog ¶
type ResponseModel ¶
type ResponseWithData ¶
type RunTaskOnceRequest ¶
type RunTaskOnceRequest struct {
Id string `json:"id" binding:"required"`
}
type RunTaskRequest ¶
type RunTaskRequest struct {
Id string `json:"id" binding:"required"`
}
type StopTaskRequest ¶
type StopTaskRequest struct {
Id string `json:"id" binding:"required"`
}
type TaskData ¶
type TaskData struct {
BeforeExecute *struct {
Type string `json:"type"`
DataSource *string `json:"data_source"`
Params []struct {
Key string `json:"key"`
Value string `json:"value"`
} `json:"params"`
} `json:"before_execute"`
Source struct {
Type string `json:"type"`
DataSource *string `json:"data_source"`
Params []struct {
Key string `json:"key"`
Value string `json:"value"`
} `json:"params"`
} `json:"source"`
Processors []struct {
Type string `json:"type"`
Params []struct {
Key string `json:"key"`
Value string `json:"value"`
} `json:"params"`
} `json:"processors"`
Sinks struct {
Type string `json:"type"`
DataSource *string `json:"data_source"`
Params []struct {
Key string `json:"key"`
Value string `json:"value"`
} `json:"params"`
} `json:"sink"`
AfterExecute *struct {
Type string `json:"type"`
DataSource *string `json:"data_source"`
Params []struct {
Key string `json:"key"`
Value string `json:"value"`
} `json:"params"`
} `json:"after_execute"`
}
type TestVariableRequest ¶
type TestVariableRequest struct {
Id string `json:"id" binding:"required"`
}
type TypeDataSource ¶
type TypeNoDataSource ¶
type UpdateTaskRequest ¶
type UploadFileRequest ¶
type UploadFileRequest struct {
File multipart.FileHeader `form:"file"`
}
Click to show internal directories.
Click to hide internal directories.