Documentation ¶
Index ¶
- Variables
- func NewAgentCommand(action func(ctx *cli.Context) error) cli.Command
- func NewApp() *cli.App
- func NewCRICTL(action func(*cli.Context) error) cli.Command
- func NewCtrCommand(action func(*cli.Context) error) cli.Command
- func NewKubectlCommand(action func(*cli.Context) error) cli.Command
- func NewServerCommand(action func(*cli.Context) error) cli.Command
- type Agent
- type AgentShared
- type Server
Constants ¶
This section is empty.
Variables ¶
View Source
var ( AgentConfig Agent NodeIPFlag = cli.StringFlag{ Name: "node-ip,i", Usage: "IP address to advertise for node", Destination: &AgentConfig.NodeIP, } NodeNameFlag = cli.StringFlag{ Name: "node-name", Usage: "Node name", EnvVar: "K3S_NODE_NAME", Destination: &AgentConfig.NodeName, } )
Functions ¶
Types ¶
type AgentShared ¶
type AgentShared struct {
} Click to show internal directories.
Click to hide internal directories.