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 @@ -170,6 +170,7 @@ export const unmarshalNamespace = (data: unknown): Namespace => {
unmarshalSecretHashedValue,
),
status: data.status,
tags: data.tags,
} as Namespace
}

Expand Down Expand Up @@ -446,6 +447,7 @@ export const marshalCreateNamespaceRequest = (
marshalSecret(elt, defaults),
)
: undefined,
tags: request.tags,
})

export const marshalCreateTokenRequest = (
Expand Down Expand Up @@ -584,6 +586,7 @@ export const marshalUpdateNamespaceRequest = (
marshalSecret(elt, defaults),
)
: undefined,
tags: request.tags,
})

const marshalUpdateTriggerRequestSqsClientConfig = (
Expand Down
6 changes: 6 additions & 0 deletions packages/clients/src/api/container/v1beta1/types.gen.ts
Original file line number Diff line number Diff line change
Expand Up @@ -303,6 +303,8 @@ export interface Namespace {
secretEnvironmentVariables: SecretHashedValue[]
/** Region in which the namespace will be created. */
region: Region
/** [ALPHA] List of tags applied to the Serverless Container Namespace. */
tags: string[]
}

export interface Token {
Expand Down Expand Up @@ -479,6 +481,8 @@ export type CreateNamespaceRequest = {
description?: string
/** Secret environment variables of the namespace to create. */
secretEnvironmentVariables?: Secret[]
/** [ALPHA] Tags of the Serverless Container Namespace. */
tags?: string[]
}

export type CreateTokenRequest = {
Expand Down Expand Up @@ -926,6 +930,8 @@ export type UpdateNamespaceRequest = {
description?: string
/** Secret environment variables of the namespace to update. */
secretEnvironmentVariables?: Secret[]
/** [ALPHA] Tags of the Serverless Container Namespace. */
tags?: string[]
}

export type UpdateTriggerRequest = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,7 @@ export const unmarshalNamespace = (data: unknown): Namespace => {
unmarshalSecretHashedValue,
),
status: data.status,
tags: data.tags,
} as Namespace
}

Expand Down Expand Up @@ -470,6 +471,7 @@ export const marshalCreateNamespaceRequest = (
marshalSecret(elt, defaults),
)
: undefined,
tags: request.tags,
})

export const marshalCreateTokenRequest = (
Expand Down Expand Up @@ -600,6 +602,7 @@ export const marshalUpdateNamespaceRequest = (
marshalSecret(elt, defaults),
)
: undefined,
tags: request.tags,
})

const marshalUpdateTriggerRequestSqsClientConfig = (
Expand Down
6 changes: 6 additions & 0 deletions packages/clients/src/api/function/v1beta1/types.gen.ts
Original file line number Diff line number Diff line change
Expand Up @@ -327,6 +327,8 @@ export interface Namespace {
secretEnvironmentVariables: SecretHashedValue[]
/** Region in which the namespace is located. */
region: Region
/** [ALPHA] List of tags applied to the Serverless Function Namespace. */
tags: string[]
}

export interface Token {
Expand Down Expand Up @@ -483,6 +485,8 @@ export type CreateNamespaceRequest = {
description?: string
/** Secret environment variables of the namespace. */
secretEnvironmentVariables?: Secret[]
/** [ALPHA] Tags of the Serverless Function Namespace. */
tags?: string[]
}

export type CreateTokenRequest = {
Expand Down Expand Up @@ -956,6 +960,8 @@ export type UpdateNamespaceRequest = {
description?: string
/** Secret environment variables of the namespace. */
secretEnvironmentVariables?: Secret[]
/** [ALPHA] Tags of the Serverless Function Namespace. */
tags?: string[]
}

export type UpdateTriggerRequest = {
Expand Down
Loading