mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-19 09:52:49 +00:00
Merge pull request #112487 from liggitt/flowcontrol-test
Add compatibility fixtures for v1beta2 flowcontrol
This commit is contained in:
commit
02ac8ac418
@ -50,6 +50,7 @@ import (
|
||||
extensionsv1beta1 "k8s.io/api/extensions/v1beta1"
|
||||
flowcontrolv1alpha1 "k8s.io/api/flowcontrol/v1alpha1"
|
||||
flowcontrolv1beta1 "k8s.io/api/flowcontrol/v1beta1"
|
||||
flowcontrolv1beta2 "k8s.io/api/flowcontrol/v1beta2"
|
||||
imagepolicyv1alpha1 "k8s.io/api/imagepolicy/v1alpha1"
|
||||
networkingv1 "k8s.io/api/networking/v1"
|
||||
networkingv1alpha1 "k8s.io/api/networking/v1alpha1"
|
||||
@ -108,6 +109,7 @@ var groups = []runtime.SchemeBuilder{
|
||||
extensionsv1beta1.SchemeBuilder,
|
||||
flowcontrolv1alpha1.SchemeBuilder,
|
||||
flowcontrolv1beta1.SchemeBuilder,
|
||||
flowcontrolv1beta2.SchemeBuilder,
|
||||
imagepolicyv1alpha1.SchemeBuilder,
|
||||
networkingv1.SchemeBuilder,
|
||||
networkingv1beta1.SchemeBuilder,
|
||||
|
112
staging/src/k8s.io/api/testdata/HEAD/flowcontrol.apiserver.k8s.io.v1beta2.FlowSchema.json
vendored
Normal file
112
staging/src/k8s.io/api/testdata/HEAD/flowcontrol.apiserver.k8s.io.v1beta2.FlowSchema.json
vendored
Normal file
@ -0,0 +1,112 @@
|
||||
{
|
||||
"kind": "FlowSchema",
|
||||
"apiVersion": "flowcontrol.apiserver.k8s.io/v1beta2",
|
||||
"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": {
|
||||
"priorityLevelConfiguration": {
|
||||
"name": "nameValue"
|
||||
},
|
||||
"matchingPrecedence": 2,
|
||||
"distinguisherMethod": {
|
||||
"type": "typeValue"
|
||||
},
|
||||
"rules": [
|
||||
{
|
||||
"subjects": [
|
||||
{
|
||||
"kind": "kindValue",
|
||||
"user": {
|
||||
"name": "nameValue"
|
||||
},
|
||||
"group": {
|
||||
"name": "nameValue"
|
||||
},
|
||||
"serviceAccount": {
|
||||
"namespace": "namespaceValue",
|
||||
"name": "nameValue"
|
||||
}
|
||||
}
|
||||
],
|
||||
"resourceRules": [
|
||||
{
|
||||
"verbs": [
|
||||
"verbsValue"
|
||||
],
|
||||
"apiGroups": [
|
||||
"apiGroupsValue"
|
||||
],
|
||||
"resources": [
|
||||
"resourcesValue"
|
||||
],
|
||||
"clusterScope": true,
|
||||
"namespaces": [
|
||||
"namespacesValue"
|
||||
]
|
||||
}
|
||||
],
|
||||
"nonResourceRules": [
|
||||
{
|
||||
"verbs": [
|
||||
"verbsValue"
|
||||
],
|
||||
"nonResourceURLs": [
|
||||
"nonResourceURLsValue"
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
"status": {
|
||||
"conditions": [
|
||||
{
|
||||
"type": "typeValue",
|
||||
"status": "statusValue",
|
||||
"lastTransitionTime": "2003-01-01T01:01:01Z",
|
||||
"reason": "reasonValue",
|
||||
"message": "messageValue"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
BIN
staging/src/k8s.io/api/testdata/HEAD/flowcontrol.apiserver.k8s.io.v1beta2.FlowSchema.pb
vendored
Normal file
BIN
staging/src/k8s.io/api/testdata/HEAD/flowcontrol.apiserver.k8s.io.v1beta2.FlowSchema.pb
vendored
Normal file
Binary file not shown.
72
staging/src/k8s.io/api/testdata/HEAD/flowcontrol.apiserver.k8s.io.v1beta2.FlowSchema.yaml
vendored
Normal file
72
staging/src/k8s.io/api/testdata/HEAD/flowcontrol.apiserver.k8s.io.v1beta2.FlowSchema.yaml
vendored
Normal file
@ -0,0 +1,72 @@
|
||||
apiVersion: flowcontrol.apiserver.k8s.io/v1beta2
|
||||
kind: FlowSchema
|
||||
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:
|
||||
distinguisherMethod:
|
||||
type: typeValue
|
||||
matchingPrecedence: 2
|
||||
priorityLevelConfiguration:
|
||||
name: nameValue
|
||||
rules:
|
||||
- nonResourceRules:
|
||||
- nonResourceURLs:
|
||||
- nonResourceURLsValue
|
||||
verbs:
|
||||
- verbsValue
|
||||
resourceRules:
|
||||
- apiGroups:
|
||||
- apiGroupsValue
|
||||
clusterScope: true
|
||||
namespaces:
|
||||
- namespacesValue
|
||||
resources:
|
||||
- resourcesValue
|
||||
verbs:
|
||||
- verbsValue
|
||||
subjects:
|
||||
- group:
|
||||
name: nameValue
|
||||
kind: kindValue
|
||||
serviceAccount:
|
||||
name: nameValue
|
||||
namespace: namespaceValue
|
||||
user:
|
||||
name: nameValue
|
||||
status:
|
||||
conditions:
|
||||
- lastTransitionTime: "2003-01-01T01:01:01Z"
|
||||
message: messageValue
|
||||
reason: reasonValue
|
||||
status: statusValue
|
||||
type: typeValue
|
@ -0,0 +1,71 @@
|
||||
{
|
||||
"kind": "PriorityLevelConfiguration",
|
||||
"apiVersion": "flowcontrol.apiserver.k8s.io/v1beta2",
|
||||
"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": {
|
||||
"type": "typeValue",
|
||||
"limited": {
|
||||
"assuredConcurrencyShares": 1,
|
||||
"limitResponse": {
|
||||
"type": "typeValue",
|
||||
"queuing": {
|
||||
"queues": 1,
|
||||
"handSize": 2,
|
||||
"queueLengthLimit": 3
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"status": {
|
||||
"conditions": [
|
||||
{
|
||||
"type": "typeValue",
|
||||
"status": "statusValue",
|
||||
"lastTransitionTime": "2003-01-01T01:01:01Z",
|
||||
"reason": "reasonValue",
|
||||
"message": "messageValue"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
Binary file not shown.
@ -0,0 +1,51 @@
|
||||
apiVersion: flowcontrol.apiserver.k8s.io/v1beta2
|
||||
kind: PriorityLevelConfiguration
|
||||
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:
|
||||
limited:
|
||||
assuredConcurrencyShares: 1
|
||||
limitResponse:
|
||||
queuing:
|
||||
handSize: 2
|
||||
queueLengthLimit: 3
|
||||
queues: 1
|
||||
type: typeValue
|
||||
type: typeValue
|
||||
status:
|
||||
conditions:
|
||||
- lastTransitionTime: "2003-01-01T01:01:01Z"
|
||||
message: messageValue
|
||||
reason: reasonValue
|
||||
status: statusValue
|
||||
type: typeValue
|
112
staging/src/k8s.io/api/testdata/v1.24.0/flowcontrol.apiserver.k8s.io.v1beta2.FlowSchema.json
vendored
Normal file
112
staging/src/k8s.io/api/testdata/v1.24.0/flowcontrol.apiserver.k8s.io.v1beta2.FlowSchema.json
vendored
Normal file
@ -0,0 +1,112 @@
|
||||
{
|
||||
"kind": "FlowSchema",
|
||||
"apiVersion": "flowcontrol.apiserver.k8s.io/v1beta2",
|
||||
"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": {
|
||||
"priorityLevelConfiguration": {
|
||||
"name": "nameValue"
|
||||
},
|
||||
"matchingPrecedence": 2,
|
||||
"distinguisherMethod": {
|
||||
"type": "typeValue"
|
||||
},
|
||||
"rules": [
|
||||
{
|
||||
"subjects": [
|
||||
{
|
||||
"kind": "kindValue",
|
||||
"user": {
|
||||
"name": "nameValue"
|
||||
},
|
||||
"group": {
|
||||
"name": "nameValue"
|
||||
},
|
||||
"serviceAccount": {
|
||||
"namespace": "namespaceValue",
|
||||
"name": "nameValue"
|
||||
}
|
||||
}
|
||||
],
|
||||
"resourceRules": [
|
||||
{
|
||||
"verbs": [
|
||||
"verbsValue"
|
||||
],
|
||||
"apiGroups": [
|
||||
"apiGroupsValue"
|
||||
],
|
||||
"resources": [
|
||||
"resourcesValue"
|
||||
],
|
||||
"clusterScope": true,
|
||||
"namespaces": [
|
||||
"namespacesValue"
|
||||
]
|
||||
}
|
||||
],
|
||||
"nonResourceRules": [
|
||||
{
|
||||
"verbs": [
|
||||
"verbsValue"
|
||||
],
|
||||
"nonResourceURLs": [
|
||||
"nonResourceURLsValue"
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
"status": {
|
||||
"conditions": [
|
||||
{
|
||||
"type": "typeValue",
|
||||
"status": "statusValue",
|
||||
"lastTransitionTime": "2003-01-01T01:01:01Z",
|
||||
"reason": "reasonValue",
|
||||
"message": "messageValue"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
BIN
staging/src/k8s.io/api/testdata/v1.24.0/flowcontrol.apiserver.k8s.io.v1beta2.FlowSchema.pb
vendored
Normal file
BIN
staging/src/k8s.io/api/testdata/v1.24.0/flowcontrol.apiserver.k8s.io.v1beta2.FlowSchema.pb
vendored
Normal file
Binary file not shown.
72
staging/src/k8s.io/api/testdata/v1.24.0/flowcontrol.apiserver.k8s.io.v1beta2.FlowSchema.yaml
vendored
Normal file
72
staging/src/k8s.io/api/testdata/v1.24.0/flowcontrol.apiserver.k8s.io.v1beta2.FlowSchema.yaml
vendored
Normal file
@ -0,0 +1,72 @@
|
||||
apiVersion: flowcontrol.apiserver.k8s.io/v1beta2
|
||||
kind: FlowSchema
|
||||
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:
|
||||
distinguisherMethod:
|
||||
type: typeValue
|
||||
matchingPrecedence: 2
|
||||
priorityLevelConfiguration:
|
||||
name: nameValue
|
||||
rules:
|
||||
- nonResourceRules:
|
||||
- nonResourceURLs:
|
||||
- nonResourceURLsValue
|
||||
verbs:
|
||||
- verbsValue
|
||||
resourceRules:
|
||||
- apiGroups:
|
||||
- apiGroupsValue
|
||||
clusterScope: true
|
||||
namespaces:
|
||||
- namespacesValue
|
||||
resources:
|
||||
- resourcesValue
|
||||
verbs:
|
||||
- verbsValue
|
||||
subjects:
|
||||
- group:
|
||||
name: nameValue
|
||||
kind: kindValue
|
||||
serviceAccount:
|
||||
name: nameValue
|
||||
namespace: namespaceValue
|
||||
user:
|
||||
name: nameValue
|
||||
status:
|
||||
conditions:
|
||||
- lastTransitionTime: "2003-01-01T01:01:01Z"
|
||||
message: messageValue
|
||||
reason: reasonValue
|
||||
status: statusValue
|
||||
type: typeValue
|
@ -0,0 +1,71 @@
|
||||
{
|
||||
"kind": "PriorityLevelConfiguration",
|
||||
"apiVersion": "flowcontrol.apiserver.k8s.io/v1beta2",
|
||||
"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": {
|
||||
"type": "typeValue",
|
||||
"limited": {
|
||||
"assuredConcurrencyShares": 1,
|
||||
"limitResponse": {
|
||||
"type": "typeValue",
|
||||
"queuing": {
|
||||
"queues": 1,
|
||||
"handSize": 2,
|
||||
"queueLengthLimit": 3
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"status": {
|
||||
"conditions": [
|
||||
{
|
||||
"type": "typeValue",
|
||||
"status": "statusValue",
|
||||
"lastTransitionTime": "2003-01-01T01:01:01Z",
|
||||
"reason": "reasonValue",
|
||||
"message": "messageValue"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
Binary file not shown.
@ -0,0 +1,51 @@
|
||||
apiVersion: flowcontrol.apiserver.k8s.io/v1beta2
|
||||
kind: PriorityLevelConfiguration
|
||||
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:
|
||||
limited:
|
||||
assuredConcurrencyShares: 1
|
||||
limitResponse:
|
||||
queuing:
|
||||
handSize: 2
|
||||
queueLengthLimit: 3
|
||||
queues: 1
|
||||
type: typeValue
|
||||
type: typeValue
|
||||
status:
|
||||
conditions:
|
||||
- lastTransitionTime: "2003-01-01T01:01:01Z"
|
||||
message: messageValue
|
||||
reason: reasonValue
|
||||
status: statusValue
|
||||
type: typeValue
|
112
staging/src/k8s.io/api/testdata/v1.25.0/flowcontrol.apiserver.k8s.io.v1beta2.FlowSchema.json
vendored
Normal file
112
staging/src/k8s.io/api/testdata/v1.25.0/flowcontrol.apiserver.k8s.io.v1beta2.FlowSchema.json
vendored
Normal file
@ -0,0 +1,112 @@
|
||||
{
|
||||
"kind": "FlowSchema",
|
||||
"apiVersion": "flowcontrol.apiserver.k8s.io/v1beta2",
|
||||
"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": {
|
||||
"priorityLevelConfiguration": {
|
||||
"name": "nameValue"
|
||||
},
|
||||
"matchingPrecedence": 2,
|
||||
"distinguisherMethod": {
|
||||
"type": "typeValue"
|
||||
},
|
||||
"rules": [
|
||||
{
|
||||
"subjects": [
|
||||
{
|
||||
"kind": "kindValue",
|
||||
"user": {
|
||||
"name": "nameValue"
|
||||
},
|
||||
"group": {
|
||||
"name": "nameValue"
|
||||
},
|
||||
"serviceAccount": {
|
||||
"namespace": "namespaceValue",
|
||||
"name": "nameValue"
|
||||
}
|
||||
}
|
||||
],
|
||||
"resourceRules": [
|
||||
{
|
||||
"verbs": [
|
||||
"verbsValue"
|
||||
],
|
||||
"apiGroups": [
|
||||
"apiGroupsValue"
|
||||
],
|
||||
"resources": [
|
||||
"resourcesValue"
|
||||
],
|
||||
"clusterScope": true,
|
||||
"namespaces": [
|
||||
"namespacesValue"
|
||||
]
|
||||
}
|
||||
],
|
||||
"nonResourceRules": [
|
||||
{
|
||||
"verbs": [
|
||||
"verbsValue"
|
||||
],
|
||||
"nonResourceURLs": [
|
||||
"nonResourceURLsValue"
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
"status": {
|
||||
"conditions": [
|
||||
{
|
||||
"type": "typeValue",
|
||||
"status": "statusValue",
|
||||
"lastTransitionTime": "2003-01-01T01:01:01Z",
|
||||
"reason": "reasonValue",
|
||||
"message": "messageValue"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
BIN
staging/src/k8s.io/api/testdata/v1.25.0/flowcontrol.apiserver.k8s.io.v1beta2.FlowSchema.pb
vendored
Normal file
BIN
staging/src/k8s.io/api/testdata/v1.25.0/flowcontrol.apiserver.k8s.io.v1beta2.FlowSchema.pb
vendored
Normal file
Binary file not shown.
72
staging/src/k8s.io/api/testdata/v1.25.0/flowcontrol.apiserver.k8s.io.v1beta2.FlowSchema.yaml
vendored
Normal file
72
staging/src/k8s.io/api/testdata/v1.25.0/flowcontrol.apiserver.k8s.io.v1beta2.FlowSchema.yaml
vendored
Normal file
@ -0,0 +1,72 @@
|
||||
apiVersion: flowcontrol.apiserver.k8s.io/v1beta2
|
||||
kind: FlowSchema
|
||||
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:
|
||||
distinguisherMethod:
|
||||
type: typeValue
|
||||
matchingPrecedence: 2
|
||||
priorityLevelConfiguration:
|
||||
name: nameValue
|
||||
rules:
|
||||
- nonResourceRules:
|
||||
- nonResourceURLs:
|
||||
- nonResourceURLsValue
|
||||
verbs:
|
||||
- verbsValue
|
||||
resourceRules:
|
||||
- apiGroups:
|
||||
- apiGroupsValue
|
||||
clusterScope: true
|
||||
namespaces:
|
||||
- namespacesValue
|
||||
resources:
|
||||
- resourcesValue
|
||||
verbs:
|
||||
- verbsValue
|
||||
subjects:
|
||||
- group:
|
||||
name: nameValue
|
||||
kind: kindValue
|
||||
serviceAccount:
|
||||
name: nameValue
|
||||
namespace: namespaceValue
|
||||
user:
|
||||
name: nameValue
|
||||
status:
|
||||
conditions:
|
||||
- lastTransitionTime: "2003-01-01T01:01:01Z"
|
||||
message: messageValue
|
||||
reason: reasonValue
|
||||
status: statusValue
|
||||
type: typeValue
|
@ -0,0 +1,71 @@
|
||||
{
|
||||
"kind": "PriorityLevelConfiguration",
|
||||
"apiVersion": "flowcontrol.apiserver.k8s.io/v1beta2",
|
||||
"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": {
|
||||
"type": "typeValue",
|
||||
"limited": {
|
||||
"assuredConcurrencyShares": 1,
|
||||
"limitResponse": {
|
||||
"type": "typeValue",
|
||||
"queuing": {
|
||||
"queues": 1,
|
||||
"handSize": 2,
|
||||
"queueLengthLimit": 3
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"status": {
|
||||
"conditions": [
|
||||
{
|
||||
"type": "typeValue",
|
||||
"status": "statusValue",
|
||||
"lastTransitionTime": "2003-01-01T01:01:01Z",
|
||||
"reason": "reasonValue",
|
||||
"message": "messageValue"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
Binary file not shown.
@ -0,0 +1,51 @@
|
||||
apiVersion: flowcontrol.apiserver.k8s.io/v1beta2
|
||||
kind: PriorityLevelConfiguration
|
||||
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:
|
||||
limited:
|
||||
assuredConcurrencyShares: 1
|
||||
limitResponse:
|
||||
queuing:
|
||||
handSize: 2
|
||||
queueLengthLimit: 3
|
||||
queues: 1
|
||||
type: typeValue
|
||||
type: typeValue
|
||||
status:
|
||||
conditions:
|
||||
- lastTransitionTime: "2003-01-01T01:01:01Z"
|
||||
message: messageValue
|
||||
reason: reasonValue
|
||||
status: statusValue
|
||||
type: typeValue
|
Loading…
Reference in New Issue
Block a user