Documentation ¶
Index ¶
Constants ¶
View Source
const ( SidecarPath = "/juicefs/inject-v1-pod" ServerlessPath = "/juicefs/serverless/inject-v1-pod" SecretPath = "/juicefs/validate-secret" )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type SecretHandler ¶ added in v0.23.4
func NewSecretHandler ¶ added in v0.23.4
func NewSecretHandler(client *k8sclient.K8sClient) *SecretHandler
func (*SecretHandler) InjectDecoder ¶ added in v0.23.4
func (s *SecretHandler) InjectDecoder(d *admission.Decoder) error
InjectDecoder injects the decoder.
type SidecarHandler ¶
type SidecarHandler struct { Client *k8sclient.K8sClient // contains filtered or unexported fields }
func NewSidecarHandler ¶ added in v0.23.0
func NewSidecarHandler(client *k8sclient.K8sClient, serverless bool) *SidecarHandler
func (*SidecarHandler) InjectDecoder ¶
func (s *SidecarHandler) InjectDecoder(d *admission.Decoder) error
InjectDecoder injects the decoder.
Click to show internal directories.
Click to hide internal directories.