handlers

package
v0.0.0-...-9cd5fb2 Latest Latest
Warning

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

Go to latest
Published: Feb 5, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DoNothing

func DoNothing(router.Request, router.Response) error

DoNothing is a handler that does nothing. It is useful because resp.Objects will only work if a GVK is being watched. This ensures that resp.Objects does what it is supposed to for objects that are no longer passed to resp.Objects, and are not watched anywhere else.

func GCOrphans

func GCOrphans(req router.Request, _ router.Response) error

GCOrphans will delete an object whose owner has been deleted.

Types

This section is empty.

Jump to

Keyboard shortcuts

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