Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

Release

import type { Release } from "https://googleapis.deno.dev/v1/clouddeploy:v1.ts";

A Release resource in the Cloud Deploy API. A Release defines a specific Skaffold configuration instance that can be deployed.

interface Release {
readonly abandoned?: boolean;
annotations?: {
[key: string]: string;
}
;
buildArtifacts?: BuildArtifact[];
readonly condition?: ReleaseCondition;
readonly createTime?: Date;
readonly customTargetTypeSnapshots?: CustomTargetType[];
readonly deliveryPipelineSnapshot?: DeliveryPipeline;
deployParameters?: {
[key: string]: string;
}
;
description?: string;
etag?: string;
labels?: {
[key: string]: string;
}
;
name?: string;
readonly renderEndTime?: Date;
readonly renderStartTime?: Date;
readonly renderState?:
| "RENDER_STATE_UNSPECIFIED"
| "SUCCEEDED"
| "FAILED"
| "IN_PROGRESS";
skaffoldConfigPath?: string;
skaffoldConfigUri?: string;
skaffoldVersion?: string;
readonly targetArtifacts?: {
[key: string]: TargetArtifact;
}
;
readonly targetRenders?: {
[key: string]: TargetRender;
}
;
readonly targetSnapshots?: Target[];
readonly uid?: string;
}

§Properties

§
readonly abandoned?: boolean
[src]

Output only. Indicates whether this is an abandoned release.

§
annotations?: {
[key: string]: string;
}
[src]

User annotations. These attributes can only be set and used by the user, and not by Cloud Deploy. See https://google.aip.dev/128#annotations for more details such as format and size limitations.

§
buildArtifacts?: BuildArtifact[]
[src]

List of artifacts to pass through to Skaffold command.

§
readonly condition?: ReleaseCondition
[src]

Output only. Information around the state of the Release.

§
readonly createTime?: Date
[src]

Output only. Time at which the Release was created.

§
readonly customTargetTypeSnapshots?: CustomTargetType[]
[src]

Output only. Snapshot of the custom target types referenced by the targets taken at release creation time.

§
readonly deliveryPipelineSnapshot?: DeliveryPipeline
[src]

Output only. Snapshot of the parent pipeline taken at release creation time.

§
deployParameters?: {
[key: string]: string;
}
[src]

Optional. The deploy parameters to use for all targets in this release.

§
description?: string
[src]

Description of the Release. Max length is 255 characters.

§
etag?: string
[src]

This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.

§
labels?: {
[key: string]: string;
}
[src]

Labels are attributes that can be set and used by both the user and by Cloud Deploy. Labels must meet the following constraints: * Keys and values can contain only lowercase letters, numeric characters, underscores, and dashes. * All characters must use UTF-8 encoding, and international characters are allowed. * Keys must start with a lowercase letter or international character. * Each resource is limited to a maximum of 64 labels. Both keys and values are additionally constrained to be <= 128 bytes.

§
name?: string
[src]

Optional. Name of the Release. Format is projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/a-z{0,62}.

§
readonly renderEndTime?: Date
[src]

Output only. Time at which the render completed.

§
readonly renderStartTime?: Date
[src]

Output only. Time at which the render began.

§
readonly renderState?: "RENDER_STATE_UNSPECIFIED" | "SUCCEEDED" | "FAILED" | "IN_PROGRESS"
[src]

Output only. Current state of the render operation.

§
skaffoldConfigPath?: string
[src]

Filepath of the Skaffold config inside of the config URI.

§
skaffoldConfigUri?: string
[src]

Cloud Storage URI of tar.gz archive containing Skaffold configuration.

§
skaffoldVersion?: string
[src]

The Skaffold version to use when operating on this release, such as "1.20.0". Not all versions are valid; Cloud Deploy supports a specific set of versions. If unset, the most recent supported Skaffold version will be used.

§
readonly targetArtifacts?: {
[key: string]: TargetArtifact;
}
[src]

Output only. Map from target ID to the target artifacts created during the render operation.

§
readonly targetRenders?: {
[key: string]: TargetRender;
}
[src]

Output only. Map from target ID to details of the render operation for that target.

§
readonly targetSnapshots?: Target[]
[src]

Output only. Snapshot of the targets taken at release creation time.

§
readonly uid?: string
[src]

Output only. Unique identifier of the Release.