Documentation ¶
Index ¶
- func NewDatasetsApiService(dbService database.DBService) openapi.DatasetsApiServicer
- func NewDesignCodesApiService(dbService database.DBService) openapi.DesignCodesApiServicer
- func NewDesignSchemasApiService(dbService database.DBService) openapi.DesignSchemasApiServicer
- func NewDesignsApiService(dbService database.DBService) openapi.DesignsApiServicer
- func NewJobsApiService(dbService database.DBService, jobEventQ *job.EventQ, ...) openapi.JobsApiServicer
- type DatasetsApiService
- func (s *DatasetsApiService) CreateDataset(ctx context.Context, user string, datasetInfo openapi.DatasetInfo) (openapi.ImplResponse, error)
- func (s *DatasetsApiService) GetAllDatasets(ctx context.Context, limit int32) (openapi.ImplResponse, error)
- func (s *DatasetsApiService) GetDataset(ctx context.Context, user string, datasetId string) (openapi.ImplResponse, error)
- func (s *DatasetsApiService) GetDatasets(ctx context.Context, user string, limit int32) (openapi.ImplResponse, error)
- func (s *DatasetsApiService) UpdateDataset(ctx context.Context, user string, datasetId string, ...) (openapi.ImplResponse, error)
- type DesignCodesApiService
- func (s *DesignCodesApiService) CreateDesignCode(ctx context.Context, user string, designId string, fileName string, ...) (openapi.ImplResponse, error)
- func (s *DesignCodesApiService) GetDesignCode(ctx context.Context, user string, designId string, version string) (openapi.ImplResponse, error)
- func (s *DesignCodesApiService) UpdateDesignCode(ctx context.Context, user string, designId string, version string, ...) (openapi.ImplResponse, error)
- type DesignSchemasApiService
- func (s *DesignSchemasApiService) CreateDesignSchema(ctx context.Context, user string, designId string, ...) (openapi.ImplResponse, error)
- func (s *DesignSchemasApiService) GetDesignSchema(ctx context.Context, user string, designId string, version string) (openapi.ImplResponse, error)
- func (s *DesignSchemasApiService) GetDesignSchemas(ctx context.Context, user string, designId string) (openapi.ImplResponse, error)
- func (s *DesignSchemasApiService) UpdateDesignSchema(ctx context.Context, user string, designId string, version string, ...) (openapi.ImplResponse, error)
- type DesignsApiService
- func (s *DesignsApiService) CreateDesign(ctx context.Context, user string, designInfo openapi.DesignInfo) (openapi.ImplResponse, error)
- func (s *DesignsApiService) GetDesign(ctx context.Context, user string, designId string) (openapi.ImplResponse, error)
- func (s *DesignsApiService) GetDesigns(ctx context.Context, user string, limit int32) (openapi.ImplResponse, error)
- type JobsApiService
- func (s *JobsApiService) CreateJob(ctx context.Context, user string, jobSpec openapi.JobSpec) (openapi.ImplResponse, error)
- func (s *JobsApiService) DeleteJob(ctx context.Context, user string, jobId string) (openapi.ImplResponse, error)
- func (s *JobsApiService) GetJob(ctx context.Context, user string, jobId string) (openapi.ImplResponse, error)
- func (s *JobsApiService) GetJobStatus(ctx context.Context, user string, jobId string) (openapi.ImplResponse, error)
- func (s *JobsApiService) GetJobs(ctx context.Context, user string, limit int32) (openapi.ImplResponse, error)
- func (s *JobsApiService) GetTask(ctx context.Context, jobId string, taskId string, key string) (openapi.ImplResponse, error)
- func (s *JobsApiService) GetTaskInfo(ctx context.Context, user string, jobId string, taskId string) (openapi.ImplResponse, error)
- func (s *JobsApiService) GetTasksInfo(ctx context.Context, user string, jobId string, limit int32) (openapi.ImplResponse, error)
- func (s *JobsApiService) UpdateJob(ctx context.Context, user string, jobId string, jobSpec openapi.JobSpec) (openapi.ImplResponse, error)
- func (s *JobsApiService) UpdateJobStatus(ctx context.Context, user string, jobId string, jobStatus openapi.JobStatus) (openapi.ImplResponse, error)
- func (s *JobsApiService) UpdateTaskStatus(ctx context.Context, jobId string, taskId string, ...) (openapi.ImplResponse, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewDatasetsApiService ¶
func NewDatasetsApiService(dbService database.DBService) openapi.DatasetsApiServicer
NewDatasetsApiService creates a default api service
func NewDesignCodesApiService ¶
func NewDesignCodesApiService(dbService database.DBService) openapi.DesignCodesApiServicer
NewDesignCodesApiService creates a default api service
func NewDesignSchemasApiService ¶
func NewDesignSchemasApiService(dbService database.DBService) openapi.DesignSchemasApiServicer
NewDesignSchemasApiService creates a default api service
func NewDesignsApiService ¶
func NewDesignsApiService(dbService database.DBService) openapi.DesignsApiServicer
NewDesignsApiService creates a default api service
func NewJobsApiService ¶
func NewJobsApiService(dbService database.DBService, jobEventQ *job.EventQ, jobBuilder *job.JobBuilder) openapi.JobsApiServicer
NewJobsApiService creates a default api service
Types ¶
type DatasetsApiService ¶
type DatasetsApiService struct {
// contains filtered or unexported fields
}
DatasetsApiService is a service that implents the logic for the DatasetsApiServicer This service should implement the business logic for every endpoint for the DatasetsApi API. Include any external packages or services that will be required by this service.
func (*DatasetsApiService) CreateDataset ¶
func (s *DatasetsApiService) CreateDataset(ctx context.Context, user string, datasetInfo openapi.DatasetInfo) (openapi.ImplResponse, error)
CreateDataset - Create meta info for a new dataset.
func (*DatasetsApiService) GetAllDatasets ¶
func (s *DatasetsApiService) GetAllDatasets(ctx context.Context, limit int32) (openapi.ImplResponse, error)
GetAllDatasets - Get the meta info on all the datasets
func (*DatasetsApiService) GetDataset ¶
func (s *DatasetsApiService) GetDataset(ctx context.Context, user string, datasetId string) (openapi.ImplResponse, error)
GetDataset - Get dataset meta information
func (*DatasetsApiService) GetDatasets ¶
func (s *DatasetsApiService) GetDatasets(ctx context.Context, user string, limit int32) (openapi.ImplResponse, error)
GetDatasets - Get the meta info on all the datasets owned by user
func (*DatasetsApiService) UpdateDataset ¶
func (s *DatasetsApiService) UpdateDataset(ctx context.Context, user string, datasetId string, datasetInfo openapi.DatasetInfo) (openapi.ImplResponse, error)
UpdateDataset - Update meta info for a given dataset
type DesignCodesApiService ¶
type DesignCodesApiService struct {
// contains filtered or unexported fields
}
DesignCodesApiService is a service that implents the logic for the DesignCodesApiServicer This service should implement the business logic for every endpoint for the DesignCodesApi API. Include any external packages or services that will be required by this service.
func (*DesignCodesApiService) CreateDesignCode ¶
func (s *DesignCodesApiService) CreateDesignCode(ctx context.Context, user string, designId string, fileName string, fileVer string, fileData *os.File) (openapi.ImplResponse, error)
CreateDesignCode - Upload a new design code
func (*DesignCodesApiService) GetDesignCode ¶
func (s *DesignCodesApiService) GetDesignCode(ctx context.Context, user string, designId string, version string) (openapi.ImplResponse, error)
GetDesignCode - Get a zipped design code file owned by user
func (*DesignCodesApiService) UpdateDesignCode ¶
func (s *DesignCodesApiService) UpdateDesignCode(ctx context.Context, user string, designId string, version string, fileName string, fileVer string, fileData *os.File) (openapi.ImplResponse, error)
UpdateDesignCode - Update a design code
type DesignSchemasApiService ¶
type DesignSchemasApiService struct {
// contains filtered or unexported fields
}
DesignSchemasApiService is a service that implents the logic for the DesignSchemasApiServicer This service should implement the business logic for every endpoint for the DesignSchemasApi API. Include any external packages or services that will be required by this service.
func (*DesignSchemasApiService) CreateDesignSchema ¶
func (s *DesignSchemasApiService) CreateDesignSchema(ctx context.Context, user string, designId string, designSchema openapi.DesignSchema) (openapi.ImplResponse, error)
CreateDesignSchema - Update a design schema
func (*DesignSchemasApiService) GetDesignSchema ¶
func (s *DesignSchemasApiService) GetDesignSchema(ctx context.Context, user string, designId string, version string) (openapi.ImplResponse, error)
GetDesignSchema - Get a design schema owned by user
func (*DesignSchemasApiService) GetDesignSchemas ¶
func (s *DesignSchemasApiService) GetDesignSchemas(ctx context.Context, user string, designId string) (openapi.ImplResponse, error)
GetDesignSchemas - Get all design schemas in a design
func (*DesignSchemasApiService) UpdateDesignSchema ¶
func (s *DesignSchemasApiService) UpdateDesignSchema(ctx context.Context, user string, designId string, version string, designSchema openapi.DesignSchema) (openapi.ImplResponse, error)
UpdateDesignSchema - Update a schema for a given design
type DesignsApiService ¶
type DesignsApiService struct {
// contains filtered or unexported fields
}
DesignsApiService is a service that implents the logic for the DesignsApiServicer This service should implement the business logic for every endpoint for the DesignsApi API. Include any external packages or services that will be required by this service.
func (*DesignsApiService) CreateDesign ¶
func (s *DesignsApiService) CreateDesign(ctx context.Context, user string, designInfo openapi.DesignInfo) (openapi.ImplResponse, error)
CreateDesign - Create a new design template.
func (*DesignsApiService) GetDesign ¶
func (s *DesignsApiService) GetDesign(ctx context.Context, user string, designId string) (openapi.ImplResponse, error)
GetDesign - Get design template information
func (*DesignsApiService) GetDesigns ¶
func (s *DesignsApiService) GetDesigns(ctx context.Context, user string, limit int32) (openapi.ImplResponse, error)
GetDesigns - Get list of all the designs created by the user.
type JobsApiService ¶
type JobsApiService struct {
// contains filtered or unexported fields
}
JobsApiService is a service that implents the logic for the JobsApiServicer This service should implement the business logic for every endpoint for the JobsApi API. Include any external packages or services that will be required by this service.
func (*JobsApiService) CreateJob ¶
func (s *JobsApiService) CreateJob(ctx context.Context, user string, jobSpec openapi.JobSpec) (openapi.ImplResponse, error)
CreateJob - Create a new job specification
func (*JobsApiService) DeleteJob ¶
func (s *JobsApiService) DeleteJob(ctx context.Context, user string, jobId string) (openapi.ImplResponse, error)
DeleteJob - Delete job specification
func (*JobsApiService) GetJob ¶
func (s *JobsApiService) GetJob(ctx context.Context, user string, jobId string) (openapi.ImplResponse, error)
GetJob - Get a job specification
func (*JobsApiService) GetJobStatus ¶
func (s *JobsApiService) GetJobStatus(ctx context.Context, user string, jobId string) (openapi.ImplResponse, error)
GetJobStatus - Get job status of a given jobId
func (*JobsApiService) GetJobs ¶
func (s *JobsApiService) GetJobs(ctx context.Context, user string, limit int32) (openapi.ImplResponse, error)
GetJobs - Get status info on all the jobs owned by user
func (*JobsApiService) GetTask ¶
func (s *JobsApiService) GetTask(ctx context.Context, jobId string, taskId string, key string) (openapi.ImplResponse, error)
GetTask - Get a job task for a given job and task
func (*JobsApiService) GetTaskInfo ¶ added in v0.1.2
func (s *JobsApiService) GetTaskInfo(ctx context.Context, user string, jobId string, taskId string) (openapi.ImplResponse, error)
GetTaskInfo - Get the info of a task in a job
func (*JobsApiService) GetTasksInfo ¶
func (s *JobsApiService) GetTasksInfo(ctx context.Context, user string, jobId string, limit int32) (openapi.ImplResponse, error)
GetTasksInfo - Get the info of tasks in a job
func (*JobsApiService) UpdateJob ¶
func (s *JobsApiService) UpdateJob(ctx context.Context, user string, jobId string, jobSpec openapi.JobSpec) (openapi.ImplResponse, error)
UpdateJob - Update a job specification
func (*JobsApiService) UpdateJobStatus ¶
func (s *JobsApiService) UpdateJobStatus(ctx context.Context, user string, jobId string, jobStatus openapi.JobStatus) (openapi.ImplResponse, error)
UpdateJobStatus - Update the status of a job
func (*JobsApiService) UpdateTaskStatus ¶
func (s *JobsApiService) UpdateTaskStatus(ctx context.Context, jobId string, taskId string, taskStatus openapi.TaskStatus) (openapi.ImplResponse, error)
UpdateTaskStatus - Update the status of a task