command

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Jun 20, 2021 License: Apache-2.0 Imports: 23 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DefaultErrorMessage

func DefaultErrorMessage(cmd cli.NamedCommand) string

DefaultErrorMessage returns the default error message for this command

func GlobalOptions

func GlobalOptions() string

GlobalOptions returns the global usage options string.

Types

type ACLBootstrapCommand

type ACLBootstrapCommand struct {
	UI cli.UI

	Command
}

ACLBootstrapCommand :

func (*ACLBootstrapCommand) Help

func (c *ACLBootstrapCommand) Help() string

Help :

func (*ACLBootstrapCommand) Name

func (c *ACLBootstrapCommand) Name() string

Name :

func (*ACLBootstrapCommand) Run

func (c *ACLBootstrapCommand) Run(ctx context.Context, args []string) int

Run :

func (*ACLBootstrapCommand) Synopsis

func (c *ACLBootstrapCommand) Synopsis() string

Synopsis :

type ACLCommand

type ACLCommand struct {
	UI cli.UI
}

ACLCommand :

func (*ACLCommand) Help

func (c *ACLCommand) Help() string

Help :

func (*ACLCommand) Name

func (c *ACLCommand) Name() string

Name :

func (*ACLCommand) Run

func (c *ACLCommand) Run(ctx context.Context, args []string) int

Run :

func (*ACLCommand) Synopsis

func (c *ACLCommand) Synopsis() string

Synopsis :

type ACLPolicyApplyCommand

type ACLPolicyApplyCommand struct {
	UI cli.UI
	Command
	// contains filtered or unexported fields
}

ACLPolicyApplyCommand :

func (*ACLPolicyApplyCommand) FlagSet

func (c *ACLPolicyApplyCommand) FlagSet() *pflag.FlagSet

func (*ACLPolicyApplyCommand) Help

func (c *ACLPolicyApplyCommand) Help() string

Help :

func (*ACLPolicyApplyCommand) Name

func (c *ACLPolicyApplyCommand) Name() string

Name :

func (*ACLPolicyApplyCommand) Run

func (c *ACLPolicyApplyCommand) Run(ctx context.Context, args []string) int

Run :

func (*ACLPolicyApplyCommand) Synopsis

func (c *ACLPolicyApplyCommand) Synopsis() string

Synopsis :

type ACLPolicyCommand

type ACLPolicyCommand struct {
	UI cli.UI
}

ACLPolicyCommand :

func (*ACLPolicyCommand) Help

func (c *ACLPolicyCommand) Help() string

Help :

func (*ACLPolicyCommand) Name

func (c *ACLPolicyCommand) Name() string

Name :

func (*ACLPolicyCommand) Run

func (c *ACLPolicyCommand) Run(ctx context.Context, args []string) int

Run :

func (*ACLPolicyCommand) Synopsis

func (c *ACLPolicyCommand) Synopsis() string

Synopsis :

type ACLPolicyDeleteCommand

type ACLPolicyDeleteCommand struct {
	UI cli.UI
	Command
}

ACLPolicyDeleteCommand :

func (*ACLPolicyDeleteCommand) FlagSet

func (c *ACLPolicyDeleteCommand) FlagSet() *pflag.FlagSet

func (*ACLPolicyDeleteCommand) Help

func (c *ACLPolicyDeleteCommand) Help() string

Help :

func (*ACLPolicyDeleteCommand) Name

func (c *ACLPolicyDeleteCommand) Name() string

Name :

func (*ACLPolicyDeleteCommand) Run

func (c *ACLPolicyDeleteCommand) Run(ctx context.Context, args []string) int

Run :

func (*ACLPolicyDeleteCommand) Synopsis

func (c *ACLPolicyDeleteCommand) Synopsis() string

Synopsis :

type ACLPolicyInfoCommand

type ACLPolicyInfoCommand struct {
	UI cli.UI
	Command
	// contains filtered or unexported fields
}

ACLPolicyInfoCommand :

func (*ACLPolicyInfoCommand) FlagSet

