1
0
mirror of https://github.com/rancher/norman.git synced 2025-09-17 23:59:36 +00:00
Files
norman/pkg/kwrapper/k8s/embedded_none.go
2018-10-23 22:46:45 -07:00

15 lines
271 B
Go

// +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")
}