(account accounts.IAccount)
| 202 | } |
| 203 | |
| 204 | func canBeUsedForSSH(account accounts.IAccount) bool { |
| 205 | accountType := account.GetAccountType() |
| 206 | return accountType == accounts.AccountTypeSSHKeyPair || accountType == accounts.AccountTypeUsernamePassword |
| 207 | } |
| 208 | |
| 209 | func GetSshAccount(opts *SshCommonOptions, flags *SshCommonFlags) (accounts.IAccount, error) { |
| 210 | idOrName := flags.Account.Value |
no outgoing calls
no test coverage detected