Skip to content

Commit 43e40a2

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

8 files changed

+268
-0
lines changed

gen/models/managementV1Authentication.ts

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,10 @@ export class ManagementV1Authentication {
4949
'gitlab'?: ManagementV1AuthenticationGitlab;
5050
'google'?: ManagementV1AuthenticationGoogle;
5151
/**
52+
* GroupsFilters is a regex expression to only save matching sso groups into the user resource
53+
*/
54+
'groupsFilters'?: Array<string>;
55+
/**
5256
* LoginAccessKeyTTLSeconds is the time in seconds an access key is kept until it is deleted. Leaving it unspecified will default to 20 days. Setting it to zero will disable the ttl. Specifying 2592000 will mean all keys have a default Time-To-Live of 30 days.
5357
*/
5458
'loginAccessKeyTTLSeconds'?: number;
@@ -109,6 +113,12 @@ export class ManagementV1Authentication {
109113
"type": "ManagementV1AuthenticationGoogle",
110114
"format": ""
111115
},
116+
{
117+
"name": "groupsFilters",
118+
"baseName": "groupsFilters",
119+
"type": "Array<string>",
120+
"format": ""
121+
},
112122
{
113123
"name": "loginAccessKeyTTLSeconds",
114124
"baseName": "loginAccessKeyTTLSeconds",

gen/models/managementV1DevPodWorkspaceInstanceSpec.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212

1313
import { StorageV1Access } from '../models/storageV1Access';
1414
import { StorageV1DevPodWorkspaceTemplateDefinition } from '../models/storageV1DevPodWorkspaceTemplateDefinition';
15+
import { StorageV1EnvironmentRef } from '../models/storageV1EnvironmentRef';
1516
import { StorageV1RunnerRef } from '../models/storageV1RunnerRef';
1617
import { StorageV1TemplateRef } from '../models/storageV1TemplateRef';
1718
import { StorageV1UserOrTeam } from '../models/storageV1UserOrTeam';
@@ -33,6 +34,7 @@ export class ManagementV1DevPodWorkspaceInstanceSpec {
3334
* DisplayName is the name that should be displayed in the UI
3435
*/
3536
'displayName'?: string;
37+
'environmentRef'?: StorageV1EnvironmentRef;
3638
'owner'?: StorageV1UserOrTeam;
3739
/**
3840
* Parameters are values to pass to the template. The values should be encoded as YAML string where each parameter is represented as a top-level field key.
@@ -63,6 +65,12 @@ export class ManagementV1DevPodWorkspaceInstanceSpec {
6365
"type": "string",
6466
"format": ""
6567
},
68+
{
69+
"name": "environmentRef",
70+
"baseName": "environmentRef",
71+
"type": "StorageV1EnvironmentRef",
72+
"format": ""
73+
},
6674
{
6775
"name": "owner",
6876
"baseName": "owner",
Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
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 { StorageV1DockerCredentialForwarding } from '../models/storageV1DockerCredentialForwarding';
14+
import { StorageV1GitCredentialForwarding } from '../models/storageV1GitCredentialForwarding';
15+
16+
17+
export class StorageV1CredentialForwarding {
18+
'docker'?: StorageV1DockerCredentialForwarding;
19+
'git'?: StorageV1GitCredentialForwarding;
20+
21+
static readonly discriminator: string | undefined = undefined;
22+
23+
static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [
24+
{
25+
"name": "docker",
26+
"baseName": "docker",
27+
"type": "StorageV1DockerCredentialForwarding",
28+
"format": ""
29+
},
30+
{
31+
"name": "git",
32+
"baseName": "git",
33+
"type": "StorageV1GitCredentialForwarding",
34+
"format": ""
35+
} ];
36+
37+
static getAttributeTypeMap() {
38+
return StorageV1CredentialForwarding.attributeTypeMap;
39+
}
40+
41+
public constructor() {
42+
}
43+
}
44+

gen/models/storageV1DevPodWorkspaceTemplateDefinition.ts

Lines changed: 8 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 { StorageV1CredentialForwarding } from '../models/storageV1CredentialForwarding';
1314
import { StorageV1DevPodProviderOption } from '../models/storageV1DevPodProviderOption';
1415
import { StorageV1DevPodWorkspaceInstanceTemplateDefinition } from '../models/storageV1DevPodWorkspaceInstanceTemplateDefinition';
1516
import { StorageV1DevPodWorkspaceProvider } from '../models/storageV1DevPodWorkspaceProvider';
@@ -19,6 +20,7 @@ import { StorageV1VirtualClusterTemplateDefinition } from '../models/storageV1Vi
1920

2021

2122
export class StorageV1DevPodWorkspaceTemplateDefinition {
23+
'credentialForwarding'?: StorageV1CredentialForwarding;
2224
/**
2325
* GitCloneStrategy specifies how git based workspace are being cloned. Can be \"\" (full, default), treeless, blobless or shallow Possible enum values: - `\"\"` - `\"blobless\"` - `\"shallow\"` - `\"treeless\"`
2426
*/
@@ -49,6 +51,12 @@ export class StorageV1DevPodWorkspaceTemplateDefinition {
4951
static readonly discriminator: string | undefined = undefined;
5052

5153
static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [
54+
{
55+
"name": "credentialForwarding",
56+
"baseName": "credentialForwarding",
57+
"type": "StorageV1CredentialForwarding",
58+
"format": ""
59+
},
5260
{
5361
"name": "gitCloneStrategy",
5462
"baseName": "gitCloneStrategy",
Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
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+
14+
15+
export class StorageV1DockerCredentialForwarding {
16+
/**
17+
* Disabled prevents all workspaces created by this template from forwarding credentials into the workspace
18+
*/
19+
'disabled'?: boolean;
20+
21+
static readonly discriminator: string | undefined = undefined;
22+
23+
static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [
24+
{
25+
"name": "disabled",
26+
"baseName": "disabled",
27+
"type": "boolean",
28+
"format": ""
29+
} ];
30+
31+
static getAttributeTypeMap() {
32+
return StorageV1DockerCredentialForwarding.attributeTypeMap;
33+
}
34+
35+
public constructor() {
36+
}
37+
}
38+

gen/models/storageV1EnvironmentRef.ts

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
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+
14+
15+
export class StorageV1EnvironmentRef {
16+
/**
17+
* Name is the name of DevPodEnvironmentTemplate this references
18+
*/
19+
'name': string;
20+
21+
static readonly discriminator: string | undefined = undefined;
22+
23+
static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [
24+
{
25+
"name": "name",
26+
"baseName": "name",
27+
"type": "string",
28+
"format": ""
29+
} ];
30+
31+
static getAttributeTypeMap() {
32+
return StorageV1EnvironmentRef.attributeTypeMap;
33+
}
34+
35+
public constructor() {
36+
}
37+
}
38+
Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
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+
14+
15+
export class StorageV1GitCredentialForwarding {
16+
/**
17+
* Disabled prevents all workspaces created by this template from forwarding credentials into the workspace
18+
*/
19+
'disabled'?: boolean;
20+
21+
static readonly discriminator: string | undefined = undefined;
22+
23+
static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [
24+
{
25+
"name": "disabled",
26+
"baseName": "disabled",
27+
"type": "boolean",
28+
"format": ""
29+
} ];
30+
31+
static getAttributeTypeMap() {
32+
return StorageV1GitCredentialForwarding.attributeTypeMap;
33+
}
34+
35+
public constructor() {
36+
}
37+
}
38+

lib/index.d.ts

Lines changed: 84 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5035,6 +5035,10 @@ declare class ManagementV1Authentication {
50355035
"gitlab"?: ManagementV1AuthenticationGitlab;
50365036
"google"?: ManagementV1AuthenticationGoogle;
50375037
/**
5038+
* GroupsFilters is a regex expression to only save matching sso groups into the user resource
5039+
*/
5040+
"groupsFilters"?: Array<string>;
5041+
/**
50385042
* LoginAccessKeyTTLSeconds is the time in seconds an access key is kept until it is deleted. Leaving it unspecified will default to 20 days. Setting it to zero will disable the ttl. Specifying 2592000 will mean all keys have a default Time-To-Live of 30 days.
50395043
*/
50405044
"loginAccessKeyTTLSeconds"?: number;
@@ -5551,6 +5555,64 @@ declare class ManagementV1DevPodWorkspaceInstanceState {
55515555
}[];
55525556
constructor();
55535557
}
5558+
declare class StorageV1DockerCredentialForwarding {
5559+
/**
5560+
* Disabled prevents all workspaces created by this template from forwarding credentials into the workspace
5561+
*/
5562+
"disabled"?: boolean;
5563+
static readonly discriminator: string | undefined;
5564+
static readonly attributeTypeMap: Array<{
5565+
name: string;
5566+
baseName: string;
5567+
type: string;
5568+
format: string;
5569+
}>;
5570+
static getAttributeTypeMap(): {
5571+
name: string;
5572+
baseName: string;
5573+
type: string;
5574+
format: string;
5575+
}[];
5576+
constructor();
5577+
}
5578+
declare class StorageV1GitCredentialForwarding {
5579+
/**
5580+
* Disabled prevents all workspaces created by this template from forwarding credentials into the workspace
5581+
*/
5582+
"disabled"?: boolean;
5583+
static readonly discriminator: string | undefined;
5584+
static readonly attributeTypeMap: Array<{
5585+
name: string;
5586+
baseName: string;
5587+
type: string;
5588+
format: string;
5589+
}>;
5590+
static getAttributeTypeMap(): {
5591+
name: string;
5592+
baseName: string;
5593+
type: string;
5594+
format: string;
5595+
}[];
5596+
constructor();
5597+
}
5598+
declare class StorageV1CredentialForwarding {
5599+
"docker"?: StorageV1DockerCredentialForwarding;
5600+
"git"?: StorageV1GitCredentialForwarding;
5601+
static readonly discriminator: string | undefined;
5602+
static readonly attributeTypeMap: Array<{
5603+
name: string;
5604+
baseName: string;
5605+
type: string;
5606+
format: string;
5607+
}>;
5608+
static getAttributeTypeMap(): {
5609+
name: string;
5610+
baseName: string;
5611+
type: string;
5612+
format: string;
5613+
}[];
5614+
constructor();
5615+
}
55545616
declare class StorageV1DevPodProviderOptionFrom {
55555617
"projectSecretRef"?: V1SecretKeySelector;
55565618
"sharedSecretRef"?: V1SecretKeySelector;
@@ -5716,6 +5778,7 @@ declare class StorageV1TemplateRef {
57165778
constructor();
57175779
}
57185780
declare class StorageV1DevPodWorkspaceTemplateDefinition {
5781+
"credentialForwarding"?: StorageV1CredentialForwarding;
57195782
/**
57205783
* GitCloneStrategy specifies how git based workspace are being cloned. Can be \"\" (full, default), treeless, blobless or shallow Possible enum values: - `\"\"` - `\"blobless\"` - `\"shallow\"` - `\"treeless\"`
57215784
*/
@@ -5767,6 +5830,26 @@ declare enum StorageV1DevPodWorkspaceTemplateDefinitionGitCloneStrategyEnum {
57675830
Shallow = "shallow",
57685831
Treeless = "treeless"
57695832
}
5833+
declare class StorageV1EnvironmentRef {
5834+
/**
5835+
* Name is the name of DevPodEnvironmentTemplate this references
5836+
*/
5837+
"name": string;
5838+
static readonly discriminator: string | undefined;
5839+
static readonly attributeTypeMap: Array<{
5840+
name: string;
5841+
baseName: string;
5842+
type: string;
5843+
format: string;
5844+
}>;
5845+
static getAttributeTypeMap(): {
5846+
name: string;
5847+
baseName: string;
5848+
type: string;
5849+
format: string;
5850+
}[];
5851+
constructor();
5852+
}
57705853
declare class StorageV1RunnerRef {
57715854
/**
57725855
* Runner is the connected runner the workspace will be created in
@@ -5800,6 +5883,7 @@ declare class ManagementV1DevPodWorkspaceInstanceSpec {
58005883
* DisplayName is the name that should be displayed in the UI
58015884
*/
58025885
"displayName"?: string;
5886+
"environmentRef"?: StorageV1EnvironmentRef;
58035887
"owner"?: StorageV1UserOrTeam;
58045888
/**
58055889
* Parameters are values to pass to the template. The values should be encoded as YAML string where each parameter is represented as a top-level field key.

0 commit comments

Comments
 (0)