Documentation ¶
Index ¶
- func IsKubeletMetrics(path string) bool
- func IsKubeletStats(path string) bool
- func NewFakeObjectInterfaces(scheme *runtime.Scheme, restMapper meta.RESTMapper) admission.ObjectInterfaces
- func NodeNameFrom(ctx context.Context) (string, bool)
- func NodeNameFromHost(ctx context.Context, host, targetNamespace string, localClient client.Client) (string, error)
- func WithFakeKubelet(h http.Handler, localManager ctrl.Manager, virtualManager ctrl.Manager, ...) http.Handler
- func WithMetricsProxy(h http.Handler, localManager ctrl.Manager, virtualManager ctrl.Manager, ...) http.Handler
- func WithNodeChanges(h http.Handler, localManager ctrl.Manager, virtualManager ctrl.Manager) http.Handler
- func WithNodeName(h http.Handler, localManager ctrl.Manager, targetNamespace string) http.Handler
- func WithRedirect(h http.Handler, localManager ctrl.Manager, virtualManager ctrl.Manager, ...) http.Handler
- func WithServiceCreateRedirect(handler http.Handler, localManager ctrl.Manager, virtualManager ctrl.Manager, ...) http.Handler
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsKubeletMetrics ¶ added in v0.3.0
func IsKubeletStats ¶ added in v0.3.0
func NewFakeObjectInterfaces ¶ added in v0.3.0
func NewFakeObjectInterfaces(scheme *runtime.Scheme, restMapper meta.RESTMapper) admission.ObjectInterfaces
func NodeNameFrom ¶ added in v0.3.0
NodeNameFrom returns a node name if there is any
func NodeNameFromHost ¶ added in v0.3.0
func WithFakeKubelet ¶ added in v0.3.0
func WithMetricsProxy ¶ added in v0.3.0
func WithNodeChanges ¶ added in v0.3.0
func WithNodeName ¶ added in v0.3.0
func WithRedirect ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.