pkg

package
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 30, 2022 License: Apache-2.0 Imports: 8 Imported by: 0

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

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL