Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -264,6 +264,7 @@ export const marshalCreateContainerRequest = (
request: CreateContainerRequest,
defaults: DefaultValues,
): Record<string, unknown> => ({
cpu_limit: request.cpuLimit,
description: request.description,
environment_variables: request.environmentVariables,
http_option: request.httpOption ?? 'unknown_http_option',
Expand Down Expand Up @@ -340,6 +341,7 @@ export const marshalUpdateContainerRequest = (
request: UpdateContainerRequest,
defaults: DefaultValues,
): Record<string, unknown> => ({
cpu_limit: request.cpuLimit,
description: request.description,
environment_variables: request.environmentVariables,
http_option: request.httpOption ?? 'unknown_http_option',
Expand Down
6 changes: 5 additions & 1 deletion packages/clients/src/api/container/v1beta1/types.gen.ts
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ export interface Container {
maxScale: number
/** Memory limit of the container in MB. */
memoryLimit: number
/** CPU limit of the container. */
/** CPU limit of the container in mvCPU. */
cpuLimit: number
/** Processing time limit for the container. */
timeout?: string
Expand Down Expand Up @@ -415,6 +415,8 @@ export type CreateContainerRequest = {
maxScale?: number
/** Memory limit of the container in MB. */
memoryLimit?: number
/** CPU limit of the container in mvCPU. */
cpuLimit?: number
/** Processing time limit for the container. */
timeout?: string
/** Privacy setting of the container. */
Expand Down Expand Up @@ -460,6 +462,8 @@ export type UpdateContainerRequest = {
maxScale?: number
/** Memory limit of the container in MB. */
memoryLimit?: number
/** CPU limit of the container in mvCPU. */
cpuLimit?: number
/** Processing time limit for the container. */
timeout?: string
/** Defines whether to redeploy failed containers. */
Expand Down