mirror of
https://github.com/rancher/norman.git
synced 2025-09-16 15:21:33 +00:00
14 lines
217 B
Go
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)
|
|
}
|