Skip to content

Commit dcf6d30

Browse files
committed
[skip ci] repo-sync
1 parent fddb5f1 commit dcf6d30

File tree

57 files changed

+4746
-74
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

57 files changed

+4746
-74
lines changed

gen/models/V1Taint.ts

Lines changed: 78 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,78 @@
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+
* The node this Taint is attached to has the \"effect\" on any pod that does not tolerate the Taint.
17+
*/
18+
export class V1Taint {
19+
/**
20+
* Required. The effect of the taint on pods that do not tolerate the taint. Valid effects are NoSchedule, PreferNoSchedule and NoExecute. Possible enum values: - `\"NoExecute\"` Evict any already-running pods that do not tolerate the taint. Currently enforced by NodeController. - `\"NoSchedule\"` Do not allow new pods to schedule onto the node unless they tolerate the taint, but allow all pods submitted to Kubelet without going through the scheduler to start, and allow all already-running pods to continue running. Enforced by the scheduler. - `\"PreferNoSchedule\"` Like TaintEffectNoSchedule, but the scheduler tries not to schedule new pods onto the node, rather than prohibiting new pods from scheduling onto the node entirely. Enforced by the scheduler.
21+
*/
22+
'effect': V1TaintEffectEnum;
23+
/**
24+
* Required. The taint key to be applied to a node.
25+
*/
26+
'key': string;
27+
/**
28+
* TimeAdded represents the time at which the taint was added. It is only written for NoExecute taints.
29+
*/
30+
'timeAdded'?: Date;
31+
/**
32+
* The taint value corresponding to the taint key.
33+
*/
34+
'value'?: 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": "effect",
41+
"baseName": "effect",
42+
"type": "V1TaintEffectEnum",
43+
"format": ""
44+
},
45+
{
46+
"name": "key",
47+
"baseName": "key",
48+
"type": "string",
49+
"format": ""
50+
},
51+
{
52+
"name": "timeAdded",
53+
"baseName": "timeAdded",
54+
"type": "Date",
55+
"format": "date-time"
56+
},
57+
{
58+
"name": "value",
59+
"baseName": "value",
60+
"type": "string",
61+
"format": ""
62+
} ];
63+
64+
static getAttributeTypeMap() {
65+
return V1Taint.attributeTypeMap;
66+
}
67+
68+
public constructor() {
69+
}
70+
}
71+
72+
73+
export enum V1TaintEffectEnum {
74+
NoExecute = 'NoExecute',
75+
NoSchedule = 'NoSchedule',
76+
PreferNoSchedule = 'PreferNoSchedule'
77+
}
78+

gen/models/managementV1KioskSpec.ts

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,9 @@ import { ClusterV1HelmRelease } from '../models/clusterV1HelmRelease';
1515
import { ClusterV1SleepModeConfig } from '../models/clusterV1SleepModeConfig';
1616
import { StorageV1ClusterQuota } from '../models/agentstorageV1ClusterQuota';
1717
import { ManagementV1License } from '../models/managementV1License';
18+
import { ManagementV1NodeProviderBCMGetResourcesResult } from '../models/managementV1NodeProviderBCMGetResourcesResult';
19+
import { ManagementV1NodeProviderBCMNodeWithResources } from '../models/managementV1NodeProviderBCMNodeWithResources';
20+
import { ManagementV1NodeProviderBCMTestConnectionResult } from '../models/managementV1NodeProviderBCMTestConnectionResult';
1821
import { UiV1UISettings } from '../models/uiV1UISettings';
1922

2023

