mirror of
https://github.com/rancher/types.git
synced 2025-08-12 17:55:20 +00:00
Update generated code
This commit is contained in:
parent
e5d9a4fcfa
commit
c4307f7ac8
@ -2,11 +2,11 @@ package client
|
||||
|
||||
const (
|
||||
TargetEventType = "targetEvent"
|
||||
TargetEventFieldEventType = "eventType"
|
||||
TargetEventFieldResourceKind = "resourceKind"
|
||||
TargetEventFieldType = "type"
|
||||
)
|
||||
|
||||
type TargetEvent struct {
|
||||
EventType string `json:"eventType,omitempty" yaml:"eventType,omitempty"`
|
||||
ResourceKind string `json:"resourceKind,omitempty" yaml:"resourceKind,omitempty"`
|
||||
Type string `json:"type,omitempty" yaml:"type,omitempty"`
|
||||
}
|
||||
|
@ -4,13 +4,11 @@ const (
|
||||
TargetWorkloadType = "targetWorkload"
|
||||
TargetWorkloadFieldAvailablePercentage = "availablePercentage"
|
||||
TargetWorkloadFieldSelector = "selector"
|
||||
TargetWorkloadFieldType = "type"
|
||||
TargetWorkloadFieldWorkloadID = "workloadId"
|
||||
)
|
||||
|
||||
type TargetWorkload struct {
|
||||
AvailablePercentage *int64 `json:"availablePercentage,omitempty" yaml:"availablePercentage,omitempty"`
|
||||
Selector map[string]string `json:"selector,omitempty" yaml:"selector,omitempty"`
|
||||
Type string `json:"type,omitempty" yaml:"type,omitempty"`
|
||||
WorkloadID string `json:"workloadId,omitempty" yaml:"workloadId,omitempty"`
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user