Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var HandlerRegister = &common.HandlerRegister{ Path: "/mutate-v1-pod", HandlerSetupFunc: func(mgr ctrl.Manager) (admission.Handler, error) { decoder, err := admission.NewDecoder(mgr.GetScheme()) if err != nil { return nil, fmt.Errorf("failed to new admission decoder: %v", err) } return &Handler{ Client: mgr.GetClient(), Decoder: decoder, }, nil }, }
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.