Skip to content

Commit d8c1664

Browse files
committed
[skip ci] repo-sync
1 parent 43e40a2 commit d8c1664

6 files changed

+127
-2
lines changed

gen/models/clusterV1SleepModeConfigSpec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ export class ClusterV1SleepModeConfigSpec {
7474
*/
7575
'sleepSchedule'?: string;
7676
/**
77-
* Timezone specifies time zone used for scheduled space operations. Defaults to UTC. Accepts the same format as time.LoadLocation() in Go (https://pkg.go.dev/time#LoadLocation). The value should be a location name corresponding to a file in the IANA Time Zone database, such as \"America/New_York\".
77+
* Timezone specifies time zone used for scheduled space operations. Defaults to UTC. Accepts the same format as time.LoadLocation() in Go (https://pkg.go.dev/time#LoadLocation). The value should be a location name corresponding to a file in the IANA Time Zone database, such as \"America/New_York\". See also: https://en.wikipedia.org/wiki/List_of_tz_database_time_zones
7878
*/
7979
'timezone'?: string;
8080
/**

gen/models/managementV1DevPodEnvironmentTemplateSpec.ts

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
*/
1212

1313
import { StorageV1Access } from '../models/storageV1Access';
14+
import { StorageV1DevPodEnvironmentTemplateVersion } from '../models/storageV1DevPodEnvironmentTemplateVersion';
1415
import { StorageV1GitEnvironmentTemplate } from '../models/storageV1GitEnvironmentTemplate';
1516
import { StorageV1UserOrTeam } from '../models/storageV1UserOrTeam';
1617

@@ -29,6 +30,10 @@ export class ManagementV1DevPodEnvironmentTemplateSpec {
2930
'displayName'?: string;
3031
'git'?: StorageV1GitEnvironmentTemplate;
3132
'owner'?: StorageV1UserOrTeam;
33+
/**
34+
* Versions are different versions of the template that can be referenced as well
35+
*/
36+
'versions'?: Array<StorageV1DevPodEnvironmentTemplateVersion>;
3237

3338
static readonly discriminator: string | undefined = undefined;
3439

@@ -56,6 +61,12 @@ export class ManagementV1DevPodEnvironmentTemplateSpec {
5661
"baseName": "owner",
5762
"type": "StorageV1UserOrTeam",
5863
"format": ""
64+
},
65+
{
66+
"name": "versions",
67+
"baseName": "versions",
68+
"type": "Array<StorageV1DevPodEnvironmentTemplateVersion>",
69+
"format": ""
5970
} ];
6071

6172
static getAttributeTypeMap() {

gen/models/managementV1ProjectTemplates.ts

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
* Do not edit the class manually.
1111
*/
1212

13+
import { ManagementV1DevPodEnvironmentTemplate } from '../models/managementV1DevPodEnvironmentTemplate';
1314
import { ManagementV1DevPodWorkspaceTemplate } from '../models/managementV1DevPodWorkspaceTemplate';
1415
import { ManagementV1SpaceTemplate } from '../models/managementV1SpaceTemplate';
1516
import { ManagementV1VirtualClusterTemplate } from '../models/managementV1VirtualClusterTemplate';
@@ -22,6 +23,10 @@ export class ManagementV1ProjectTemplates {
2223
*/
2324
'apiVersion'?: string;
2425
/**
26+
* DefaultDevPodEnvironmentTemplate
27+
*/
28+
'defaultDevPodEnvironmentTemplate'?: string;
29+
/**
2530
* DefaultDevPodWorkspaceTemplate
2631
*/
2732
'defaultDevPodWorkspaceTemplate'?: string;
@@ -34,6 +39,10 @@ export class ManagementV1ProjectTemplates {
3439
*/
3540
'defaultVirtualClusterTemplate'?: string;
3641
/**
42+
* DevPodEnvironmentTemplates holds all the allowed environment templates
43+
*/
44+
'devPodEnvironmentTemplates'?: Array<ManagementV1DevPodEnvironmentTemplate>;
45+
/**
3746
* DevPodWorkspaceTemplates holds all the allowed space templates
3847
*/
3948
'devPodWorkspaceTemplates'?: Array<ManagementV1DevPodWorkspaceTemplate>;
@@ -60,6 +69,12 @@ export class ManagementV1ProjectTemplates {
6069
"type": "string",
6170
"format": ""
6271
},
72+
{
73+
"name": "defaultDevPodEnvironmentTemplate",
74+
"baseName": "defaultDevPodEnvironmentTemplate",
75+
"type": "string",
76+
"format": ""
77+
},
6378
{
6479
"name": "defaultDevPodWorkspaceTemplate",
6580
"baseName": "defaultDevPodWorkspaceTemplate",
@@ -78,6 +93,12 @@ export class ManagementV1ProjectTemplates {
7893
"type": "string",
7994
"format": ""
8095
},
96+
{
97+
"name": "devPodEnvironmentTemplates",
98+
"baseName": "devPodEnvironmentTemplates",
99+
"type": "Array<ManagementV1DevPodEnvironmentTemplate>",
100+
"format": ""
101+
},
81102
{
82103
"name": "devPodWorkspaceTemplates",
83104
"baseName": "devPodWorkspaceTemplates",
Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
/**
2+
* Api
3+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4+
*
5+
* OpenAPI spec version: master
6+
*
7+
*
8+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9+
* https://openapi-generator.tech
10+
* Do not edit the class manually.
11+
*/
12+
13+
import { StorageV1GitEnvironmentTemplate } from '../models/storageV1GitEnvironmentTemplate';
14+
15+
16+
export class StorageV1DevPodEnvironmentTemplateVersion {
17+
'git'?: StorageV1GitEnvironmentTemplate;
18+
/**
19+
* Version is the version. Needs to be in X.X.X format.
20+
*/
21+
'version'?: string;
22+
23+
static readonly discriminator: string | undefined = undefined;
24+
25+
static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [
26+
{
27+
"name": "git",
28+
"baseName": "git",
29+
"type": "StorageV1GitEnvironmentTemplate",
30+
"format": ""
31+
},
32+
{
33+
"name": "version",
34+
"baseName": "version",
35+
"type": "string",
36+
"format": ""
37+
} ];
38+
39+
static getAttributeTypeMap() {
40+
return StorageV1DevPodEnvironmentTemplateVersion.attributeTypeMap;
41+
}
42+
43+
public constructor() {
44+
}
45+
}
46+

gen/models/storageV1GitEnvironmentTemplate.ts

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,10 @@ export class StorageV1GitEnvironmentTemplate {
2828
* SubPath stores subpath within Repositor where environment spec is
2929
*/
3030
'subpath'?: string;
31+
/**
32+
* UseProjectGitCredentials specifies if the project git credentials should be used instead of local ones for this environment
33+
*/
34+
'useProjectGitCredentials'?: boolean;
3135

3236
static readonly discriminator: string | undefined = undefined;
3337

@@ -49,6 +53,12 @@ export class StorageV1GitEnvironmentTemplate {
4953
"baseName": "subpath",
5054
"type": "string",
5155
"format": ""
56+
},
57+
{
58+
"name": "useProjectGitCredentials",
59+
"baseName": "useProjectGitCredentials",
60+
"type": "boolean",
61+
"format": ""
5262
} ];
5363

5464
static getAttributeTypeMap() {

lib/index.d.ts

Lines changed: 38 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1597,7 +1597,7 @@ declare class ClusterV1SleepModeConfigSpec {
15971597
*/
15981598
"sleepSchedule"?: string;
15991599
/**
1600-
* Timezone specifies time zone used for scheduled space operations. Defaults to UTC. Accepts the same format as time.LoadLocation() in Go (https://pkg.go.dev/time#LoadLocation). The value should be a location name corresponding to a file in the IANA Time Zone database, such as \"America/New_York\".
1600+
* Timezone specifies time zone used for scheduled space operations. Defaults to UTC. Accepts the same format as time.LoadLocation() in Go (https://pkg.go.dev/time#LoadLocation). The value should be a location name corresponding to a file in the IANA Time Zone database, such as \"America/New_York\". See also: https://en.wikipedia.org/wiki/List_of_tz_database_time_zones
16011601
*/
16021602
"timezone"?: string;
16031603
/**
@@ -5455,6 +5455,31 @@ declare class StorageV1GitEnvironmentTemplate {
54555455
* SubPath stores subpath within Repositor where environment spec is
54565456
*/
54575457
"subpath"?: string;
5458+
/**
5459+
* UseProjectGitCredentials specifies if the project git credentials should be used instead of local ones for this environment
5460+
*/
5461+
"useProjectGitCredentials"?: boolean;
5462+
static readonly discriminator: string | undefined;
5463+
static readonly attributeTypeMap: Array<{
5464+
name: string;
5465+
baseName: string;
5466+
type: string;
5467+
format: string;
5468+
}>;
5469+
static getAttributeTypeMap(): {
5470+
name: string;
5471+
baseName: string;
5472+
type: string;
5473+
format: string;
5474+
}[];
5475+
constructor();
5476+
}
5477+
declare class StorageV1DevPodEnvironmentTemplateVersion {
5478+
"git"?: StorageV1GitEnvironmentTemplate;
5479+
/**
5480+
* Version is the version. Needs to be in X.X.X format.
5481+
*/
5482+
"version"?: string;
54585483
static readonly discriminator: string | undefined;
54595484
static readonly attributeTypeMap: Array<{
54605485
name: string;
@@ -5481,6 +5506,10 @@ declare class ManagementV1DevPodEnvironmentTemplateSpec {
54815506
"displayName"?: string;
54825507
"git"?: StorageV1GitEnvironmentTemplate;
54835508
"owner"?: StorageV1UserOrTeam;
5509+
/**
5510+
* Versions are different versions of the template that can be referenced as well
5511+
*/
5512+
"versions"?: Array<StorageV1DevPodEnvironmentTemplateVersion>;
54845513
static readonly discriminator: string | undefined;
54855514
static readonly attributeTypeMap: Array<{
54865515
name: string;
@@ -11344,6 +11373,10 @@ declare class ManagementV1ProjectTemplates {
1134411373
*/
1134511374
"apiVersion"?: string;
1134611375
/**
11376+
* DefaultDevPodEnvironmentTemplate
11377+
*/
11378+
"defaultDevPodEnvironmentTemplate"?: string;
11379+
/**
1134711380
* DefaultDevPodWorkspaceTemplate
1134811381
*/
1134911382
"defaultDevPodWorkspaceTemplate"?: string;
@@ -11356,6 +11389,10 @@ declare class ManagementV1ProjectTemplates {
1135611389
*/
1135711390
"defaultVirtualClusterTemplate"?: string;
1135811391
/**
11392+
* DevPodEnvironmentTemplates holds all the allowed environment templates
11393+
*/
11394+
"devPodEnvironmentTemplates"?: Array<ManagementV1DevPodEnvironmentTemplate>;
11395+
/**
1135911396
* DevPodWorkspaceTemplates holds all the allowed space templates
1136011397
*/
1136111398
"devPodWorkspaceTemplates"?: Array<ManagementV1DevPodWorkspaceTemplate>;

0 commit comments

Comments
 (0)