func (c *ACLPolicyInfoCommand) FlagSet() *pflag.FlagSet

func (*ACLPolicyInfoCommand) Help

func (c *ACLPolicyInfoCommand) Help() string

Help :

func (*ACLPolicyInfoCommand) Name

func (c *ACLPolicyInfoCommand) Name() string

Name :

func (*ACLPolicyInfoCommand) Run

func (c *ACLPolicyInfoCommand) Run(ctx context.Context, args []string) int

Run :

func (*ACLPolicyInfoCommand) Synopsis

func (c *ACLPolicyInfoCommand) Synopsis() string

Synopsis :

type ACLPolicyListCommand

type ACLPolicyListCommand struct {
	UI cli.UI
	Command
	// contains filtered or unexported fields
}

ACLPolicyListCommand :

func (*ACLPolicyListCommand) FlagSet

func (c *ACLPolicyListCommand) FlagSet() *pflag.FlagSet

func (*ACLPolicyListCommand) Help

func (c *ACLPolicyListCommand) Help() string

Help :

func (*ACLPolicyListCommand) Name

func (c *ACLPolicyListCommand) Name() string

Name :

func (*ACLPolicyListCommand) Run

func (c *ACLPolicyListCommand) Run(ctx context.Context, args []string) int

Run :

func (*ACLPolicyListCommand) Synopsis

func (c *ACLPolicyListCommand) Synopsis() string

Synopsis :

type ACLTokenCommand

type ACLTokenCommand struct {
	UI cli.UI
}

ACLTokenCommand :

func (*ACLTokenCommand) Help

func (c *ACLTokenCommand) Help() string

Help :

func (*ACLTokenCommand) Name

func (c *ACLTokenCommand) Name() string

Name :

func (*ACLTokenCommand) Run

func (c *ACLTokenCommand) Run(ctx context.Context, args []string) int

Run :

func (*ACLTokenCommand) Synopsis

func (c *ACLTokenCommand) Synopsis() string

Synopsis :

type ACLTokenCreateCommand

type ACLTokenCreateCommand struct {
	UI cli.UI
	Command
	// contains filtered or unexported fields
}

ACLTokenCreateCommand :

func (*ACLTokenCreateCommand) FlagSet

func (c *ACLTokenCreateCommand) FlagSet() *pflag.FlagSet

func (*ACLTokenCreateCommand) Help

func (c *ACLTokenCreateCommand) Help() string

Help :

func (*ACLTokenCreateCommand) Name

func (c *ACLTokenCreateCommand) Name() string

Name :

func (*ACLTokenCreateCommand) Run

func (c *ACLTokenCreateCommand) Run(ctx context.Context, args []string) int

Run :

func (*ACLTokenCreateCommand) Synopsis

func (c *ACLTokenCreateCommand) Synopsis() string

Synopsis :

type ACLTokenDeleteCommand

type ACLTokenDeleteCommand struct {
	UI cli.UI
	Command
}

ACLTokenDeleteCommand :

func (*ACLTokenDeleteCommand) FlagSet

func (c *ACLTokenDeleteCommand) FlagSet() *pflag.FlagSet

func (*ACLTokenDeleteCommand) Help

func (c *ACLTokenDeleteCommand) Help() string

Help :

func (*ACLTokenDeleteCommand) Name

func (c *ACLTokenDeleteCommand) Name() string

Name :

func (*ACLTokenDeleteCommand) Run

func (c *ACLTokenDeleteCommand) Run(ctx context.Context, args []string) int

Run :

func (*ACLTokenDeleteCommand) Synopsis

func (c *ACLTokenDeleteCommand) Synopsis() string

Synopsis :

type ACLTokenInfoCommand

type ACLTokenInfoCommand struct {
	UI cli.UI
	Command
	// contains filtered or unexported fields
}

ACLTokenInfoCommand :

func (*ACLTokenInfoCommand) FlagSet

func (c *ACLTokenInfoCommand) FlagSet() *pflag.FlagSet

