sidecar

package
v0.12.0 Latest Latest
Warning

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

Go to latest
Published: Oct 29, 2024 License: MIT Imports: 12 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    `yaml:"containers"`
	Volumes              []corev1.Volume       `yaml:"volumes"`
	EnvironmentVariables []EnvironmentVariable `yaml:"environmentVariables"`
}

func LoadConfig

func LoadConfig(file string) (*Config, error)

type EnvironmentVariable

type EnvironmentVariable struct {
	Name       string `yaml:"name"`
	Container  string `yaml:"container"`
	Annotation string `yaml:"annotation"`
}

type Injector

type Injector struct {
	Client  client.Client
	Config  *Config
	Decoder admission.Decoder
}

func (*Injector) Handle

Jump to

Keyboard shortcuts

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