injector

package
v0.0.0-...-7b34d14 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	KumaSidecarContainerName = "kuma-sidecar"
	KumaInitContainerName    = "kuma-init"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type KumaInjector

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

func New

func New(cfg runtime_k8s.Injector, controlPlaneUrl string, client kube_client.Client) *KumaInjector

func (*KumaInjector) FindServiceAccountToken

func (i *KumaInjector) FindServiceAccountToken(pod *kube_core.Pod) *kube_core.VolumeMount

func (*KumaInjector) InjectKuma

func (i *KumaInjector) InjectKuma(pod *kube_core.Pod) error

func (*KumaInjector) NewAnnotations

func (i *KumaInjector) NewAnnotations(pod *kube_core.Pod, mesh *mesh_core.MeshResource) map[string]string

func (*KumaInjector) NewInitContainer

func (i *KumaInjector) NewInitContainer(pod *kube_core.Pod) kube_core.Container

func (*KumaInjector) NewSidecarContainer

func (i *KumaInjector) NewSidecarContainer(pod *kube_core.Pod) kube_core.Container

func (*KumaInjector) NewVolumeMounts

func (i *KumaInjector) NewVolumeMounts(pod *kube_core.Pod) []kube_core.VolumeMount

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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