cmd

package
v1.10.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 27, 2024 License: Apache-2.0 Imports: 35 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DevVersion = "dev"
)

Variables

View Source
var (
	TTL string
)
View Source
var Version = DevVersion

Version gets overwritten by the linker during build

Functions

func Execute

func Execute()

Execute adds all child commands to the root command and sets flags appropriately. This is called by main.main(). It only needs to happen once to the rootCmd.

func NewClusterDeleteCommand added in v1.8.0

func NewClusterDeleteCommand(out io.Writer) *cobra.Command

localDeleteCmd represents the localDelete command

func NewCreateCommand

func NewCreateCommand(out io.Writer) *cobra.Command

func NewDeployCommand added in v1.8.0

func NewDeployCommand(out io.Writer) *cobra.Command

func NewLocalVPNDisableCmd added in v1.9.0

func NewLocalVPNDisableCmd() *cobra.Command

func NewLocalVPNEnableCmd added in v1.9.0

func NewLocalVPNEnableCmd() *cobra.Command

func NewLocalVPNStatusCmd added in v1.9.0

func NewLocalVPNStatusCmd() *cobra.Command

func NewNodeDeleteCommand added in v1.1.0

func NewNodeDeleteCommand(config *rest.Config, out io.Writer) *cobra.Command

func NewNodeJoinCommand added in v1.1.0

func NewNodeJoinCommand(config *rest.Config, out io.Writer) *cobra.Command

func NewVPNPreconfigureCommand added in v1.8.0

func NewVPNPreconfigureCommand() *cobra.Command

func Run added in v1.1.0

func Run() error

func RunDeploy added in v1.8.0

func RunDeploy(t configv1.ConfigType, config *rest.Config) error

func RunJoinNode added in v1.1.0

func RunJoinNode(t configv1.ConfigType) error

Types

type NodePeer added in v1.8.0

type NodePeer struct {
	Node      string
	Connected bool
	Online    bool
	IP        string
	LastSeen  string
	Address   string
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL