Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HealthCheckHandler ¶
func HealthCheckHandler(writer http.ResponseWriter, _ *http.Request)
HealthCheckHandler HttpServer function to handle Health check
Types ¶
type Sidecar ¶
type Sidecar struct { Name string `yaml:"name"` InitContainers []corev1.Container `yaml:"initContainers"` Containers []corev1.Container `yaml:"containers"` Volumes []corev1.Volume `yaml:"volumes"` ImagePullSecrets []corev1.LocalObjectReference `yaml:"imagePullSecrets"` Annotations map[string]string `yaml:"annotations"` Labels map[string]string `yaml:"labels"` }
Sidecar Kubernetes Sidecar Injector schema
type SidecarInjectorPatcher ¶
type SidecarInjectorPatcher struct { K8sClient kubernetes.Interface SidecarDataKey string AllowAnnotationOverrides bool AllowLabelOverrides bool }
SidecarInjectorPatcher Sidecar Injector patcher
func (*SidecarInjectorPatcher) PatchPodCreate ¶
func (patcher *SidecarInjectorPatcher) PatchPodCreate(ctx context.Context, pod corev1.Pod) ([]admission.PatchOperation, error)
PatchPodCreate Handle Pod Create Patch
Click to show internal directories.
Click to hide internal directories.