Documentation ¶
Index ¶
- func DefaultErrorMessage(cmd cli.NamedCommand) string
- func GlobalOptions() string
- type ACLBootstrapCommand
- type ACLCommand
- type ACLPolicyApplyCommand
- type ACLPolicyCommand
- type ACLPolicyDeleteCommand
- type ACLPolicyInfoCommand
- type ACLPolicyListCommand
- type ACLTokenCommand
- type ACLTokenCreateCommand
- type ACLTokenDeleteCommand
- type ACLTokenInfoCommand
- type ACLTokenListCommand
- type ACLTokenSelfCommand
- type ACLTokenUpdateCommand
- type AgentCommand
- type AgentInfoCommand
- type Command
- type ConnectionCommand
- type ConnectionCreateCommand
- type ConnectionDeleteCommand
- type ConnectionListCommand
- type ConnectionUpdateCommand
- type ConnectionUpdateRulesCommand
- func (c *ConnectionUpdateRulesCommand) FlagSet() *pflag.FlagSet
- func (c *ConnectionUpdateRulesCommand) Help() string
- func (c *ConnectionUpdateRulesCommand) Name() string
- func (c *ConnectionUpdateRulesCommand) Run(ctx context.Context, args []string) int
- func (c *ConnectionUpdateRulesCommand) Synopsis() string
- type InterfaceCommand
- type InterfaceListCommand
- type InterfaceUpdateCommand
- type NetworkCommand
- type NetworkCreateCommand
- type NetworkDeleteCommand
- type NetworkInfoCommand
- type NetworkListCommand
- type NodeCommand
- type NodeInfoCommand
- type NodeJoinCommand
- type NodeLeaveCommand
- type NodeListCommand
- type NodeStatusCommand
- type UICommand
- type VersionCommand
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 ¶
ACLBootstrapCommand :
type ACLCommand ¶
ACLCommand :
type ACLPolicyApplyCommand ¶
ACLPolicyApplyCommand :
func (*ACLPolicyApplyCommand) FlagSet ¶
func (c *ACLPolicyApplyCommand) FlagSet() *pflag.FlagSet
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 ¶
ACLPolicyCommand :
type ACLPolicyDeleteCommand ¶
ACLPolicyDeleteCommand :
func (*ACLPolicyDeleteCommand) FlagSet ¶
func (c *ACLPolicyDeleteCommand) FlagSet() *pflag.FlagSet
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 ¶
ACLPolicyInfoCommand :
func (*ACLPolicyInfoCommand) FlagSet ¶
func (c *ACLPolicyInfoCommand) FlagSet() *pflag.FlagSet
type ACLPolicyListCommand ¶
ACLPolicyListCommand :
func (*ACLPolicyListCommand) FlagSet ¶
func (c *ACLPolicyListCommand) FlagSet() *pflag.FlagSet
type ACLTokenCommand ¶
ACLTokenCommand :
type ACLTokenCreateCommand ¶
ACLTokenCreateCommand :
func (*ACLTokenCreateCommand) FlagSet ¶
func (c *ACLTokenCreateCommand) FlagSet() *pflag.FlagSet
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 ¶
ACLTokenDeleteCommand :
func (*ACLTokenDeleteCommand) FlagSet ¶
func (c *ACLTokenDeleteCommand) FlagSet() *pflag.FlagSet
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 ¶
ACLTokenInfoCommand :
func (*ACLTokenInfoCommand) FlagSet ¶
func (c *ACLTokenInfoCommand) FlagSet() *pflag.FlagSet
type ACLTokenListCommand ¶
ACLTokenListCommand :
func (*ACLTokenListCommand) FlagSet ¶
func (c *ACLTokenListCommand) FlagSet() *pflag.FlagSet
type ACLTokenSelfCommand ¶
ACLTokenSelfCommand :
func (*ACLTokenSelfCommand) FlagSet ¶
func (c *ACLTokenSelfCommand) FlagSet() *pflag.FlagSet
type ACLTokenUpdateCommand ¶
ACLTokenUpdateCommand :
func (*ACLTokenUpdateCommand) FlagSet ¶
func (c *ACLTokenUpdateCommand) FlagSet() *pflag.FlagSet
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
type AgentInfoCommand ¶
AgentInfoCommand :
func (*AgentInfoCommand) FlagSet ¶
func (c *AgentInfoCommand) FlagSet() *pflag.FlagSet
type Command ¶
type Command struct {
// contains filtered or unexported fields
}
Command is the base command
type ConnectionCommand ¶
ConnectionCommand :
type ConnectionCreateCommand ¶
ConnectionCreateCommand :
func (*ConnectionCreateCommand) FlagSet ¶
func (c *ConnectionCreateCommand) FlagSet() *pflag.FlagSet
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 ¶
ConnectionDeleteCommand :
func (*ConnectionDeleteCommand) FlagSet ¶
func (c *ConnectionDeleteCommand) FlagSet() *pflag.FlagSet
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 ¶
ConnectionListCommand :
func (*ConnectionListCommand) FlagSet ¶
func (c *ConnectionListCommand) FlagSet() *pflag.FlagSet
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 ¶
ConnectionUpdateCommand :
func (*ConnectionUpdateCommand) FlagSet ¶
func (c *ConnectionUpdateCommand) FlagSet() *pflag.FlagSet
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 (c *ConnectionUpdateRulesCommand) FlagSet() *pflag.FlagSet
func (*ConnectionUpdateRulesCommand) Help ¶
func (c *ConnectionUpdateRulesCommand) Help() string
Help :
func (*ConnectionUpdateRulesCommand) Name ¶
func (c *ConnectionUpdateRulesCommand) Name() string
Name :
func (*ConnectionUpdateRulesCommand) Run ¶
func (c *ConnectionUpdateRulesCommand) Run(ctx context.Context, args []string) int
Run :
func (*ConnectionUpdateRulesCommand) Synopsis ¶
func (c *ConnectionUpdateRulesCommand) Synopsis() string
Synopsis :
type InterfaceCommand ¶
InterfaceCommand :
type InterfaceListCommand ¶
InterfaceListCommand :
func (*InterfaceListCommand) FlagSet ¶
func (c *InterfaceListCommand) FlagSet() *pflag.FlagSet
type InterfaceUpdateCommand ¶
InterfaceUpdateCommand :
func (*InterfaceUpdateCommand) FlagSet ¶
func (c *InterfaceUpdateCommand) FlagSet() *pflag.FlagSet
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 ¶
NetworkCommand :
type NetworkCreateCommand ¶
NetworkCreateCommand :
func (*NetworkCreateCommand) FlagSet ¶
func (c *NetworkCreateCommand) FlagSet() *pflag.FlagSet
type NetworkDeleteCommand ¶
NetworkDeleteCommand :
func (*NetworkDeleteCommand) FlagSet ¶
func (c *NetworkDeleteCommand) FlagSet() *pflag.FlagSet
type NetworkInfoCommand ¶
NetworkInfoCommand :
func (*NetworkInfoCommand) FlagSet ¶
func (c *NetworkInfoCommand) FlagSet() *pflag.FlagSet
type NetworkListCommand ¶
NetworkListCommand :
func (*NetworkListCommand) FlagSet ¶
func (c *NetworkListCommand) FlagSet() *pflag.FlagSet
type NodeCommand ¶
NodeCommand :
type NodeInfoCommand ¶
NodeInfoCommand :
func (*NodeInfoCommand) FlagSet ¶
func (c *NodeInfoCommand) FlagSet() *pflag.FlagSet
type NodeJoinCommand ¶
NodeJoinCommand :
func (*NodeJoinCommand) FlagSet ¶
func (c *NodeJoinCommand) FlagSet() *pflag.FlagSet
type NodeLeaveCommand ¶
NodeLeaveCommand :
func (*NodeLeaveCommand) FlagSet ¶
func (c *NodeLeaveCommand) FlagSet() *pflag.FlagSet
type NodeListCommand ¶
NodeListCommand :
func (*NodeListCommand) FlagSet ¶
func (c *NodeListCommand) FlagSet() *pflag.FlagSet
type NodeStatusCommand ¶
NodeStatusCommand :
func (*NodeStatusCommand) FlagSet ¶
func (c *NodeStatusCommand) FlagSet() *pflag.FlagSet
type VersionCommand ¶
VersionCommand :
Source Files ¶
- acl.go
- acl_bootstrap.go
- acl_policy.go
- acl_policy_apply.go
- acl_policy_delete.go
- acl_policy_info.go
- acl_policy_list.go
- acl_token.go
- acl_token_create.go
- acl_token_delete.go
- acl_token_info.go
- acl_token_list.go
- acl_token_self.go
- acl_token_update.go
- agent.go
- agent_info.go
- command.go
- connection.go
- connection_create.go
- connection_delete.go
- connection_list.go
- connection_update.go
- connection_update_rules.go
- interface.go
- interface_list.go
- interface_update.go
- network.go
- network_create.go
- network_delete.go
- network_info.go
- network_list.go
- node.go
- node_info.go
- node_join.go
- node_leave.go
- node_list.go
- node_status.go
- ui.go
- util.go
- version.go