service

package
v0.0.0-...-da65128 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 25, 2024 License: Apache-2.0 Imports: 16 Imported by: 0

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

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)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL