Documentation
¶
Overview ¶
Copyright 2024 TikTok Pte. Ltd.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Index ¶
- type JobService
- func (js *JobService) DeleteJob(req *job.DeleteJobRequest)
- func (js *JobService) DownloadJobOutput(req *job.DownloadJobOutputRequest) (string, error)
- func (js *JobService) GetJobAttestationReport(req *job.QueryJobAttestationRequest) (string, error)
- func (js *JobService) GetJobOutputAttrs(req *job.QueryJobOutputRequest) (string, int64, error)
- func (js *JobService) QueryUsersJobs(req *job.QueryJobRequest) ([]*job.Job, int64, error)
- func (js *JobService) SubmitJob(req *job.SubmitJobRequest, userWorkspace io.Reader) (string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type JobService ¶
type JobService struct {
// contains filtered or unexported fields
}
func NewJobService ¶
func NewJobService(ctx context.Context) *JobService
NewJobService create job service
func (*JobService) DeleteJob ¶
func (js *JobService) DeleteJob(req *job.DeleteJobRequest)
func (*JobService) DownloadJobOutput ¶
func (js *JobService) DownloadJobOutput(req *job.DownloadJobOutputRequest) (string, error)
func (*JobService) GetJobAttestationReport ¶
func (js *JobService) GetJobAttestationReport(req *job.QueryJobAttestationRequest) (string, error)
func (*JobService) GetJobOutputAttrs ¶
func (js *JobService) GetJobOutputAttrs(req *job.QueryJobOutputRequest) (string, int64, error)
func (*JobService) QueryUsersJobs ¶
func (js *JobService) QueryUsersJobs(req *job.QueryJobRequest) ([]*job.Job, int64, error)
func (*JobService) SubmitJob ¶
func (js *JobService) SubmitJob(req *job.SubmitJobRequest, userWorkspace io.Reader) (string, error)
Click to show internal directories.
Click to hide internal directories.