filters

package
v0.3.0-alpha.1 Latest Latest
Warning

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

Go to latest
Published: May 26, 2021 License: Apache-2.0 Imports: 41 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsKubeletMetrics added in v0.3.0

func IsKubeletMetrics(path string) bool

func IsKubeletStats added in v0.3.0

func IsKubeletStats(path string) bool

func NewFakeObjectInterfaces added in v0.3.0

func NewFakeObjectInterfaces(scheme *runtime.Scheme, restMapper meta.RESTMapper) admission.ObjectInterfaces

func NodeNameFrom added in v0.3.0

func NodeNameFrom(ctx context.Context) (string, bool)

NodeNameFrom returns a node name if there is any

func NodeNameFromHost added in v0.3.0

func NodeNameFromHost(ctx context.Context, host string, localClient client.Client) (string, error)

func WithFakeKubelet added in v0.3.0

func WithFakeKubelet(h http.Handler, localManager ctrl.Manager, virtualManager ctrl.Manager, targetNamespace string) http.Handler

func WithMetricsProxy added in v0.3.0

func WithMetricsProxy(h http.Handler, localManager ctrl.Manager, virtualManager ctrl.Manager, targetNamespace string) http.Handler

func WithNodeChanges added in v0.3.0

func WithNodeChanges(h http.Handler, localManager ctrl.Manager, virtualManager ctrl.Manager) http.Handler

func WithNodeName added in v0.3.0

func WithNodeName(h http.Handler, localManager ctrl.Manager) http.Handler

func WithRedirect

func WithRedirect(h http.Handler, localManager ctrl.Manager, virtualManager ctrl.Manager, admit admission.Interface, targetNamespace string, resources []delegatingauthorizer.GroupVersionResourceVerb) http.Handler

func WithServiceCreateRedirect

func WithServiceCreateRedirect(handler http.Handler, localManager ctrl.Manager, virtualManager ctrl.Manager, targetNamespace string) http.Handler

Types

This section is empty.

Jump to

Keyboard shortcuts

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