mirror of
https://github.com/rancher/types.git
synced 2025-07-15 06:01:35 +00:00
Merge pull request #379 from zionwu/fixeventalert
Fix issue for alert events
This commit is contained in:
commit
fe054177e4
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user