func (*ACLTokenInfoCommand) Help

func (c *ACLTokenInfoCommand) Help() string

Help :

func (*ACLTokenInfoCommand) Name

func (c *ACLTokenInfoCommand) Name() string

Name :

func (*ACLTokenInfoCommand) Run

func (c *ACLTokenInfoCommand) Run(ctx context.Context, args []string) int

Run :

func (*ACLTokenInfoCommand) Synopsis

func (c *ACLTokenInfoCommand) Synopsis() string

Synopsis :

type ACLTokenListCommand

type ACLTokenListCommand struct {
	UI cli.UI
	Command
	// contains filtered or unexported fields
}

ACLTokenListCommand :

func (*ACLTokenListCommand) FlagSet

func (c *ACLTokenListCommand) FlagSet() *pflag.FlagSet

func (*ACLTokenListCommand) Help

func (c *ACLTokenListCommand) Help() string

Help :

func (*ACLTokenListCommand) Name

func (c *ACLTokenListCommand) Name() string

Name :

func (*ACLTokenListCommand) Run

func (c *ACLTokenListCommand) Run(ctx context.Context, args []string) int

Run :

func (*ACLTokenListCommand) Synopsis

func (c *ACLTokenListCommand) Synopsis() string

Synopsis :

type ACLTokenSelfCommand

type ACLTokenSelfCommand struct {
	UI cli.UI
	Command
	// contains filtered or unexported fields
}

ACLTokenSelfCommand :

func (*ACLTokenSelfCommand) FlagSet

func (c *ACLTokenSelfCommand) FlagSet() *pflag.FlagSet

func (*ACLTokenSelfCommand) Help

func (c *ACLTokenSelfCommand) Help() string

Help :

func (*ACLTokenSelfCommand) Name

func (c *ACLTokenSelfCommand) Name() string

Name :

func (*ACLTokenSelfCommand) Run

func (c *ACLTokenSelfCommand) Run(ctx context.Context, args []string) int

Run :

func (*ACLTokenSelfCommand) Synopsis

func (c *ACLTokenSelfCommand) Synopsis() string

Synopsis :

type ACLTokenUpdateCommand

type ACLTokenUpdateCommand struct {
	UI cli.UI
	Command
	// contains filtered or unexported fields
}

ACLTokenUpdateCommand :

func (*ACLTokenUpdateCommand) FlagSet

func (c *ACLTokenUpdateCommand) FlagSet() *pflag.FlagSet

func (*ACLTokenUpdateCommand) Help

func (c *ACLTokenUpdateCommand) Help() string

Help :

func (*ACLTokenUpdateCommand) Name

func (c *ACLTokenUpdateCommand) Name() string

Name :

func (*ACLTokenUpdateCommand) Run

func (c *ACLTokenUpdateCommand) Run(ctx context.Context, args []string) int

Run :

func (*ACLTokenUpdateCommand) Synopsis

func (c *ACLTokenUpdateCommand) Synopsis() string

Synopsis :

type AgentCommand

type AgentCommand struct {
	UI       cli.UI
	StaticFS http.FileSystem

	Command
	// contains filtered or unexported fields
}

AgentCommand :

func (*AgentCommand) FlagSet

func (c *AgentCommand) FlagSet() *pflag.FlagSet

func (*AgentCommand) Help

func (c *AgentCommand) Help() string

Help :

func (*AgentCommand) Name

func (c *AgentCommand) Name() string

Name :

func (*AgentCommand) Run

func (c *AgentCommand) Run(ctx context.Context, args []string) int

Run :

func (*AgentCommand) Synopsis

func (c *AgentCommand) Synopsis() string

Synopsis :

type AgentInfoCommand

type AgentInfoCommand struct {
	UI cli.UI
	Command
	// contains filtered or unexported fields
}

AgentInfoCommand :

func (*AgentInfoCommand) FlagSet

func (c *AgentInfoCommand) FlagSet() *pflag.FlagSet

func (*AgentInfoCommand) Help

