1
0
mirror of https://github.com/rancher/norman.git synced 2025-09-08 10:39:17 +00:00
Files
norman/pkg/kwrapper/k8s/config_none.go

16 lines
344 B
Go
Raw Normal View History

2018-10-31 10:18:47 -07:00
// +build !k8s
package k8s
import (
"context"
"fmt"
"net/http"
"github.com/rancher/norman/pkg/remotedialer"
)
func NewK3sConfig(ctx context.Context, dataDir string, authorizer remotedialer.Authorizer) (context.Context, interface{}, http.Handler, error) {
return ctx, nil, nil, fmt.Errorf("k3s not compiled in, build with -tags k8s")
}