1
0
mirror of https://github.com/rancher/norman.git synced 2025-09-23 20:18:51 +00:00

Move packages from rancher/rancher to norman

This commit is contained in:
Darren Shepherd
2018-10-22 10:52:52 -07:00
parent 0826175508
commit a47569f599
29 changed files with 1987 additions and 0 deletions

View File

@@ -0,0 +1,14 @@
// +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")
}