func (c *AgentInfoCommand) Help() string

Help :

func (*AgentInfoCommand) Name

func (c *AgentInfoCommand) Name() string

Name :

func (*AgentInfoCommand) Run

func (c *AgentInfoCommand) Run(ctx context.Context, args []string) int

Run :

func (*AgentInfoCommand) Synopsis

func (c *AgentInfoCommand) Synopsis() string

Synopsis :

type Command

type Command struct {
	// contains filtered or unexported fields
}

Command is the base command

func (*Command) APIClient

func (c *Command) APIClient() (*api.Client, error)

APIClient returns a new api.Client struct, which can be used to interact with the Drago HTTP API.

func (*Command) FlagSet

func (c *Command) FlagSet(name string) *pflag.FlagSet

FlagSet declares flags that are common to all commands, returning a pflag.FlagSet struct that will hold their values after pflag.Parse() is called by the command.

type ConnectionCommand

type ConnectionCommand struct {
	UI cli.UI
}

ConnectionCommand :

func (*ConnectionCommand) Help

func (c *ConnectionCommand) Help() string

Help :

func (*ConnectionCommand) Name

func (c *ConnectionCommand) Name() string

Name :

func (*ConnectionCommand) Run

func (c *ConnectionCommand) Run(ctx context.Context, args []string) int

Run :

func (*ConnectionCommand) Synopsis

func (c *ConnectionCommand) Synopsis() string

Synopsis :

type ConnectionCreateCommand

type ConnectionCreateCommand struct {
	UI cli.UI
	Command
	// contains filtered or unexported fields
}

ConnectionCreateCommand :

func (*ConnectionCreateCommand) FlagSet

func (c *ConnectionCreateCommand) FlagSet() *pflag.FlagSet

func (*ConnectionCreateCommand) Help

func (c *ConnectionCreateCommand) Help() string

Help :

func (*ConnectionCreateCommand) Name

func (c *ConnectionCreateCommand) Name() string

Name :

func (*ConnectionCreateCommand) Run

func (c *ConnectionCreateCommand) Run(ctx context.Context, args []string) int

Run :

func (*ConnectionCreateCommand) Synopsis

func (c *ConnectionCreateCommand) Synopsis() string

Synopsis :

type ConnectionDeleteCommand

type ConnectionDeleteCommand struct {
	UI cli.UI
	Command
}

ConnectionDeleteCommand :

func (*ConnectionDeleteCommand) FlagSet

func (c *ConnectionDeleteCommand) FlagSet() *pflag.FlagSet

func (*ConnectionDeleteCommand) Help

func (c *ConnectionDeleteCommand) Help() string

Help :

func (*ConnectionDeleteCommand) Name

func (c *ConnectionDeleteCommand) Name() string

Name :

func (*ConnectionDeleteCommand) Run

func (c *ConnectionDeleteCommand) Run(ctx context.Context, args []string) int

Run :

func (*ConnectionDeleteCommand) Synopsis

func (c *ConnectionDeleteCommand) Synopsis() string

Synopsis :

type ConnectionListCommand

type ConnectionListCommand struct {
	UI cli.UI
	Command
	// contains filtered or unexported fields
}

ConnectionListCommand :

func (*ConnectionListCommand) FlagSet

func (c *ConnectionListCommand) FlagSet() *pflag.FlagSet

func (*ConnectionListCommand) Help

func (c *ConnectionListCommand) Help() string

Help :

func (*ConnectionListCommand) Name

func (c *ConnectionListCommand) Name() string

Name :

func (*ConnectionListCommand) Run

func (c *ConnectionListCommand) Run(ctx context.Context, args []string) int

Run :

func (*ConnectionListCommand) Synopsis

func (c *ConnectionListCommand) Synopsis() string

Synopsis :

type ConnectionUpdateCommand

type ConnectionUpdateCommand struct {
	UI cli.UI
	Command
	// contains filtered or unexported fields
}

ConnectionUpdateCommand :

func (*ConnectionUpdateCommand) FlagSet

