1
0
mirror of https://github.com/rancher/norman.git synced 2025-09-22 03:28:42 +00:00
Files
norman/pkg/kwrapper/k8s/k3s_context.go

14 lines
217 B
Go
Raw Normal View History

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)
}