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:
14
pkg/kwrapper/k8s/embedded_none.go
Normal file
14
pkg/kwrapper/k8s/embedded_none.go
Normal 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")
|
||||
}
|
Reference in New Issue
Block a user