Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TopologySpreadMutator ¶
type TopologySpreadMutator struct { Client client.Client PreferredMaxSkewDefault int // contains filtered or unexported fields }
TopologySpreadMutator webhook interface that provide mutation for pod topologySpreadConstraints.
func (*TopologySpreadMutator) Handle ¶
func (t *TopologySpreadMutator) Handle(ctx context.Context, req admission.Request) admission.Response
Handle main function that provide mutation logic.
func (*TopologySpreadMutator) InjectDecoder ¶
func (t *TopologySpreadMutator) InjectDecoder(d *admission.Decoder) error
InjectDecoder injects admission decoder into webhook interface.
Click to show internal directories.
Click to hide internal directories.