mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-21 10:51:29 +00:00
unmark non-validated types as enums.
This commit is contained in:
parent
2b1b849d6a
commit
f0d73cf650
@ -286,7 +286,6 @@ type UncountedTerminatedPods struct {
|
|||||||
Failed []types.UID `json:"failed,omitempty" protobuf:"bytes,2,rep,name=failed,casttype=k8s.io/apimachinery/pkg/types.UID"`
|
Failed []types.UID `json:"failed,omitempty" protobuf:"bytes,2,rep,name=failed,casttype=k8s.io/apimachinery/pkg/types.UID"`
|
||||||
}
|
}
|
||||||
|
|
||||||
// +enum
|
|
||||||
type JobConditionType string
|
type JobConditionType string
|
||||||
|
|
||||||
// These are valid conditions of a job.
|
// These are valid conditions of a job.
|
||||||
|
@ -522,7 +522,6 @@ type PersistentVolumeClaimSpec struct {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// PersistentVolumeClaimConditionType is a valid value of PersistentVolumeClaimCondition.Type
|
// PersistentVolumeClaimConditionType is a valid value of PersistentVolumeClaimCondition.Type
|
||||||
// +enum
|
|
||||||
type PersistentVolumeClaimConditionType string
|
type PersistentVolumeClaimConditionType string
|
||||||
|
|
||||||
const (
|
const (
|
||||||
@ -2632,7 +2631,6 @@ const (
|
|||||||
)
|
)
|
||||||
|
|
||||||
// PodConditionType is a valid value for PodCondition.Type
|
// PodConditionType is a valid value for PodCondition.Type
|
||||||
// +enum
|
|
||||||
type PodConditionType string
|
type PodConditionType string
|
||||||
|
|
||||||
// These are valid conditions of pod.
|
// These are valid conditions of pod.
|
||||||
@ -5083,7 +5081,6 @@ const (
|
|||||||
NodeTerminated NodePhase = "Terminated"
|
NodeTerminated NodePhase = "Terminated"
|
||||||
)
|
)
|
||||||
|
|
||||||
// +enum
|
|
||||||
type NodeConditionType string
|
type NodeConditionType string
|
||||||
|
|
||||||
// These are valid conditions of node. Currently, we don't have enough information to decide
|
// These are valid conditions of node. Currently, we don't have enough information to decide
|
||||||
@ -5122,7 +5119,6 @@ type NodeCondition struct {
|
|||||||
Message string `json:"message,omitempty" protobuf:"bytes,6,opt,name=message"`
|
Message string `json:"message,omitempty" protobuf:"bytes,6,opt,name=message"`
|
||||||
}
|
}
|
||||||
|
|
||||||
// +enum
|
|
||||||
type NodeAddressType string
|
type NodeAddressType string
|
||||||
|
|
||||||
// These are valid address type of node.
|
// These are valid address type of node.
|
||||||
@ -5295,7 +5291,6 @@ const (
|
|||||||
NamespaceTerminatingCause metav1.CauseType = "NamespaceTerminating"
|
NamespaceTerminatingCause metav1.CauseType = "NamespaceTerminating"
|
||||||
)
|
)
|
||||||
|
|
||||||
// +enum
|
|
||||||
type NamespaceConditionType string
|
type NamespaceConditionType string
|
||||||
|
|
||||||
// These are valid conditions of a namespace.
|
// These are valid conditions of a namespace.
|
||||||
@ -5787,7 +5782,6 @@ type EventList struct {
|
|||||||
type List metav1.List
|
type List metav1.List
|
||||||
|
|
||||||
// LimitType is a type of object that is limited
|
// LimitType is a type of object that is limited
|
||||||
// +enum
|
|
||||||
type LimitType string
|
type LimitType string
|
||||||
|
|
||||||
const (
|
const (
|
||||||
|
Loading…
Reference in New Issue
Block a user