apis

package
v0.0.0-...-7f78ec7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 19, 2022 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

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"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL