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
6 changes: 6 additions & 0 deletions packages_generated/container/src/v1beta1/marshalling.gen.ts
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,8 @@ export const unmarshalContainer = (data: unknown): Container => {
}

return {
args: data.args,
command: data.command,
cpuLimit: data.cpu_limit,
createdAt: unmarshalDate(data.created_at),
description: data.description,
Expand Down Expand Up @@ -484,6 +486,8 @@ export const marshalCreateContainerRequest = (
request: CreateContainerRequest,
defaults: DefaultValues,
): Record<string, unknown> => ({
args: request.args,
command: request.command,
cpu_limit: request.cpuLimit,
description: request.description,
environment_variables: request.environmentVariables,
Expand Down Expand Up @@ -641,6 +645,8 @@ export const marshalUpdateContainerRequest = (
request: UpdateContainerRequest,
defaults: DefaultValues,
): Record<string, unknown> => ({
args: request.args,
command: request.command,
cpu_limit: request.cpuLimit,
description: request.description,
environment_variables: request.environmentVariables,
Expand Down
24 changes: 24 additions & 0 deletions packages_generated/container/src/v1beta1/types.gen.ts
Original file line number Diff line number Diff line change
Expand Up @@ -369,6 +369,14 @@ export interface Container {
*/
tags: string[]
privateNetworkId?: string
/**
* Command executed when the container starts. This overrides the default command defined in the container image. This is usually the main executable, or entry point script to run.
*/
command: string[]
/**
* Arguments passed to the command specified in the "command" field. These override the default arguments from the container image, and behave like command-line parameters.
*/
args: string[]
}

export interface Cron {
Expand Down Expand Up @@ -680,6 +688,14 @@ export type CreateContainerRequest = {
*/
tags?: string[]
privateNetworkId?: string
/**
* Command executed when the container starts. This overrides the default command defined in the container image. This is usually the main executable, or entry point script to run.
*/
command?: string[]
/**
* Arguments passed to the command specified in the "command" field. These override the default arguments from the container image, and behave like command-line parameters.
*/
args?: string[]
}

export type CreateCronRequest = {
Expand Down Expand Up @@ -1281,6 +1297,14 @@ export type UpdateContainerRequest = {
*/
tags?: string[]
privateNetworkId?: string
/**
* Command executed when the container starts. This overrides the default command defined in the container image. This is usually the main executable, or entry point script to run.
*/
command?: string[]
/**
* Arguments passed to the command specified in the "command" field. These override the default arguments from the container image, and behave like command-line parameters.
*/
args?: string[]
}

export type UpdateCronRequest = {
Expand Down
Loading