package
1.14.0-alpha.1
Repository: https://github.com/micnncim/kubernetes.git
Documentation: pkg.go.dev
# Functions
EscapePluginName converts a plugin name in the format vendor/pluginname into a proper ondisk vendor~pluginname plugin directory format.
EscapeQualifiedNameForDisk converts a plugin name, which might contain a / into a string that is safe to use on-disk.
JoinQualifiedName joins 'namespace' and 'name' and returns a fully qualified name Assumes that the input is valid.
NewLineDelimiter allocates a new io.Writer that will split input on lines and bracket each line with the delimiter string.
ShortenString returns the first N slice of a string.
SplitQualifiedName splits a fully qualified name and returns its namespace and name.
UnescapePluginName converts a plugin directory name in the format vendor~pluginname into a proper vendor/pluginname.
UnescapeQualifiedNameForDisk converts an escaped plugin name (as per EscapeQualifiedNameForDisk) back to its normal form.
# Structs
LineDelimiter is a filter that will split input on lines and bracket each line with the delimiter string.