Documentation ¶
Index ¶
Constants ¶
View Source
const ( // ContainerLogsPort number will be opened on the windows node via firewall ContainerLogsPort = "10250" // FirewallRuleName is the firewall rule name to open the Container Logs Port FirewallRuleName = "ContainerLogsPort" )
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, password, user string) *Credentials
NewCredentials takes the instanceID, ip address, password and user of the Windows instance created and returns the Credentials structure
func (*Credentials) GetIPAddress ¶
func (cred *Credentials) GetIPAddress() string
GetIPAddress returns the ip address of the given node
func (*Credentials) GetInstanceId ¶
func (cred *Credentials) GetInstanceId() string
GetInstanceID returns the instanceId associated with the given node
func (*Credentials) GetPassword ¶
func (cred *Credentials) GetPassword() string
GetPassword returns the password associated with the given node
func (*Credentials) GetUserName ¶
func (cred *Credentials) GetUserName() string
GetUserName returns the user name associated with the given node
Click to show internal directories.
Click to hide internal directories.