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 |
Members
(inner) cluster :String
Cluster within which this workspace should be created
Type:
- String
(inner) defaultService :String
Deprecated. use endpoints instead.
Type:
- String
(inner) defaultServicePort :Number
Deprecated. use endpoints instead.
Type:
- Number
(inner) description :String
Description of the purpose of this workspace.
Type:
- String
(inner) endpoints :Array.<module:model/CreatePreviewEndpointRequest>
Each endpoint specifies a target service or workload corresponding to which a preview URL will be generated.
Type:
(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
(inner) images :Array.<module:model/V1ImageReplacement>
Image replacement rules that are used to create the workspace.
Type:
- Array.<module:model/V1ImageReplacement>
(inner) name :String
Human-readable name of this workspace
Type:
- String
(inner) namespace :String
Namespace within which this workspace should be created
Type:
- String