mirror of
https://github.com/rancher/norman.git
synced 2025-09-17 23:59:36 +00:00
15 lines
271 B
Go
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")
|
|
}
|