MCPcopy Create free account
hub / github.com/OctopusDeploy/cli / NewSshCommonFlags

Function NewSshCommonFlags

pkg/machinescommon/ssh_common.go:51–60  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

49}
50
51func NewSshCommonFlags() *SshCommonFlags {
52 return &SshCommonFlags{
53 Account: flag.New[string](FlagAccount, false),
54 Fingerprint: flag.New[string](FlagFingerprint, true),
55 HostName: flag.New[string](FlagHost, false),
56 Port: flag.New[int](FlagPort, false),
57 Runtime: flag.New[string](FlagRuntime, false),
58 Platform: flag.New[string](FlagPlatform, false),
59 }
60}
61
62func NewSshCommonOpts(dependencies *cmd.Dependencies) *SshCommonOptions {
63 return &SshCommonOptions{

Calls

no outgoing calls