Update k8s log options

This commit is contained in:
Asim Aslam
2019-12-24 17:33:05 +00:00
parent 81e20160f5
commit 5c8d1ae2b9
5 changed files with 40 additions and 29 deletions

View File

@@ -0,0 +1,14 @@
package client
type LogOptions struct {
Params map[string]string
}
type LogOption func(*LogOptions)
// LogParams provides additional params for logs
func LogParams(p map[string]string) LogOption {
return func(l *LogOptions) {
l.Params = p
}
}