Skip to content

Commit ea37b8d

Browse files
committed
[skip ci] repo-sync
1 parent 6448e84 commit ea37b8d

13 files changed

+474
-28
lines changed

gen/models/managementV1OIDC.ts

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

13-
import { ManagementV1OIDCClient } from '../models/managementV1OIDCClient';
13+
import { ManagementV1OIDCClientSpec } from '../models/managementV1OIDCClientSpec';
1414

1515

1616
/**
@@ -20,7 +20,7 @@ export class ManagementV1OIDC {
2020
/**
2121
* The clients that are allowed to request loft tokens
2222
*/
23-
'clients'?: Array<ManagementV1OIDCClient>;
23+
'clients'?: Array<ManagementV1OIDCClientSpec>;
2424
/**
2525
* If true indicates that loft will act as an OIDC server
2626
*/
@@ -36,7 +36,7 @@ export class ManagementV1OIDC {
3636
{
3737
"name": "clients",
3838
"baseName": "clients",
39-
"type": "Array<ManagementV1OIDCClient>",
39+
"type": "Array<ManagementV1OIDCClientSpec>",
4040
"format": ""
4141
},
4242
{

gen/models/managementV1OIDCClient.ts

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

13+
import { ManagementV1OIDCClientSpec } from '../models/managementV1OIDCClientSpec';
14+
import { V1ObjectMeta } from '../models/V1ObjectMeta';
1315

1416

1517
/**
16-
* OIDCClient holds information about a client
18+
* OIDCClient represents an OIDC client to use with Loft as an OIDC provider
1719
*/
1820
export class ManagementV1OIDCClient {
1921
/**
20-
* The client id of the client
22+
* APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
2123
*/
22-
'clientId'?: string;
24+
'apiVersion'?: string;
2325
/**
24-
* The client secret of the client
26+
* Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
2527
*/
26-
'clientSecret'?: string;
28+
'kind'?: string;
29+
'metadata'?: V1ObjectMeta;
30+
'spec'?: ManagementV1OIDCClientSpec;
2731
/**
28-
* The client name
32+
* OIDCClientStatus holds the status
2933
*/
30-
'name'?: string;
31-
/**
32-
* A registered set of redirect URIs. When redirecting from dex to the client, the URI requested to redirect to MUST match one of these values, unless the client is \"public\".
33-
*/
34-
'redirectURIs': Array<string>;
34+
'status'?: any;
3535

3636
static readonly discriminator: string | undefined = undefined;
3737

3838
static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [
3939
{
40-
"name": "clientId",
41-
"baseName": "clientId",
40+
"name": "apiVersion",
41+
"baseName": "apiVersion",
4242
"type": "string",
4343
"format": ""
4444
},
4545
{
46-
"name": "clientSecret",
47-
"baseName": "clientSecret",
46+
"name": "kind",
47+
"baseName": "kind",
4848
"type": "string",
4949
"format": ""
5050
},
5151
{
52-
"name": "name",
53-
"baseName": "name",
54-
"type": "string",
52+
"name": "metadata",
53+
"baseName": "metadata",
54+
"type": "V1ObjectMeta",
55+
"format": ""
56+
},
57+
{
58+
"name": "spec",
59+
"baseName": "spec",
60+
"type": "ManagementV1OIDCClientSpec",
5561
"format": ""
5662
},
5763
{
58-
"name": "redirectURIs",
59-
"baseName": "redirectURIs",
60-
"type": "Array<string>",
64+
"name": "status",
65+
"baseName": "status",
66+
"type": "any",
6167
"format": ""
6268
} ];
6369

Lines changed: 64 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,64 @@
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 { ManagementV1OIDCClient } from '../models/managementV1OIDCClient';
14+
import { V1ListMeta } from '../models/V1ListMeta';
15+
16+
17+
export class ManagementV1OIDCClientList {
18+
/**
19+
* APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
20+
*/
21+
'apiVersion'?: string;
22+
'items': Array<ManagementV1OIDCClient>;
23+
/**
24+
* Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
25+
*/
26+
'kind'?: string;
27+
'metadata'?: V1ListMeta;
28+
29+
static readonly discriminator: string | undefined = undefined;
30+
31+
static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [
32+
{
33+
"name": "apiVersion",
34+
"baseName": "apiVersion",
35+
"type": "string",
36+
"format": ""
37+
},
38+
{
39+
"name": "items",
40+
"baseName": "items",
41+
"type": "Array<ManagementV1OIDCClient>",
42+
"format": ""
43+
},
44+
{
45+
"name": "kind",
46+
"baseName": "kind",
47+
"type": "string",
48+
"format": ""
49+
},
50+
{
51+
"name": "metadata",
52+
"baseName": "metadata",
53+
"type": "V1ListMeta",
54+
"format": ""
55+
} ];
56+
57+
static getAttributeTypeMap() {
58+
return ManagementV1OIDCClientList.attributeTypeMap;
59+
}
60+
61+
public constructor() {
62+
}
63+
}
64+
Lines changed: 71 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,71 @@
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+
/**
16+
* OIDCClientSpec holds the specification
17+
*/
18+
export class ManagementV1OIDCClientSpec {
19+
/**
20+
* The client id of the client
21+
*/
22+
'clientId'?: string;
23+
/**
24+
* The client secret of the client
25+
*/
26+
'clientSecret'?: string;
27+
/**
28+
* The client name
29+
*/
30+
'name'?: string;
31+
/**
32+
* A registered set of redirect URIs. When redirecting from dex to the client, the URI requested to redirect to MUST match one of these values, unless the client is \"public\".
33+
*/
34+
'redirectURIs': Array<string>;
35+
36+
static readonly discriminator: string | undefined = undefined;
37+
38+
static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [
39+
{
40+
"name": "clientId",
41+
"baseName": "clientId",
42+
"type": "string",
43+
"format": ""
44+
},
45+
{
46+
"name": "clientSecret",
47+
"baseName": "clientSecret",
48+
"type": "string",
49+
"format": ""
50+
},
51+
{
52+
"name": "name",
53+
"baseName": "name",
54+
"type": "string",
55+
"format": ""
56+
},
57+
{
58+
"name": "redirectURIs",
59+
"baseName": "redirectURIs",
60+
"type": "Array<string>",
61+
"format": ""
62+
} ];
63+
64+
static getAttributeTypeMap() {
65+
return ManagementV1OIDCClientSpec.attributeTypeMap;
66+
}
67+
68+
public constructor() {
69+
}
70+
}
71+
Lines changed: 67 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,67 @@
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 { ManagementV1Runner } from '../models/managementV1Runner';
14+
import { V1ObjectMeta } from '../models/V1ObjectMeta';
15+
16+
17+
export class ManagementV1ProjectRunners {
18+
/**
19+
* APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
20+
*/
21+
'apiVersion'?: string;
22+
/**
23+
* Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
24+
*/
25+
'kind'?: string;
26+
'metadata'?: V1ObjectMeta;
27+
/**
28+
* Runners holds all the allowed runners
29+
*/
30+
'runners'?: Array<ManagementV1Runner>;
31+
32+
static readonly discriminator: string | undefined = undefined;
33+
34+
static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [
35+
{
36+
"name": "apiVersion",
37+
"baseName": "apiVersion",
38+
"type": "string",
39+
"format": ""
40+
},
41+
{
42+
"name": "kind",
43+
"baseName": "kind",
44+
"type": "string",
45+
"format": ""
46+
},
47+
{
48+
"name": "metadata",
49+
"baseName": "metadata",
50+
"type": "V1ObjectMeta",
51+
"format": ""
52+
},
53+
{
54+
"name": "runners",
55+
"baseName": "runners",
56+
"type": "Array<ManagementV1Runner>",
57+
"format": ""
58+
} ];
59+
60+
static getAttributeTypeMap() {
61+
return ManagementV1ProjectRunners.attributeTypeMap;
62+
}
63+
64+
public constructor() {
65+
}
66+
}
67+

gen/models/managementV1RunnerSpec.ts

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,10 @@ export class ManagementV1RunnerSpec {
3333
*/
3434
'displayName'?: string;
3535
/**
36+
* Endpoint is the hostname used to connect directly to the runner
37+
*/
38+
'endpoint'?: string;
39+
/**
3640
* NetworkPeerName is the network peer name used to connect directly to the runner
3741
*/
3842
'networkPeerName'?: string;
@@ -69,6 +73,12 @@ export class ManagementV1RunnerSpec {
6973
"type": "string",
7074
"format": ""
7175
},
76+
{
77+
"name": "endpoint",
78+
"baseName": "endpoint",
79+
"type": "string",
80+
"format": ""
81+
},
7282
{
7383
"name": "networkPeerName",
7484
"baseName": "networkPeerName",

gen/models/storageV1RunnerClusterRef.ts

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

1313
import { StorageV1RunnerPersistentVolumeClaimTemplate } from '../models/storageV1RunnerPersistentVolumeClaimTemplate';
1414
import { StorageV1RunnerPodTemplate } from '../models/storageV1RunnerPodTemplate';
15+
import { StorageV1RunnerServiceTemplate } from '../models/storageV1RunnerServiceTemplate';
1516

1617

1718
export class StorageV1RunnerClusterRef {
@@ -25,6 +26,7 @@ export class StorageV1RunnerClusterRef {
2526
'namespace'?: string;
2627
'persistentVolumeClaimTemplate'?: StorageV1RunnerPersistentVolumeClaimTemplate;
2728
'podTemplate'?: StorageV1RunnerPodTemplate;
29+
'serviceTemplate'?: StorageV1RunnerServiceTemplate;
2830

2931
static readonly discriminator: string | undefined = undefined;
3032

@@ -52,6 +54,12 @@ export class StorageV1RunnerClusterRef {
5254
"baseName": "podTemplate",
5355
"type": "StorageV1RunnerPodTemplate",
5456
"format": ""
57+
},
58+
{
59+
"name": "serviceTemplate",
60+
"baseName": "serviceTemplate",
61+
"type": "StorageV1RunnerServiceTemplate",
62+
"format": ""
5563
} ];
5664

5765
static getAttributeTypeMap() {

0 commit comments

Comments
 (0)