/
v1ClaimSource.ts
46 lines (40 loc) · 1.9 KB
/
v1ClaimSource.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
/**
* Kubernetes
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
* The version of the OpenAPI document: release-1.28
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
import { RequestFile } from './models';
/**
* ClaimSource describes a reference to a ResourceClaim. Exactly one of these fields should be set. Consumers of this type must treat an empty object as if it has an unknown value.
*/
export class V1ClaimSource {
/**
* ResourceClaimName is the name of a ResourceClaim object in the same namespace as this pod.
*/
'resourceClaimName'?: string;
/**
* ResourceClaimTemplateName is the name of a ResourceClaimTemplate object in the same namespace as this pod. The template will be used to create a new ResourceClaim, which will be bound to this pod. When this pod is deleted, the ResourceClaim will also be deleted. The pod name and resource name, along with a generated component, will be used to form a unique name for the ResourceClaim, which will be recorded in pod.status.resourceClaimStatuses. This field is immutable and no changes will be made to the corresponding ResourceClaim by the control plane after creating the ResourceClaim.
*/
'resourceClaimTemplateName'?: string;
static discriminator: string | undefined = undefined;
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "resourceClaimName",
"baseName": "resourceClaimName",
"type": "string"
},
{
"name": "resourceClaimTemplateName",
"baseName": "resourceClaimTemplateName",
"type": "string"
} ];
static getAttributeTypeMap() {
return V1ClaimSource.attributeTypeMap;
}
}