Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewControllerPodResourceRecommendation ¶
func NewControllerPodResourceRecommendation() *controllerPodResourceRecommendation
Types ¶
type AdmissionController ¶
type AdmissionController interface {
MutatePod(http.ResponseWriter, *http.Request)
}
func NewAdmissionControllerWithConfig ¶
func NewAdmissionControllerWithConfig(cfg Config, sigsK8SClient client.Client, resourceRecommendator resource.ResourceRecommendator, controllerValidator controller_validator.Validator) (AdmissionController, error)
NewAdmissionControllerWithConfig creates AdmissionController with configuration and dependencies
Click to show internal directories.
Click to hide internal directories.