Documentation
¶
Overview ¶
Package connection provides the command to get connection information.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewCommand ¶
func NewCommand(options CommandOptions) *cobra.Command
NewCommand creates a new connection command.
Types ¶
type CommandOptions ¶
type CommandOptions struct {
*config.GlobalConfig
// contains filtered or unexported fields
}
CommandOptions contains the options for the connection command.
func (*CommandOptions) Get ¶
func (opt *CommandOptions) Get(cmd *cobra.Command, ids []string) error
Get retrieves the connection information for the given IDs.
func (*CommandOptions) List ¶
func (opt *CommandOptions) List(cmd *cobra.Command) error
List retrieves the connection information for all connections.
Click to show internal directories.
Click to hide internal directories.