mirror of
https://github.com/k3s-io/kubernetes.git
synced 2026-01-05 15:37:24 +00:00
add nonNamespaced comment tag; change the interface name
This commit is contained in:
@@ -261,7 +261,7 @@ type PersistentVolumeClaimVolumeSource struct {
|
||||
ReadOnly bool `json:"readOnly,omitempty"`
|
||||
}
|
||||
|
||||
// +genclient=true
|
||||
// +genclient=true,nonNamespaced=true
|
||||
|
||||
type PersistentVolume struct {
|
||||
unversioned.TypeMeta `json:",inline"`
|
||||
@@ -1629,7 +1629,7 @@ const (
|
||||
// ResourceList is a set of (resource name, quantity) pairs.
|
||||
type ResourceList map[ResourceName]resource.Quantity
|
||||
|
||||
// +genclient=true
|
||||
// +genclient=true,nonNamespaced=true
|
||||
|
||||
// Node is a worker node in Kubernetes
|
||||
// The name of the node according to etcd is in ObjectMeta.Name.
|
||||
@@ -1681,7 +1681,7 @@ const (
|
||||
NamespaceTerminating NamespacePhase = "Terminating"
|
||||
)
|
||||
|
||||
// +genclient=true
|
||||
// +genclient=true,nonNamespaced=true
|
||||
|
||||
// A namespace provides a scope for Names.
|
||||
// Use of multiple namespaces is optional
|
||||
@@ -2174,7 +2174,7 @@ type ComponentCondition struct {
|
||||
Error string `json:"error,omitempty"`
|
||||
}
|
||||
|
||||
// +genclient=true
|
||||
// +genclient=true,nonNamespaced=true
|
||||
|
||||
// ComponentStatus (and ComponentStatusList) holds the cluster validation info.
|
||||
type ComponentStatus struct {
|
||||
|
||||
Reference in New Issue
Block a user