Versions in this module Expand all Collapse all v0 v0.2.0 Jun 19, 2020 v0.1.0 Jun 3, 2020 Changes in this version + const DefaultPort + const DefaultScriptPath + const DefaultShebang + const DefaultTimeout + const DefaultUser + const MaxTimeOut + func BastionConnectFunc(bProto string, bAddr string, bConf *ssh.ClientConfig, proto string, ...) func() (net.Conn, error) + func ConnectFunc(network, addr string) func() (net.Conn, error) + func PasswordKeyboardInteractive(password string) ssh.KeyboardInteractiveChallenge + type Communicator struct + func New(s *terraform.InstanceState) (*Communicator, error) + func (c *Communicator) Connect(o terraform.UIOutput) (err error) + func (c *Communicator) Disconnect() error + func (c *Communicator) ScriptPath() string + func (c *Communicator) Start(cmd *remote.Cmd, timeout int) error + func (c *Communicator) Timeout() time.Duration + func (c *Communicator) Upload(path string, input io.Reader) error + func (c *Communicator) UploadDir(dst string, src string) error + func (c *Communicator) UploadScript(path string, input io.Reader, timeout int) error