mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-24 20:24:09 +00:00
Merge pull request #75987 from yastij/event-state-deprecation
deprecate state field of eventSeries on Event API
This commit is contained in:
commit
8136cfc512
4
api/openapi-spec/swagger.json
generated
4
api/openapi-spec/swagger.json
generated
@ -7292,7 +7292,7 @@
|
||||
"description": "Time of the last occurrence observed"
|
||||
},
|
||||
"state": {
|
||||
"description": "State of this Series: Ongoing or Finished",
|
||||
"description": "State of this Series: Ongoing or Finished Deprecated. Planned removal for 1.18",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
@ -11352,7 +11352,7 @@
|
||||
"description": "Time when last Event from the series was seen before last heartbeat."
|
||||
},
|
||||
"state": {
|
||||
"description": "Information whether this series is ongoing or finished.",
|
||||
"description": "Information whether this series is ongoing or finished. Deprecated. Planned removal for 1.18",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
|
@ -4159,6 +4159,7 @@ type EventSeries struct {
|
||||
// Time of the last occurrence observed
|
||||
LastObservedTime metav1.MicroTime
|
||||
// State of this Series: Ongoing or Finished
|
||||
// Deprecated. Planned removal for 1.18
|
||||
State EventSeriesState
|
||||
}
|
||||
|
||||
|
@ -1218,6 +1218,7 @@ message EventSeries {
|
||||
optional k8s.io.apimachinery.pkg.apis.meta.v1.MicroTime lastObservedTime = 2;
|
||||
|
||||
// State of this Series: Ongoing or Finished
|
||||
// Deprecated. Planned removal for 1.18
|
||||
optional string state = 3;
|
||||
}
|
||||
|
||||
|
@ -4704,6 +4704,7 @@ type EventSeries struct {
|
||||
// Time of the last occurrence observed
|
||||
LastObservedTime metav1.MicroTime `json:"lastObservedTime,omitempty" protobuf:"bytes,2,name=lastObservedTime"`
|
||||
// State of this Series: Ongoing or Finished
|
||||
// Deprecated. Planned removal for 1.18
|
||||
State EventSeriesState `json:"state,omitempty" protobuf:"bytes,3,name=state"`
|
||||
}
|
||||
|
||||
|
@ -610,7 +610,7 @@ var map_EventSeries = map[string]string{
|
||||
"": "EventSeries contain information on series of events, i.e. thing that was/is happening continuously for some time.",
|
||||
"count": "Number of occurrences in this series up to the last heartbeat time",
|
||||
"lastObservedTime": "Time of the last occurrence observed",
|
||||
"state": "State of this Series: Ongoing or Finished",
|
||||
"state": "State of this Series: Ongoing or Finished Deprecated. Planned removal for 1.18",
|
||||
}
|
||||
|
||||
func (EventSeries) SwaggerDoc() map[string]string {
|
||||
|
@ -116,6 +116,7 @@ message EventSeries {
|
||||
optional k8s.io.apimachinery.pkg.apis.meta.v1.MicroTime lastObservedTime = 2;
|
||||
|
||||
// Information whether this series is ongoing or finished.
|
||||
// Deprecated. Planned removal for 1.18
|
||||
optional string state = 3;
|
||||
}
|
||||
|
||||
|
@ -96,6 +96,7 @@ type EventSeries struct {
|
||||
// Time when last Event from the series was seen before last heartbeat.
|
||||
LastObservedTime metav1.MicroTime `json:"lastObservedTime" protobuf:"bytes,2,opt,name=lastObservedTime"`
|
||||
// Information whether this series is ongoing or finished.
|
||||
// Deprecated. Planned removal for 1.18
|
||||
State EventSeriesState `json:"state" protobuf:"bytes,3,opt,name=state"`
|
||||
}
|
||||
|
||||
|
@ -63,7 +63,7 @@ var map_EventSeries = map[string]string{
|
||||
"": "EventSeries contain information on series of events, i.e. thing that was/is happening continuously for some time.",
|
||||
"count": "Number of occurrences in this series up to the last heartbeat time",
|
||||
"lastObservedTime": "Time when last Event from the series was seen before last heartbeat.",
|
||||
"state": "Information whether this series is ongoing or finished.",
|
||||
"state": "Information whether this series is ongoing or finished. Deprecated. Planned removal for 1.18",
|
||||
}
|
||||
|
||||
func (EventSeries) SwaggerDoc() map[string]string {
|
||||
|
Loading…
Reference in New Issue
Block a user