Documentation ¶
Index ¶
- Constants
- func ExecSshLogin(username, host, port, identityFilePath string) (err error)
- func PreRun(cmd *cobra.Command, args []string) (err error)
- func Run(cmd *cobra.Command, args []string) (err error)
- func Validate(cmd *cobra.Command, args []string) (err error)
- type Cache
- type Instance
- type Instances
- type SsmDocument
- type SsmDocumentParameters
Constants ¶
View Source
const ( CmdSessionManagerPlugin string = "session-manager-plugin" CmdSessionManagerPluginOrder string = "StartSession" CmdSsh string = "ssh" )
View Source
const (
CachePath string = "~/.config/awssh/cache"
)
View Source
const (
ConnectHost string = "127.0.0.1"
)
View Source
const (
DocumentNameAwsStartPortForwardingSession string = "AWS-StartPortForwardingSession"
)
Variables ¶
This section is empty.
Functions ¶
func ExecSshLogin ¶
Types ¶
type Cache ¶
type Cache struct { Store *filesystem.FSStore Marshal *onecache.CacheSerializer Key string }
type SsmDocument ¶
type SsmDocument struct { Target string `json:"Target"` DocumentName string `json:"DocumentName"` Parameters SsmDocumentParameters `json:"Parameters"` }
type SsmDocumentParameters ¶
Click to show internal directories.
Click to hide internal directories.