DRA API: s/v1beta2/v1/ and generated files

This commit is contained in:
Patrick Ohly 2025-07-03 13:29:02 +02:00
parent 1f2f433f76
commit 4e592f6c14
136 changed files with 18516 additions and 1433 deletions

View file

@ -52,6 +52,11 @@ API rule violation: names_match,k8s.io/api/core/v1,VolumeSource,CephFS
API rule violation: names_match,k8s.io/api/core/v1,VolumeSource,StorageOS
API rule violation: names_match,k8s.io/api/networking/v1,ServiceCIDRSpec,CIDRs
API rule violation: names_match,k8s.io/api/networking/v1beta1,ServiceCIDRSpec,CIDRs
API rule violation: names_match,k8s.io/api/resource/v1,DeviceAttribute,BoolValue
API rule violation: names_match,k8s.io/api/resource/v1,DeviceAttribute,IntValue
API rule violation: names_match,k8s.io/api/resource/v1,DeviceAttribute,StringValue
API rule violation: names_match,k8s.io/api/resource/v1,DeviceAttribute,VersionValue
API rule violation: names_match,k8s.io/api/resource/v1,NetworkDeviceData,IPs
API rule violation: names_match,k8s.io/api/resource/v1beta1,DeviceAttribute,BoolValue
API rule violation: names_match,k8s.io/api/resource/v1beta1,DeviceAttribute,IntValue
API rule violation: names_match,k8s.io/api/resource/v1beta1,DeviceAttribute,StringValue

View file

