mirror of https://github.com/k3s-io/k3s.git
18 lines
369 B
Go
18 lines
369 B
Go
// +build !k8s
|
|
|
|
package agent
|
|
|
|
import (
|
|
"fmt"
|
|
|
|
"github.com/urfave/cli"
|
|
)
|
|
|
|
func (a *Agent) Run(ctx *cli.Context) error {
|
|
return fmt.Errorf("agent support is not compiled in, add \"-tags k8s\" to \"go build\"")
|
|
}
|
|
|
|
func RunAgent(server, token, dataDir, logFile string) error {
|
|
return fmt.Errorf("agent support is not compiled in, add \"-tags k8s\" to \"go build\"")
|
|
}
|