 Documentation
      ¶
      Documentation
      ¶
    
    
  
    
  
    Overview ¶
Package provisiontest provides utilities for testing provisioners
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeSSHCommander ¶
FakeSSHCommander is an implementation of provision.SSHCommander to provide predictable responses set by testing code Extend it when needed
func NewFakeSSHCommander ¶
func NewFakeSSHCommander(options FakeSSHCommanderOptions) *FakeSSHCommander
NewFakeSSHCommander creates a FakeSSHCommander without actually knowing the underlying sshcommands
func (*FakeSSHCommander) SSHCommand ¶
func (sshCmder *FakeSSHCommander) SSHCommand(args string) (string, error)
SSHCommand is an implementation of provision.SSHCommander.SSHCommand to provide predictable responses set by testing code
type FakeSSHCommanderOptions ¶
type FakeSSHCommanderOptions struct {
	//Result of the ssh command to look up the FilesystemType
	FilesystemType string
}
    FakeSSHCommanderOptions is intended to create a FakeSSHCommander without actually knowing the underlying sshcommands by passing it to NewSSHCommander
 Click to show internal directories. 
   Click to hide internal directories.