micro/util/kubernetes/client/logoptions.go

14 lines
229 B
Go
Raw Normal View History

package client
type LogOptions struct {
AdditionalParams map[string]string
}
type LogOption func(*LogOptions)
func AdditionalParams(p map[string]string) LogOption {
return func(l *LogOptions) {
l.AdditionalParams = p
}
}