Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsInvalidConfig ¶
IsInvalidConfig asserts invalidConfigError.
Types ¶
type CreateMutator ¶
type CreateMutator struct {
// contains filtered or unexported fields
}
func NewCreateMutator ¶
func NewCreateMutator(config CreateMutatorConfig) (*CreateMutator, error)
func (*CreateMutator) Log ¶
func (m *CreateMutator) Log(keyVals ...interface{})
func (*CreateMutator) Mutate ¶
func (m *CreateMutator) Mutate(ctx context.Context, request *v1beta1.AdmissionRequest) ([]mutator.PatchOperation, error)
func (*CreateMutator) Resource ¶
func (m *CreateMutator) Resource() string
type CreateMutatorConfig ¶
type CreateMutatorConfig struct { CtrlClient client.Client Logger micrologger.Logger }
Click to show internal directories.
Click to hide internal directories.