webhooks

package
v0.0.0-...-51b8cd8 Latest Latest
Warning

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

Go to latest
Published: Jul 3, 2023 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PodMutator

type PodMutator struct {
	// contains filtered or unexported fields
}

func NewPodMutator

func NewPodMutator(config PodMutatorConfig, logger logr.Logger, manager ctrl.Manager) *PodMutator

func (*PodMutator) Handle

func (m *PodMutator) Handle(ctx context.Context, request admission.Request) admission.Response

Handle handles the mutating admission requests.

func (*PodMutator) InjectDecoder

func (m *PodMutator) InjectDecoder(decoder *admission.Decoder) error

type PodMutatorConfig

type PodMutatorConfig struct {
	ClusterName    string
	MeshID         string
	IstioVersion   string
	IstioCAAddress string
	IstioNetwork   string
	IstioRevision  string
}

Jump to

Keyboard shortcuts

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