utils

package
v0.10.0-rc2 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

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