Class: module:model/UpsertPRWorkspacesRequest

module:model/UpsertPRWorkspacesRequest(cluster, namespace)

new module:model/UpsertPRWorkspacesRequest(cluster, namespace)

Constructs a new UpsertPRWorkspacesRequest.
Parameters:
Name Type Description
cluster String Cluster within which this workspace should be created
namespace String Namespace within which this workspace should be created
Source:

Members

(inner) cluster :String

Cluster within which this workspace should be created
Type:
  • String
Source:

(inner) defaultService :String

Deprecated. use endpoints instead.
Type:
  • String
Source:

(inner) defaultServicePort :Number

Deprecated. use endpoints instead.
Type:
  • Number
Source:

(inner) description :String

Description of the purpose of this workspace.
Type:
  • String
Source:

(inner) endpoints :Array.<module:model/CreatePreviewEndpointRequest>

Each endpoint specifies a target service or workload corresponding to which a preview URL will be generated.
Type:
Source:

(inner) headCommit :String

HeadCommit is the commit hash of the current HEAD of the PR branch. It is automatically computed if not specified but it is recommended that you specify this.
Type:
  • String
Source:

(inner) images :Array.<module:model/V1ImageReplacement>

Image replacement rules that are used to create the workspace.
Type:
Source:

(inner) name :String

Human-readable name of this workspace
Type:
  • String
Source:

(inner) namespace :String

Namespace within which this workspace should be created
Type:
  • String
Source: