1
0
mirror of https://github.com/rancher/norman.git synced 2025-09-16 15:21:33 +00:00
Files
norman/pkg/kwrapper/k8s/k3s_context.go
2018-10-23 22:46:45 -07:00

14 lines
217 B
Go

package k8s
import (
"context"
)
var serverConfig configKey
type configKey struct{}
func SetK3sConfig(ctx context.Context, conf interface{}) context.Context {
return context.WithValue(ctx, serverConfig, conf)
}