Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( OpAdd = "add" OpRemove = "remove" OpReplace = "replace" )
operators
View Source
var ( PathAnnotations = "/metadata/annotations" //map, 单个key的话,值是string PathLabels = "/metadata/labels" //map, 单key, 值是string PathContainers = "/spec/containers" // slice )
Op Path
View Source
var ( INJECTEDKEY = "yulibaozi/injected" // INJECTEDKEY 标识已经被注入过 NOINJECTEDKEY = "yulibaozi/noinjected" // NOINJECTEDKEY 标识为不需要注入 )
是否需要注入标识
Functions ¶
func GetContainerInMyConfigMap ¶
GetContainerInMyConfigMap 从crd的 myconfigMap中获取 容器
func ServerPodInjection ¶
func ServerPodInjection(w http.ResponseWriter, r *http.Request)
ServerPodInjection server
Types ¶
Click to show internal directories.
Click to hide internal directories.