@ -1792,6 +1792,107 @@
"name": "resource.k8s.io"
},
"versions": [
{
"freshness": "Current",
"resources": [
{
"resource": "deviceclasses",
"responseKind": {
"group": "",
"kind": "DeviceClass",
"version": ""
},
"scope": "Cluster",
"singularResource": "deviceclass",
"verbs": [
"create",
"delete",
"deletecollection",
"get",
"list",
"patch",
"update",
"watch"
]
},
{
"resource": "resourceclaims",
"responseKind": {
"group": "",
"kind": "ResourceClaim",
"version": ""
},
"scope": "Namespaced",
"singularResource": "resourceclaim",
"subresources": [
{
"responseKind": {
"group": "",
"kind": "ResourceClaim",
"version": ""
},
"subresource": "status",
"verbs": [
"get",
"patch",
"update"
]
}
],
"verbs": [
"create",
"delete",
"deletecollection",
"get",
"list",
"patch",
"update",
"watch"
]
},
{
"resource": "resourceclaimtemplates",
"responseKind": {
"group": "",
"kind": "ResourceClaimTemplate",
"version": ""
},
"scope": "Namespaced",
"singularResource": "resourceclaimtemplate",
"verbs": [
"create",
"delete",
"deletecollection",
"get",
"list",
"patch",
"update",
"watch"
]
},
{
"resource": "resourceslices",
"responseKind": {
"group": "",
"kind": "ResourceSlice",
"version": ""
},
"scope": "Cluster",
"singularResource": "resourceslice",
"verbs": [
"create",
"delete",
"deletecollection",
"get",
"list",
"patch",
"update",
"watch"
]
}
],
"version": "v1"
},
{
"freshness": "Current",
"resources": [

View file

@ -278,10 +278,14 @@
{
"name": "resource.k8s.io",
"preferredVersion": {
"groupVersion": "resource.k8s.io/v1beta2",
"version": "v1beta2"
"groupVersion": "resource.k8s.io/v1",
"version": "v1"
},
"versions": [
{
"groupVersion": "resource.k8s.io/v1",
"version": "v1"
},
{
"groupVersion": "resource.k8s.io/v1beta2",
"version": "v1beta2"

View file

@ -3,10 +3,14 @@
"kind": "APIGroup",
"name": "resource.k8s.io",
"preferredVersion": {
"groupVersion": "resource.k8s.io/v1beta2",
"version": "v1beta2"
"groupVersion": "resource.k8s.io/v1",
"version": "v1"
},
"versions": [
{
"groupVersion": "resource.k8s.io/v1",
"version": "v1"
},
{
"groupVersion": "resource.k8s.io/v1beta2",
"version": "v1beta2"

View file

@ -0,0 +1,86 @@
{
"apiVersion": "v1",
"groupVersion": "resource.k8s.io/v1",
"kind": "APIResourceList",
"resources": [
{
"kind": "DeviceClass",
"name": "deviceclasses",
"namespaced": false,
"singularName": "deviceclass",
"storageVersionHash": "OgEE055Fbnc=",
"verbs": [
"create",
"delete",
"deletecollection",
"get",
"list",
"patch",
"update",
"watch"
]
},
{
"kind": "ResourceClaim",
"name": "resourceclaims",
"namespaced": true,
"singularName": "resourceclaim",
"storageVersionHash": "RnQSwRxMnsw=",
"verbs": [
"create",
"delete",
"deletecollection",
"get",
"list",
"patch",
"update",
"watch"
]
},
{
"kind": "ResourceClaim",
"name": "resourceclaims/status",
"namespaced": true,
"singularName": "",
"verbs": [
"get",
"patch",
"update"
]
},
{
"kind": "ResourceClaimTemplate",
"name": "resourceclaimtemplates",
"namespaced": true,
"singularName": "resourceclaimtemplate",
"storageVersionHash": "F6aZtQPvFlU=",
"verbs": [
"create",
"delete",
"deletecollection",
"get",
"list",
"patch",
"update",
"watch"
]
},
{
"kind": "ResourceSlice",
"name": "resourceslices",
"namespaced": false,
"singularName": "resourceslice",
"storageVersionHash": "7r9IQQZblMY=",
"verbs": [
"create",
"delete",
"deletecollection",
"get",
"list",
"patch",
"update",
"watch"
]
}
]
}

File diff suppressed because it is too large Load diff

View file

@ -9235,6 +9235,11 @@
"kind": "DeleteOptions",
"version": "v1beta1"
},
{
"group": "resource.k8s.io",
"kind": "DeleteOptions",
"version": "v1"
},
{
"group": "resource.k8s.io",
"kind": "DeleteOptions",
@ -9986,6 +9991,11 @@
"kind": "WatchEvent",
"version": "v1beta1"
},
{
"group": "resource.k8s.io",
"kind": "WatchEvent",
"version": "v1"
},
{
"group": "resource.k8s.io",
"kind": "WatchEvent",

View file

@ -1562,6 +1562,11 @@
"kind": "DeleteOptions",
"version": "v1beta1"
},
{
"group": "resource.k8s.io",
"kind": "DeleteOptions",
"version": "v1"
},
{
"group": "resource.k8s.io",
"kind": "DeleteOptions",
@ -2308,6 +2313,11 @@
"kind": "WatchEvent",
"version": "v1beta1"
},
{
"group": "resource.k8s.io",
"kind": "WatchEvent",
"version": "v1"
},
{
"group": "resource.k8s.io",
"kind": "WatchEvent",

View file

@ -926,6 +926,11 @@
"kind": "DeleteOptions",
"version": "v1beta1"
},
{
"group": "resource.k8s.io",
"kind": "DeleteOptions",
"version": "v1"
},
{
"group": "resource.k8s.io",
"kind": "DeleteOptions",
@ -1672,6 +1677,11 @@
"kind": "WatchEvent",
"version": "v1beta1"
},
{
"group": "resource.k8s.io",
"kind": "WatchEvent",
"version": "v1"
},
{
"group": "resource.k8s.io",
"kind": "WatchEvent",

View file

@ -928,6 +928,11 @@
"kind": "DeleteOptions",
"version": "v1beta1"
},
{
"group": "resource.k8s.io",
"kind": "DeleteOptions",
"version": "v1"
},
{
"group": "resource.k8s.io",
"kind": "DeleteOptions",
@ -1674,6 +1679,11 @@
"kind": "WatchEvent",
"version": "v1beta1"
},
{
"group": "resource.k8s.io",
"kind": "WatchEvent",
"version": "v1"
},
{
"group": "resource.k8s.io",
"kind": "WatchEvent",

View file

@ -1285,6 +1285,11 @@
"kind": "DeleteOptions",
"version": "v1beta1"
},
{
"group": "resource.k8s.io",
"kind": "DeleteOptions",
"version": "v1"
},
{
"group": "resource.k8s.io",
"kind": "DeleteOptions",
@ -1974,6 +1979,11 @@
"kind": "WatchEvent",
"version": "v1beta1"
},
{
"group": "resource.k8s.io",
"kind": "WatchEvent",
"version": "v1"
},
{
"group": "resource.k8s.io",
"kind": "WatchEvent",

View file

@ -418,6 +418,11 @@
"kind": "DeleteOptions",
"version": "v1beta1"
},
{
"group": "resource.k8s.io",
"kind": "DeleteOptions",
"version": "v1"
},
{
"group": "resource.k8s.io",
"kind": "DeleteOptions",
@ -1107,6 +1112,11 @@
"kind": "WatchEvent",
"version": "v1beta1"
},
{
"group": "resource.k8s.io",
"kind": "WatchEvent",
"version": "v1"
},
{
"group": "resource.k8s.io",
"kind": "WatchEvent",

View file

@ -5900,6 +5900,11 @@
"kind": "DeleteOptions",
"version": "v1beta1"
},
{
"group": "resource.k8s.io",
"kind": "DeleteOptions",
"version": "v1"
},
{
"group": "resource.k8s.io",
"kind": "DeleteOptions",
@ -6646,6 +6651,11 @@
"kind": "WatchEvent",
"version": "v1beta1"
},
{
"group": "resource.k8s.io",
"kind": "WatchEvent",
"version": "v1"
},
{
"group": "resource.k8s.io",
"kind": "WatchEvent",

View file

@ -611,6 +611,11 @@
"kind": "DeleteOptions",
"version": "v1beta1"
},
{
"group": "resource.k8s.io",
"kind": "DeleteOptions",
"version": "v1"
},
{
"group": "resource.k8s.io",
"kind": "DeleteOptions",
@ -1300,6 +1305,11 @@
"kind": "WatchEvent",
"version": "v1beta1"
},
{
"group": "resource.k8s.io",
"kind": "WatchEvent",
"version": "v1"
},
{
"group": "resource.k8s.io",
"kind": "WatchEvent",

View file

@ -1271,6 +1271,11 @@
"kind": "DeleteOptions",
"version": "v1beta1"
},
{
"group": "resource.k8s.io",
"kind": "DeleteOptions",
"version": "v1"
},
{
"group": "resource.k8s.io",
"kind": "DeleteOptions",
@ -2017,6 +2022,11 @@
"kind": "WatchEvent",
"version": "v1beta1"
},
{
"group": "resource.k8s.io",
"kind": "WatchEvent",
"version": "v1"
},
{
"group": "resource.k8s.io",
"kind": "WatchEvent",

View file

@ -5092,6 +5092,11 @@
"kind": "DeleteOptions",
"version": "v1beta1"
},
{
"group": "resource.k8s.io",
"kind": "DeleteOptions",
"version": "v1"
},
{
"group": "resource.k8s.io",
"kind": "DeleteOptions",
@ -5838,6 +5843,11 @@
"kind": "WatchEvent",
"version": "v1beta1"
},
{
"group": "resource.k8s.io",
"kind": "WatchEvent",
"version": "v1"
},
{
"group": "resource.k8s.io",
"kind": "WatchEvent",

View file

@ -647,6 +647,11 @@
"kind": "DeleteOptions",
"version": "v1beta1"
},
{
"group": "resource.k8s.io",
"kind": "DeleteOptions",
"version": "v1"
},
{
"group": "resource.k8s.io",
"kind": "DeleteOptions",
@ -1336,6 +1341,11 @@
"kind": "WatchEvent",
"version": "v1beta1"
},
{
"group": "resource.k8s.io",
"kind": "WatchEvent",
"version": "v1"
},
{
"group": "resource.k8s.io",
"kind": "WatchEvent",

View file

@ -785,6 +785,11 @@
"kind": "DeleteOptions",
"version": "v1beta1"
},
{
"group": "resource.k8s.io",
"kind": "DeleteOptions",
"version": "v1"
},
{
"group": "resource.k8s.io",
"kind": "DeleteOptions",
@ -1474,6 +1479,11 @@
"kind": "WatchEvent",
"version": "v1beta1"
},
{
"group": "resource.k8s.io",
"kind": "WatchEvent",
"version": "v1"
},
{
"group": "resource.k8s.io",
"kind": "WatchEvent",

View file

@ -523,6 +523,11 @@
"kind": "DeleteOptions",
"version": "v1beta1"
},
{
"group": "resource.k8s.io",
"kind": "DeleteOptions",
"version": "v1"
},
{
"group": "resource.k8s.io",
"kind": "DeleteOptions",
@ -1212,6 +1217,11 @@
"kind": "WatchEvent",
"version": "v1beta1"
},
{
"group": "resource.k8s.io",
"kind": "WatchEvent",
"version": "v1"
},
{
"group": "resource.k8s.io",
"kind": "WatchEvent",

View file

@ -546,6 +546,11 @@
"kind": "DeleteOptions",
"version": "v1beta1"
},
{
"group": "resource.k8s.io",
"kind": "DeleteOptions",
"version": "v1"
},
{
"group": "resource.k8s.io",
"kind": "DeleteOptions",
@ -1240,6 +1245,11 @@
"kind": "WatchEvent",
"version": "v1beta1"
},
{
"group": "resource.k8s.io",
"kind": "WatchEvent",
"version": "v1"
},
{
"group": "resource.k8s.io",
"kind": "WatchEvent",

View file

@ -547,6 +547,11 @@
"kind": "DeleteOptions",
"version": "v1beta1"
},
{
"group": "resource.k8s.io",
"kind": "DeleteOptions",
"version": "v1"
},
{
"group": "resource.k8s.io",
"kind": "DeleteOptions",
@ -1241,6 +1246,11 @@
"kind": "WatchEvent",
"version": "v1beta1"
},
{
"group": "resource.k8s.io",
"kind": "WatchEvent",
"version": "v1"
},
{
"group": "resource.k8s.io",
"kind": "WatchEvent",

View file

@ -547,6 +547,11 @@
"kind": "DeleteOptions",
"version": "v1beta1"
},
{
"group": "resource.k8s.io",
"kind": "DeleteOptions",
"version": "v1"
},
{
"group": "resource.k8s.io",
"kind": "DeleteOptions",
@ -1241,6 +1246,11 @@
"kind": "WatchEvent",
"version": "v1beta1"
},
{
"group": "resource.k8s.io",
"kind": "WatchEvent",
"version": "v1"
},
{
"group": "resource.k8s.io",
"kind": "WatchEvent",

View file

@ -728,6 +728,11 @@
"kind": "DeleteOptions",
"version": "v1beta1"
},
{
"group": "resource.k8s.io",
"kind": "DeleteOptions",
"version": "v1"
},
{
"group": "resource.k8s.io",
"kind": "DeleteOptions",
@ -1417,6 +1422,11 @@
"kind": "WatchEvent",
"version": "v1beta1"
},
{
"group": "resource.k8s.io",
"kind": "WatchEvent",
"version": "v1"
},
{
"group": "resource.k8s.io",
"kind": "WatchEvent",

View file

@ -656,6 +656,11 @@
"kind": "DeleteOptions",
"version": "v1beta1"
},
{
"group": "resource.k8s.io",
"kind": "DeleteOptions",
"version": "v1"
},
{
"group": "resource.k8s.io",
"kind": "DeleteOptions",
@ -1350,6 +1355,11 @@
"kind": "WatchEvent",
"version": "v1beta1"
},
{
"group": "resource.k8s.io",
"kind": "WatchEvent",
"version": "v1"
},
{
"group": "resource.k8s.io",
"kind": "WatchEvent",

View file

@ -1147,6 +1147,11 @@
"kind": "DeleteOptions",
"version": "v1beta1"
},
{
"group": "resource.k8s.io",
"kind": "DeleteOptions",
"version": "v1"
},
{
"group": "resource.k8s.io",
"kind": "DeleteOptions",
@ -1836,6 +1841,11 @@
"kind": "WatchEvent",
"version": "v1beta1"
},
{
"group": "resource.k8s.io",
"kind": "WatchEvent",
"version": "v1"
},
{
"group": "resource.k8s.io",
"kind": "WatchEvent",

View file

@ -637,6 +637,11 @@
"kind": "DeleteOptions",
"version": "v1beta1"
},
{
"group": "resource.k8s.io",
"kind": "DeleteOptions",
"version": "v1"
},
{
"group": "resource.k8s.io",
"kind": "DeleteOptions",
@ -1326,6 +1331,11 @@
"kind": "WatchEvent",
"version": "v1beta1"
},
{
"group": "resource.k8s.io",
"kind": "WatchEvent",
"version": "v1"
},
{
"group": "resource.k8s.io",
"kind": "WatchEvent",

View file

@ -1521,6 +1521,11 @@
"kind": "DeleteOptions",
"version": "v1beta1"
},
{
"group": "resource.k8s.io",
"kind": "DeleteOptions",
"version": "v1"
},
{
"group": "resource.k8s.io",
"kind": "DeleteOptions",
@ -2267,6 +2272,11 @@
"kind": "WatchEvent",
"version": "v1beta1"
},
{
"group": "resource.k8s.io",
"kind": "WatchEvent",
"version": "v1"
},
{
"group": "resource.k8s.io",
"kind": "WatchEvent",

View file

@ -723,6 +723,11 @@
"kind": "DeleteOptions",
"version": "v1beta1"
},
{
"group": "resource.k8s.io",
"kind": "DeleteOptions",
"version": "v1"
},
{
"group": "resource.k8s.io",
"kind": "DeleteOptions",
@ -1412,6 +1417,11 @@
"kind": "WatchEvent",
"version": "v1beta1"
},
{
"group": "resource.k8s.io",
"kind": "WatchEvent",
"version": "v1"
},
{
"group": "resource.k8s.io",
"kind": "WatchEvent",

View file

@ -596,6 +596,11 @@
"kind": "DeleteOptions",
"version": "v1beta1"
},
{
"group": "resource.k8s.io",
"kind": "DeleteOptions",
"version": "v1"
},
{
"group": "resource.k8s.io",
"kind": "DeleteOptions",
@ -1285,6 +1290,11 @@
"kind": "WatchEvent",
"version": "v1beta1"
},
{
"group": "resource.k8s.io",
"kind": "WatchEvent",
"version": "v1"
},
{
"group": "resource.k8s.io",
"kind": "WatchEvent",

View file

@ -658,6 +658,11 @@
"kind": "DeleteOptions",
"version": "v1beta1"
},
{
"group": "resource.k8s.io",
"kind": "DeleteOptions",
"version": "v1"
},
{
"group": "resource.k8s.io",
"kind": "DeleteOptions",
@ -1404,6 +1409,11 @@
"kind": "WatchEvent",
"version": "v1beta1"
},
{
"group": "resource.k8s.io",
"kind": "WatchEvent",
"version": "v1"
},
{
"group": "resource.k8s.io",
"kind": "WatchEvent",

View file

@ -931,6 +931,11 @@
"kind": "DeleteOptions",
"version": "v1beta1"
},
{
"group": "resource.k8s.io",
"kind": "DeleteOptions",
"version": "v1"
},
{
"group": "resource.k8s.io",
"kind": "DeleteOptions",
@ -1677,6 +1682,11 @@
"kind": "WatchEvent",
"version": "v1beta1"
},
{
"group": "resource.k8s.io",
"kind": "WatchEvent",
"version": "v1"
},
{
"group": "resource.k8s.io",
"kind": "WatchEvent",

File diff suppressed because it is too large Load diff

View file

@ -626,6 +626,11 @@
"kind": "DeleteOptions",
"version": "v1beta1"
},
{
"group": "resource.k8s.io",
"kind": "DeleteOptions",
"version": "v1"
},
{
"group": "resource.k8s.io",
"kind": "DeleteOptions",
@ -1315,6 +1320,11 @@
"kind": "WatchEvent",
"version": "v1beta1"
},
{
"group": "resource.k8s.io",
"kind": "WatchEvent",
"version": "v1"
},
{
"group": "resource.k8s.io",
"kind": "WatchEvent",

View file

@ -1928,6 +1928,11 @@
"kind": "DeleteOptions",
"version": "v1beta1"
},
{
"group": "resource.k8s.io",
"kind": "DeleteOptions",
"version": "v1"
},
{
"group": "resource.k8s.io",
"kind": "DeleteOptions",
@ -2617,6 +2622,11 @@
"kind": "WatchEvent",
"version": "v1beta1"
},
{
"group": "resource.k8s.io",
"kind": "WatchEvent",
"version": "v1"
},
{
"group": "resource.k8s.io",
"kind": "WatchEvent",

View file

@ -1931,6 +1931,11 @@
"kind": "DeleteOptions",
"version": "v1beta1"
},
{
"group": "resource.k8s.io",
"kind": "DeleteOptions",
"version": "v1"
},
{
"group": "resource.k8s.io",
"kind": "DeleteOptions",
@ -2620,6 +2625,11 @@
"kind": "WatchEvent",
"version": "v1beta1"
},
{
"group": "resource.k8s.io",
"kind": "WatchEvent",
"version": "v1"
},
{
"group": "resource.k8s.io",
"kind": "WatchEvent",

View file

@ -514,6 +514,11 @@
"kind": "DeleteOptions",
"version": "v1beta1"
},
{
"group": "resource.k8s.io",
"kind": "DeleteOptions",
"version": "v1"
},
{
"group": "resource.k8s.io",
"kind": "DeleteOptions",
@ -1203,6 +1208,11 @@
"kind": "WatchEvent",
"version": "v1beta1"
},
{
"group": "resource.k8s.io",
"kind": "WatchEvent",
"version": "v1"
},
{
"group": "resource.k8s.io",
"kind": "WatchEvent",

View file

@ -2386,6 +2386,11 @@
"kind": "DeleteOptions",
"version": "v1beta1"
},
{
"group": "resource.k8s.io",
"kind": "DeleteOptions",
"version": "v1"
},
{
"group": "resource.k8s.io",
"kind": "DeleteOptions",
@ -3132,6 +3137,11 @@
"kind": "WatchEvent",
"version": "v1beta1"
},
{
"group": "resource.k8s.io",
"kind": "WatchEvent",
"version": "v1"
},
{
"group": "resource.k8s.io",
"kind": "WatchEvent",

View file

@ -509,6 +509,11 @@
"kind": "DeleteOptions",
"version": "v1beta1"
},
{
"group": "resource.k8s.io",
"kind": "DeleteOptions",
"version": "v1"
},
{
"group": "resource.k8s.io",
"kind": "DeleteOptions",
@ -1198,6 +1203,11 @@
"kind": "WatchEvent",
"version": "v1beta1"
},
{
"group": "resource.k8s.io",
"kind": "WatchEvent",
"version": "v1"
},
{
"group": "resource.k8s.io",
"kind": "WatchEvent",

View file

@ -509,6 +509,11 @@
"kind": "DeleteOptions",
"version": "v1beta1"
},
{
"group": "resource.k8s.io",
"kind": "DeleteOptions",
"version": "v1"
},
{
"group": "resource.k8s.io",
"kind": "DeleteOptions",
@ -1198,6 +1203,11 @@
"kind": "WatchEvent",
"version": "v1beta1"
},
{
"group": "resource.k8s.io",
"kind": "WatchEvent",
"version": "v1"
},
{
"group": "resource.k8s.io",
"kind": "WatchEvent",

View file

@ -621,6 +621,11 @@
"kind": "DeleteOptions",
"version": "v1beta1"
},
{
"group": "resource.k8s.io",
"kind": "DeleteOptions",
"version": "v1"
},
{
"group": "resource.k8s.io",
"kind": "DeleteOptions",
@ -1310,6 +1315,11 @@
"kind": "WatchEvent",
"version": "v1beta1"
},
{
"group": "resource.k8s.io",
"kind": "WatchEvent",
"version": "v1"
},
{
"group": "resource.k8s.io",
"kind": "WatchEvent",

View file

@ -94,6 +94,7 @@ coordination.k8s.io/v1beta1 \
coordination.k8s.io/v1 \
discovery.k8s.io/v1 \
discovery.k8s.io/v1beta1 \
resource.k8s.io/v1 \
resource.k8s.io/v1beta2 \
resource.k8s.io/v1beta1 \
resource.k8s.io/v1alpha3 \

View file

@ -14,12 +14,12 @@ See the License for the specific language governing permissions and
limitations under the License.
*/
package v1beta2
package v1
import (
"fmt"
resourceapi "k8s.io/api/resource/v1beta2"
resourceapi "k8s.io/api/resource/v1"
"k8s.io/apimachinery/pkg/runtime"
)

View file

@ -14,12 +14,12 @@ See the License for the specific language governing permissions and
limitations under the License.
*/
package v1beta2
package v1
import (
"time"
resourceapi "k8s.io/api/resource/v1beta2"
resourceapi "k8s.io/api/resource/v1"
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
"k8s.io/apimachinery/pkg/runtime"
)

View file

@ -14,7 +14,7 @@ See the License for the specific language governing permissions and
limitations under the License.
*/
package v1beta2_test
package v1_test
import (
"reflect"
@ -23,7 +23,7 @@ import (
"github.com/stretchr/testify/assert"
v1beta2 "k8s.io/api/resource/v1beta2"
v1 "k8s.io/api/resource/v1"
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
"k8s.io/apimachinery/pkg/runtime"
"k8s.io/utils/ptr"
@ -34,12 +34,12 @@ import (
)
func TestSetDefaultAllocationMode(t *testing.T) {
claim := &v1beta2.ResourceClaim{
Spec: v1beta2.ResourceClaimSpec{
Devices: v1beta2.DeviceClaim{
Requests: []v1beta2.DeviceRequest{
claim := &v1.ResourceClaim{
Spec: v1.ResourceClaimSpec{
Devices: v1.DeviceClaim{
Requests: []v1.DeviceRequest{
{
Exactly: &v1beta2.ExactDeviceRequest{},
Exactly: &v1.ExactDeviceRequest{},
},
},
},
@ -47,20 +47,20 @@ func TestSetDefaultAllocationMode(t *testing.T) {
}
// fields should be defaulted
defaultMode := v1beta2.DeviceAllocationModeExactCount
defaultMode := v1.DeviceAllocationModeExactCount
defaultCount := int64(1)
output := roundTrip(t, runtime.Object(claim)).(*v1beta2.ResourceClaim)
output := roundTrip(t, runtime.Object(claim)).(*v1.ResourceClaim)
assert.Equal(t, defaultMode, output.Spec.Devices.Requests[0].Exactly.AllocationMode)
assert.Equal(t, defaultCount, output.Spec.Devices.Requests[0].Exactly.Count)
// field should not change
nonDefaultMode := v1beta2.DeviceAllocationModeExactCount
nonDefaultMode := v1.DeviceAllocationModeExactCount
nonDefaultCount := int64(10)
claim = &v1beta2.ResourceClaim{
Spec: v1beta2.ResourceClaimSpec{
Devices: v1beta2.DeviceClaim{
Requests: []v1beta2.DeviceRequest{{
Exactly: &v1beta2.ExactDeviceRequest{
claim = &v1.ResourceClaim{
Spec: v1.ResourceClaimSpec{
Devices: v1.DeviceClaim{
Requests: []v1.DeviceRequest{{
Exactly: &v1.ExactDeviceRequest{
AllocationMode: nonDefaultMode,
Count: nonDefaultCount,
},
@ -68,19 +68,19 @@ func TestSetDefaultAllocationMode(t *testing.T) {
},
},
}
output = roundTrip(t, runtime.Object(claim)).(*v1beta2.ResourceClaim)
output = roundTrip(t, runtime.Object(claim)).(*v1.ResourceClaim)
assert.Equal(t, nonDefaultMode, output.Spec.Devices.Requests[0].Exactly.AllocationMode)
assert.Equal(t, nonDefaultCount, output.Spec.Devices.Requests[0].Exactly.Count)
}
func TestSetDefaultAllocationModeWithSubRequests(t *testing.T) {
claim := &v1beta2.ResourceClaim{
Spec: v1beta2.ResourceClaimSpec{
Devices: v1beta2.DeviceClaim{
Requests: []v1beta2.DeviceRequest{
claim := &v1.ResourceClaim{
Spec: v1.ResourceClaimSpec{
Devices: v1.DeviceClaim{
Requests: []v1.DeviceRequest{
{
Name: "req-1",
FirstAvailable: []v1beta2.DeviceSubRequest{
FirstAvailable: []v1.DeviceSubRequest{
{
Name: "subReq-1",
},
@ -94,9 +94,9 @@ func TestSetDefaultAllocationModeWithSubRequests(t *testing.T) {
},
}
defaultMode := v1beta2.DeviceAllocationModeExactCount
defaultMode := v1.DeviceAllocationModeExactCount
defaultCount := int64(1)
output := roundTrip(t, runtime.Object(claim)).(*v1beta2.ResourceClaim)
output := roundTrip(t, runtime.Object(claim)).(*v1.ResourceClaim)
// the exactly field is not set.
assert.Nil(t, output.Spec.Devices.Requests[0].Exactly)
// fields on the subRequests should be defaulted.
@ -106,14 +106,14 @@ func TestSetDefaultAllocationModeWithSubRequests(t *testing.T) {
assert.Equal(t, defaultCount, output.Spec.Devices.Requests[0].FirstAvailable[1].Count)
// field should not change
nonDefaultMode := v1beta2.DeviceAllocationModeExactCount
nonDefaultMode := v1.DeviceAllocationModeExactCount
nonDefaultCount := int64(10)
claim = &v1beta2.ResourceClaim{
Spec: v1beta2.ResourceClaimSpec{
Devices: v1beta2.DeviceClaim{
Requests: []v1beta2.DeviceRequest{{
claim = &v1.ResourceClaim{
Spec: v1.ResourceClaimSpec{
Devices: v1.DeviceClaim{
Requests: []v1.DeviceRequest{{
Name: "req-1",
FirstAvailable: []v1beta2.DeviceSubRequest{
FirstAvailable: []v1.DeviceSubRequest{
{
Name: "subReq-1",
AllocationMode: nonDefaultMode,
@ -129,7 +129,7 @@ func TestSetDefaultAllocationModeWithSubRequests(t *testing.T) {
},
},
}
output = roundTrip(t, runtime.Object(claim)).(*v1beta2.ResourceClaim)
output = roundTrip(t, runtime.Object(claim)).(*v1.ResourceClaim)
assert.Equal(t, nonDefaultMode, output.Spec.Devices.Requests[0].FirstAvailable[0].AllocationMode)
assert.Equal(t, nonDefaultCount, output.Spec.Devices.Requests[0].FirstAvailable[0].Count)
assert.Equal(t, nonDefaultMode, output.Spec.Devices.Requests[0].FirstAvailable[1].AllocationMode)
@ -137,28 +137,28 @@ func TestSetDefaultAllocationModeWithSubRequests(t *testing.T) {
}
func TestSetDefaultDeviceTaint(t *testing.T) {
slice := &v1beta2.ResourceSlice{
Spec: v1beta2.ResourceSliceSpec{
Devices: []v1beta2.Device{{
slice := &v1.ResourceSlice{
Spec: v1.ResourceSliceSpec{
Devices: []v1.Device{{
Name: "device-0",
Taints: []v1beta2.DeviceTaint{{}},
Taints: []v1.DeviceTaint{{}},
}},
},
}
// fields should be defaulted
output := roundTrip(t, slice).(*v1beta2.ResourceSlice)
output := roundTrip(t, slice).(*v1.ResourceSlice)
assert.WithinDuration(t, time.Now(), ptr.Deref(output.Spec.Devices[0].Taints[0].TimeAdded, metav1.Time{}).Time, time.Minute /* allow for some processing delay */, "time added default")
// field should not change
timeAdded, _ := time.ParseInLocation(time.RFC3339, "2006-01-02T15:04:05Z", time.UTC)
slice.Spec.Devices[0].Taints[0].TimeAdded = &metav1.Time{Time: timeAdded}
output = roundTrip(t, slice).(*v1beta2.ResourceSlice)
output = roundTrip(t, slice).(*v1.ResourceSlice)
assert.WithinDuration(t, timeAdded, ptr.Deref(output.Spec.Devices[0].Taints[0].TimeAdded, metav1.Time{}).Time, 0 /* semantically the same, different time zone allowed */, "time added fixed")
}
func roundTrip(t *testing.T, obj runtime.Object) runtime.Object {
codec := legacyscheme.Codecs.LegacyCodec(v1beta2.SchemeGroupVersion)
codec := legacyscheme.Codecs.LegacyCodec(v1.SchemeGroupVersion)
data, err := runtime.Encode(codec, obj)
if err != nil {
t.Errorf("%v\n %#v", err, obj)

View file

@ -15,9 +15,9 @@ limitations under the License.
*/
// +k8s:conversion-gen=k8s.io/kubernetes/pkg/apis/resource
// +k8s:conversion-gen-external-types=k8s.io/api/resource/v1beta2
// +k8s:conversion-gen-external-types=k8s.io/api/resource/v1
// +k8s:defaulter-gen=TypeMeta
// +k8s:defaulter-gen-input=k8s.io/api/resource/v1beta2
// +k8s:defaulter-gen-input=k8s.io/api/resource/v1
// Package v1beta2 is the v1beta2 version of the resource API.
package v1beta2
// Package v1 is the v1 version of the resource API.
package v1

View file

@ -14,15 +14,15 @@ See the License for the specific language governing permissions and
limitations under the License.
*/
package v1beta2
package v1
import (
"k8s.io/api/resource/v1beta2"
"k8s.io/api/resource/v1"
"k8s.io/apimachinery/pkg/runtime/schema"
)
var (
localSchemeBuilder = &v1beta2.SchemeBuilder
localSchemeBuilder = &v1.SchemeBuilder
AddToScheme = localSchemeBuilder.AddToScheme
)
@ -38,7 +38,7 @@ func init() {
const GroupName = "resource.k8s.io"
// SchemeGroupVersion is group version used to register these objects
var SchemeGroupVersion = schema.GroupVersion{Group: GroupName, Version: "v1beta2"}
var SchemeGroupVersion = schema.GroupVersion{Group: GroupName, Version: "v1"}
// Resource takes an unqualified resource and returns a Group qualified GroupResource
func Resource(resource string) schema.GroupResource {

File diff suppressed because it is too large Load diff

View file

@ -19,10 +19,10 @@ limitations under the License.
// Code generated by defaulter-gen. DO NOT EDIT.
package v1beta2
package v1
import (
resourcev1beta2 "k8s.io/api/resource/v1beta2"
resourcev1 "k8s.io/api/resource/v1"
runtime "k8s.io/apimachinery/pkg/runtime"
)
@ -30,20 +30,20 @@ import (
// Public to allow building arbitrary schemes.
// All generated defaulters are covering - they call all nested defaulters.
func RegisterDefaults(scheme *runtime.Scheme) error {
scheme.AddTypeDefaultingFunc(&resourcev1beta2.ResourceClaim{}, func(obj interface{}) { SetObjectDefaults_ResourceClaim(obj.(*resourcev1beta2.ResourceClaim)) })
scheme.AddTypeDefaultingFunc(&resourcev1beta2.ResourceClaimList{}, func(obj interface{}) { SetObjectDefaults_ResourceClaimList(obj.(*resourcev1beta2.ResourceClaimList)) })
scheme.AddTypeDefaultingFunc(&resourcev1beta2.ResourceClaimTemplate{}, func(obj interface{}) {
SetObjectDefaults_ResourceClaimTemplate(obj.(*resourcev1beta2.ResourceClaimTemplate))
scheme.AddTypeDefaultingFunc(&resourcev1.ResourceClaim{}, func(obj interface{}) { SetObjectDefaults_ResourceClaim(obj.(*resourcev1.ResourceClaim)) })
scheme.AddTypeDefaultingFunc(&resourcev1.ResourceClaimList{}, func(obj interface{}) { SetObjectDefaults_ResourceClaimList(obj.(*resourcev1.ResourceClaimList)) })
scheme.AddTypeDefaultingFunc(&resourcev1.ResourceClaimTemplate{}, func(obj interface{}) {
SetObjectDefaults_ResourceClaimTemplate(obj.(*resourcev1.ResourceClaimTemplate))
})
scheme.AddTypeDefaultingFunc(&resourcev1beta2.ResourceClaimTemplateList{}, func(obj interface{}) {
SetObjectDefaults_ResourceClaimTemplateList(obj.(*resourcev1beta2.ResourceClaimTemplateList))
scheme.AddTypeDefaultingFunc(&resourcev1.ResourceClaimTemplateList{}, func(obj interface{}) {
SetObjectDefaults_ResourceClaimTemplateList(obj.(*resourcev1.ResourceClaimTemplateList))
})
scheme.AddTypeDefaultingFunc(&resourcev1beta2.ResourceSlice{}, func(obj interface{}) { SetObjectDefaults_ResourceSlice(obj.(*resourcev1beta2.ResourceSlice)) })
scheme.AddTypeDefaultingFunc(&resourcev1beta2.ResourceSliceList{}, func(obj interface{}) { SetObjectDefaults_ResourceSliceList(obj.(*resourcev1beta2.ResourceSliceList)) })
scheme.AddTypeDefaultingFunc(&resourcev1.ResourceSlice{}, func(obj interface{}) { SetObjectDefaults_ResourceSlice(obj.(*resourcev1.ResourceSlice)) })
scheme.AddTypeDefaultingFunc(&resourcev1.ResourceSliceList{}, func(obj interface{}) { SetObjectDefaults_ResourceSliceList(obj.(*resourcev1.ResourceSliceList)) })
return nil
}
func SetObjectDefaults_ResourceClaim(in *resourcev1beta2.ResourceClaim) {
func SetObjectDefaults_ResourceClaim(in *resourcev1.ResourceClaim) {
for i := range in.Spec.Devices.Requests {
a := &in.Spec.Devices.Requests[i]
if a.Exactly != nil {
@ -79,14 +79,14 @@ func SetObjectDefaults_ResourceClaim(in *resourcev1beta2.ResourceClaim) {
}
}
func SetObjectDefaults_ResourceClaimList(in *resourcev1beta2.ResourceClaimList) {
func SetObjectDefaults_ResourceClaimList(in *resourcev1.ResourceClaimList) {
for i := range in.Items {
a := &in.Items[i]
SetObjectDefaults_ResourceClaim(a)
}
}
func SetObjectDefaults_ResourceClaimTemplate(in *resourcev1beta2.ResourceClaimTemplate) {
func SetObjectDefaults_ResourceClaimTemplate(in *resourcev1.ResourceClaimTemplate) {
for i := range in.Spec.Spec.Devices.Requests {
a := &in.Spec.Spec.Devices.Requests[i]
if a.Exactly != nil {
@ -111,14 +111,14 @@ func SetObjectDefaults_ResourceClaimTemplate(in *resourcev1beta2.ResourceClaimTe
}
}
func SetObjectDefaults_ResourceClaimTemplateList(in *resourcev1beta2.ResourceClaimTemplateList) {
func SetObjectDefaults_ResourceClaimTemplateList(in *resourcev1.ResourceClaimTemplateList) {
for i := range in.Items {
a := &in.Items[i]
SetObjectDefaults_ResourceClaimTemplate(a)
}
}
func SetObjectDefaults_ResourceSlice(in *resourcev1beta2.ResourceSlice) {
func SetObjectDefaults_ResourceSlice(in *resourcev1.ResourceSlice) {
for i := range in.Spec.Devices {
a := &in.Spec.Devices[i]
for j := range a.Taints {
@ -128,7 +128,7 @@ func SetObjectDefaults_ResourceSlice(in *resourcev1beta2.ResourceSlice) {
}
}
func SetObjectDefaults_ResourceSliceList(in *resourcev1beta2.ResourceSliceList) {
func SetObjectDefaults_ResourceSliceList(in *resourcev1.ResourceSliceList) {
for i := range in.Items {
a := &in.Items[i]
SetObjectDefaults_ResourceSlice(a)

File diff suppressed because it is too large Load diff

View file

@ -14,7 +14,7 @@ See the License for the specific language governing permissions and
limitations under the License.
*/
package v1beta2
package v1
import "fmt"

View file

@ -20,5 +20,5 @@ limitations under the License.
// +k8s:prerelease-lifecycle-gen=true
// +groupName=resource.k8s.io
// Package v1beta2 is the v1beta2 version of the resource API.
package v1beta2
// Package v1 is the v1 version of the resource API.
package v1

View file

@ -15,9 +15,9 @@ limitations under the License.
*/
// Code generated by protoc-gen-gogo. DO NOT EDIT.
// source: k8s.io/api/resource/v1beta2/generated.proto
// source: k8s.io/api/resource/v1/generated.proto
package v1beta2
package v1
import (
fmt "fmt"
@ -52,7 +52,7 @@ const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package
func (m *AllocatedDeviceStatus) Reset() { *m = AllocatedDeviceStatus{} }
func (*AllocatedDeviceStatus) ProtoMessage() {}
func (*AllocatedDeviceStatus) Descriptor() ([]byte, []int) {
return fileDescriptor_57f2e1d27c072d6e, []int{0}
return fileDescriptor_f4fc532aec02d243, []int{0}
}
func (m *AllocatedDeviceStatus) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@ -80,7 +80,7 @@ var xxx_messageInfo_AllocatedDeviceStatus proto.InternalMessageInfo
func (m *AllocationResult) Reset() { *m = AllocationResult{} }
func (*AllocationResult) ProtoMessage() {}
func (*AllocationResult) Descriptor() ([]byte, []int) {
return fileDescriptor_57f2e1d27c072d6e, []int{1}
return fileDescriptor_f4fc532aec02d243, []int{1}
}
func (m *AllocationResult) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@ -108,7 +108,7 @@ var xxx_messageInfo_AllocationResult proto.InternalMessageInfo
func (m *CELDeviceSelector) Reset() { *m = CELDeviceSelector{} }
func (*CELDeviceSelector) ProtoMessage() {}
func (*CELDeviceSelector) Descriptor() ([]byte, []int) {
return fileDescriptor_57f2e1d27c072d6e, []int{2}
return fileDescriptor_f4fc532aec02d243, []int{2}
}
func (m *CELDeviceSelector) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@ -136,7 +136,7 @@ var xxx_messageInfo_CELDeviceSelector proto.InternalMessageInfo
func (m *Counter) Reset() { *m = Counter{} }
func (*Counter) ProtoMessage() {}
func (*Counter) Descriptor() ([]byte, []int) {
return fileDescriptor_57f2e1d27c072d6e, []int{3}
return fileDescriptor_f4fc532aec02d243, []int{3}
}
func (m *Counter) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@ -164,7 +164,7 @@ var xxx_messageInfo_Counter proto.InternalMessageInfo
func (m *CounterSet) Reset() { *m = CounterSet{} }
func (*CounterSet) ProtoMessage() {}
func (*CounterSet) Descriptor() ([]byte, []int) {
return fileDescriptor_57f2e1d27c072d6e, []int{4}
return fileDescriptor_f4fc532aec02d243, []int{4}
}
func (m *CounterSet) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@ -192,7 +192,7 @@ var xxx_messageInfo_CounterSet proto.InternalMessageInfo
func (m *Device) Reset() { *m = Device{} }
func (*Device) ProtoMessage() {}
func (*Device) Descriptor() ([]byte, []int) {
return fileDescriptor_57f2e1d27c072d6e, []int{5}
return fileDescriptor_f4fc532aec02d243, []int{5}
}
func (m *Device) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@ -220,7 +220,7 @@ var xxx_messageInfo_Device proto.InternalMessageInfo
func (m *DeviceAllocationConfiguration) Reset() { *m = DeviceAllocationConfiguration{} }
func (*DeviceAllocationConfiguration) ProtoMessage() {}
func (*DeviceAllocationConfiguration) Descriptor() ([]byte, []int) {
return fileDescriptor_57f2e1d27c072d6e, []int{6}
return fileDescriptor_f4fc532aec02d243, []int{6}
}
func (m *DeviceAllocationConfiguration) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@ -248,7 +248,7 @@ var xxx_messageInfo_DeviceAllocationConfiguration proto.InternalMessageInfo
func (m *DeviceAllocationResult) Reset() { *m = DeviceAllocationResult{} }
func (*DeviceAllocationResult) ProtoMessage() {}
func (*DeviceAllocationResult) Descriptor() ([]byte, []int) {
return fileDescriptor_57f2e1d27c072d6e, []int{7}
return fileDescriptor_f4fc532aec02d243, []int{7}
}
func (m *DeviceAllocationResult) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@ -276,7 +276,7 @@ var xxx_messageInfo_DeviceAllocationResult proto.InternalMessageInfo
func (m *DeviceAttribute) Reset() { *m = DeviceAttribute{} }
func (*DeviceAttribute) ProtoMessage() {}
func (*DeviceAttribute) Descriptor() ([]byte, []int) {
return fileDescriptor_57f2e1d27c072d6e, []int{8}
return fileDescriptor_f4fc532aec02d243, []int{8}
}
func (m *DeviceAttribute) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@ -304,7 +304,7 @@ var xxx_messageInfo_DeviceAttribute proto.InternalMessageInfo
func (m *DeviceCapacity) Reset() { *m = DeviceCapacity{} }
func (*DeviceCapacity) ProtoMessage() {}
func (*DeviceCapacity) Descriptor() ([]byte, []int) {
return fileDescriptor_57f2e1d27c072d6e, []int{9}
return fileDescriptor_f4fc532aec02d243, []int{9}
}
func (m *DeviceCapacity) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@ -332,7 +332,7 @@ var xxx_messageInfo_DeviceCapacity proto.InternalMessageInfo
func (m *DeviceClaim) Reset() { *m = DeviceClaim{} }
func (*DeviceClaim) ProtoMessage() {}
func (*DeviceClaim) Descriptor() ([]byte, []int) {
return fileDescriptor_57f2e1d27c072d6e, []int{10}
return fileDescriptor_f4fc532aec02d243, []int{10}
}
func (m *DeviceClaim) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@ -360,7 +360,7 @@ var xxx_messageInfo_DeviceClaim proto.InternalMessageInfo
func (m *DeviceClaimConfiguration) Reset() { *m = DeviceClaimConfiguration{} }
func (*DeviceClaimConfiguration) ProtoMessage() {}
func (*DeviceClaimConfiguration) Descriptor() ([]byte, []int) {
return fileDescriptor_57f2e1d27c072d6e, []int{11}
return fileDescriptor_f4fc532aec02d243, []int{11}
}
func (m *DeviceClaimConfiguration) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@ -388,7 +388,7 @@ var xxx_messageInfo_DeviceClaimConfiguration proto.InternalMessageInfo
func (m *DeviceClass) Reset() { *m = DeviceClass{} }
func (*DeviceClass) ProtoMessage() {}
func (*DeviceClass) Descriptor() ([]byte, []int) {
return fileDescriptor_57f2e1d27c072d6e, []int{12}
return fileDescriptor_f4fc532aec02d243, []int{12}
}
func (m *DeviceClass) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@ -416,7 +416,7 @@ var xxx_messageInfo_DeviceClass proto.InternalMessageInfo
func (m *DeviceClassConfiguration) Reset() { *m = DeviceClassConfiguration{} }
func (*DeviceClassConfiguration) ProtoMessage() {}
func (*DeviceClassConfiguration) Descriptor() ([]byte, []int) {
return fileDescriptor_57f2e1d27c072d6e, []int{13}
return fileDescriptor_f4fc532aec02d243, []int{13}
}
func (m *DeviceClassConfiguration) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@ -444,7 +444,7 @@ var xxx_messageInfo_DeviceClassConfiguration proto.InternalMessageInfo
func (m *DeviceClassList) Reset() { *m = DeviceClassList{} }
func (*DeviceClassList) ProtoMessage() {}
func (*DeviceClassList) Descriptor() ([]byte, []int) {
return fileDescriptor_57f2e1d27c072d6e, []int{14}
return fileDescriptor_f4fc532aec02d243, []int{14}
}
func (m *DeviceClassList) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@ -472,7 +472,7 @@ var xxx_messageInfo_DeviceClassList proto.InternalMessageInfo
func (m *DeviceClassSpec) Reset() { *m = DeviceClassSpec{} }
func (*DeviceClassSpec) ProtoMessage() {}
func (*DeviceClassSpec) Descriptor() ([]byte, []int) {
return fileDescriptor_57f2e1d27c072d6e, []int{15}
return fileDescriptor_f4fc532aec02d243, []int{15}
}
func (m *DeviceClassSpec) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@ -500,7 +500,7 @@ var xxx_messageInfo_DeviceClassSpec proto.InternalMessageInfo
func (m *DeviceConfiguration) Reset() { *m = DeviceConfiguration{} }
func (*DeviceConfiguration) ProtoMessage() {}
func (*DeviceConfiguration) Descriptor() ([]byte, []int) {
return fileDescriptor_57f2e1d27c072d6e, []int{16}
return fileDescriptor_f4fc532aec02d243, []int{16}
}
func (m *DeviceConfiguration) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@ -528,7 +528,7 @@ var xxx_messageInfo_DeviceConfiguration proto.InternalMessageInfo
func (m *DeviceConstraint) Reset() { *m = DeviceConstraint{} }
func (*DeviceConstraint) ProtoMessage() {}
func (*DeviceConstraint) Descriptor() ([]byte, []int) {
return fileDescriptor_57f2e1d27c072d6e, []int{17}
return fileDescriptor_f4fc532aec02d243, []int{17}
}
func (m *DeviceConstraint) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@ -556,7 +556,7 @@ var xxx_messageInfo_DeviceConstraint proto.InternalMessageInfo
func (m *DeviceCounterConsumption) Reset() { *m = DeviceCounterConsumption{} }
func (*DeviceCounterConsumption) ProtoMessage() {}
func (*DeviceCounterConsumption) Descriptor() ([]byte, []int) {
return fileDescriptor_57f2e1d27c072d6e, []int{18}
return fileDescriptor_f4fc532aec02d243, []int{18}
}
func (m *DeviceCounterConsumption) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@ -584,7 +584,7 @@ var xxx_messageInfo_DeviceCounterConsumption proto.InternalMessageInfo
func (m *DeviceRequest) Reset() { *m = DeviceRequest{} }
func (*DeviceRequest) ProtoMessage() {}
func (*DeviceRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_57f2e1d27c072d6e, []int{19}
return fileDescriptor_f4fc532aec02d243, []int{19}
}
func (m *DeviceRequest) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@ -612,7 +612,7 @@ var xxx_messageInfo_DeviceRequest proto.InternalMessageInfo
func (m *DeviceRequestAllocationResult) Reset() { *m = DeviceRequestAllocationResult{} }
func (*DeviceRequestAllocationResult) ProtoMessage() {}
func (*DeviceRequestAllocationResult) Descriptor() ([]byte, []int) {
return fileDescriptor_57f2e1d27c072d6e, []int{20}
return fileDescriptor_f4fc532aec02d243, []int{20}
}
func (m *DeviceRequestAllocationResult) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@ -640,7 +640,7 @@ var xxx_messageInfo_DeviceRequestAllocationResult proto.InternalMessageInfo
func (m *DeviceSelector) Reset() { *m = DeviceSelector{} }
func (*DeviceSelector) ProtoMessage() {}
func (*DeviceSelector) Descriptor() ([]byte, []int) {
return fileDescriptor_57f2e1d27c072d6e, []int{21}
return fileDescriptor_f4fc532aec02d243, []int{21}
}
func (m *DeviceSelector) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@ -668,7 +668,7 @@ var xxx_messageInfo_DeviceSelector proto.InternalMessageInfo
func (m *DeviceSubRequest) Reset() { *m = DeviceSubRequest{} }
func (*DeviceSubRequest) ProtoMessage() {}
func (*DeviceSubRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_57f2e1d27c072d6e, []int{22}
return fileDescriptor_f4fc532aec02d243, []int{22}
}
func (m *DeviceSubRequest) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@ -696,7 +696,7 @@ var xxx_messageInfo_DeviceSubRequest proto.InternalMessageInfo
func (m *DeviceTaint) Reset() { *m = DeviceTaint{} }
func (*DeviceTaint) ProtoMessage() {}
func (*DeviceTaint) Descriptor() ([]byte, []int) {
return fileDescriptor_57f2e1d27c072d6e, []int{23}
return fileDescriptor_f4fc532aec02d243, []int{23}
}
func (m *DeviceTaint) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@ -724,7 +724,7 @@ var xxx_messageInfo_DeviceTaint proto.InternalMessageInfo
func (m *DeviceToleration) Reset() { *m = DeviceToleration{} }
func (*DeviceToleration) ProtoMessage() {}
func (*DeviceToleration) Descriptor() ([]byte, []int) {
return fileDescriptor_57f2e1d27c072d6e, []int{24}
return fileDescriptor_f4fc532aec02d243, []int{24}
}
func (m *DeviceToleration) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@ -752,7 +752,7 @@ var xxx_messageInfo_DeviceToleration proto.InternalMessageInfo
func (m *ExactDeviceRequest) Reset() { *m = ExactDeviceRequest{} }
func (*ExactDeviceRequest) ProtoMessage() {}
func (*ExactDeviceRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_57f2e1d27c072d6e, []int{25}
return fileDescriptor_f4fc532aec02d243, []int{25}
}
func (m *ExactDeviceRequest) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@ -780,7 +780,7 @@ var xxx_messageInfo_ExactDeviceRequest proto.InternalMessageInfo
func (m *NetworkDeviceData) Reset() { *m = NetworkDeviceData{} }
func (*NetworkDeviceData) ProtoMessage() {}
func (*NetworkDeviceData) Descriptor() ([]byte, []int) {
return fileDescriptor_57f2e1d27c072d6e, []int{26}
return fileDescriptor_f4fc532aec02d243, []int{26}
}
func (m *NetworkDeviceData) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@ -808,7 +808,7 @@ var xxx_messageInfo_NetworkDeviceData proto.InternalMessageInfo
func (m *OpaqueDeviceConfiguration) Reset() { *m = OpaqueDeviceConfiguration{} }
func (*OpaqueDeviceConfiguration) ProtoMessage() {}
func (*OpaqueDeviceConfiguration) Descriptor() ([]byte, []int) {
return fileDescriptor_57f2e1d27c072d6e, []int{27}
return fileDescriptor_f4fc532aec02d243, []int{27}
}
func (m *OpaqueDeviceConfiguration) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@ -836,7 +836,7 @@ var xxx_messageInfo_OpaqueDeviceConfiguration proto.InternalMessageInfo
func (m *ResourceClaim) Reset() { *m = ResourceClaim{} }
func (*ResourceClaim) ProtoMessage() {}
func (*ResourceClaim) Descriptor() ([]byte, []int) {
return fileDescriptor_57f2e1d27c072d6e, []int{28}
return fileDescriptor_f4fc532aec02d243, []int{28}
}
func (m *ResourceClaim) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@ -864,7 +864,7 @@ var xxx_messageInfo_ResourceClaim proto.InternalMessageInfo
func (m *ResourceClaimConsumerReference) Reset() { *m = ResourceClaimConsumerReference{} }
func (*ResourceClaimConsumerReference) ProtoMessage() {}
func (*ResourceClaimConsumerReference) Descriptor() ([]byte, []int) {
return fileDescriptor_57f2e1d27c072d6e, []int{29}
return fileDescriptor_f4fc532aec02d243, []int{29}
}
func (m *ResourceClaimConsumerReference) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@ -892,7 +892,7 @@ var xxx_messageInfo_ResourceClaimConsumerReference proto.InternalMessageInfo
func (m *ResourceClaimList) Reset() { *m = ResourceClaimList{} }
func (*ResourceClaimList) ProtoMessage() {}
func (*ResourceClaimList) Descriptor() ([]byte, []int) {
return fileDescriptor_57f2e1d27c072d6e, []int{30}
return fileDescriptor_f4fc532aec02d243, []int{30}
}
func (m *ResourceClaimList) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@ -920,7 +920,7 @@ var xxx_messageInfo_ResourceClaimList proto.InternalMessageInfo
func (m *ResourceClaimSpec) Reset() { *m = ResourceClaimSpec{} }
func (*ResourceClaimSpec) ProtoMessage() {}
func (*ResourceClaimSpec) Descriptor() ([]byte, []int) {
return fileDescriptor_57f2e1d27c072d6e, []int{31}
return fileDescriptor_f4fc532aec02d243, []int{31}
}
func (m *ResourceClaimSpec) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@ -948,7 +948,7 @@ var xxx_messageInfo_ResourceClaimSpec proto.InternalMessageInfo
func (m *ResourceClaimStatus) Reset() { *m = ResourceClaimStatus{} }
func (*ResourceClaimStatus) ProtoMessage() {}
func (*ResourceClaimStatus) Descriptor() ([]byte, []int) {
return fileDescriptor_57f2e1d27c072d6e, []int{32}
return fileDescriptor_f4fc532aec02d243, []int{32}
}
func (m *ResourceClaimStatus) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@ -976,7 +976,7 @@ var xxx_messageInfo_ResourceClaimStatus proto.InternalMessageInfo
func (m *ResourceClaimTemplate) Reset() { *m = ResourceClaimTemplate{} }
func (*ResourceClaimTemplate) ProtoMessage() {}
func (*ResourceClaimTemplate) Descriptor() ([]byte, []int) {
return fileDescriptor_57f2e1d27c072d6e, []int{33}
return fileDescriptor_f4fc532aec02d243, []int{33}
}
func (m *ResourceClaimTemplate) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@ -1004,7 +1004,7 @@ var xxx_messageInfo_ResourceClaimTemplate proto.InternalMessageInfo
func (m *ResourceClaimTemplateList) Reset() { *m = ResourceClaimTemplateList{} }
func (*ResourceClaimTemplateList) ProtoMessage() {}
func (*ResourceClaimTemplateList) Descriptor() ([]byte, []int) {
return fileDescriptor_57f2e1d27c072d6e, []int{34}
return fileDescriptor_f4fc532aec02d243, []int{34}
}
func (m *ResourceClaimTemplateList) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@ -1032,7 +1032,7 @@ var xxx_messageInfo_ResourceClaimTemplateList proto.InternalMessageInfo
func (m *ResourceClaimTemplateSpec) Reset() { *m = ResourceClaimTemplateSpec{} }
func (*ResourceClaimTemplateSpec) ProtoMessage() {}
func (*ResourceClaimTemplateSpec) Descriptor() ([]byte, []int) {
return fileDescriptor_57f2e1d27c072d6e, []int{35}
return fileDescriptor_f4fc532aec02d243, []int{35}
}
func (m *ResourceClaimTemplateSpec) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@ -1060,7 +1060,7 @@ var xxx_messageInfo_ResourceClaimTemplateSpec proto.InternalMessageInfo
func (m *ResourcePool) Reset() { *m = ResourcePool{} }
func (*ResourcePool) ProtoMessage() {}
func (*ResourcePool) Descriptor() ([]byte, []int) {
return fileDescriptor_57f2e1d27c072d6e, []int{36}
return fileDescriptor_f4fc532aec02d243, []int{36}
}
func (m *ResourcePool) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@ -1088,7 +1088,7 @@ var xxx_messageInfo_ResourcePool proto.InternalMessageInfo
func (m *ResourceSlice) Reset() { *m = ResourceSlice{} }
func (*ResourceSlice) ProtoMessage() {}
func (*ResourceSlice) Descriptor() ([]byte, []int) {
return fileDescriptor_57f2e1d27c072d6e, []int{37}
return fileDescriptor_f4fc532aec02d243, []int{37}
}
func (m *ResourceSlice) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@ -1116,7 +1116,7 @@ var xxx_messageInfo_ResourceSlice proto.InternalMessageInfo
func (m *ResourceSliceList) Reset() { *m = ResourceSliceList{} }
func (*ResourceSliceList) ProtoMessage() {}
func (*ResourceSliceList) Descriptor() ([]byte, []int) {
return fileDescriptor_57f2e1d27c072d6e, []int{38}
return fileDescriptor_f4fc532aec02d243, []int{38}
}
func (m *ResourceSliceList) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@ -1144,7 +1144,7 @@ var xxx_messageInfo_ResourceSliceList proto.InternalMessageInfo
func (m *ResourceSliceSpec) Reset() { *m = ResourceSliceSpec{} }
func (*ResourceSliceSpec) ProtoMessage() {}
func (*ResourceSliceSpec) Descriptor() ([]byte, []int) {
return fileDescriptor_57f2e1d27c072d6e, []int{39}
return fileDescriptor_f4fc532aec02d243, []int{39}
}
func (m *ResourceSliceSpec) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@ -1170,216 +1170,216 @@ func (m *ResourceSliceSpec) XXX_DiscardUnknown() {
var xxx_messageInfo_ResourceSliceSpec proto.InternalMessageInfo
func init() {
proto.RegisterType((*AllocatedDeviceStatus)(nil), "k8s.io.api.resource.v1beta2.AllocatedDeviceStatus")
proto.RegisterType((*AllocationResult)(nil), "k8s.io.api.resource.v1beta2.AllocationResult")
proto.RegisterType((*CELDeviceSelector)(nil), "k8s.io.api.resource.v1beta2.CELDeviceSelector")
proto.RegisterType((*Counter)(nil), "k8s.io.api.resource.v1beta2.Counter")
proto.RegisterType((*CounterSet)(nil), "k8s.io.api.resource.v1beta2.CounterSet")
proto.RegisterMapType((map[string]Counter)(nil), "k8s.io.api.resource.v1beta2.CounterSet.CountersEntry")
proto.RegisterType((*Device)(nil), "k8s.io.api.resource.v1beta2.Device")
proto.RegisterMapType((map[QualifiedName]DeviceAttribute)(nil), "k8s.io.api.resource.v1beta2.Device.AttributesEntry")
proto.RegisterMapType((map[QualifiedName]DeviceCapacity)(nil), "k8s.io.api.resource.v1beta2.Device.CapacityEntry")
proto.RegisterType((*DeviceAllocationConfiguration)(nil), "k8s.io.api.resource.v1beta2.DeviceAllocationConfiguration")
proto.RegisterType((*DeviceAllocationResult)(nil), "k8s.io.api.resource.v1beta2.DeviceAllocationResult")
proto.RegisterType((*DeviceAttribute)(nil), "k8s.io.api.resource.v1beta2.DeviceAttribute")
proto.RegisterType((*DeviceCapacity)(nil), "k8s.io.api.resource.v1beta2.DeviceCapacity")
proto.RegisterType((*DeviceClaim)(nil), "k8s.io.api.resource.v1beta2.DeviceClaim")
proto.RegisterType((*DeviceClaimConfiguration)(nil), "k8s.io.api.resource.v1beta2.DeviceClaimConfiguration")
proto.RegisterType((*DeviceClass)(nil), "k8s.io.api.resource.v1beta2.DeviceClass")
proto.RegisterType((*DeviceClassConfiguration)(nil), "k8s.io.api.resource.v1beta2.DeviceClassConfiguration")
proto.RegisterType((*DeviceClassList)(nil), "k8s.io.api.resource.v1beta2.DeviceClassList")
proto.RegisterType((*DeviceClassSpec)(nil), "k8s.io.api.resource.v1beta2.DeviceClassSpec")
proto.RegisterType((*DeviceConfiguration)(nil), "k8s.io.api.resource.v1beta2.DeviceConfiguration")
proto.RegisterType((*DeviceConstraint)(nil), "k8s.io.api.resource.v1beta2.DeviceConstraint")
proto.RegisterType((*DeviceCounterConsumption)(nil), "k8s.io.api.resource.v1beta2.DeviceCounterConsumption")
proto.RegisterMapType((map[string]Counter)(nil), "k8s.io.api.resource.v1beta2.DeviceCounterConsumption.CountersEntry")
proto.RegisterType((*DeviceRequest)(nil), "k8s.io.api.resource.v1beta2.DeviceRequest")
proto.RegisterType((*DeviceRequestAllocationResult)(nil), "k8s.io.api.resource.v1beta2.DeviceRequestAllocationResult")
proto.RegisterType((*DeviceSelector)(nil), "k8s.io.api.resource.v1beta2.DeviceSelector")
proto.RegisterType((*DeviceSubRequest)(nil), "k8s.io.api.resource.v1beta2.DeviceSubRequest")
proto.RegisterType((*DeviceTaint)(nil), "k8s.io.api.resource.v1beta2.DeviceTaint")
proto.RegisterType((*DeviceToleration)(nil), "k8s.io.api.resource.v1beta2.DeviceToleration")
proto.RegisterType((*ExactDeviceRequest)(nil), "k8s.io.api.resource.v1beta2.ExactDeviceRequest")
proto.RegisterType((*NetworkDeviceData)(nil), "k8s.io.api.resource.v1beta2.NetworkDeviceData")
proto.RegisterType((*OpaqueDeviceConfiguration)(nil), "k8s.io.api.resource.v1beta2.OpaqueDeviceConfiguration")
proto.RegisterType((*ResourceClaim)(nil), "k8s.io.api.resource.v1beta2.ResourceClaim")
proto.RegisterType((*ResourceClaimConsumerReference)(nil), "k8s.io.api.resource.v1beta2.ResourceClaimConsumerReference")
proto.RegisterType((*ResourceClaimList)(nil), "k8s.io.api.resource.v1beta2.ResourceClaimList")
proto.RegisterType((*ResourceClaimSpec)(nil), "k8s.io.api.resource.v1beta2.ResourceClaimSpec")
proto.RegisterType((*ResourceClaimStatus)(nil), "k8s.io.api.resource.v1beta2.ResourceClaimStatus")
proto.RegisterType((*ResourceClaimTemplate)(nil), "k8s.io.api.resource.v1beta2.ResourceClaimTemplate")
proto.RegisterType((*ResourceClaimTemplateList)(nil), "k8s.io.api.resource.v1beta2.ResourceClaimTemplateList")
proto.RegisterType((*ResourceClaimTemplateSpec)(nil), "k8s.io.api.resource.v1beta2.ResourceClaimTemplateSpec")
proto.RegisterType((*ResourcePool)(nil), "k8s.io.api.resource.v1beta2.ResourcePool")
proto.RegisterType((*ResourceSlice)(nil), "k8s.io.api.resource.v1beta2.ResourceSlice")
proto.RegisterType((*ResourceSliceList)(nil), "k8s.io.api.resource.v1beta2.ResourceSliceList")
proto.RegisterType((*ResourceSliceSpec)(nil), "k8s.io.api.resource.v1beta2.ResourceSliceSpec")
proto.RegisterType((*AllocatedDeviceStatus)(nil), "k8s.io.api.resource.v1.AllocatedDeviceStatus")
proto.RegisterType((*AllocationResult)(nil), "k8s.io.api.resource.v1.AllocationResult")
proto.RegisterType((*CELDeviceSelector)(nil), "k8s.io.api.resource.v1.CELDeviceSelector")
proto.RegisterType((*Counter)(nil), "k8s.io.api.resource.v1.Counter")
proto.RegisterType((*CounterSet)(nil), "k8s.io.api.resource.v1.CounterSet")
proto.RegisterMapType((map[string]Counter)(nil), "k8s.io.api.resource.v1.CounterSet.CountersEntry")
proto.RegisterType((*Device)(nil), "k8s.io.api.resource.v1.Device")
proto.RegisterMapType((map[QualifiedName]DeviceAttribute)(nil), "k8s.io.api.resource.v1.Device.AttributesEntry")
proto.RegisterMapType((map[QualifiedName]DeviceCapacity)(nil), "k8s.io.api.resource.v1.Device.CapacityEntry")
proto.RegisterType((*DeviceAllocationConfiguration)(nil), "k8s.io.api.resource.v1.DeviceAllocationConfiguration")
proto.RegisterType((*DeviceAllocationResult)(nil), "k8s.io.api.resource.v1.DeviceAllocationResult")
proto.RegisterType((*DeviceAttribute)(nil), "k8s.io.api.resource.v1.DeviceAttribute")
proto.RegisterType((*DeviceCapacity)(nil), "k8s.io.api.resource.v1.DeviceCapacity")
proto.RegisterType((*DeviceClaim)(nil), "k8s.io.api.resource.v1.DeviceClaim")
proto.RegisterType((*DeviceClaimConfiguration)(nil), "k8s.io.api.resource.v1.DeviceClaimConfiguration")
proto.RegisterType((*DeviceClass)(nil), "k8s.io.api.resource.v1.DeviceClass")
proto.RegisterType((*DeviceClassConfiguration)(nil), "k8s.io.api.resource.v1.DeviceClassConfiguration")
proto.RegisterType((*DeviceClassList)(nil), "k8s.io.api.resource.v1.DeviceClassList")
proto.RegisterType((*DeviceClassSpec)(nil), "k8s.io.api.resource.v1.DeviceClassSpec")
proto.RegisterType((*DeviceConfiguration)(nil), "k8s.io.api.resource.v1.DeviceConfiguration")
proto.RegisterType((*DeviceConstraint)(nil), "k8s.io.api.resource.v1.DeviceConstraint")
proto.RegisterType((*DeviceCounterConsumption)(nil), "k8s.io.api.resource.v1.DeviceCounterConsumption")
proto.RegisterMapType((map[string]Counter)(nil), "k8s.io.api.resource.v1.DeviceCounterConsumption.CountersEntry")
proto.RegisterType((*DeviceRequest)(nil), "k8s.io.api.resource.v1.DeviceRequest")
proto.RegisterType((*DeviceRequestAllocationResult)(nil), "k8s.io.api.resource.v1.DeviceRequestAllocationResult")
proto.RegisterType((*DeviceSelector)(nil), "k8s.io.api.resource.v1.DeviceSelector")
proto.RegisterType((*DeviceSubRequest)(nil), "k8s.io.api.resource.v1.DeviceSubRequest")
proto.RegisterType((*DeviceTaint)(nil), "k8s.io.api.resource.v1.DeviceTaint")
proto.RegisterType((*DeviceToleration)(nil), "k8s.io.api.resource.v1.DeviceToleration")
proto.RegisterType((*ExactDeviceRequest)(nil), "k8s.io.api.resource.v1.ExactDeviceRequest")
proto.RegisterType((*NetworkDeviceData)(nil), "k8s.io.api.resource.v1.NetworkDeviceData")
proto.RegisterType((*OpaqueDeviceConfiguration)(nil), "k8s.io.api.resource.v1.OpaqueDeviceConfiguration")
proto.RegisterType((*ResourceClaim)(nil), "k8s.io.api.resource.v1.ResourceClaim")
proto.RegisterType((*ResourceClaimConsumerReference)(nil), "k8s.io.api.resource.v1.ResourceClaimConsumerReference")
proto.RegisterType((*ResourceClaimList)(nil), "k8s.io.api.resource.v1.ResourceClaimList")
proto.RegisterType((*ResourceClaimSpec)(nil), "k8s.io.api.resource.v1.ResourceClaimSpec")
proto.RegisterType((*ResourceClaimStatus)(nil), "k8s.io.api.resource.v1.ResourceClaimStatus")
proto.RegisterType((*ResourceClaimTemplate)(nil), "k8s.io.api.resource.v1.ResourceClaimTemplate")
proto.RegisterType((*ResourceClaimTemplateList)(nil), "k8s.io.api.resource.v1.ResourceClaimTemplateList")
proto.RegisterType((*ResourceClaimTemplateSpec)(nil), "k8s.io.api.resource.v1.ResourceClaimTemplateSpec")
proto.RegisterType((*ResourcePool)(nil), "k8s.io.api.resource.v1.ResourcePool")
proto.RegisterType((*ResourceSlice)(nil), "k8s.io.api.resource.v1.ResourceSlice")
proto.RegisterType((*ResourceSliceList)(nil), "k8s.io.api.resource.v1.ResourceSliceList")
proto.RegisterType((*ResourceSliceSpec)(nil), "k8s.io.api.resource.v1.ResourceSliceSpec")
}
func init() {
proto.RegisterFile("k8s.io/api/resource/v1beta2/generated.proto", fileDescriptor_57f2e1d27c072d6e)
proto.RegisterFile("k8s.io/api/resource/v1/generated.proto", fileDescriptor_f4fc532aec02d243)
}
var fileDescriptor_57f2e1d27c072d6e = []byte{
// 2527 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xd4, 0x5a, 0x4d, 0x6c, 0x1c, 0x49,
0x15, 0x76, 0x4f, 0x8f, 0xc7, 0xe3, 0x37, 0xb1, 0x63, 0x57, 0x48, 0x98, 0x38, 0x5a, 0x8f, 0xd3,
0x41, 0xac, 0x37, 0x9b, 0xcc, 0x6c, 0x0c, 0x1b, 0xad, 0x92, 0x0b, 0x33, 0x8e, 0x93, 0x35, 0x49,
0x1c, 0x6f, 0x8d, 0x37, 0x1b, 0x2d, 0x9b, 0x15, 0xed, 0x9e, 0xb2, 0xdd, 0x78, 0xa6, 0x7b, 0xd2,
0x55, 0xe3, 0xc4, 0xe2, 0xc0, 0x8a, 0x33, 0x42, 0x1c, 0x91, 0x10, 0x08, 0x21, 0x84, 0x84, 0x84,
0x10, 0x47, 0x4e, 0x20, 0x40, 0x88, 0x08, 0x24, 0x58, 0x81, 0x90, 0xf6, 0x80, 0x06, 0x32, 0x7b,
0xe1, 0xca, 0x05, 0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, 0xa8,
0x37, 0xaf, 0xfd, 0xa3, 0x37, 0xaf, 0x7d, 0xeb, 0xe3, 0xf9, 0xb1, 0x77, 0xcf, 0x8c, 0xf8, 0xae,
0xf0, 0xbf, 0x01, 0x00, 0x00, 0xff, 0xff, 0x78, 0x9d, 0x7e, 0x7c, 0x75, 0x28, 0x00, 0x00,
var fileDescriptor_f4fc532aec02d243 = []byte{
// 2520 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xd4, 0x5a, 0x5d, 0x6c, 0x1c, 0x57,
0x15, 0xf6, 0xec, 0xac, 0xd7, 0xeb, 0xb3, 0xb1, 0x63, 0xdf, 0x10, 0xb3, 0x35, 0xea, 0xae, 0x3b,
0xa6, 0xad, 0x5b, 0x9a, 0x75, 0x6c, 0x91, 0xaa, 0x6a, 0x0b, 0xc2, 0x6b, 0x3b, 0x89, 0x9b, 0x3f,
0xe7, 0xae, 0x13, 0x02, 0x0a, 0xa5, 0xe3, 0xd9, 0x6b, 0x7b, 0xf0, 0xec, 0xcc, 0x76, 0xee, 0xac,
0x13, 0xf3, 0x54, 0xf1, 0xc2, 0x1b, 0x42, 0x42, 0x42, 0x80, 0x84, 0x84, 0x78, 0x40, 0xe2, 0xa5,
0x42, 0x3c, 0x01, 0x12, 0x08, 0x24, 0x90, 0xa2, 0x4a, 0xa0, 0x3c, 0x16, 0x09, 0x2d, 0x64, 0x79,
0x45, 0x48, 0xbc, 0xfa, 0x09, 0xdd, 0x9f, 0xf9, 0xdd, 0x1d, 0xef, 0xb8, 0x24, 0x51, 0x78, 0xdb,
0x39, 0xf7, 0x9c, 0xef, 0x9c, 0x7b, 0xee, 0x39, 0xe7, 0x9e, 0x7b, 0xef, 0xc2, 0x4b, 0xfb, 0x6f,
0xd0, 0x9a, 0xe9, 0x2c, 0xea, 0x6d, 0x73, 0xd1, 0x25, 0xd4, 0xe9, 0xb8, 0x06, 0x59, 0x3c, 0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0x70, 0xbb, 0x52, 0x12, 0xe0, 0x97, 0xf9, 0x84, 0xfd, 0x3c, 0xf0, 0xb3, 0x76,
0x67, 0x17, 0x23, 0x7f, 0xcb, 0x29, 0x2d, 0x7f, 0x76, 0x98, 0x21, 0x2c, 0x28, 0x07, 0x5e, 0xbf,
0x44, 0x5f, 0xa7, 0xd5, 0x13, 0xbd, 0x4e, 0xe7, 0x9f, 0xc0, 0xeb, 0xf4, 0xe8, 0xb1, 0xaf, 0xd3,
0x1b, 0xe1, 0x6e, 0x21, 0xba, 0xfc, 0xca, 0xf1, 0xdb, 0xeb, 0x31, 0xff, 0x85, 0xc1, 0x30, 0xd3,
0x26, 0xae, 0x20, 0x87, 0xb6, 0xb1, 0x4c, 0x14, 0x0f, 0xe4, 0xb3, 0xbd, 0x6e, 0x75, 0x66, 0x73,
0x20, 0x07, 0x4e, 0x91, 0x44, 0xdb, 0x30, 0x49, 0xf7, 0x74, 0x97, 0x34, 0x83, 0xbf, 0x17, 0x88,
0x47, 0x74, 0x6d, 0xf8, 0x7f, 0x46, 0xc2, 0x4b, 0xbc, 0x46, 0x0c, 0x01, 0x27, 0x10, 0xeb, 0x6f,
0x3f, 0x78, 0x54, 0x19, 0x79, 0xf8, 0xa8, 0x32, 0xf2, 0xf1, 0xa3, 0xca, 0xc8, 0x07, 0xbd, 0x8a,
0xf2, 0xa0, 0x57, 0x51, 0x1e, 0xf6, 0x2a, 0xca, 0xc7, 0xbd, 0x8a, 0xf2, 0x8f, 0x5e, 0x45, 0xf9,
0xee, 0x3f, 0x2b, 0x23, 0x5f, 0x9d, 0x19, 0xfc, 0xef, 0xba, 0xff, 0x06, 0x00, 0x00, 0xff, 0xff,
0x38, 0x57, 0x9d, 0x61, 0x76, 0x27, 0x00, 0x00,
}
func (m *AllocatedDeviceStatus) Marshal() (dAtA []byte, err error) {

View file

@ -19,7 +19,7 @@ limitations under the License.
syntax = "proto2";
package k8s.io.api.resource.v1beta2;
package k8s.io.api.resource.v1;
import "k8s.io/api/core/v1/generated.proto";
import "k8s.io/apimachinery/pkg/api/resource/generated.proto";
@ -28,7 +28,7 @@ import "k8s.io/apimachinery/pkg/runtime/generated.proto";
import "k8s.io/apimachinery/pkg/runtime/schema/generated.proto";
// Package-wide variables from generator "generated".
option go_package = "k8s.io/api/resource/v1beta2";
option go_package = "k8s.io/api/resource/v1";
// AllocatedDeviceStatus contains the status of an allocated device, if the
// driver chooses to report it. This may include driver-specific information.

View file

@ -14,7 +14,7 @@ See the License for the specific language governing permissions and
limitations under the License.
*/
package v1beta2
package v1
import (
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
@ -26,7 +26,7 @@ import (
const GroupName = "resource.k8s.io"
// SchemeGroupVersion is group version used to register these objects
var SchemeGroupVersion = schema.GroupVersion{Group: GroupName, Version: "v1beta2"}
var SchemeGroupVersion = schema.GroupVersion{Group: GroupName, Version: "v1"}
// Resource takes an unqualified resource and returns a Group qualified GroupResource
func Resource(resource string) schema.GroupResource {

View file

@ -14,7 +14,7 @@ See the License for the specific language governing permissions and
limitations under the License.
*/
package v1beta2
package v1
import (
v1 "k8s.io/api/core/v1"

View file

@ -14,7 +14,7 @@ See the License for the specific language governing permissions and
limitations under the License.
*/
package v1beta2
package v1
// This file contains a collection of methods that can be used from go-restful to
// generate Swagger API documentation for its models. Please read this PR for more

View file

@ -19,11 +19,11 @@ limitations under the License.
// Code generated by deepcopy-gen. DO NOT EDIT.
package v1beta2
package v1
import (
corev1 "k8s.io/api/core/v1"
v1 "k8s.io/apimachinery/pkg/apis/meta/v1"
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
runtime "k8s.io/apimachinery/pkg/runtime"
)
@ -32,7 +32,7 @@ func (in *AllocatedDeviceStatus) DeepCopyInto(out *AllocatedDeviceStatus) {
*out = *in
if in.Conditions != nil {
in, out := &in.Conditions, &out.Conditions
*out = make([]v1.Condition, len(*in))
*out = make([]metav1.Condition, len(*in))
for i := range *in {
(*in)[i].DeepCopyInto(&(*out)[i])
}

View file

@ -19,148 +19,52 @@ limitations under the License.
// Code generated by prerelease-lifecycle-gen. DO NOT EDIT.
package v1beta2
package v1
// APILifecycleIntroduced is an autogenerated function, returning the release in which the API struct was introduced as int versions of major and minor for comparison.
// It is controlled by "k8s:prerelease-lifecycle-gen:introduced" tags in types.go.
func (in *DeviceClass) APILifecycleIntroduced() (major, minor int) {
return 1, 33
}
// APILifecycleDeprecated is an autogenerated function, returning the release in which the API struct was or will be deprecated as int versions of major and minor for comparison.
// It is controlled by "k8s:prerelease-lifecycle-gen:deprecated" tags in types.go or "k8s:prerelease-lifecycle-gen:introduced" plus three minor.
func (in *DeviceClass) APILifecycleDeprecated() (major, minor int) {
return 1, 36
}
// APILifecycleRemoved is an autogenerated function, returning the release in which the API is no longer served as int versions of major and minor for comparison.
// It is controlled by "k8s:prerelease-lifecycle-gen:removed" tags in types.go or "k8s:prerelease-lifecycle-gen:deprecated" plus three minor.
func (in *DeviceClass) APILifecycleRemoved() (major, minor int) {
return 1, 39
return 1, 34
}
// APILifecycleIntroduced is an autogenerated function, returning the release in which the API struct was introduced as int versions of major and minor for comparison.
// It is controlled by "k8s:prerelease-lifecycle-gen:introduced" tags in types.go.
func (in *DeviceClassList) APILifecycleIntroduced() (major, minor int) {
return 1, 33
}
// APILifecycleDeprecated is an autogenerated function, returning the release in which the API struct was or will be deprecated as int versions of major and minor for comparison.
// It is controlled by "k8s:prerelease-lifecycle-gen:deprecated" tags in types.go or "k8s:prerelease-lifecycle-gen:introduced" plus three minor.
func (in *DeviceClassList) APILifecycleDeprecated() (major, minor int) {
return 1, 36
}
// APILifecycleRemoved is an autogenerated function, returning the release in which the API is no longer served as int versions of major and minor for comparison.
// It is controlled by "k8s:prerelease-lifecycle-gen:removed" tags in types.go or "k8s:prerelease-lifecycle-gen:deprecated" plus three minor.
func (in *DeviceClassList) APILifecycleRemoved() (major, minor int) {
return 1, 39
return 1, 34
}
// APILifecycleIntroduced is an autogenerated function, returning the release in which the API struct was introduced as int versions of major and minor for comparison.
// It is controlled by "k8s:prerelease-lifecycle-gen:introduced" tags in types.go.
func (in *ResourceClaim) APILifecycleIntroduced() (major, minor int) {
return 1, 33
}
// APILifecycleDeprecated is an autogenerated function, returning the release in which the API struct was or will be deprecated as int versions of major and minor for comparison.
// It is controlled by "k8s:prerelease-lifecycle-gen:deprecated" tags in types.go or "k8s:prerelease-lifecycle-gen:introduced" plus three minor.
func (in *ResourceClaim) APILifecycleDeprecated() (major, minor int) {
return 1, 36
}
// APILifecycleRemoved is an autogenerated function, returning the release in which the API is no longer served as int versions of major and minor for comparison.
// It is controlled by "k8s:prerelease-lifecycle-gen:removed" tags in types.go or "k8s:prerelease-lifecycle-gen:deprecated" plus three minor.
func (in *ResourceClaim) APILifecycleRemoved() (major, minor int) {
return 1, 39
return 1, 34
}
// APILifecycleIntroduced is an autogenerated function, returning the release in which the API struct was introduced as int versions of major and minor for comparison.
// It is controlled by "k8s:prerelease-lifecycle-gen:introduced" tags in types.go.
func (in *ResourceClaimList) APILifecycleIntroduced() (major, minor int) {
return 1, 33
}
// APILifecycleDeprecated is an autogenerated function, returning the release in which the API struct was or will be deprecated as int versions of major and minor for comparison.
// It is controlled by "k8s:prerelease-lifecycle-gen:deprecated" tags in types.go or "k8s:prerelease-lifecycle-gen:introduced" plus three minor.
func (in *ResourceClaimList) APILifecycleDeprecated() (major, minor int) {
return 1, 36
}
// APILifecycleRemoved is an autogenerated function, returning the release in which the API is no longer served as int versions of major and minor for comparison.
// It is controlled by "k8s:prerelease-lifecycle-gen:removed" tags in types.go or "k8s:prerelease-lifecycle-gen:deprecated" plus three minor.
func (in *ResourceClaimList) APILifecycleRemoved() (major, minor int) {
return 1, 39
return 1, 34
}
// APILifecycleIntroduced is an autogenerated function, returning the release in which the API struct was introduced as int versions of major and minor for comparison.
// It is controlled by "k8s:prerelease-lifecycle-gen:introduced" tags in types.go.
func (in *ResourceClaimTemplate) APILifecycleIntroduced() (major, minor int) {
return 1, 33
}
// APILifecycleDeprecated is an autogenerated function, returning the release in which the API struct was or will be deprecated as int versions of major and minor for comparison.
// It is controlled by "k8s:prerelease-lifecycle-gen:deprecated" tags in types.go or "k8s:prerelease-lifecycle-gen:introduced" plus three minor.
func (in *ResourceClaimTemplate) APILifecycleDeprecated() (major, minor int) {
return 1, 36
}
// APILifecycleRemoved is an autogenerated function, returning the release in which the API is no longer served as int versions of major and minor for comparison.
// It is controlled by "k8s:prerelease-lifecycle-gen:removed" tags in types.go or "k8s:prerelease-lifecycle-gen:deprecated" plus three minor.
func (in *ResourceClaimTemplate) APILifecycleRemoved() (major, minor int) {
return 1, 39
return 1, 34
}
// APILifecycleIntroduced is an autogenerated function, returning the release in which the API struct was introduced as int versions of major and minor for comparison.
// It is controlled by "k8s:prerelease-lifecycle-gen:introduced" tags in types.go.
func (in *ResourceClaimTemplateList) APILifecycleIntroduced() (major, minor int) {
return 1, 33
}
// APILifecycleDeprecated is an autogenerated function, returning the release in which the API struct was or will be deprecated as int versions of major and minor for comparison.
// It is controlled by "k8s:prerelease-lifecycle-gen:deprecated" tags in types.go or "k8s:prerelease-lifecycle-gen:introduced" plus three minor.
func (in *ResourceClaimTemplateList) APILifecycleDeprecated() (major, minor int) {
return 1, 36
}
// APILifecycleRemoved is an autogenerated function, returning the release in which the API is no longer served as int versions of major and minor for comparison.
// It is controlled by "k8s:prerelease-lifecycle-gen:removed" tags in types.go or "k8s:prerelease-lifecycle-gen:deprecated" plus three minor.
func (in *ResourceClaimTemplateList) APILifecycleRemoved() (major, minor int) {
return 1, 39
return 1, 34
}
// APILifecycleIntroduced is an autogenerated function, returning the release in which the API struct was introduced as int versions of major and minor for comparison.
// It is controlled by "k8s:prerelease-lifecycle-gen:introduced" tags in types.go.
func (in *ResourceSlice) APILifecycleIntroduced() (major, minor int) {
return 1, 33
}
// APILifecycleDeprecated is an autogenerated function, returning the release in which the API struct was or will be deprecated as int versions of major and minor for comparison.
// It is controlled by "k8s:prerelease-lifecycle-gen:deprecated" tags in types.go or "k8s:prerelease-lifecycle-gen:introduced" plus three minor.
func (in *ResourceSlice) APILifecycleDeprecated() (major, minor int) {
return 1, 36
}
// APILifecycleRemoved is an autogenerated function, returning the release in which the API is no longer served as int versions of major and minor for comparison.
// It is controlled by "k8s:prerelease-lifecycle-gen:removed" tags in types.go or "k8s:prerelease-lifecycle-gen:deprecated" plus three minor.
func (in *ResourceSlice) APILifecycleRemoved() (major, minor int) {
return 1, 39
return 1, 34
}
// APILifecycleIntroduced is an autogenerated function, returning the release in which the API struct was introduced as int versions of major and minor for comparison.
// It is controlled by "k8s:prerelease-lifecycle-gen:introduced" tags in types.go.
func (in *ResourceSliceList) APILifecycleIntroduced() (major, minor int) {
return 1, 33
}
// APILifecycleDeprecated is an autogenerated function, returning the release in which the API struct was or will be deprecated as int versions of major and minor for comparison.
// It is controlled by "k8s:prerelease-lifecycle-gen:deprecated" tags in types.go or "k8s:prerelease-lifecycle-gen:introduced" plus three minor.
func (in *ResourceSliceList) APILifecycleDeprecated() (major, minor int) {
return 1, 36
}
// APILifecycleRemoved is an autogenerated function, returning the release in which the API is no longer served as int versions of major and minor for comparison.
// It is controlled by "k8s:prerelease-lifecycle-gen:removed" tags in types.go or "k8s:prerelease-lifecycle-gen:deprecated" plus three minor.
func (in *ResourceSliceList) APILifecycleRemoved() (major, minor int) {
return 1, 39
return 1, 34
}

View file

@ -0,0 +1,72 @@
{
"kind": "DeviceClass",
"apiVersion": "resource.k8s.io/v1",
"metadata": {
"name": "nameValue",
"generateName": "generateNameValue",
"namespace": "namespaceValue",
"selfLink": "selfLinkValue",
"uid": "uidValue",
"resourceVersion": "resourceVersionValue",
"generation": 7,
"creationTimestamp": "2008-01-01T01:01:01Z",
"deletionTimestamp": "2009-01-01T01:01:01Z",
"deletionGracePeriodSeconds": 10,
"labels": {
"labelsKey": "labelsValue"
},
"annotations": {
"annotationsKey": "annotationsValue"
},
"ownerReferences": [
{
"apiVersion": "apiVersionValue",
"kind": "kindValue",
"name": "nameValue",
"uid": "uidValue",
"controller": true,
"blockOwnerDeletion": true
}
],
"finalizers": [
"finalizersValue"
],
"managedFields": [
{
"manager": "managerValue",
"operation": "operationValue",
"apiVersion": "apiVersionValue",
"time": "2004-01-01T01:01:01Z",
"fieldsType": "fieldsTypeValue",
"fieldsV1": {},
"subresource": "subresourceValue"
}
]
},
"spec": {
"selectors": [
{
"cel": {
"expression": "expressionValue"
}
}
],
"config": [
{
"opaque": {
"driver": "driverValue",
"parameters": {
"apiVersion": "example.com/v1",
"kind": "CustomType",
"spec": {
"replicas": 1
},
"status": {
"available": 1
}
}
}
}
]
}
}

View file

@ -0,0 +1,48 @@
apiVersion: resource.k8s.io/v1
kind: DeviceClass
metadata:
annotations:
annotationsKey: annotationsValue
creationTimestamp: "2008-01-01T01:01:01Z"
deletionGracePeriodSeconds: 10
deletionTimestamp: "2009-01-01T01:01:01Z"
finalizers:
- finalizersValue
generateName: generateNameValue
generation: 7
labels:
labelsKey: labelsValue
managedFields:
- apiVersion: apiVersionValue
fieldsType: fieldsTypeValue
fieldsV1: {}
manager: managerValue
operation: operationValue
subresource: subresourceValue
time: "2004-01-01T01:01:01Z"
name: nameValue
namespace: namespaceValue
ownerReferences:
- apiVersion: apiVersionValue
blockOwnerDeletion: true
controller: true
kind: kindValue
name: nameValue
uid: uidValue
resourceVersion: resourceVersionValue
selfLink: selfLinkValue
uid: uidValue
spec:
config:
- opaque:
driver: driverValue
parameters:
apiVersion: example.com/v1
kind: CustomType
spec:
replicas: 1
status:
available: 1
selectors:
- cel:
expression: expressionValue

View file

@ -0,0 +1,240 @@
{
"kind": "ResourceClaim",
"apiVersion": "resource.k8s.io/v1",
"metadata": {
"name": "nameValue",
"generateName": "generateNameValue",
"namespace": "namespaceValue",
"selfLink": "selfLinkValue",
"uid": "uidValue",
"resourceVersion": "resourceVersionValue",
"generation": 7,
"creationTimestamp": "2008-01-01T01:01:01Z",
"deletionTimestamp": "2009-01-01T01:01:01Z",
"deletionGracePeriodSeconds": 10,
"labels": {
"labelsKey": "labelsValue"
},
"annotations": {
"annotationsKey": "annotationsValue"
},
"ownerReferences": [
{
"apiVersion": "apiVersionValue",
"kind": "kindValue",
"name": "nameValue",
"uid": "uidValue",
"controller": true,
"blockOwnerDeletion": true
}
],
"finalizers": [
"finalizersValue"
],
"managedFields": [
{
"manager": "managerValue",
"operation": "operationValue",
"apiVersion": "apiVersionValue",
"time": "2004-01-01T01:01:01Z",
"fieldsType": "fieldsTypeValue",
"fieldsV1": {},
"subresource": "subresourceValue"
}
]
},
"spec": {
"devices": {
"requests": [
{
"name": "nameValue",
"exactly": {
"deviceClassName": "deviceClassNameValue",
"selectors": [
{
"cel": {
"expression": "expressionValue"
}
}
],
"allocationMode": "allocationModeValue",
"count": 4,
"adminAccess": true,
"tolerations": [
{
"key": "keyValue",
"operator": "operatorValue",
"value": "valueValue",
"effect": "effectValue",
"tolerationSeconds": 5
}
]
},
"firstAvailable": [
{
"name": "nameValue",
"deviceClassName": "deviceClassNameValue",
"selectors": [
{
"cel": {
"expression": "expressionValue"
}
}
],
"allocationMode": "allocationModeValue",
"count": 5,
"tolerations": [
{
"key": "keyValue",
"operator": "operatorValue",
"value": "valueValue",
"effect": "effectValue",
"tolerationSeconds": 5
}
]
}
]
}
],
"constraints": [
{
"requests": [
"requestsValue"
],
"matchAttribute": "matchAttributeValue"
}
],
"config": [
{
"requests": [
"requestsValue"
],
"opaque": {
"driver": "driverValue",
"parameters": {
"apiVersion": "example.com/v1",
"kind": "CustomType",
"spec": {
"replicas": 1
},
"status": {
"available": 1
}
}
}
}
]
}
},
"status": {
"allocation": {
"devices": {
"results": [
{
"request": "requestValue",
"driver": "driverValue",
"pool": "poolValue",
"device": "deviceValue",
"adminAccess": true,
"tolerations": [
{
"key": "keyValue",
"operator": "operatorValue",
"value": "valueValue",
"effect": "effectValue",
"tolerationSeconds": 5
}
]
}
],
"config": [
{
"source": "sourceValue",
"requests": [
"requestsValue"
],
"opaque": {
"driver": "driverValue",
"parameters": {
"apiVersion": "example.com/v1",
"kind": "CustomType",
"spec": {
"replicas": 1
},
"status": {
"available": 1
}
}
}
}
]
},
"nodeSelector": {
"nodeSelectorTerms": [
{
"matchExpressions": [
{
"key": "keyValue",
"operator": "operatorValue",
"values": [
"valuesValue"
]
}
],
"matchFields": [
{
"key": "keyValue",
"operator": "operatorValue",
"values": [
"valuesValue"
]
}
]
}
]
}
},
"reservedFor": [
{
"apiGroup": "apiGroupValue",
"resource": "resourceValue",
"name": "nameValue",
"uid": "uidValue"
}
],
"devices": [
{
"driver": "driverValue",
"pool": "poolValue",
"device": "deviceValue",
"conditions": [
{
"type": "typeValue",
"status": "statusValue",
"observedGeneration": 3,
"lastTransitionTime": "2004-01-01T01:01:01Z",
"reason": "reasonValue",
"message": "messageValue"
}
],
"data": {
"apiVersion": "example.com/v1",
"kind": "CustomType",
"spec": {
"replicas": 1
},
"status": {
"available": 1
}
},
"networkData": {
"interfaceName": "interfaceNameValue",
"ips": [
"ipsValue"
],
"hardwareAddress": "hardwareAddressValue"
}
}
]
}
}

View file

@ -0,0 +1,150 @@
apiVersion: resource.k8s.io/v1
kind: ResourceClaim
metadata:
annotations:
annotationsKey: annotationsValue
creationTimestamp: "2008-01-01T01:01:01Z"
deletionGracePeriodSeconds: 10
deletionTimestamp: "2009-01-01T01:01:01Z"
finalizers:
- finalizersValue
generateName: generateNameValue
generation: 7
labels:
labelsKey: labelsValue
managedFields:
- apiVersion: apiVersionValue
fieldsType: fieldsTypeValue
fieldsV1: {}
manager: managerValue
operation: operationValue
subresource: subresourceValue
time: "2004-01-01T01:01:01Z"
name: nameValue
namespace: namespaceValue
ownerReferences:
- apiVersion: apiVersionValue
blockOwnerDeletion: true
controller: true
kind: kindValue
name: nameValue
uid: uidValue
resourceVersion: resourceVersionValue
selfLink: selfLinkValue
uid: uidValue
spec:
devices:
config:
- opaque:
driver: driverValue
parameters:
apiVersion: example.com/v1
kind: CustomType
spec:
replicas: 1
status:
available: 1
requests:
- requestsValue
constraints:
- matchAttribute: matchAttributeValue
requests:
- requestsValue
requests:
- exactly:
adminAccess: true
allocationMode: allocationModeValue
count: 4
deviceClassName: deviceClassNameValue
selectors:
- cel:
expression: expressionValue
tolerations:
- effect: effectValue
key: keyValue
operator: operatorValue
tolerationSeconds: 5
value: valueValue
firstAvailable:
- allocationMode: allocationModeValue
count: 5
deviceClassName: deviceClassNameValue
name: nameValue
selectors:
- cel:
expression: expressionValue
tolerations:
- effect: effectValue
key: keyValue
operator: operatorValue
tolerationSeconds: 5
value: valueValue
name: nameValue
status:
allocation:
devices:
config:
- opaque:
driver: driverValue
parameters:
apiVersion: example.com/v1
kind: CustomType
spec:
replicas: 1
status:
available: 1
requests:
- requestsValue
source: sourceValue
results:
- adminAccess: true
device: deviceValue
driver: driverValue
pool: poolValue
request: requestValue
tolerations:
- effect: effectValue
key: keyValue
operator: operatorValue
tolerationSeconds: 5
value: valueValue
nodeSelector:
nodeSelectorTerms:
- matchExpressions:
- key: keyValue
operator: operatorValue
values:
- valuesValue
matchFields:
- key: keyValue
operator: operatorValue
values:
- valuesValue
devices:
- conditions:
- lastTransitionTime: "2004-01-01T01:01:01Z"
message: messageValue
observedGeneration: 3
reason: reasonValue
status: statusValue
type: typeValue
data:
apiVersion: example.com/v1
kind: CustomType
spec:
replicas: 1
status:
available: 1
device: deviceValue
driver: driverValue
networkData:
hardwareAddress: hardwareAddressValue
interfaceName: interfaceNameValue
ips:
- ipsValue
pool: poolValue
reservedFor:
- apiGroup: apiGroupValue
name: nameValue
resource: resourceValue
uid: uidValue

View file

@ -0,0 +1,173 @@
{
"kind": "ResourceClaimTemplate",
"apiVersion": "resource.k8s.io/v1",
"metadata": {
"name": "nameValue",
"generateName": "generateNameValue",
"namespace": "namespaceValue",
"selfLink": "selfLinkValue",
"uid": "uidValue",
"resourceVersion": "resourceVersionValue",
"generation": 7,
"creationTimestamp": "2008-01-01T01:01:01Z",
"deletionTimestamp": "2009-01-01T01:01:01Z",
"deletionGracePeriodSeconds": 10,
"labels": {
"labelsKey": "labelsValue"
},
"annotations": {
"annotationsKey": "annotationsValue"
},
"ownerReferences": [
{
"apiVersion": "apiVersionValue",
"kind": "kindValue",
"name": "nameValue",
"uid": "uidValue",
"controller": true,
"blockOwnerDeletion": true
}
],
"finalizers": [
"finalizersValue"
],
"managedFields": [
{
"manager": "managerValue",
"operation": "operationValue",
"apiVersion": "apiVersionValue",
"time": "2004-01-01T01:01:01Z",
"fieldsType": "fieldsTypeValue",
"fieldsV1": {},
"subresource": "subresourceValue"
}
]
},
"spec": {
"metadata": {
"name": "nameValue",
"generateName": "generateNameValue",
"namespace": "namespaceValue",
"selfLink": "selfLinkValue",
"uid": "uidValue",
"resourceVersion": "resourceVersionValue",
"generation": 7,
"creationTimestamp": "2008-01-01T01:01:01Z",
"deletionTimestamp": "2009-01-01T01:01:01Z",
"deletionGracePeriodSeconds": 10,
"labels": {
"labelsKey": "labelsValue"
},
"annotations": {
"annotationsKey": "annotationsValue"
},
"ownerReferences": [
{
"apiVersion": "apiVersionValue",
"kind": "kindValue",
"name": "nameValue",
"uid": "uidValue",
"controller": true,
"blockOwnerDeletion": true
}
],
"finalizers": [
"finalizersValue"
],
"managedFields": [
{
"manager": "managerValue",
"operation": "operationValue",
"apiVersion": "apiVersionValue",
"time": "2004-01-01T01:01:01Z",
"fieldsType": "fieldsTypeValue",
"fieldsV1": {},
"subresource": "subresourceValue"
}
]
},
"spec": {
"devices": {
"requests": [
{
"name": "nameValue",
"exactly": {
"deviceClassName": "deviceClassNameValue",
"selectors": [
{
"cel": {
"expression": "expressionValue"
}
}
],
"allocationMode": "allocationModeValue",
"count": 4,
"adminAccess": true,
"tolerations": [
{
"key": "keyValue",
"operator": "operatorValue",
"value": "valueValue",
"effect": "effectValue",
"tolerationSeconds": 5
}
]
},
"firstAvailable": [
{
"name": "nameValue",
"deviceClassName": "deviceClassNameValue",
"selectors": [
{
"cel": {
"expression": "expressionValue"
}
}
],
"allocationMode": "allocationModeValue",
"count": 5,
"tolerations": [
{
"key": "keyValue",
"operator": "operatorValue",
"value": "valueValue",
"effect": "effectValue",
"tolerationSeconds": 5
}
]
}
]
}
],
"constraints": [
{
"requests": [
"requestsValue"
],
"matchAttribute": "matchAttributeValue"
}
],
"config": [
{
"requests": [
"requestsValue"
],
"opaque": {
"driver": "driverValue",
"parameters": {
"apiVersion": "example.com/v1",
"kind": "CustomType",
"spec": {
"replicas": 1
},
"status": {
"available": 1
}
}
}
}
]
}
}
}
}

View file

@ -0,0 +1,115 @@
apiVersion: resource.k8s.io/v1
kind: ResourceClaimTemplate
metadata:
annotations:
annotationsKey: annotationsValue
creationTimestamp: "2008-01-01T01:01:01Z"
deletionGracePeriodSeconds: 10
deletionTimestamp: "2009-01-01T01:01:01Z"
finalizers:
- finalizersValue
generateName: generateNameValue
generation: 7
labels:
labelsKey: labelsValue
managedFields:
- apiVersion: apiVersionValue
fieldsType: fieldsTypeValue
fieldsV1: {}
manager: managerValue
operation: operationValue
subresource: subresourceValue
time: "2004-01-01T01:01:01Z"
name: nameValue
namespace: namespaceValue
ownerReferences:
- apiVersion: apiVersionValue
blockOwnerDeletion: true
controller: true
kind: kindValue
name: nameValue
uid: uidValue
resourceVersion: resourceVersionValue
selfLink: selfLinkValue
uid: uidValue
spec:
metadata:
annotations:
annotationsKey: annotationsValue
creationTimestamp: "2008-01-01T01:01:01Z"
deletionGracePeriodSeconds: 10
deletionTimestamp: "2009-01-01T01:01:01Z"
finalizers:
- finalizersValue
generateName: generateNameValue
generation: 7
labels:
labelsKey: labelsValue
managedFields:
- apiVersion: apiVersionValue
fieldsType: fieldsTypeValue
fieldsV1: {}
manager: managerValue
operation: operationValue
subresource: subresourceValue
time: "2004-01-01T01:01:01Z"
name: nameValue
namespace: namespaceValue
ownerReferences:
- apiVersion: apiVersionValue
blockOwnerDeletion: true
controller: true
kind: kindValue
name: nameValue
uid: uidValue
resourceVersion: resourceVersionValue
selfLink: selfLinkValue
uid: uidValue
spec:
devices:
config:
- opaque:
driver: driverValue
parameters:
apiVersion: example.com/v1
kind: CustomType
spec:
replicas: 1
status:
available: 1
requests:
- requestsValue
constraints:
- matchAttribute: matchAttributeValue
requests:
- requestsValue
requests:
- exactly:
adminAccess: true
allocationMode: allocationModeValue
count: 4
deviceClassName: deviceClassNameValue
selectors:
- cel:
expression: expressionValue
tolerations:
- effect: effectValue
key: keyValue
operator: operatorValue
tolerationSeconds: 5
value: valueValue
firstAvailable:
- allocationMode: allocationModeValue
count: 5
deviceClassName: deviceClassNameValue
name: nameValue
selectors:
- cel:
expression: expressionValue
tolerations:
- effect: effectValue
key: keyValue
operator: operatorValue
tolerationSeconds: 5
value: valueValue
name: nameValue

View file

@ -0,0 +1,153 @@
{
"kind": "ResourceSlice",
"apiVersion": "resource.k8s.io/v1",
"metadata": {
"name": "nameValue",
"generateName": "generateNameValue",
"namespace": "namespaceValue",
"selfLink": "selfLinkValue",
"uid": "uidValue",
"resourceVersion": "resourceVersionValue",
"generation": 7,
"creationTimestamp": "2008-01-01T01:01:01Z",
"deletionTimestamp": "2009-01-01T01:01:01Z",
"deletionGracePeriodSeconds": 10,
"labels": {
"labelsKey": "labelsValue"
},
"annotations": {
"annotationsKey": "annotationsValue"
},
"ownerReferences": [
{
"apiVersion": "apiVersionValue",
"kind": "kindValue",
"name": "nameValue",
"uid": "uidValue",
"controller": true,
"blockOwnerDeletion": true
}
],
"finalizers": [
"finalizersValue"
],
"managedFields": [
{
"manager": "managerValue",
"operation": "operationValue",
"apiVersion": "apiVersionValue",
"time": "2004-01-01T01:01:01Z",
"fieldsType": "fieldsTypeValue",
"fieldsV1": {},
"subresource": "subresourceValue"
}
]
},
"spec": {
"driver": "driverValue",
"pool": {
"name": "nameValue",
"generation": 2,
"resourceSliceCount": 3
},
"nodeName": "nodeNameValue",
"nodeSelector": {
"nodeSelectorTerms": [
{
"matchExpressions": [
{
"key": "keyValue",
"operator": "operatorValue",
"values": [
"valuesValue"
]
}
],
"matchFields": [
{
"key": "keyValue",
"operator": "operatorValue",
"values": [
"valuesValue"
]
}
]
}
]
},
"allNodes": true,
"devices": [
{
"name": "nameValue",
"attributes": {
"attributesKey": {
"int": 2,
"bool": true,
"string": "stringValue",
"version": "versionValue"
}
},
"capacity": {
"capacityKey": {
"value": "0"
}
},
"consumesCounters": [
{
"counterSet": "counterSetValue",
"counters": {
"countersKey": {
"value": "0"
}
}
}
],
"nodeName": "nodeNameValue",
"nodeSelector": {
"nodeSelectorTerms": [
{
"matchExpressions": [
{
"key": "keyValue",
"operator": "operatorValue",
"values": [
"valuesValue"
]
}
],
"matchFields": [
{
"key": "keyValue",
"operator": "operatorValue",
"values": [
"valuesValue"
]
}
]
}
]
},
"allNodes": true,
"taints": [
{
"key": "keyValue",
"value": "valueValue",
"effect": "effectValue",
"timeAdded": "2004-01-01T01:01:01Z"
}
]
}
],
"perDeviceNodeSelection": true,
"sharedCounters": [
{
"name": "nameValue",
"counters": {
"countersKey": {
"value": "0"
}
}
}
]
}
}

View file

@ -0,0 +1,95 @@
apiVersion: resource.k8s.io/v1
kind: ResourceSlice
metadata:
annotations:
annotationsKey: annotationsValue
creationTimestamp: "2008-01-01T01:01:01Z"
deletionGracePeriodSeconds: 10
deletionTimestamp: "2009-01-01T01:01:01Z"
finalizers:
- finalizersValue
generateName: generateNameValue
generation: 7
labels:
labelsKey: labelsValue
managedFields:
- apiVersion: apiVersionValue
fieldsType: fieldsTypeValue
fieldsV1: {}
manager: managerValue
operation: operationValue
subresource: subresourceValue
time: "2004-01-01T01:01:01Z"
name: nameValue
namespace: namespaceValue
ownerReferences:
- apiVersion: apiVersionValue
blockOwnerDeletion: true
controller: true
kind: kindValue
name: nameValue
uid: uidValue
resourceVersion: resourceVersionValue
selfLink: selfLinkValue
uid: uidValue
spec:
allNodes: true
devices:
- allNodes: true
attributes:
attributesKey:
bool: true
int: 2
string: stringValue
version: versionValue
capacity:
capacityKey:
value: "0"
consumesCounters:
- counterSet: counterSetValue
counters:
countersKey:
value: "0"
name: nameValue
nodeName: nodeNameValue
nodeSelector:
nodeSelectorTerms:
- matchExpressions:
- key: keyValue
operator: operatorValue
values:
- valuesValue
matchFields:
- key: keyValue
operator: operatorValue
values:
- valuesValue
taints:
- effect: effectValue
key: keyValue
timeAdded: "2004-01-01T01:01:01Z"
value: valueValue
driver: driverValue
nodeName: nodeNameValue
nodeSelector:
nodeSelectorTerms:
- matchExpressions:
- key: keyValue
operator: operatorValue
values:
- valuesValue
matchFields:
- key: keyValue
operator: operatorValue
values:
- valuesValue
perDeviceNodeSelection: true
pool:
generation: 2
name: nameValue
resourceSliceCount: 3
sharedCounters:
- counters:
countersKey:
value: "0"
name: nameValue

View file

@ -12735,6 +12735,588 @@ var schemaYAML = typed.YAMLObject(`types:
- name: namespace
type:
scalar: string
- name: io.k8s.api.resource.v1.AllocatedDeviceStatus
map:
fields:
- name: conditions
type:
list:
elementType:
namedType: io.k8s.apimachinery.pkg.apis.meta.v1.Condition
elementRelationship: associative
keys:
- type
- name: data
type:
namedType: __untyped_atomic_
- name: device
type:
scalar: string
default: ""
- name: driver
type:
scalar: string
default: ""
- name: networkData
type:
namedType: io.k8s.api.resource.v1.NetworkDeviceData
- name: pool
type:
scalar: string
default: ""
- name: io.k8s.api.resource.v1.AllocationResult
map:
fields:
- name: devices
type:
namedType: io.k8s.api.resource.v1.DeviceAllocationResult
default: {}
- name: nodeSelector
type:
namedType: io.k8s.api.core.v1.NodeSelector
- name: io.k8s.api.resource.v1.CELDeviceSelector
map:
fields:
- name: expression
type:
scalar: string
default: ""
- name: io.k8s.api.resource.v1.Counter
map:
fields:
- name: value
type:
namedType: io.k8s.apimachinery.pkg.api.resource.Quantity
- name: io.k8s.api.resource.v1.CounterSet
map:
fields:
- name: counters
type:
map:
elementType:
namedType: io.k8s.api.resource.v1.Counter
- name: name
type:
scalar: string
default: ""
- name: io.k8s.api.resource.v1.Device
map:
fields:
- name: allNodes
type:
scalar: boolean
- name: attributes
type:
map:
elementType:
namedType: io.k8s.api.resource.v1.DeviceAttribute
- name: capacity
type:
map:
elementType:
namedType: io.k8s.api.resource.v1.DeviceCapacity
- name: consumesCounters
type:
list:
elementType:
namedType: io.k8s.api.resource.v1.DeviceCounterConsumption
elementRelationship: atomic
- name: name
type:
scalar: string
default: ""
- name: nodeName
type:
scalar: string
- name: nodeSelector
type:
namedType: io.k8s.api.core.v1.NodeSelector
- name: taints
type:
list:
elementType:
namedType: io.k8s.api.resource.v1.DeviceTaint
elementRelationship: atomic
- name: io.k8s.api.resource.v1.DeviceAllocationConfiguration
map:
fields:
- name: opaque
type:
namedType: io.k8s.api.resource.v1.OpaqueDeviceConfiguration
- name: requests
type:
list:
elementType:
scalar: string
elementRelationship: atomic
- name: source
type:
scalar: string
default: ""
- name: io.k8s.api.resource.v1.DeviceAllocationResult
map:
fields:
- name: config
type:
list:
elementType:
namedType: io.k8s.api.resource.v1.DeviceAllocationConfiguration
elementRelationship: atomic
- name: results
type:
list:
elementType:
namedType: io.k8s.api.resource.v1.DeviceRequestAllocationResult
elementRelationship: atomic
- name: io.k8s.api.resource.v1.DeviceAttribute
map:
fields:
- name: bool
type:
scalar: boolean
- name: int
type:
scalar: numeric
- name: string
type:
scalar: string
- name: version
type:
scalar: string
- name: io.k8s.api.resource.v1.DeviceCapacity
map:
fields:
- name: value
type:
namedType: io.k8s.apimachinery.pkg.api.resource.Quantity
- name: io.k8s.api.resource.v1.DeviceClaim
map:
fields:
- name: config
type:
list:
elementType:
namedType: io.k8s.api.resource.v1.DeviceClaimConfiguration
elementRelationship: atomic
- name: constraints
type:
list:
elementType:
namedType: io.k8s.api.resource.v1.DeviceConstraint
elementRelationship: atomic
- name: requests
type:
list:
elementType:
namedType: io.k8s.api.resource.v1.DeviceRequest
elementRelationship: atomic
- name: io.k8s.api.resource.v1.DeviceClaimConfiguration
map:
fields:
- name: opaque
type:
namedType: io.k8s.api.resource.v1.OpaqueDeviceConfiguration
- name: requests
type:
list:
elementType:
scalar: string
elementRelationship: atomic
- name: io.k8s.api.resource.v1.DeviceClass
map:
fields:
- name: apiVersion
type:
scalar: string
- name: kind
type:
scalar: string
- name: metadata
type:
namedType: io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta
default: {}
- name: spec
type:
namedType: io.k8s.api.resource.v1.DeviceClassSpec
default: {}
- name: io.k8s.api.resource.v1.DeviceClassConfiguration
map:
fields:
- name: opaque
type:
namedType: io.k8s.api.resource.v1.OpaqueDeviceConfiguration
- name: io.k8s.api.resource.v1.DeviceClassSpec
map:
fields:
- name: config
type:
list:
elementType:
namedType: io.k8s.api.resource.v1.DeviceClassConfiguration
elementRelationship: atomic
- name: selectors
type:
list:
elementType:
namedType: io.k8s.api.resource.v1.DeviceSelector
elementRelationship: atomic
- name: io.k8s.api.resource.v1.DeviceConstraint
map:
fields:
- name: matchAttribute
type:
scalar: string
- name: requests
type:
list:
elementType:
scalar: string
elementRelationship: atomic
- name: io.k8s.api.resource.v1.DeviceCounterConsumption
map:
fields:
- name: counterSet
type:
scalar: string
default: ""
- name: counters
type:
map:
elementType:
namedType: io.k8s.api.resource.v1.Counter
- name: io.k8s.api.resource.v1.DeviceRequest
map:
fields:
- name: exactly
type:
namedType: io.k8s.api.resource.v1.ExactDeviceRequest
- name: firstAvailable
type:
list:
elementType:
namedType: io.k8s.api.resource.v1.DeviceSubRequest
elementRelationship: atomic
- name: name
type:
scalar: string
default: ""
- name: io.k8s.api.resource.v1.DeviceRequestAllocationResult
map:
fields:
- name: adminAccess
type:
scalar: boolean
- name: device
type:
scalar: string
default: ""
- name: driver
type:
scalar: string
default: ""
- name: pool
type:
scalar: string
default: ""
- name: request
type:
scalar: string
default: ""
- name: tolerations
type:
list:
elementType:
namedType: io.k8s.api.resource.v1.DeviceToleration
elementRelationship: atomic
- name: io.k8s.api.resource.v1.DeviceSelector
map:
fields:
- name: cel
type:
namedType: io.k8s.api.resource.v1.CELDeviceSelector
- name: io.k8s.api.resource.v1.DeviceSubRequest
map:
fields:
- name: allocationMode
type:
scalar: string
- name: count
type:
scalar: numeric
- name: deviceClassName
type:
scalar: string
default: ""
- name: name
type:
scalar: string
default: ""
- name: selectors
type:
list:
elementType:
namedType: io.k8s.api.resource.v1.DeviceSelector
elementRelationship: atomic
- name: tolerations
type:
list:
elementType:
namedType: io.k8s.api.resource.v1.DeviceToleration
elementRelationship: atomic
- name: io.k8s.api.resource.v1.DeviceTaint
map:
fields:
- name: effect
type:
scalar: string
default: ""
- name: key
type:
scalar: string
default: ""
- name: timeAdded
type:
namedType: io.k8s.apimachinery.pkg.apis.meta.v1.Time
- name: value
type:
scalar: string
- name: io.k8s.api.resource.v1.DeviceToleration
map:
fields:
- name: effect
type:
scalar: string
- name: key
type:
scalar: string
- name: operator
type:
scalar: string
default: Equal
- name: tolerationSeconds
type:
scalar: numeric
- name: value
type:
scalar: string
- name: io.k8s.api.resource.v1.ExactDeviceRequest
map:
fields:
- name: adminAccess
type:
scalar: boolean
- name: allocationMode
type:
scalar: string
- name: count
type:
scalar: numeric
- name: deviceClassName
type:
scalar: string
default: ""
- name: selectors
type:
list:
elementType:
namedType: io.k8s.api.resource.v1.DeviceSelector
elementRelationship: atomic
- name: tolerations
type:
list:
elementType:
namedType: io.k8s.api.resource.v1.DeviceToleration
elementRelationship: atomic
- name: io.k8s.api.resource.v1.NetworkDeviceData
map:
fields:
- name: hardwareAddress
type:
scalar: string
- name: interfaceName
type:
scalar: string
- name: ips
type:
list:
elementType:
scalar: string
elementRelationship: atomic
- name: io.k8s.api.resource.v1.OpaqueDeviceConfiguration
map:
fields:
- name: driver
type:
scalar: string
default: ""
- name: parameters
type:
namedType: __untyped_atomic_
- name: io.k8s.api.resource.v1.ResourceClaim
map:
fields:
- name: apiVersion
type:
scalar: string
- name: kind
type:
scalar: string
- name: metadata
type:
namedType: io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta
default: {}
- name: spec
type:
namedType: io.k8s.api.resource.v1.ResourceClaimSpec
default: {}
- name: status
type:
namedType: io.k8s.api.resource.v1.ResourceClaimStatus
default: {}
- name: io.k8s.api.resource.v1.ResourceClaimConsumerReference
map:
fields:
- name: apiGroup
type:
scalar: string
- name: name
type:
scalar: string
default: ""
- name: resource
type:
scalar: string
default: ""
- name: uid
type:
scalar: string
default: ""
- name: io.k8s.api.resource.v1.ResourceClaimSpec
map:
fields:
- name: devices
type:
namedType: io.k8s.api.resource.v1.DeviceClaim
default: {}
- name: io.k8s.api.resource.v1.ResourceClaimStatus
map:
fields:
- name: allocation
type:
namedType: io.k8s.api.resource.v1.AllocationResult
- name: devices
type:
list:
elementType:
namedType: io.k8s.api.resource.v1.AllocatedDeviceStatus
elementRelationship: associative
keys:
- driver
- device
- pool
- name: reservedFor
type:
list:
elementType:
namedType: io.k8s.api.resource.v1.ResourceClaimConsumerReference
elementRelationship: associative
keys:
- uid
- name: io.k8s.api.resource.v1.ResourceClaimTemplate
map:
fields:
- name: apiVersion
type:
scalar: string
- name: kind
type:
scalar: string
- name: metadata
type:
namedType: io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta
default: {}
- name: spec
type:
namedType: io.k8s.api.resource.v1.ResourceClaimTemplateSpec
default: {}
- name: io.k8s.api.resource.v1.ResourceClaimTemplateSpec
map:
fields:
- name: metadata
type:
namedType: io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta
default: {}
- name: spec
type:
namedType: io.k8s.api.resource.v1.ResourceClaimSpec
default: {}
- name: io.k8s.api.resource.v1.ResourcePool
map:
fields:
- name: generation
type:
scalar: numeric
default: 0
- name: name
type:
scalar: string
default: ""
- name: resourceSliceCount
type:
scalar: numeric
default: 0
- name: io.k8s.api.resource.v1.ResourceSlice
map:
fields:
- name: apiVersion
type:
scalar: string
- name: kind
type:
scalar: string
- name: metadata
type:
namedType: io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta
default: {}
- name: spec
type:
namedType: io.k8s.api.resource.v1.ResourceSliceSpec
default: {}
- name: io.k8s.api.resource.v1.ResourceSliceSpec
map:
fields:
- name: allNodes
type:
scalar: boolean
- name: devices
type:
list:
elementType:
namedType: io.k8s.api.resource.v1.Device
elementRelationship: atomic
- name: driver
type:
scalar: string
default: ""
- name: nodeName
type:
scalar: string
- name: nodeSelector
type:
namedType: io.k8s.api.core.v1.NodeSelector
- name: perDeviceNodeSelection
type:
scalar: boolean
- name: pool
type:
namedType: io.k8s.api.resource.v1.ResourcePool
default: {}
- name: sharedCounters
type:
list:
elementType:
namedType: io.k8s.api.resource.v1.CounterSet
elementRelationship: atomic
- name: io.k8s.api.resource.v1alpha3.CELDeviceSelector
map:
fields:

View file

@ -16,11 +16,11 @@ limitations under the License.
// Code generated by applyconfiguration-gen. DO NOT EDIT.
package v1beta2
package v1
import (
runtime "k8s.io/apimachinery/pkg/runtime"
v1 "k8s.io/client-go/applyconfigurations/meta/v1"
metav1 "k8s.io/client-go/applyconfigurations/meta/v1"
)
// AllocatedDeviceStatusApplyConfiguration represents a declarative configuration of the AllocatedDeviceStatus type for use
@ -29,7 +29,7 @@ type AllocatedDeviceStatusApplyConfiguration struct {
Driver *string `json:"driver,omitempty"`
Pool *string `json:"pool,omitempty"`
Device *string `json:"device,omitempty"`
Conditions []v1.ConditionApplyConfiguration `json:"conditions,omitempty"`
Conditions []metav1.ConditionApplyConfiguration `json:"conditions,omitempty"`
Data *runtime.RawExtension `json:"data,omitempty"`
NetworkData *NetworkDeviceDataApplyConfiguration `json:"networkData,omitempty"`
}
@ -67,7 +67,7 @@ func (b *AllocatedDeviceStatusApplyConfiguration) WithDevice(value string) *Allo
// WithConditions adds the given value to the Conditions field in the declarative configuration
// and returns the receiver, so that objects can be build by chaining "With" function invocations.
// If called multiple times, values provided by each call will be appended to the Conditions field.
func (b *AllocatedDeviceStatusApplyConfiguration) WithConditions(values ...*v1.ConditionApplyConfiguration) *AllocatedDeviceStatusApplyConfiguration {
func (b *AllocatedDeviceStatusApplyConfiguration) WithConditions(values ...*metav1.ConditionApplyConfiguration) *AllocatedDeviceStatusApplyConfiguration {
for i := range values {
if values[i] == nil {
panic("nil value passed to WithConditions")

View file

@ -16,17 +16,17 @@ limitations under the License.
// Code generated by applyconfiguration-gen. DO NOT EDIT.
package v1beta2
package v1
import (
v1 "k8s.io/client-go/applyconfigurations/core/v1"
corev1 "k8s.io/client-go/applyconfigurations/core/v1"
)
// AllocationResultApplyConfiguration represents a declarative configuration of the AllocationResult type for use
// with apply.
type AllocationResultApplyConfiguration struct {
Devices *DeviceAllocationResultApplyConfiguration `json:"devices,omitempty"`
NodeSelector *v1.NodeSelectorApplyConfiguration `json:"nodeSelector,omitempty"`
NodeSelector *corev1.NodeSelectorApplyConfiguration `json:"nodeSelector,omitempty"`
}
// AllocationResultApplyConfiguration constructs a declarative configuration of the AllocationResult type for use with
@ -46,7 +46,7 @@ func (b *AllocationResultApplyConfiguration) WithDevices(value *DeviceAllocation
// WithNodeSelector sets the NodeSelector field in the declarative configuration to the given value
// and returns the receiver, so that objects can be built by chaining "With" function invocations.
// If called multiple times, the NodeSelector field is set to the value of the last call.
func (b *AllocationResultApplyConfiguration) WithNodeSelector(value *v1.NodeSelectorApplyConfiguration) *AllocationResultApplyConfiguration {
func (b *AllocationResultApplyConfiguration) WithNodeSelector(value *corev1.NodeSelectorApplyConfiguration) *AllocationResultApplyConfiguration {
b.NodeSelector = value
return b
}

View file

@ -16,7 +16,7 @@ limitations under the License.
// Code generated by applyconfiguration-gen. DO NOT EDIT.
package v1beta2
package v1
// CELDeviceSelectorApplyConfiguration represents a declarative configuration of the CELDeviceSelector type for use
// with apply.

View file

@ -16,7 +16,7 @@ limitations under the License.
// Code generated by applyconfiguration-gen. DO NOT EDIT.
package v1beta2
package v1
import (
resource "k8s.io/apimachinery/pkg/api/resource"

View file

@ -16,7 +16,7 @@ limitations under the License.
// Code generated by applyconfiguration-gen. DO NOT EDIT.
package v1beta2
package v1
// CounterSetApplyConfiguration represents a declarative configuration of the CounterSet type for use
// with apply.

View file

@ -16,24 +16,24 @@ limitations under the License.
// Code generated by applyconfiguration-gen. DO NOT EDIT.
package v1beta2
package v1
import (
resourcev1beta2 "k8s.io/api/resource/v1beta2"
v1 "k8s.io/client-go/applyconfigurations/core/v1"
resourcev1 "k8s.io/api/resource/v1"
corev1 "k8s.io/client-go/applyconfigurations/core/v1"
)
// DeviceApplyConfiguration represents a declarative configuration of the Device type for use
// with apply.
type DeviceApplyConfiguration struct {
Name *string `json:"name,omitempty"`
Attributes map[resourcev1beta2.QualifiedName]DeviceAttributeApplyConfiguration `json:"attributes,omitempty"`
Capacity map[resourcev1beta2.QualifiedName]DeviceCapacityApplyConfiguration `json:"capacity,omitempty"`
ConsumesCounters []DeviceCounterConsumptionApplyConfiguration `json:"consumesCounters,omitempty"`
NodeName *string `json:"nodeName,omitempty"`
NodeSelector *v1.NodeSelectorApplyConfiguration `json:"nodeSelector,omitempty"`
AllNodes *bool `json:"allNodes,omitempty"`
Taints []DeviceTaintApplyConfiguration `json:"taints,omitempty"`
Name *string `json:"name,omitempty"`
Attributes map[resourcev1.QualifiedName]DeviceAttributeApplyConfiguration `json:"attributes,omitempty"`
Capacity map[resourcev1.QualifiedName]DeviceCapacityApplyConfiguration `json:"capacity,omitempty"`
ConsumesCounters []DeviceCounterConsumptionApplyConfiguration `json:"consumesCounters,omitempty"`
NodeName *string `json:"nodeName,omitempty"`
NodeSelector *corev1.NodeSelectorApplyConfiguration `json:"nodeSelector,omitempty"`
AllNodes *bool `json:"allNodes,omitempty"`
Taints []DeviceTaintApplyConfiguration `json:"taints,omitempty"`
}
// DeviceApplyConfiguration constructs a declarative configuration of the Device type for use with
@ -54,9 +54,9 @@ func (b *DeviceApplyConfiguration) WithName(value string) *DeviceApplyConfigurat
// and returns the receiver, so that objects can be build by chaining "With" function invocations.
// If called multiple times, the entries provided by each call will be put on the Attributes field,
// overwriting an existing map entries in Attributes field with the same key.
func (b *DeviceApplyConfiguration) WithAttributes(entries map[resourcev1beta2.QualifiedName]DeviceAttributeApplyConfiguration) *DeviceApplyConfiguration {
func (b *DeviceApplyConfiguration) WithAttributes(entries map[resourcev1.QualifiedName]DeviceAttributeApplyConfiguration) *DeviceApplyConfiguration {
if b.Attributes == nil && len(entries) > 0 {
b.Attributes = make(map[resourcev1beta2.QualifiedName]DeviceAttributeApplyConfiguration, len(entries))
b.Attributes = make(map[resourcev1.QualifiedName]DeviceAttributeApplyConfiguration, len(entries))
}
for k, v := range entries {
b.Attributes[k] = v
@ -68,9 +68,9 @@ func (b *DeviceApplyConfiguration) WithAttributes(entries map[resourcev1beta2.Qu
// and returns the receiver, so that objects can be build by chaining "With" function invocations.
// If called multiple times, the entries provided by each call will be put on the Capacity field,
// overwriting an existing map entries in Capacity field with the same key.
func (b *DeviceApplyConfiguration) WithCapacity(entries map[resourcev1beta2.QualifiedName]DeviceCapacityApplyConfiguration) *DeviceApplyConfiguration {
func (b *DeviceApplyConfiguration) WithCapacity(entries map[resourcev1.QualifiedName]DeviceCapacityApplyConfiguration) *DeviceApplyConfiguration {
if b.Capacity == nil && len(entries) > 0 {
b.Capacity = make(map[resourcev1beta2.QualifiedName]DeviceCapacityApplyConfiguration, len(entries))
b.Capacity = make(map[resourcev1.QualifiedName]DeviceCapacityApplyConfiguration, len(entries))
}
for k, v := range entries {
b.Capacity[k] = v
@ -102,7 +102,7 @@ func (b *DeviceApplyConfiguration) WithNodeName(value string) *DeviceApplyConfig
// WithNodeSelector sets the NodeSelector field in the declarative configuration to the given value
// and returns the receiver, so that objects can be built by chaining "With" function invocations.
// If called multiple times, the NodeSelector field is set to the value of the last call.
func (b *DeviceApplyConfiguration) WithNodeSelector(value *v1.NodeSelectorApplyConfiguration) *DeviceApplyConfiguration {
func (b *DeviceApplyConfiguration) WithNodeSelector(value *corev1.NodeSelectorApplyConfiguration) *DeviceApplyConfiguration {
b.NodeSelector = value
return b
}

View file

@ -16,17 +16,17 @@ limitations under the License.
// Code generated by applyconfiguration-gen. DO NOT EDIT.
package v1beta2
package v1
import (
resourcev1beta2 "k8s.io/api/resource/v1beta2"
resourcev1 "k8s.io/api/resource/v1"
)
// DeviceAllocationConfigurationApplyConfiguration represents a declarative configuration of the DeviceAllocationConfiguration type for use
// with apply.
type DeviceAllocationConfigurationApplyConfiguration struct {
Source *resourcev1beta2.AllocationConfigSource `json:"source,omitempty"`
Requests []string `json:"requests,omitempty"`
Source *resourcev1.AllocationConfigSource `json:"source,omitempty"`
Requests []string `json:"requests,omitempty"`
DeviceConfigurationApplyConfiguration `json:",inline"`
}
@ -39,7 +39,7 @@ func DeviceAllocationConfiguration() *DeviceAllocationConfigurationApplyConfigur
// WithSource sets the Source field in the declarative configuration to the given value
// and returns the receiver, so that objects can be built by chaining "With" function invocations.
// If called multiple times, the Source field is set to the value of the last call.
func (b *DeviceAllocationConfigurationApplyConfiguration) WithSource(value resourcev1beta2.AllocationConfigSource) *DeviceAllocationConfigurationApplyConfiguration {
func (b *DeviceAllocationConfigurationApplyConfiguration) WithSource(value resourcev1.AllocationConfigSource) *DeviceAllocationConfigurationApplyConfiguration {
b.Source = &value
return b
}

View file

@ -16,7 +16,7 @@ limitations under the License.
// Code generated by applyconfiguration-gen. DO NOT EDIT.
package v1beta2
package v1
// DeviceAllocationResultApplyConfiguration represents a declarative configuration of the DeviceAllocationResult type for use
// with apply.

View file

@ -16,7 +16,7 @@ limitations under the License.
// Code generated by applyconfiguration-gen. DO NOT EDIT.
package v1beta2
package v1
// DeviceAttributeApplyConfiguration represents a declarative configuration of the DeviceAttribute type for use
// with apply.

View file

@ -16,7 +16,7 @@ limitations under the License.
// Code generated by applyconfiguration-gen. DO NOT EDIT.
package v1beta2
package v1
import (
resource "k8s.io/apimachinery/pkg/api/resource"

View file

@ -16,7 +16,7 @@ limitations under the License.
// Code generated by applyconfiguration-gen. DO NOT EDIT.
package v1beta2
package v1
// DeviceClaimApplyConfiguration represents a declarative configuration of the DeviceClaim type for use
// with apply.

View file

@ -16,7 +16,7 @@ limitations under the License.
// Code generated by applyconfiguration-gen. DO NOT EDIT.
package v1beta2
package v1
// DeviceClaimConfigurationApplyConfiguration represents a declarative configuration of the DeviceClaimConfiguration type for use
// with apply.

View file

@ -16,23 +16,23 @@ limitations under the License.
// Code generated by applyconfiguration-gen. DO NOT EDIT.
package v1beta2
package v1
import (
resourcev1beta2 "k8s.io/api/resource/v1beta2"
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
resourcev1 "k8s.io/api/resource/v1"
apismetav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
types "k8s.io/apimachinery/pkg/types"
managedfields "k8s.io/apimachinery/pkg/util/managedfields"
internal "k8s.io/client-go/applyconfigurations/internal"
v1 "k8s.io/client-go/applyconfigurations/meta/v1"
metav1 "k8s.io/client-go/applyconfigurations/meta/v1"
)
// DeviceClassApplyConfiguration represents a declarative configuration of the DeviceClass type for use
// with apply.
type DeviceClassApplyConfiguration struct {
v1.TypeMetaApplyConfiguration `json:",inline"`
*v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
Spec *DeviceClassSpecApplyConfiguration `json:"spec,omitempty"`
metav1.TypeMetaApplyConfiguration `json:",inline"`
*metav1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
Spec *DeviceClassSpecApplyConfiguration `json:"spec,omitempty"`
}
// DeviceClass constructs a declarative configuration of the DeviceClass type for use with
@ -41,7 +41,7 @@ func DeviceClass(name string) *DeviceClassApplyConfiguration {
b := &DeviceClassApplyConfiguration{}
b.WithName(name)
b.WithKind("DeviceClass")
b.WithAPIVersion("resource.k8s.io/v1beta2")
b.WithAPIVersion("resource.k8s.io/v1")
return b
}
@ -56,27 +56,27 @@ func DeviceClass(name string) *DeviceClassApplyConfiguration {
// Note that an extracted apply configuration will contain fewer fields than what the fieldManager previously
// applied if another fieldManager has updated or force applied any of the previously applied fields.
// Experimental!
func ExtractDeviceClass(deviceClass *resourcev1beta2.DeviceClass, fieldManager string) (*DeviceClassApplyConfiguration, error) {
func ExtractDeviceClass(deviceClass *resourcev1.DeviceClass, fieldManager string) (*DeviceClassApplyConfiguration, error) {
return extractDeviceClass(deviceClass, fieldManager, "")
}
// ExtractDeviceClassStatus is the same as ExtractDeviceClass except
// that it extracts the status subresource applied configuration.
// Experimental!
func ExtractDeviceClassStatus(deviceClass *resourcev1beta2.DeviceClass, fieldManager string) (*DeviceClassApplyConfiguration, error) {
func ExtractDeviceClassStatus(deviceClass *resourcev1.DeviceClass, fieldManager string) (*DeviceClassApplyConfiguration, error) {
return extractDeviceClass(deviceClass, fieldManager, "status")
}
func extractDeviceClass(deviceClass *resourcev1beta2.DeviceClass, fieldManager string, subresource string) (*DeviceClassApplyConfiguration, error) {
func extractDeviceClass(deviceClass *resourcev1.DeviceClass, fieldManager string, subresource string) (*DeviceClassApplyConfiguration, error) {
b := &DeviceClassApplyConfiguration{}
err := managedfields.ExtractInto(deviceClass, internal.Parser().Type("io.k8s.api.resource.v1beta2.DeviceClass"), fieldManager, b, subresource)
err := managedfields.ExtractInto(deviceClass, internal.Parser().Type("io.k8s.api.resource.v1.DeviceClass"), fieldManager, b, subresource)
if err != nil {
return nil, err
}
b.WithName(deviceClass.Name)
b.WithKind("DeviceClass")
b.WithAPIVersion("resource.k8s.io/v1beta2")
b.WithAPIVersion("resource.k8s.io/v1")
return b, nil
}
func (b DeviceClassApplyConfiguration) IsApplyConfiguration() {}
@ -154,7 +154,7 @@ func (b *DeviceClassApplyConfiguration) WithGeneration(value int64) *DeviceClass
// WithCreationTimestamp sets the CreationTimestamp field in the declarative configuration to the given value
// and returns the receiver, so that objects can be built by chaining "With" function invocations.
// If called multiple times, the CreationTimestamp field is set to the value of the last call.
func (b *DeviceClassApplyConfiguration) WithCreationTimestamp(value metav1.Time) *DeviceClassApplyConfiguration {
func (b *DeviceClassApplyConfiguration) WithCreationTimestamp(value apismetav1.Time) *DeviceClassApplyConfiguration {
b.ensureObjectMetaApplyConfigurationExists()
b.ObjectMetaApplyConfiguration.CreationTimestamp = &value
return b
@ -163,7 +163,7 @@ func (b *DeviceClassApplyConfiguration) WithCreationTimestamp(value metav1.Time)
// WithDeletionTimestamp sets the DeletionTimestamp field in the declarative configuration to the given value
// and returns the receiver, so that objects can be built by chaining "With" function invocations.
// If called multiple times, the DeletionTimestamp field is set to the value of the last call.
func (b *DeviceClassApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *DeviceClassApplyConfiguration {
func (b *DeviceClassApplyConfiguration) WithDeletionTimestamp(value apismetav1.Time) *DeviceClassApplyConfiguration {
b.ensureObjectMetaApplyConfigurationExists()
b.ObjectMetaApplyConfiguration.DeletionTimestamp = &value
return b
@ -211,7 +211,7 @@ func (b *DeviceClassApplyConfiguration) WithAnnotations(entries map[string]strin
// WithOwnerReferences adds the given value to the OwnerReferences field in the declarative configuration
// and returns the receiver, so that objects can be build by chaining "With" function invocations.
// If called multiple times, values provided by each call will be appended to the OwnerReferences field.
func (b *DeviceClassApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *DeviceClassApplyConfiguration {
func (b *DeviceClassApplyConfiguration) WithOwnerReferences(values ...*metav1.OwnerReferenceApplyConfiguration) *DeviceClassApplyConfiguration {
b.ensureObjectMetaApplyConfigurationExists()
for i := range values {
if values[i] == nil {
@ -235,7 +235,7 @@ func (b *DeviceClassApplyConfiguration) WithFinalizers(values ...string) *Device
func (b *DeviceClassApplyConfiguration) ensureObjectMetaApplyConfigurationExists() {
if b.ObjectMetaApplyConfiguration == nil {
b.ObjectMetaApplyConfiguration = &v1.ObjectMetaApplyConfiguration{}
b.ObjectMetaApplyConfiguration = &metav1.ObjectMetaApplyConfiguration{}
}
}

View file

@ -16,7 +16,7 @@ limitations under the License.
// Code generated by applyconfiguration-gen. DO NOT EDIT.
package v1beta2
package v1
// DeviceClassConfigurationApplyConfiguration represents a declarative configuration of the DeviceClassConfiguration type for use
// with apply.

View file

@ -16,7 +16,7 @@ limitations under the License.
// Code generated by applyconfiguration-gen. DO NOT EDIT.
package v1beta2
package v1
// DeviceClassSpecApplyConfiguration represents a declarative configuration of the DeviceClassSpec type for use
// with apply.

View file

@ -16,7 +16,7 @@ limitations under the License.
// Code generated by applyconfiguration-gen. DO NOT EDIT.
package v1beta2
package v1
// DeviceConfigurationApplyConfiguration represents a declarative configuration of the DeviceConfiguration type for use
// with apply.

View file

@ -16,17 +16,17 @@ limitations under the License.
// Code generated by applyconfiguration-gen. DO NOT EDIT.
package v1beta2
package v1
import (
resourcev1beta2 "k8s.io/api/resource/v1beta2"
resourcev1 "k8s.io/api/resource/v1"
)
// DeviceConstraintApplyConfiguration represents a declarative configuration of the DeviceConstraint type for use
// with apply.
type DeviceConstraintApplyConfiguration struct {
Requests []string `json:"requests,omitempty"`
MatchAttribute *resourcev1beta2.FullyQualifiedName `json:"matchAttribute,omitempty"`
Requests []string `json:"requests,omitempty"`
MatchAttribute *resourcev1.FullyQualifiedName `json:"matchAttribute,omitempty"`
}
// DeviceConstraintApplyConfiguration constructs a declarative configuration of the DeviceConstraint type for use with
@ -48,7 +48,7 @@ func (b *DeviceConstraintApplyConfiguration) WithRequests(values ...string) *Dev
// WithMatchAttribute sets the MatchAttribute field in the declarative configuration to the given value
// and returns the receiver, so that objects can be built by chaining "With" function invocations.
// If called multiple times, the MatchAttribute field is set to the value of the last call.
func (b *DeviceConstraintApplyConfiguration) WithMatchAttribute(value resourcev1beta2.FullyQualifiedName) *DeviceConstraintApplyConfiguration {
func (b *DeviceConstraintApplyConfiguration) WithMatchAttribute(value resourcev1.FullyQualifiedName) *DeviceConstraintApplyConfiguration {
b.MatchAttribute = &value
return b
}

View file

@ -16,7 +16,7 @@ limitations under the License.
// Code generated by applyconfiguration-gen. DO NOT EDIT.
package v1beta2
package v1
// DeviceCounterConsumptionApplyConfiguration represents a declarative configuration of the DeviceCounterConsumption type for use
// with apply.

View file

@ -16,7 +16,7 @@ limitations under the License.
// Code generated by applyconfiguration-gen. DO NOT EDIT.
package v1beta2
package v1
// DeviceRequestApplyConfiguration represents a declarative configuration of the DeviceRequest type for use
// with apply.

View file

@ -16,7 +16,7 @@ limitations under the License.
// Code generated by applyconfiguration-gen. DO NOT EDIT.
package v1beta2
package v1
// DeviceRequestAllocationResultApplyConfiguration represents a declarative configuration of the DeviceRequestAllocationResult type for use
// with apply.

View file

@ -16,7 +16,7 @@ limitations under the License.
// Code generated by applyconfiguration-gen. DO NOT EDIT.
package v1beta2
package v1
// DeviceSelectorApplyConfiguration represents a declarative configuration of the DeviceSelector type for use
// with apply.

View file

@ -16,21 +16,21 @@ limitations under the License.
// Code generated by applyconfiguration-gen. DO NOT EDIT.
package v1beta2
package v1
import (
resourcev1beta2 "k8s.io/api/resource/v1beta2"
resourcev1 "k8s.io/api/resource/v1"
)
// DeviceSubRequestApplyConfiguration represents a declarative configuration of the DeviceSubRequest type for use
// with apply.
type DeviceSubRequestApplyConfiguration struct {
Name *string `json:"name,omitempty"`
DeviceClassName *string `json:"deviceClassName,omitempty"`
Selectors []DeviceSelectorApplyConfiguration `json:"selectors,omitempty"`
AllocationMode *resourcev1beta2.DeviceAllocationMode `json:"allocationMode,omitempty"`
Count *int64 `json:"count,omitempty"`
Tolerations []DeviceTolerationApplyConfiguration `json:"tolerations,omitempty"`
Name *string `json:"name,omitempty"`
DeviceClassName *string `json:"deviceClassName,omitempty"`
Selectors []DeviceSelectorApplyConfiguration `json:"selectors,omitempty"`
AllocationMode *resourcev1.DeviceAllocationMode `json:"allocationMode,omitempty"`
Count *int64 `json:"count,omitempty"`
Tolerations []DeviceTolerationApplyConfiguration `json:"tolerations,omitempty"`
}
// DeviceSubRequestApplyConfiguration constructs a declarative configuration of the DeviceSubRequest type for use with
@ -71,7 +71,7 @@ func (b *DeviceSubRequestApplyConfiguration) WithSelectors(values ...*DeviceSele
// WithAllocationMode sets the AllocationMode field in the declarative configuration to the given value
// and returns the receiver, so that objects can be built by chaining "With" function invocations.
// If called multiple times, the AllocationMode field is set to the value of the last call.
func (b *DeviceSubRequestApplyConfiguration) WithAllocationMode(value resourcev1beta2.DeviceAllocationMode) *DeviceSubRequestApplyConfiguration {
func (b *DeviceSubRequestApplyConfiguration) WithAllocationMode(value resourcev1.DeviceAllocationMode) *DeviceSubRequestApplyConfiguration {
b.AllocationMode = &value
return b
}

View file

@ -16,20 +16,20 @@ limitations under the License.
// Code generated by applyconfiguration-gen. DO NOT EDIT.
package v1beta2
package v1
import (
resourcev1beta2 "k8s.io/api/resource/v1beta2"
v1 "k8s.io/apimachinery/pkg/apis/meta/v1"
resourcev1 "k8s.io/api/resource/v1"
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
)
// DeviceTaintApplyConfiguration represents a declarative configuration of the DeviceTaint type for use
// with apply.
type DeviceTaintApplyConfiguration struct {
Key *string `json:"key,omitempty"`
Value *string `json:"value,omitempty"`
Effect *resourcev1beta2.DeviceTaintEffect `json:"effect,omitempty"`
TimeAdded *v1.Time `json:"timeAdded,omitempty"`
Key *string `json:"key,omitempty"`
Value *string `json:"value,omitempty"`
Effect *resourcev1.DeviceTaintEffect `json:"effect,omitempty"`
TimeAdded *metav1.Time `json:"timeAdded,omitempty"`
}
// DeviceTaintApplyConfiguration constructs a declarative configuration of the DeviceTaint type for use with
@ -57,7 +57,7 @@ func (b *DeviceTaintApplyConfiguration) WithValue(value string) *DeviceTaintAppl
// WithEffect sets the Effect field in the declarative configuration to the given value
// and returns the receiver, so that objects can be built by chaining "With" function invocations.
// If called multiple times, the Effect field is set to the value of the last call.
func (b *DeviceTaintApplyConfiguration) WithEffect(value resourcev1beta2.DeviceTaintEffect) *DeviceTaintApplyConfiguration {
func (b *DeviceTaintApplyConfiguration) WithEffect(value resourcev1.DeviceTaintEffect) *DeviceTaintApplyConfiguration {
b.Effect = &value
return b
}
@ -65,7 +65,7 @@ func (b *DeviceTaintApplyConfiguration) WithEffect(value resourcev1beta2.DeviceT
// WithTimeAdded sets the TimeAdded field in the declarative configuration to the given value
// and returns the receiver, so that objects can be built by chaining "With" function invocations.
// If called multiple times, the TimeAdded field is set to the value of the last call.
func (b *DeviceTaintApplyConfiguration) WithTimeAdded(value v1.Time) *DeviceTaintApplyConfiguration {
func (b *DeviceTaintApplyConfiguration) WithTimeAdded(value metav1.Time) *DeviceTaintApplyConfiguration {
b.TimeAdded = &value
return b
}

View file

@ -16,20 +16,20 @@ limitations under the License.
// Code generated by applyconfiguration-gen. DO NOT EDIT.
package v1beta2
package v1
import (
resourcev1beta2 "k8s.io/api/resource/v1beta2"
resourcev1 "k8s.io/api/resource/v1"
)
// DeviceTolerationApplyConfiguration represents a declarative configuration of the DeviceToleration type for use
// with apply.
type DeviceTolerationApplyConfiguration struct {
Key *string `json:"key,omitempty"`
Operator *resourcev1beta2.DeviceTolerationOperator `json:"operator,omitempty"`
Value *string `json:"value,omitempty"`
Effect *resourcev1beta2.DeviceTaintEffect `json:"effect,omitempty"`
TolerationSeconds *int64 `json:"tolerationSeconds,omitempty"`
Key *string `json:"key,omitempty"`
Operator *resourcev1.DeviceTolerationOperator `json:"operator,omitempty"`
Value *string `json:"value,omitempty"`
Effect *resourcev1.DeviceTaintEffect `json:"effect,omitempty"`
TolerationSeconds *int64 `json:"tolerationSeconds,omitempty"`
}
// DeviceTolerationApplyConfiguration constructs a declarative configuration of the DeviceToleration type for use with
@ -49,7 +49,7 @@ func (b *DeviceTolerationApplyConfiguration) WithKey(value string) *DeviceTolera
// WithOperator sets the Operator field in the declarative configuration to the given value
// and returns the receiver, so that objects can be built by chaining "With" function invocations.
// If called multiple times, the Operator field is set to the value of the last call.
func (b *DeviceTolerationApplyConfiguration) WithOperator(value resourcev1beta2.DeviceTolerationOperator) *DeviceTolerationApplyConfiguration {
func (b *DeviceTolerationApplyConfiguration) WithOperator(value resourcev1.DeviceTolerationOperator) *DeviceTolerationApplyConfiguration {
b.Operator = &value
return b
}
@ -65,7 +65,7 @@ func (b *DeviceTolerationApplyConfiguration) WithValue(value string) *DeviceTole
// WithEffect sets the Effect field in the declarative configuration to the given value
// and returns the receiver, so that objects can be built by chaining "With" function invocations.
// If called multiple times, the Effect field is set to the value of the last call.
func (b *DeviceTolerationApplyConfiguration) WithEffect(value resourcev1beta2.DeviceTaintEffect) *DeviceTolerationApplyConfiguration {
func (b *DeviceTolerationApplyConfiguration) WithEffect(value resourcev1.DeviceTaintEffect) *DeviceTolerationApplyConfiguration {
b.Effect = &value
return b
}

View file

@ -16,21 +16,21 @@ limitations under the License.
// Code generated by applyconfiguration-gen. DO NOT EDIT.
package v1beta2
package v1
import (
resourcev1beta2 "k8s.io/api/resource/v1beta2"
resourcev1 "k8s.io/api/resource/v1"
)
// ExactDeviceRequestApplyConfiguration represents a declarative configuration of the ExactDeviceRequest type for use
// with apply.
type ExactDeviceRequestApplyConfiguration struct {
DeviceClassName *string `json:"deviceClassName,omitempty"`
Selectors []DeviceSelectorApplyConfiguration `json:"selectors,omitempty"`
AllocationMode *resourcev1beta2.DeviceAllocationMode `json:"allocationMode,omitempty"`
Count *int64 `json:"count,omitempty"`
AdminAccess *bool `json:"adminAccess,omitempty"`
Tolerations []DeviceTolerationApplyConfiguration `json:"tolerations,omitempty"`
DeviceClassName *string `json:"deviceClassName,omitempty"`
Selectors []DeviceSelectorApplyConfiguration `json:"selectors,omitempty"`
AllocationMode *resourcev1.DeviceAllocationMode `json:"allocationMode,omitempty"`
Count *int64 `json:"count,omitempty"`
AdminAccess *bool `json:"adminAccess,omitempty"`
Tolerations []DeviceTolerationApplyConfiguration `json:"tolerations,omitempty"`
}
// ExactDeviceRequestApplyConfiguration constructs a declarative configuration of the ExactDeviceRequest type for use with
@ -63,7 +63,7 @@ func (b *ExactDeviceRequestApplyConfiguration) WithSelectors(values ...*DeviceSe
// WithAllocationMode sets the AllocationMode field in the declarative configuration to the given value
// and returns the receiver, so that objects can be built by chaining "With" function invocations.
// If called multiple times, the AllocationMode field is set to the value of the last call.
func (b *ExactDeviceRequestApplyConfiguration) WithAllocationMode(value resourcev1beta2.DeviceAllocationMode) *ExactDeviceRequestApplyConfiguration {
func (b *ExactDeviceRequestApplyConfiguration) WithAllocationMode(value resourcev1.DeviceAllocationMode) *ExactDeviceRequestApplyConfiguration {
b.AllocationMode = &value
return b
}

View file

@ -16,7 +16,7 @@ limitations under the License.
// Code generated by applyconfiguration-gen. DO NOT EDIT.
package v1beta2
package v1
// NetworkDeviceDataApplyConfiguration represents a declarative configuration of the NetworkDeviceData type for use
// with apply.

View file

@ -16,7 +16,7 @@ limitations under the License.
// Code generated by applyconfiguration-gen. DO NOT EDIT.
package v1beta2
package v1
import (
runtime "k8s.io/apimachinery/pkg/runtime"

View file

@ -16,24 +16,24 @@ limitations under the License.
// Code generated by applyconfiguration-gen. DO NOT EDIT.
package v1beta2
package v1
import (
resourcev1beta2 "k8s.io/api/resource/v1beta2"
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
resourcev1 "k8s.io/api/resource/v1"
apismetav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
types "k8s.io/apimachinery/pkg/types"
managedfields "k8s.io/apimachinery/pkg/util/managedfields"
internal "k8s.io/client-go/applyconfigurations/internal"
v1 "k8s.io/client-go/applyconfigurations/meta/v1"
metav1 "k8s.io/client-go/applyconfigurations/meta/v1"
)
// ResourceClaimApplyConfiguration represents a declarative configuration of the ResourceClaim type for use
// with apply.
type ResourceClaimApplyConfiguration struct {
v1.TypeMetaApplyConfiguration `json:",inline"`
*v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
Spec *ResourceClaimSpecApplyConfiguration `json:"spec,omitempty"`
Status *ResourceClaimStatusApplyConfiguration `json:"status,omitempty"`
metav1.TypeMetaApplyConfiguration `json:",inline"`
*metav1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
Spec *ResourceClaimSpecApplyConfiguration `json:"spec,omitempty"`
Status *ResourceClaimStatusApplyConfiguration `json:"status,omitempty"`
}
// ResourceClaim constructs a declarative configuration of the ResourceClaim type for use with
@ -43,7 +43,7 @@ func ResourceClaim(name, namespace string) *ResourceClaimApplyConfiguration {
b.WithName(name)
b.WithNamespace(namespace)
b.WithKind("ResourceClaim")
b.WithAPIVersion("resource.k8s.io/v1beta2")
b.WithAPIVersion("resource.k8s.io/v1")
return b
}
@ -58,20 +58,20 @@ func ResourceClaim(name, namespace string) *ResourceClaimApplyConfiguration {
// Note that an extracted apply configuration will contain fewer fields than what the fieldManager previously
// applied if another fieldManager has updated or force applied any of the previously applied fields.
// Experimental!
func ExtractResourceClaim(resourceClaim *resourcev1beta2.ResourceClaim, fieldManager string) (*ResourceClaimApplyConfiguration, error) {
func ExtractResourceClaim(resourceClaim *resourcev1.ResourceClaim, fieldManager string) (*ResourceClaimApplyConfiguration, error) {
return extractResourceClaim(resourceClaim, fieldManager, "")
}
// ExtractResourceClaimStatus is the same as ExtractResourceClaim except
// that it extracts the status subresource applied configuration.
// Experimental!
func ExtractResourceClaimStatus(resourceClaim *resourcev1beta2.ResourceClaim, fieldManager string) (*ResourceClaimApplyConfiguration, error) {
func ExtractResourceClaimStatus(resourceClaim *resourcev1.ResourceClaim, fieldManager string) (*ResourceClaimApplyConfiguration, error) {
return extractResourceClaim(resourceClaim, fieldManager, "status")
}
func extractResourceClaim(resourceClaim *resourcev1beta2.ResourceClaim, fieldManager string, subresource string) (*ResourceClaimApplyConfiguration, error) {
func extractResourceClaim(resourceClaim *resourcev1.ResourceClaim, fieldManager string, subresource string) (*ResourceClaimApplyConfiguration, error) {
b := &ResourceClaimApplyConfiguration{}
err := managedfields.ExtractInto(resourceClaim, internal.Parser().Type("io.k8s.api.resource.v1beta2.ResourceClaim"), fieldManager, b, subresource)
err := managedfields.ExtractInto(resourceClaim, internal.Parser().Type("io.k8s.api.resource.v1.ResourceClaim"), fieldManager, b, subresource)
if err != nil {
return nil, err
}
@ -79,7 +79,7 @@ func extractResourceClaim(resourceClaim *resourcev1beta2.ResourceClaim, fieldMan
b.WithNamespace(resourceClaim.Namespace)
b.WithKind("ResourceClaim")
b.WithAPIVersion("resource.k8s.io/v1beta2")
b.WithAPIVersion("resource.k8s.io/v1")
return b, nil
}
func (b ResourceClaimApplyConfiguration) IsApplyConfiguration() {}
@ -157,7 +157,7 @@ func (b *ResourceClaimApplyConfiguration) WithGeneration(value int64) *ResourceC
// WithCreationTimestamp sets the CreationTimestamp field in the declarative configuration to the given value
// and returns the receiver, so that objects can be built by chaining "With" function invocations.
// If called multiple times, the CreationTimestamp field is set to the value of the last call.
func (b *ResourceClaimApplyConfiguration) WithCreationTimestamp(value metav1.Time) *ResourceClaimApplyConfiguration {
func (b *ResourceClaimApplyConfiguration) WithCreationTimestamp(value apismetav1.Time) *ResourceClaimApplyConfiguration {
b.ensureObjectMetaApplyConfigurationExists()
b.ObjectMetaApplyConfiguration.CreationTimestamp = &value
return b
@ -166,7 +166,7 @@ func (b *ResourceClaimApplyConfiguration) WithCreationTimestamp(value metav1.Tim
// WithDeletionTimestamp sets the DeletionTimestamp field in the declarative configuration to the given value
// and returns the receiver, so that objects can be built by chaining "With" function invocations.
// If called multiple times, the DeletionTimestamp field is set to the value of the last call.
func (b *ResourceClaimApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *ResourceClaimApplyConfiguration {
func (b *ResourceClaimApplyConfiguration) WithDeletionTimestamp(value apismetav1.Time) *ResourceClaimApplyConfiguration {
b.ensureObjectMetaApplyConfigurationExists()
b.ObjectMetaApplyConfiguration.DeletionTimestamp = &value
return b
@ -214,7 +214,7 @@ func (b *ResourceClaimApplyConfiguration) WithAnnotations(entries map[string]str
// WithOwnerReferences adds the given value to the OwnerReferences field in the declarative configuration
// and returns the receiver, so that objects can be build by chaining "With" function invocations.
// If called multiple times, values provided by each call will be appended to the OwnerReferences field.
func (b *ResourceClaimApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *ResourceClaimApplyConfiguration {
func (b *ResourceClaimApplyConfiguration) WithOwnerReferences(values ...*metav1.OwnerReferenceApplyConfiguration) *ResourceClaimApplyConfiguration {
b.ensureObjectMetaApplyConfigurationExists()
for i := range values {
if values[i] == nil {
@ -238,7 +238,7 @@ func (b *ResourceClaimApplyConfiguration) WithFinalizers(values ...string) *Reso
func (b *ResourceClaimApplyConfiguration) ensureObjectMetaApplyConfigurationExists() {
if b.ObjectMetaApplyConfiguration == nil {
b.ObjectMetaApplyConfiguration = &v1.ObjectMetaApplyConfiguration{}
b.ObjectMetaApplyConfiguration = &metav1.ObjectMetaApplyConfiguration{}
}
}

View file

@ -16,7 +16,7 @@ limitations under the License.
// Code generated by applyconfiguration-gen. DO NOT EDIT.
package v1beta2
package v1
import (
types "k8s.io/apimachinery/pkg/types"

Some files were not shown because too many files have changed in this diff Show more