cmnflags

package
v0.12.0 Latest Latest
Warning

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

Go to latest
Published: Jan 15, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddSshClientFlags

func AddSshClientFlags(fs *pflag.FlagSet)

AddSshClientFlags adds sshc common flags to FlagSet

func AddSshDFlags

func AddSshDFlags(fs *pflag.FlagSet)

AddSshDFlags adds sshd common flags to FlagSet

func GetSshClientConf

func GetSshClientConf(cmd *cobra.Command, serverURI string) *sshc.SshClientConf

GetSshClientConf builds an SshcConf object from cmd

func GetSshDConf

func GetSshDConf(cmd *cobra.Command) *sshd.SshDConf

GetSshDConf builds an SshDConf object from cmd

Types

This section is empty.

Jump to

Keyboard shortcuts

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