Documentation ¶
Index ¶
Constants ¶
View Source
const (
// Username is the default windows username on AWS
Username = "Administrator"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Credentials ¶
type Credentials struct {
// contains filtered or unexported fields
}
Credentials holds the information to access the Windows instance created.
func NewCredentials ¶
func NewCredentials(instanceID, ipAddress, user string) *Credentials
NewCredentials takes the instanceID, ip address and user of the Windows instance created and returns the Credentials structure
func (*Credentials) IPAddress ¶
func (cred *Credentials) IPAddress() string
IPAddress returns the ip address of the given node
func (*Credentials) InstanceId ¶
func (cred *Credentials) InstanceId() string
GetInstanceID returns the instanceId associated with the given node
func (*Credentials) SSHKey ¶
func (cred *Credentials) SSHKey() ssh.Signer
SSHKey returns the SSH key associated with the given node
func (*Credentials) SetSSHKey ¶
func (cred *Credentials) SetSSHKey(signer ssh.Signer)
SetSSHKey sets the ssh signer for given node
func (*Credentials) String ¶
func (c *Credentials) String() string
String returns the string representation of Creds. This is required for Creds to be used with flags.
func (*Credentials) UserName ¶
func (cred *Credentials) UserName() string
UserName returns the user name associated with the given node
Click to show internal directories.
Click to hide internal directories.