cniplugin

package
v0.0.0-...-c16cc43 Latest Latest
Warning

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

Go to latest
Published: Feb 21, 2024 License: Apache-2.0 Imports: 24 Imported by: 0

Documentation

Index

Constants

View Source
const (
	KumaInjectionLabel     = "kuma.io/sidecar-injection"
	KumaInjectedAnnotation = "kuma.io/sidecar-injected"
)

Variables

This section is empty.

Functions

func CmdAdd

func CmdAdd(args *skel.CmdArgs) (err error)

func CmdCheck

func CmdCheck(*skel.CmdArgs) (err error)

func CmdDelete

func CmdDelete(args *skel.CmdArgs) (err error)

Types

type Args

type Args struct {
	ServiceMeshMode string `json:"serviceMeshMode"`
}

Args contains information necessary for the CNI plugin to work with Istio as well as Kuma service meshes

type Config

type Config struct {
	*plugin.Config

	Args Args `json:"args"`
}

Config is a *plugin.Config enriched with Args structure containing information like if CNI is working in context of Istio or Kuma

Jump to

Keyboard shortcuts

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