Documentation
¶
Index ¶
Constants ¶
View Source
const ( // Ubuntu1604LTS OS image Ubuntu1604LTS = OS("ubuntu_16_04_image") // CentOS7 OS image CentOS7 = OS("centos_7_image") )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
Client for managing infrastructure on Packet
func (Client) BlockUntilNodeAccessible ¶
func (c Client) BlockUntilNodeAccessible(deviceID string, timeout time.Duration, sshKey, sshUser string) error
BlockUntilNodeAccessible blocks until the given node is accessible, or the timeout is reached.
func (Client) CreateNode ¶
CreateNode creates a node in packet with the given hostname and OS
func (Client) DeleteNode ¶
DeleteNode deletes the node that matches the given ID
Click to show internal directories.
Click to hide internal directories.