Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Injectable ¶ added in v1.11.0
func Injectable(appID string, components []componentsapi.Component) []corev1.Container
Injectable parses the container definition from components annotations returning them as a list. Uses the appID to filter only the eligble components for such apps avoiding injecting containers that will not be used.
func PatchOps ¶
func PatchOps(componentContainers map[int]corev1.Container, injectedContainers []corev1.Container, pod *corev1.Pod) ([]patcher.PatchOperation, *corev1.VolumeMount)
PatchOps returns the patch operations required to properly bootstrap the pluggable component and the respective volume mount for the sidecar.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.