libs

package
v0.0.0-...-bfbecc3 Latest Latest
Warning

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

Go to latest
Published: Apr 4, 2016 License: MIT Imports: 6 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DoDropletMarshaller

type DoDropletMarshaller struct{}

func (*DoDropletMarshaller) DeployDroplet

func (dm *DoDropletMarshaller) DeployDroplet(s *models.DODeployStruct) (string, error)

func (*DoDropletMarshaller) DestroyDroplet

func (dm *DoDropletMarshaller) DestroyDroplet(c *godo.Client, id string) (string, error)

func (*DoDropletMarshaller) DestroyDropletAll

func (dm *DoDropletMarshaller) DestroyDropletAll(c *godo.Client, d []models.DropletStruct) (string, error)

func (*DoDropletMarshaller) GetAllImages

func (dm *DoDropletMarshaller) GetAllImages(c *godo.Client) ([]models.ImageStruct, error)

func (*DoDropletMarshaller) GetClientHandle

func (dm *DoDropletMarshaller) GetClientHandle(token string) *godo.Client

func (*DoDropletMarshaller) GetDropLimit

func (dm *DoDropletMarshaller) GetDropLimit(c *godo.Client) (int, error)

func (*DoDropletMarshaller) GetDropletSizes

func (dm *DoDropletMarshaller) GetDropletSizes(c *godo.Client) ([]models.SizeStruct, error)

func (*DoDropletMarshaller) GetExistingDroplets

func (dm *DoDropletMarshaller) GetExistingDroplets(c *godo.Client) ([]models.DropletStruct, error)

func (*DoDropletMarshaller) GetRegions

func (dm *DoDropletMarshaller) GetRegions(c *godo.Client) ([]string, error)

type TokenSource

type TokenSource struct {
	AccessToken string
}

func (*TokenSource) Token

func (t *TokenSource) Token() (*oauth2.Token, error)

Jump to

Keyboard shortcuts

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