Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewResourceHandler ¶
func NewResourceHandler(preProcessor PreProcessor, mpaMatcher mpa.Matcher, patchCalculators []patch.Calculator) resource_admission.Handler
NewResourceHandler creates new instance of resourceHandler.
Types ¶
type NoopPreProcessor ¶
type NoopPreProcessor struct{}
NoopPreProcessor leaves pods unchanged when processing
type PreProcessor ¶
PreProcessor processes the pods before building patches.
func NewDefaultPreProcessor ¶
func NewDefaultPreProcessor() PreProcessor
NewDefaultPreProcessor creates a default PreProcessor
Click to show internal directories.
Click to hide internal directories.