resource

package
v0.0.0-...-8e9553d Latest Latest
Warning

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

Go to latest
Published: Oct 9, 2018 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewSSHDCheckerRetryable

func NewSSHDCheckerRetryable(user string, remoteIP string, logger boshlog.Logger) retrystrategy.Retryable

func NewSSHPortForwarderRetryable

func NewSSHPortForwarderRetryable(localPort int, remotePort int, remoteIP string,
	user string, duration time.Duration, logger boshlog.Logger) retrystrategy.Retryable

Types

type Instance

type Instance struct {
	// contains filtered or unexported fields
}

func NewInstance

func NewInstance(vmId string, sshKeyPair string) *Instance

func NewInstanceWithPrivateIPs

func NewInstanceWithPrivateIPs(vmId string, privateIPs []string) *Instance

func (*Instance) EnsureReachable

func (in *Instance) EnsureReachable(c client.Connector, l boshlog.Logger) error

func (*Instance) ID

func (in *Instance) ID() string

func (*Instance) PrivateIP

func (in *Instance) PrivateIP(c client.Connector, l boshlog.Logger) (string, error)

func (*Instance) PrivateIPs

func (in *Instance) PrivateIPs(c client.Connector, l boshlog.Logger) ([]string, error)

func (*Instance) PublicIP

func (in *Instance) PublicIP(c client.Connector, l boshlog.Logger) (string, error)

func (*Instance) PublicIPs

func (in *Instance) PublicIPs(c client.Connector, l boshlog.Logger) ([]string, error)

func (*Instance) SSHKeyPair

func (in *Instance) SSHKeyPair() string

Jump to

Keyboard shortcuts

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