1
0
mirror of https://github.com/rancher/types.git synced 2025-07-19 07:46:25 +00:00

Change event resource kind to be the same as kubernetes InvolvedObject.Kind

This commit is contained in:
zionwu 2018-04-19 16:21:08 +08:00
parent 76e83ca25a
commit 3b1dbf817a

View File

@ -82,7 +82,7 @@ type TargetPod struct {
type TargetEvent struct {
EventType string `json:"eventType,omitempty" norman:"required,options=Normal|Warning,default=Warning"`
ResourceKind string `json:"resourceKind,omitempty" norman:"required,options=Pod|Node|Deployment|Statefulset|Daemonset"`
ResourceKind string `json:"resourceKind,omitempty" norman:"required,options=Pod|Node|Deployment|StatefulSet|DaemonSet"`
}
type TargetWorkload struct {