mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-03 17:30:00 +00:00
Fix godoc comments.
This commit is contained in:
parent
e3210c6ccf
commit
19e9e027bb
@ -27,7 +27,7 @@ func EscapePluginName(in string) string {
|
|||||||
return strings.Replace(in, "/", "~", -1)
|
return strings.Replace(in, "/", "~", -1)
|
||||||
}
|
}
|
||||||
|
|
||||||
// EscapeQualifiedPluginName converts a plugin directory name in the format
|
// UnescapePluginName converts a plugin directory name in the format
|
||||||
// vendor~pluginname into a proper vendor/pluginname.
|
// vendor~pluginname into a proper vendor/pluginname.
|
||||||
func UnescapePluginName(in string) string {
|
func UnescapePluginName(in string) string {
|
||||||
return strings.Replace(in, "~", "/", -1)
|
return strings.Replace(in, "~", "/", -1)
|
||||||
|
@ -22,7 +22,8 @@ import (
|
|||||||
"strings"
|
"strings"
|
||||||
)
|
)
|
||||||
|
|
||||||
// A Line Delimiter is a filter that will
|
// LineDelimiter is a filter that will split input on lines
|
||||||
|
// and bracket each line with the delimiter string.
|
||||||
type LineDelimiter struct {
|
type LineDelimiter struct {
|
||||||
output io.Writer
|
output io.Writer
|
||||||
delimiter []byte
|
delimiter []byte
|
||||||
|
Loading…
Reference in New Issue
Block a user