Documentation ¶
Index ¶
- func EventListResponseType(gvr schema.GroupVersionResource) string
- func EventListType(gvr schema.GroupVersionResource) string
- func EventStopWatchType(gvr schema.GroupVersionResource) string
- func EventWatchResponseType(gvr schema.GroupVersionResource) string
- func EventWatchType(gvr schema.GroupVersionResource) string
- func ParseEventType(t string) (string, schema.GroupVersionResource, error)
- type ListResponseEvent
- type RequestEvent
- type WatchResponseEvent
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EventListResponseType ¶
func EventListResponseType(gvr schema.GroupVersionResource) string
func EventListType ¶
func EventListType(gvr schema.GroupVersionResource) string
func EventStopWatchType ¶
func EventStopWatchType(gvr schema.GroupVersionResource) string
func EventWatchResponseType ¶
func EventWatchResponseType(gvr schema.GroupVersionResource) string
func EventWatchType ¶
func EventWatchType(gvr schema.GroupVersionResource) string
func ParseEventType ¶
func ParseEventType(t string) (string, schema.GroupVersionResource, error)
Types ¶
type ListResponseEvent ¶
type ListResponseEvent struct { Objects *unstructured.UnstructuredList `json:"objects"` EndOfList bool `json:"endOfList"` }
type RequestEvent ¶
type RequestEvent struct { Namespace string `json:"namespace"` Options metav1.ListOptions `json:"options"` }
type WatchResponseEvent ¶
type WatchResponseEvent struct { Type watch.EventType `json:"type"` Object *unstructured.Unstructured `json:"object"` }
Click to show internal directories.
Click to hide internal directories.