utils

package
v0.5.0-rc3 Latest Latest
Warning

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

Go to latest
Published: Feb 23, 2017 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Client

func Client(token string) (*godo.Client, error)

Client returns a new DigitalOcean client

func InstanceID

func InstanceID(ctx types.Context) (*types.InstanceID, error)

InstanceID gets the instance information from the droplet

func IsDroplet

func IsDroplet(ctx types.Context) (bool, error)

IsDroplet is a simple check to see if code is being executed on a DigitalOcean droplet or not

Types

This section is empty.

Jump to

Keyboard shortcuts

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