【修改】k8s 配置

This commit is contained in:
PandaGoAdmin
2022-01-22 17:07:04 +08:00
parent c6ebe89865
commit 33cc74711d
439 changed files with 9936 additions and 21687 deletions

View File

@@ -0,0 +1,19 @@
package common
import v1 "k8s.io/apimachinery/pkg/apis/meta/v1"
// Condition represents a single condition of a pod or node.
type Condition struct {
// Type of a condition.
Type string `json:"type"`
// Status of a condition.
Status v1.ConditionStatus `json:"status"`
// Last probe time of a condition.
LastProbeTime v1.Time `json:"lastProbeTime"`
// Last transition time of a condition.
LastTransitionTime v1.Time `json:"lastTransitionTime"`
// Reason of a condition.
Reason string `json:"reason"`
// Message of a condition.
Message string `json:"message"`
}