1
0
mirror of https://github.com/rancher/norman.git synced 2025-09-20 10:41:04 +00:00
Files
norman/pkg/kwrapper/k8s/embedded_none.go

15 lines
271 B
Go
Raw Normal View History

// +build !k3s
package k8s
import (
"context"
"fmt"
"k8s.io/client-go/rest"
)
func getEmbedded(ctx context.Context) (bool, context.Context, *rest.Config, error) {
return false, ctx, nil, fmt.Errorf("embedded support is not compiled in, rebuild with -tags k8s")
}