webhook

package
v1.0.7 Latest Latest
Warning

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

Go to latest
Published: Sep 16, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Containers []corev1.Container `json:"containers"`
	Volumes    []corev1.Volume    `json:"volumes"`
}

func ParseConfig

func ParseConfig(configFile string) (*Config, error)

type DsnExecInjector

type DsnExecInjector struct {
	Name                 string
	Client               client.Client
	Decoder              admission.Decoder
	DsnExecSidecarConfig *Config
}

func (*DsnExecInjector) Handle

DsnExecInjector adds an annotation to every incoming pods.

Jump to

Keyboard shortcuts

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