@@ -23,6 +26,9 @@ export class ManagementV1KioskSpec {
2326
'chartInfo'?: ClusterV1ChartInfo;
2427
'helmRelease'?: ClusterV1HelmRelease;
2528
'license'?: ManagementV1License;
29+
'nodeProviderBCMGetResourcesResult'?: ManagementV1NodeProviderBCMGetResourcesResult;
30+
'nodeProviderBCMNodeWithResources'?: ManagementV1NodeProviderBCMNodeWithResources;
31+
'nodeProviderBCMTestConnectionResult'?: ManagementV1NodeProviderBCMTestConnectionResult;
2632
'sleepModeConfig'?: ClusterV1SleepModeConfig;
2733
'storageClusterQuota'?: StorageV1ClusterQuota;
2834

@@ -53,6 +59,24 @@ export class ManagementV1KioskSpec {
5359
"type": "ManagementV1License",
5460
"format": ""
5561
},
62+
{
63+
"name": "nodeProviderBCMGetResourcesResult",
64+
"baseName": "nodeProviderBCMGetResourcesResult",
65+
"type": "ManagementV1NodeProviderBCMGetResourcesResult",
66+
"format": ""
67+
},
68+
{
69+
"name": "nodeProviderBCMNodeWithResources",
70+
"baseName": "nodeProviderBCMNodeWithResources",
71+
"type": "ManagementV1NodeProviderBCMNodeWithResources",
72+
"format": ""
73+
},
74+
{
75+
"name": "nodeProviderBCMTestConnectionResult",
76+
"baseName": "nodeProviderBCMTestConnectionResult",
77+
"type": "ManagementV1NodeProviderBCMTestConnectionResult",
78+
"format": ""
79+
},
5680
{
5781
"name": "sleepModeConfig",
5882
"baseName": "sleepModeConfig",

gen/models/managementV1NodeClaim.ts

Lines changed: 75 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,75 @@
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 { ManagementV1NodeClaimSpec } from '../models/managementV1NodeClaimSpec';
14+
import { ManagementV1NodeClaimStatus } from '../models/managementV1NodeClaimStatus';
15+
import { V1ObjectMeta } from '../models/V1ObjectMeta';
16+
17+
18+
/**
19+
* NodeClaim holds the node claim for vCluster.
20+
*/
21+
export class ManagementV1NodeClaim {
22+
/**
23+
* 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
24+
*/
25+
'apiVersion'?: string;
26+
/**
27+
* 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
28+
*/
29+
'kind'?: string;
30+
'metadata'?: V1ObjectMeta;
31+
'spec'?: ManagementV1NodeClaimSpec;
32+
'status'?: ManagementV1NodeClaimStatus;
33+
34+
static readonly discriminator: string | undefined = undefined;
35+
36+
static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [
37+
{
38+
"name": "apiVersion",
39+
"baseName": "apiVersion",
40+
"type": "string",
41+
"format": ""
42+
},
43+
{
44+
"name": "kind",
45+
"baseName": "kind",
46+
"type": "string",
47+
"format": ""
48+
},
49+
{
50+
"name": "metadata",
51+
"baseName": "metadata",
52+
"type": "V1ObjectMeta",
53+
"format": ""
54+
},
55+
{
56+
"name": "spec",
57+
"baseName": "spec",
58+
"type": "ManagementV1NodeClaimSpec",
59+
"format": ""
60+
},
61+
{
62+
"name": "status",
63+
"baseName": "status",
64+
"type": "ManagementV1NodeClaimStatus",
65+
"format": ""
66+
} ];
67+
68+
static getAttributeTypeMap() {
69+
return ManagementV1NodeClaim.attributeTypeMap;
70+
}
71+
72+
public constructor() {
73+
}
74+
}
75+
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 { ManagementV1NodeClaim } from '../models/managementV1NodeClaim';
14+
import { V1ListMeta } from '../models/V1ListMeta';
15+
16+
17+
export class ManagementV1NodeClaimList {
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<ManagementV1NodeClaim>;
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<ManagementV1NodeClaim>",
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 ManagementV1NodeClaimList.attributeTypeMap;
59+
}
60+
61+
public constructor() {
62+
}
63+
}
64+
Lines changed: 113 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,113 @@
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 { V1NodeSelectorRequirement } from '../models/V1NodeSelectorRequirement';
14+
import { V1Taint } from '../models/V1Taint';
15+
16+
17+
/**
18+
* NodeClaimSpec defines spec of node claim.
19+
*/
20+
export class ManagementV1NodeClaimSpec {
21+
/**
22+
* ControlPlane indicates if the node claim is for a control plane node.
23+
*/
24+
'controlPlane'?: boolean;
25+
/**
26+
* DesiredCapacity specifies the resources requested by the NodeClaim.
27+
*/
28+
'desiredCapacity'?: { [key: string]: string; };
29+
/**
30+
* KubeletArgs are additional arguments to pass to the kubelet.
31+
*/
32+
'kubeletArgs'?: { [key: string]: string; };
33+
/**
34+
* NodeTypeRef is the name of the NodeType that this NodeClaim is based on.
35+
*/
36+
'nodeTypeRef'?: string;
37+
/**
38+
* Requirements are the requirements for the NodeClaim.
39+
*/
40+
'requirements'?: Array<V1NodeSelectorRequirement>;
41+
/**
42+
* StartupTaints are taints that are applied to nodes upon startup which are expected to be removed automatically within a short period of time, typically by a DaemonSet that tolerates the taint. These are commonly used by daemonsets to allow initialization and enforce startup ordering. StartupTaints are ignored for provisioning purposes in that pods are not required to tolerate a StartupTaint in order to have nodes provisioned for them.
43+
*/
44+
'startupTaints'?: Array<V1Taint>;
45+
/**
46+
* Taints will be applied to the NodeClaim\'s node.
47+
*/
48+
'taints'?: Array<V1Taint>;
49+
/**
50+
* VClusterRef references source vCluster. This is required.
51+
*/
52+
'vClusterRef': string;
53+
54+
static readonly discriminator: string | undefined = undefined;
55+
56+
static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [
57+
{
58+
"name": "controlPlane",
59+
"baseName": "controlPlane",
60+
"type": "boolean",
61+
"format": ""
62+
},
63+
{
64+
"name": "desiredCapacity",
65+
"baseName": "desiredCapacity",
66+
"type": "{ [key: string]: string; }",
67+
"format": ""
68+
},
69+
{
70+
"name": "kubeletArgs",
71+
"baseName": "kubeletArgs",
72+
"type": "{ [key: string]: string; }",
73+
"format": ""
74+
},
75+
{
76+
"name": "nodeTypeRef",
77+
"baseName": "nodeTypeRef",
78+
"type": "string",
79+
"format": ""
80+
},
81+
{
82+
"name": "requirements",
83+
"baseName": "requirements",
84+
"type": "Array<V1NodeSelectorRequirement>",
85+
"format": ""
86+
},
87+
{
88+
"name": "startupTaints",
89+
"baseName": "startupTaints",
90+
"type": "Array<V1Taint>",
91+
"format": ""
92+
},
93+
{
94+
"name": "taints",
95+
"baseName": "taints",
96+
"type": "Array<V1Taint>",
97+
"format": ""
98+
},
99+
{
100+
"name": "vClusterRef",
101+
"baseName": "vClusterRef",
102+
"type": "string",
103+
"format": ""
104+
} ];
105+
106+
static getAttributeTypeMap() {
107+
return ManagementV1NodeClaimSpec.attributeTypeMap;
108+
}
109+
110+
public constructor() {
111+
}
112+
}
113+

0 commit comments

Comments
 (0)