func (c *ConnectionUpdateCommand) FlagSet() *pflag.FlagSet

func (*ConnectionUpdateCommand) Help

func (c *ConnectionUpdateCommand) Help() string

Help :

func (*ConnectionUpdateCommand) Name

func (c *ConnectionUpdateCommand) Name() string

Name :

func (*ConnectionUpdateCommand) Run

func (c *ConnectionUpdateCommand) Run(ctx context.Context, args []string) int

Run :

func (*ConnectionUpdateCommand) Synopsis

func (c *ConnectionUpdateCommand) Synopsis() string

Synopsis :

type ConnectionUpdateRulesCommand

type ConnectionUpdateRulesCommand struct {
	UI cli.UI
	Command
	// contains filtered or unexported fields
}

ConnectionUpdateRulesCommand :

func (*ConnectionUpdateRulesCommand) FlagSet

func (*ConnectionUpdateRulesCommand) Help

Help :

func (*ConnectionUpdateRulesCommand) Name

Name :

func (*ConnectionUpdateRulesCommand) Run

Run :

func (*ConnectionUpdateRulesCommand) Synopsis

func (c *ConnectionUpdateRulesCommand) Synopsis() string

Synopsis :

type InterfaceCommand

type InterfaceCommand struct {
	UI cli.UI
}

InterfaceCommand :

func (*InterfaceCommand) Help

func (c *InterfaceCommand) Help() string

Help :

func (*InterfaceCommand) Name

func (c *InterfaceCommand) Name() string

Name :

func (*InterfaceCommand) Run

func (c *InterfaceCommand) Run(ctx context.Context, args []string) int

Run :

func (*InterfaceCommand) Synopsis

func (c *InterfaceCommand) Synopsis() string

Synopsis :

type InterfaceListCommand

type InterfaceListCommand struct {
	UI cli.UI
	Command
	// contains filtered or unexported fields
}

InterfaceListCommand :

func (*InterfaceListCommand) FlagSet

func (c *InterfaceListCommand) FlagSet() *pflag.FlagSet

func (*InterfaceListCommand) Help

func (c *InterfaceListCommand) Help() string

Help :

func (*InterfaceListCommand) Name

func (c *InterfaceListCommand) Name() string

Name :

func (*InterfaceListCommand) Run

func (c *InterfaceListCommand) Run(ctx context.Context, args []string) int

Run :

func (*InterfaceListCommand) Synopsis

func (c *InterfaceListCommand) Synopsis() string

Synopsis :

type InterfaceUpdateCommand

type InterfaceUpdateCommand struct {
	UI cli.UI
	Command
	// contains filtered or unexported fields
}

InterfaceUpdateCommand :

func (*InterfaceUpdateCommand) FlagSet

func (c *InterfaceUpdateCommand) FlagSet() *pflag.FlagSet

func (*InterfaceUpdateCommand) Help

func (c *InterfaceUpdateCommand) Help() string

Help :

func (*InterfaceUpdateCommand) Name

func (c *InterfaceUpdateCommand) Name() string

Name :

func (*InterfaceUpdateCommand) Run

func (c *InterfaceUpdateCommand) Run(ctx context.Context, args []string) int

Run :

func (*InterfaceUpdateCommand) Synopsis

func (c *InterfaceUpdateCommand) Synopsis() string

Synopsis :

type NetworkCommand

type NetworkCommand struct {
	UI cli.UI
}

NetworkCommand :

func (*NetworkCommand) Help

func (c *NetworkCommand) Help() string

Help :

func (*NetworkCommand) Name

func (c *NetworkCommand) Name() string

Name :

func (*NetworkCommand) Run

func (c *NetworkCommand) Run(ctx context.Context, args []string) int

Run :

func (*NetworkCommand) Synopsis

func (c *NetworkCommand) Synopsis() string

Synopsis :

type NetworkCreateCommand

type NetworkCreateCommand struct {
	UI cli.UI
	Command
	// contains filtered or unexported fields
}

