Skip to content

Commit 1db115f

Browse files
authored
feat(serverless_jobs): add resources to job run (#1949)
1 parent b726302 commit 1db115f

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

api/jobs/v1alpha1/jobs_sdk.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -185,6 +185,10 @@ type JobRun struct {
185185

186186
ErrorMessage string `json:"error_message"`
187187

188+
CPULimit uint32 `json:"cpu_limit"`
189+
190+
MemoryLimit uint32 `json:"memory_limit"`
191+
188192
// Region: region to target. If none is passed will use default region from the config.
189193
Region scw.Region `json:"region"`
190194
}

0 commit comments

Comments
 (0)