/
v1ResourceRule.ts
64 lines (58 loc) · 2.2 KB
/
v1ResourceRule.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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
/**
* 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';
/**
* ResourceRule is the list of actions the subject is allowed to perform on resources. The list ordering isn\'t significant, may contain duplicates, and possibly be incomplete.
*/
export class V1ResourceRule {
/**
* APIGroups is the name of the APIGroup that contains the resources. If multiple API groups are specified, any action requested against one of the enumerated resources in any API group will be allowed. \"*\" means all.
*/
'apiGroups'?: Array<string>;
/**
* ResourceNames is an optional white list of names that the rule applies to. An empty set means that everything is allowed. \"*\" means all.
*/
'resourceNames'?: Array<string>;
/**
* Resources is a list of resources this rule applies to. \"*\" means all in the specified apiGroups. \"*_/foo\" represents the subresource \'foo\' for all resources in the specified apiGroups.
*/
'resources'?: Array<string>;
/**
* Verb is a list of kubernetes resource API verbs, like: get, list, watch, create, update, delete, proxy. \"*\" means all.
*/
'verbs': Array<string>;
static discriminator: string | undefined = undefined;
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "apiGroups",
"baseName": "apiGroups",
"type": "Array<string>"
},
{
"name": "resourceNames",
"baseName": "resourceNames",
"type": "Array<string>"
},
{
"name": "resources",
"baseName": "resources",
"type": "Array<string>"
},
{
"name": "verbs",
"baseName": "verbs",
"type": "Array<string>"
} ];
static getAttributeTypeMap() {
return V1ResourceRule.attributeTypeMap;
}
}