NetworkCreateCommand :

func (*NetworkCreateCommand) FlagSet

func (c *NetworkCreateCommand) FlagSet() *pflag.FlagSet

func (*NetworkCreateCommand) Help

func (c *NetworkCreateCommand) Help() string

Help :

func (*NetworkCreateCommand) Name

func (c *NetworkCreateCommand) Name() string

Name :

func (*NetworkCreateCommand) Run

func (c *NetworkCreateCommand) Run(ctx context.Context, args []string) int

Run :

func (*NetworkCreateCommand) Synopsis

func (c *NetworkCreateCommand) Synopsis() string

Synopsis :

type NetworkDeleteCommand

type NetworkDeleteCommand struct {
	UI cli.UI
	Command
	// contains filtered or unexported fields
}

NetworkDeleteCommand :

func (*NetworkDeleteCommand) FlagSet

func (c *NetworkDeleteCommand) FlagSet() *pflag.FlagSet

func (*NetworkDeleteCommand) Help

func (c *NetworkDeleteCommand) Help() string

Help :

func (*NetworkDeleteCommand) Name

func (c *NetworkDeleteCommand) Name() string

Name :

func (*NetworkDeleteCommand) Run

func (c *NetworkDeleteCommand) Run(ctx context.Context, args []string) int

Run :

func (*NetworkDeleteCommand) Synopsis

func (c *NetworkDeleteCommand) Synopsis() string

Synopsis :

type NetworkInfoCommand

type NetworkInfoCommand struct {
	UI cli.UI
	Command
	// contains filtered or unexported fields
}

NetworkInfoCommand :

func (*NetworkInfoCommand) FlagSet

func (c *NetworkInfoCommand) FlagSet() *pflag.FlagSet

func (*NetworkInfoCommand) Help

func (c *NetworkInfoCommand) Help() string

Help :

func (*NetworkInfoCommand) Name

func (c *NetworkInfoCommand) Name() string

Name :

func (*NetworkInfoCommand) Run

func (c *NetworkInfoCommand) Run(ctx context.Context, args []string) int

Run :

func (*NetworkInfoCommand) Synopsis

func (c *NetworkInfoCommand) Synopsis() string

Synopsis :

type NetworkListCommand

type NetworkListCommand struct {
	UI cli.UI
	Command
	// contains filtered or unexported fields
}

NetworkListCommand :

func (*NetworkListCommand) FlagSet

func (c *NetworkListCommand) FlagSet() *pflag.FlagSet

func (*NetworkListCommand) Help

func (c *NetworkListCommand) Help() string

Help :

func (*NetworkListCommand) Name

func (c *NetworkListCommand) Name() string

Name :

func (*NetworkListCommand) Run

func (c *NetworkListCommand) Run(ctx context.Context, args []string) int

Run :

func (*NetworkListCommand) Synopsis

func (c *NetworkListCommand) Synopsis() string

Synopsis :

type NodeCommand

type NodeCommand struct {
	UI cli.UI
}

NodeCommand :

func (*NodeCommand) Help

func (c *NodeCommand) Help() string

Help :

func (*NodeCommand) Name

func (c *NodeCommand) Name() string

Name :

func (*NodeCommand) Run

func (c *NodeCommand) Run(ctx context.Context, args []string) int

Run :

func (*NodeCommand) Synopsis

func (c *NodeCommand) Synopsis() string

Synopsis :

type NodeInfoCommand

type NodeInfoCommand struct {
	UI cli.UI
	Command
	// contains filtered or unexported fields
}

NodeInfoCommand :

func (*NodeInfoCommand) FlagSet

func (c *NodeInfoCommand) FlagSet() *pflag.FlagSet

func (*NodeInfoCommand) Help

func (c *NodeInfoCommand) Help() string

Help :

func (*NodeInfoCommand) Name

func (c *NodeInfoCommand) Name() string

Name :

func (*NodeInfoCommand) Run

func (c *NodeInfoCommand) Run(ctx context.Context, args []string) int

Run :

