handler

package
v0.22.0 Latest Latest
Warning

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

Go to latest
Published: Sep 7, 2023 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

View Source
const HandlerPath = "/juicefs/inject-v1-pod"

Variables

This section is empty.

Functions

func Register

func Register(mgr manager.Manager, client *k8sclient.K8sClient)

Register registers the handlers to the manager

Types

type SidecarHandler

type SidecarHandler struct {
	Client *k8sclient.K8sClient
	// contains filtered or unexported fields
}

func (*SidecarHandler) Handle

func (*SidecarHandler) InjectDecoder

func (s *SidecarHandler) InjectDecoder(d *admission.Decoder) error

InjectDecoder injects the decoder.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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