mirror of
https://github.com/kubernetes/client-go.git
synced 2025-07-14 07:24:14 +00:00
Merge pull request #100684 from Jefftree/atomic
Tag structs as atomic Kubernetes-commit: 081ac6b5a9004b7c6cfe6a8b8f83e60eca58a010
This commit is contained in:
commit
980164c05c
4
Godeps/Godeps.json
generated
4
Godeps/Godeps.json
generated
@ -476,11 +476,11 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"ImportPath": "k8s.io/api",
|
"ImportPath": "k8s.io/api",
|
||||||
"Rev": "c2af72098886"
|
"Rev": "0bd767344841"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"ImportPath": "k8s.io/apimachinery",
|
"ImportPath": "k8s.io/apimachinery",
|
||||||
"Rev": "74cf9d365d5e"
|
"Rev": "77ef728a9ac6"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"ImportPath": "k8s.io/gengo",
|
"ImportPath": "k8s.io/gengo",
|
||||||
|
@ -1759,6 +1759,7 @@ var schemaYAML = typed.YAMLObject(`types:
|
|||||||
type:
|
type:
|
||||||
scalar: string
|
scalar: string
|
||||||
default: ""
|
default: ""
|
||||||
|
elementRelationship: atomic
|
||||||
- name: io.k8s.api.autoscaling.v1.HorizontalPodAutoscaler
|
- name: io.k8s.api.autoscaling.v1.HorizontalPodAutoscaler
|
||||||
map:
|
map:
|
||||||
fields:
|
fields:
|
||||||
@ -3335,6 +3336,7 @@ var schemaYAML = typed.YAMLObject(`types:
|
|||||||
- name: optional
|
- name: optional
|
||||||
type:
|
type:
|
||||||
scalar: boolean
|
scalar: boolean
|
||||||
|
elementRelationship: atomic
|
||||||
- name: io.k8s.api.core.v1.ConfigMapNodeConfigSource
|
- name: io.k8s.api.core.v1.ConfigMapNodeConfigSource
|
||||||
map:
|
map:
|
||||||
fields:
|
fields:
|
||||||
@ -3683,6 +3685,7 @@ var schemaYAML = typed.YAMLObject(`types:
|
|||||||
- name: targetRef
|
- name: targetRef
|
||||||
type:
|
type:
|
||||||
namedType: io.k8s.api.core.v1.ObjectReference
|
namedType: io.k8s.api.core.v1.ObjectReference
|
||||||
|
elementRelationship: atomic
|
||||||
- name: io.k8s.api.core.v1.EndpointPort
|
- name: io.k8s.api.core.v1.EndpointPort
|
||||||
map:
|
map:
|
||||||
fields:
|
fields:
|
||||||
@ -3699,6 +3702,7 @@ var schemaYAML = typed.YAMLObject(`types:
|
|||||||
- name: protocol
|
- name: protocol
|
||||||
type:
|
type:
|
||||||
scalar: string
|
scalar: string
|
||||||
|
elementRelationship: atomic
|
||||||
- name: io.k8s.api.core.v1.EndpointSubset
|
- name: io.k8s.api.core.v1.EndpointSubset
|
||||||
map:
|
map:
|
||||||
fields:
|
fields:
|
||||||
@ -4373,6 +4377,7 @@ var schemaYAML = typed.YAMLObject(`types:
|
|||||||
- name: name
|
- name: name
|
||||||
type:
|
type:
|
||||||
scalar: string
|
scalar: string
|
||||||
|
elementRelationship: atomic
|
||||||
- name: io.k8s.api.core.v1.LocalVolumeSource
|
- name: io.k8s.api.core.v1.LocalVolumeSource
|
||||||
map:
|
map:
|
||||||
fields:
|
fields:
|
||||||
@ -4568,6 +4573,7 @@ var schemaYAML = typed.YAMLObject(`types:
|
|||||||
elementType:
|
elementType:
|
||||||
namedType: io.k8s.api.core.v1.NodeSelectorTerm
|
namedType: io.k8s.api.core.v1.NodeSelectorTerm
|
||||||
elementRelationship: atomic
|
elementRelationship: atomic
|
||||||
|
elementRelationship: atomic
|
||||||
- name: io.k8s.api.core.v1.NodeSelectorRequirement
|
- name: io.k8s.api.core.v1.NodeSelectorRequirement
|
||||||
map:
|
map:
|
||||||
fields:
|
fields:
|
||||||
@ -4600,6 +4606,7 @@ var schemaYAML = typed.YAMLObject(`types:
|
|||||||
elementType:
|
elementType:
|
||||||
namedType: io.k8s.api.core.v1.NodeSelectorRequirement
|
namedType: io.k8s.api.core.v1.NodeSelectorRequirement
|
||||||
elementRelationship: atomic
|
elementRelationship: atomic
|
||||||
|
elementRelationship: atomic
|
||||||
- name: io.k8s.api.core.v1.NodeSpec
|
- name: io.k8s.api.core.v1.NodeSpec
|
||||||
map:
|
map:
|
||||||
fields:
|
fields:
|
||||||
@ -4744,6 +4751,7 @@ var schemaYAML = typed.YAMLObject(`types:
|
|||||||
type:
|
type:
|
||||||
scalar: string
|
scalar: string
|
||||||
default: ""
|
default: ""
|
||||||
|
elementRelationship: atomic
|
||||||
- name: io.k8s.api.core.v1.ObjectReference
|
- name: io.k8s.api.core.v1.ObjectReference
|
||||||
map:
|
map:
|
||||||
fields:
|
fields:
|
||||||
@ -4768,6 +4776,7 @@ var schemaYAML = typed.YAMLObject(`types:
|
|||||||
- name: uid
|
- name: uid
|
||||||
type:
|
type:
|
||||||
scalar: string
|
scalar: string
|
||||||
|
elementRelationship: atomic
|
||||||
- name: io.k8s.api.core.v1.PersistentVolume
|
- name: io.k8s.api.core.v1.PersistentVolume
|
||||||
map:
|
map:
|
||||||
fields:
|
fields:
|
||||||
@ -5719,6 +5728,7 @@ var schemaYAML = typed.YAMLObject(`types:
|
|||||||
type:
|
type:
|
||||||
scalar: string
|
scalar: string
|
||||||
default: ""
|
default: ""
|
||||||
|
elementRelationship: atomic
|
||||||
- name: io.k8s.api.core.v1.ResourceQuota
|
- name: io.k8s.api.core.v1.ResourceQuota
|
||||||
map:
|
map:
|
||||||
fields:
|
fields:
|
||||||
@ -5877,6 +5887,7 @@ var schemaYAML = typed.YAMLObject(`types:
|
|||||||
elementType:
|
elementType:
|
||||||
namedType: io.k8s.api.core.v1.ScopedResourceSelectorRequirement
|
namedType: io.k8s.api.core.v1.ScopedResourceSelectorRequirement
|
||||||
elementRelationship: atomic
|
elementRelationship: atomic
|
||||||
|
elementRelationship: atomic
|
||||||
- name: io.k8s.api.core.v1.ScopedResourceSelectorRequirement
|
- name: io.k8s.api.core.v1.ScopedResourceSelectorRequirement
|
||||||
map:
|
map:
|
||||||
fields:
|
fields:
|
||||||
@ -5960,6 +5971,7 @@ var schemaYAML = typed.YAMLObject(`types:
|
|||||||
- name: optional
|
- name: optional
|
||||||
type:
|
type:
|
||||||
scalar: boolean
|
scalar: boolean
|
||||||
|
elementRelationship: atomic
|
||||||
- name: io.k8s.api.core.v1.SecretProjection
|
- name: io.k8s.api.core.v1.SecretProjection
|
||||||
map:
|
map:
|
||||||
fields:
|
fields:
|
||||||
@ -5984,6 +5996,7 @@ var schemaYAML = typed.YAMLObject(`types:
|
|||||||
- name: namespace
|
- name: namespace
|
||||||
type:
|
type:
|
||||||
scalar: string
|
scalar: string
|
||||||
|
elementRelationship: atomic
|
||||||
- name: io.k8s.api.core.v1.SecretVolumeSource
|
- name: io.k8s.api.core.v1.SecretVolumeSource
|
||||||
map:
|
map:
|
||||||
fields:
|
fields:
|
||||||
@ -6348,6 +6361,7 @@ var schemaYAML = typed.YAMLObject(`types:
|
|||||||
elementType:
|
elementType:
|
||||||
namedType: io.k8s.api.core.v1.TopologySelectorLabelRequirement
|
namedType: io.k8s.api.core.v1.TopologySelectorLabelRequirement
|
||||||
elementRelationship: atomic
|
elementRelationship: atomic
|
||||||
|
elementRelationship: atomic
|
||||||
- name: io.k8s.api.core.v1.TopologySpreadConstraint
|
- name: io.k8s.api.core.v1.TopologySpreadConstraint
|
||||||
map:
|
map:
|
||||||
fields:
|
fields:
|
||||||
@ -6380,6 +6394,7 @@ var schemaYAML = typed.YAMLObject(`types:
|
|||||||
type:
|
type:
|
||||||
scalar: string
|
scalar: string
|
||||||
default: ""
|
default: ""
|
||||||
|
elementRelationship: atomic
|
||||||
- name: io.k8s.api.core.v1.Volume
|
- name: io.k8s.api.core.v1.Volume
|
||||||
map:
|
map:
|
||||||
fields:
|
fields:
|
||||||
@ -6637,6 +6652,7 @@ var schemaYAML = typed.YAMLObject(`types:
|
|||||||
- name: protocol
|
- name: protocol
|
||||||
type:
|
type:
|
||||||
scalar: string
|
scalar: string
|
||||||
|
elementRelationship: atomic
|
||||||
- name: io.k8s.api.discovery.v1.EndpointSlice
|
- name: io.k8s.api.discovery.v1.EndpointSlice
|
||||||
map:
|
map:
|
||||||
fields:
|
fields:
|
||||||
@ -9510,6 +9526,7 @@ var schemaYAML = typed.YAMLObject(`types:
|
|||||||
type:
|
type:
|
||||||
scalar: string
|
scalar: string
|
||||||
default: ""
|
default: ""
|
||||||
|
elementRelationship: atomic
|
||||||
- name: io.k8s.api.rbac.v1.Subject
|
- name: io.k8s.api.rbac.v1.Subject
|
||||||
map:
|
map:
|
||||||
fields:
|
fields:
|
||||||
@ -9527,6 +9544,7 @@ var schemaYAML = typed.YAMLObject(`types:
|
|||||||
- name: namespace
|
- name: namespace
|
||||||
type:
|
type:
|
||||||
scalar: string
|
scalar: string
|
||||||
|
elementRelationship: atomic
|
||||||
- name: io.k8s.api.rbac.v1alpha1.AggregationRule
|
- name: io.k8s.api.rbac.v1alpha1.AggregationRule
|
||||||
map:
|
map:
|
||||||
fields:
|
fields:
|
||||||
@ -10720,6 +10738,7 @@ var schemaYAML = typed.YAMLObject(`types:
|
|||||||
type:
|
type:
|
||||||
scalar: string
|
scalar: string
|
||||||
default: ""
|
default: ""
|
||||||
|
elementRelationship: atomic
|
||||||
- name: io.k8s.apimachinery.pkg.apis.meta.v1.Preconditions
|
- name: io.k8s.apimachinery.pkg.apis.meta.v1.Preconditions
|
||||||
map:
|
map:
|
||||||
fields:
|
fields:
|
||||||
|
8
go.mod
8
go.mod
@ -27,8 +27,8 @@ require (
|
|||||||
golang.org/x/oauth2 v0.0.0-20200107190931-bf48bf16ab8d
|
golang.org/x/oauth2 v0.0.0-20200107190931-bf48bf16ab8d
|
||||||
golang.org/x/term v0.0.0-20210220032956-6a3ed077a48d
|
golang.org/x/term v0.0.0-20210220032956-6a3ed077a48d
|
||||||
golang.org/x/time v0.0.0-20210220033141-f8bda1e9f3ba
|
golang.org/x/time v0.0.0-20210220033141-f8bda1e9f3ba
|
||||||
k8s.io/api v0.0.0-20210409072620-c2af72098886
|
k8s.io/api v0.0.0-20210409152021-0bd767344841
|
||||||
k8s.io/apimachinery v0.0.0-20210408225951-74cf9d365d5e
|
k8s.io/apimachinery v0.0.0-20210409151717-77ef728a9ac6
|
||||||
k8s.io/klog/v2 v2.8.0
|
k8s.io/klog/v2 v2.8.0
|
||||||
k8s.io/utils v0.0.0-20201110183641-67b214c5f920
|
k8s.io/utils v0.0.0-20201110183641-67b214c5f920
|
||||||
sigs.k8s.io/structured-merge-diff/v4 v4.1.0
|
sigs.k8s.io/structured-merge-diff/v4 v4.1.0
|
||||||
@ -36,6 +36,6 @@ require (
|
|||||||
)
|
)
|
||||||
|
|
||||||
replace (
|
replace (
|
||||||
k8s.io/api => k8s.io/api v0.0.0-20210409072620-c2af72098886
|
k8s.io/api => k8s.io/api v0.0.0-20210409152021-0bd767344841
|
||||||
k8s.io/apimachinery => k8s.io/apimachinery v0.0.0-20210408225951-74cf9d365d5e
|
k8s.io/apimachinery => k8s.io/apimachinery v0.0.0-20210409151717-77ef728a9ac6
|
||||||
)
|
)
|
||||||
|
4
go.sum
4
go.sum
@ -431,8 +431,8 @@ honnef.co/go/tools v0.0.0-20190418001031-e561f6794a2a/go.mod h1:rf3lG4BRIbNafJWh
|
|||||||
honnef.co/go/tools v0.0.0-20190523083050-ea95bdfd59fc/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4=
|
honnef.co/go/tools v0.0.0-20190523083050-ea95bdfd59fc/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4=
|
||||||
honnef.co/go/tools v0.0.1-2019.2.3/go.mod h1:a3bituU0lyd329TUQxRnasdCoJDkEUEAqEt0JzvZhAg=
|
honnef.co/go/tools v0.0.1-2019.2.3/go.mod h1:a3bituU0lyd329TUQxRnasdCoJDkEUEAqEt0JzvZhAg=
|
||||||
honnef.co/go/tools v0.0.1-2020.1.3/go.mod h1:X/FiERA/W4tHapMX5mGpAtMSVEeEUOyHaw9vFzvIQ3k=
|
honnef.co/go/tools v0.0.1-2020.1.3/go.mod h1:X/FiERA/W4tHapMX5mGpAtMSVEeEUOyHaw9vFzvIQ3k=
|
||||||
k8s.io/api v0.0.0-20210409072620-c2af72098886/go.mod h1:qWBQaP6/XkVq3wtewQmaEEUxdGD1f/HstASE9fJtjns=
|
k8s.io/api v0.0.0-20210409152021-0bd767344841/go.mod h1:DhliORNnyNhY1rOxBIHHWQ/IW6xlHlaGC7JRufkB+/E=
|
||||||
k8s.io/apimachinery v0.0.0-20210408225951-74cf9d365d5e/go.mod h1:jbreFvJo3ov9rj7eWT7+sYiRx+qZuCYXwWT1bcDswPY=
|
k8s.io/apimachinery v0.0.0-20210409151717-77ef728a9ac6/go.mod h1:jbreFvJo3ov9rj7eWT7+sYiRx+qZuCYXwWT1bcDswPY=
|
||||||
k8s.io/gengo v0.0.0-20200413195148-3a45101e95ac/go.mod h1:ezvh/TsK7cY6rbqRK0oQQ8IAqLxYwwyPxAX1Pzy0ii0=
|
k8s.io/gengo v0.0.0-20200413195148-3a45101e95ac/go.mod h1:ezvh/TsK7cY6rbqRK0oQQ8IAqLxYwwyPxAX1Pzy0ii0=
|
||||||
k8s.io/klog/v2 v2.0.0/go.mod h1:PBfzABfn139FHAV07az/IF9Wp1bkk3vpT2XSJ76fSDE=
|
k8s.io/klog/v2 v2.0.0/go.mod h1:PBfzABfn139FHAV07az/IF9Wp1bkk3vpT2XSJ76fSDE=
|
||||||
k8s.io/klog/v2 v2.8.0 h1:Q3gmuM9hKEjefWFFYF0Mat+YyFJvsUyYuwyNNJ5C9Ts=
|
k8s.io/klog/v2 v2.8.0 h1:Q3gmuM9hKEjefWFFYF0Mat+YyFJvsUyYuwyNNJ5C9Ts=
|
||||||
|
Loading…
Reference in New Issue
Block a user