MCPcopy Index your code
hub / github.com/aws/aws-node-termination-handler / jsonPatchEscape

Function jsonPatchEscape

pkg/node/node.go:765–768  ·  view source on GitHub ↗
(value string)

Source from the content-addressed store, hash-verified

763}
764
765func jsonPatchEscape(value string) string {
766 value = strings.ReplaceAll(value, "~", "~0")
767 return strings.ReplaceAll(value, "/", "~1")
768}
769
770func getTaintEffect(effect string) corev1.TaintEffect {
771 switch effect {

Callers 2

removeLabelMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected