Documentation ¶
Index ¶
- Constants
- type KumaInjector
- func (i *KumaInjector) FindServiceAccountToken(pod *kube_core.Pod) *kube_core.VolumeMount
- func (i *KumaInjector) InjectKuma(pod *kube_core.Pod) error
- func (i *KumaInjector) NewAnnotations(pod *kube_core.Pod, mesh *mesh_core.MeshResource) map[string]string
- func (i *KumaInjector) NewInitContainer(pod *kube_core.Pod) kube_core.Container
- func (i *KumaInjector) NewSidecarContainer(pod *kube_core.Pod) kube_core.Container
- func (i *KumaInjector) NewVolumeMounts(pod *kube_core.Pod) []kube_core.VolumeMount
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
Click to show internal directories.
Click to hide internal directories.