func (*NodeInfoCommand) Synopsis

func (c *NodeInfoCommand) Synopsis() string

Synopsis :

type NodeJoinCommand

type NodeJoinCommand struct {
	UI cli.UI
	Command
	// contains filtered or unexported fields
}

NodeJoinCommand :

func (*NodeJoinCommand) FlagSet

func (c *NodeJoinCommand) FlagSet() *pflag.FlagSet

func (*NodeJoinCommand) Help

func (c *NodeJoinCommand) Help() string

Help :

func (*NodeJoinCommand) Name

func (c *NodeJoinCommand) Name() string

Name :

func (*NodeJoinCommand) Run

func (c *NodeJoinCommand) Run(ctx context.Context, args []string) int

Run :

func (*NodeJoinCommand) Synopsis

func (c *NodeJoinCommand) Synopsis() string

Synopsis :

type NodeLeaveCommand

type NodeLeaveCommand struct {
	UI cli.UI
	Command
	// contains filtered or unexported fields
}

NodeLeaveCommand :

func (*NodeLeaveCommand) FlagSet

func (c *NodeLeaveCommand) FlagSet() *pflag.FlagSet

func (*NodeLeaveCommand) Help

func (c *NodeLeaveCommand) Help() string

Help :

func (*NodeLeaveCommand) Name

func (c *NodeLeaveCommand) Name() string

Name :

func (*NodeLeaveCommand) Run

func (c *NodeLeaveCommand) Run(ctx context.Context, args []string) int

Run :

func (*NodeLeaveCommand) Synopsis

func (c *NodeLeaveCommand) Synopsis() string

Synopsis :

type NodeListCommand

type NodeListCommand struct {
	UI cli.UI
	Command
	// contains filtered or unexported fields
}

NodeListCommand :

func (*NodeListCommand) FlagSet

func (c *NodeListCommand) FlagSet() *pflag.FlagSet

func (*NodeListCommand) Help

func (c *NodeListCommand) Help() string

Help :

func (*NodeListCommand) Name

func (c *NodeListCommand) Name() string

Name :

func (*NodeListCommand) Run

func (c *NodeListCommand) Run(ctx context.Context, args []string) int

Run :

func (*NodeListCommand) Synopsis

func (c *NodeListCommand) Synopsis() string

Synopsis :

type NodeStatusCommand

type NodeStatusCommand struct {
	UI cli.UI
	Command
	// contains filtered or unexported fields
}

NodeStatusCommand :

func (*NodeStatusCommand) FlagSet

func (c *NodeStatusCommand) FlagSet() *pflag.FlagSet

func (*NodeStatusCommand) Help

func (c *NodeStatusCommand) Help() string

Help :

func (*NodeStatusCommand) Name

func (c *NodeStatusCommand) Name() string

Name :

func (*NodeStatusCommand) Run

func (c *NodeStatusCommand) Run(ctx context.Context, args []string) int

Run :

func (*NodeStatusCommand) Synopsis

func (c *NodeStatusCommand) Synopsis() string

Synopsis :

type UICommand

type UICommand struct {
	UI cli.UI

	Command
}

UICommand :

func (*UICommand) Help

func (c *UICommand) Help() string

Help :

func (*UICommand) Name

func (c *UICommand) Name() string

Name :

func (*UICommand) Run

func (c *UICommand) Run(ctx context.Context, args []string) int

Run :

func (*UICommand) Synopsis

func (c *UICommand) Synopsis() string

Synopsis :

type VersionCommand

type VersionCommand struct {
	UI cli.UI
}

VersionCommand :

func (*VersionCommand) Help

func (c *VersionCommand) Help() string

Help :

func (*VersionCommand) Name

func (c *VersionCommand) Name() string

Name :

func (*VersionCommand) Run

func (c *VersionCommand) Run(ctx context.Context, args []string) int

Run :

func (*VersionCommand) Synopsis

func (c *VersionCommand) Synopsis() string

Synopsis :

Jump to

Keyboard shortcuts

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