mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-13 22:05:59 +00:00
apimachinery/meta/types.go: define InitialEventsAnnotationKey const
InitialEventsAnnotationKey the name of the key under which an annotation marking the end of a watchlist stream is stored. The annotation is added to a "Bookmark" event. The const will be immediately used in client-go and apiserver packages.
This commit is contained in:
parent
dc3f5ec6cc
commit
3f7d4b787b
@ -432,6 +432,15 @@ type ListOptions struct {
|
|||||||
SendInitialEvents *bool `json:"sendInitialEvents,omitempty" protobuf:"varint,11,opt,name=sendInitialEvents"`
|
SendInitialEvents *bool `json:"sendInitialEvents,omitempty" protobuf:"varint,11,opt,name=sendInitialEvents"`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
const (
|
||||||
|
// InitialEventsAnnotationKey the name of the key
|
||||||
|
// under which an annotation marking the end of
|
||||||
|
// a watchlist stream is stored.
|
||||||
|
//
|
||||||
|
// The annotation is added to a "Bookmark" event.
|
||||||
|
InitialEventsAnnotationKey = "k8s.io/initial-events-end"
|
||||||
|
)
|
||||||
|
|
||||||
// resourceVersionMatch specifies how the resourceVersion parameter is applied. resourceVersionMatch
|
// resourceVersionMatch specifies how the resourceVersion parameter is applied. resourceVersionMatch
|
||||||
// may only be set if resourceVersion is also set.
|
// may only be set if resourceVersion is also set.
|
||||||
//
|
//
|
||||||
|
Loading…
Reference in New Issue
Block a user