unmark non-validated types as enums.

This commit is contained in:
Jiahui Feng 2022-03-11 10:00:00 -08:00
parent 2b1b849d6a
commit f0d73cf650
2 changed files with 0 additions and 7 deletions

View File

@ -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"`
}
// +enum
type JobConditionType string
// These are valid conditions of a job.

View File

@ -522,7 +522,6 @@ type PersistentVolumeClaimSpec struct {
}
// PersistentVolumeClaimConditionType is a valid value of PersistentVolumeClaimCondition.Type
// +enum
type PersistentVolumeClaimConditionType string
const (
@ -2632,7 +2631,6 @@ const (
)
// PodConditionType is a valid value for PodCondition.Type
// +enum
type PodConditionType string
// These are valid conditions of pod.
@ -5083,7 +5081,6 @@ const (
NodeTerminated NodePhase = "Terminated"
)
// +enum
type NodeConditionType string
// 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"`
}
// +enum
type NodeAddressType string
// These are valid address type of node.
@ -5295,7 +5291,6 @@ const (
NamespaceTerminatingCause metav1.CauseType = "NamespaceTerminating"
)
// +enum
type NamespaceConditionType string
// These are valid conditions of a namespace.
@ -5787,7 +5782,6 @@ type EventList struct {
type List metav1.List
// LimitType is a type of object that is limited
// +enum
type LimitType string
const (