Versions in this module Expand all Collapse all v0 v0.3.0 Aug 24, 2026 v0.2.0 Aug 12, 2026 Changes in this version + func Retry(ctx context.Context, f func() error) error + type Communicator interface + Connect func(provisioners.UIOutput) error + Disconnect func() error + ScriptPath func() string + Start func(*remote.Cmd) error + Timeout func() time.Duration + Upload func(string, io.Reader) error + UploadDir func(string, string) error + UploadScript func(string, io.Reader) error + func New(v cty.Value) (Communicator, error) + type Fatal interface + FatalError func() error + type MockCommunicator struct + CommandFunc func(*remote.Cmd) error + Commands map[string]bool + ConnTimeout time.Duration + DisconnectFunc func() error + RemoteScriptPath string + UploadDirs map[string]string + UploadScripts map[string]string + Uploads map[string]string + func (c *MockCommunicator) Connect(o provisioners.UIOutput) error + func (c *MockCommunicator) Disconnect() error + func (c *MockCommunicator) ScriptPath() string + func (c *MockCommunicator) Start(r *remote.Cmd) error + func (c *MockCommunicator) Timeout() time.Duration + func (c *MockCommunicator) Upload(path string, input io.Reader) error + func (c *MockCommunicator) UploadDir(dst string, src string) error + func (c *MockCommunicator) UploadScript(path string, input io.Reader) error