types

package
v0.0.0-...-d0f8ddb Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 31, 2020 License: Apache-2.0 Imports: 0 Imported by: 0

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL