Documentation ¶
Index ¶
- type DoDropletMarshaller
- func (dm *DoDropletMarshaller) DeployDroplet(s *models.DODeployStruct) (string, error)
- func (dm *DoDropletMarshaller) DestroyDroplet(c *godo.Client, id string) (string, error)
- func (dm *DoDropletMarshaller) DestroyDropletAll(c *godo.Client, d []models.DropletStruct) (string, error)
- func (dm *DoDropletMarshaller) GetAllImages(c *godo.Client) ([]models.ImageStruct, error)
- func (dm *DoDropletMarshaller) GetClientHandle(token string) *godo.Client
- func (dm *DoDropletMarshaller) GetDropLimit(c *godo.Client) (int, error)
- func (dm *DoDropletMarshaller) GetDropletSizes(c *godo.Client) ([]models.SizeStruct, error)
- func (dm *DoDropletMarshaller) GetExistingDroplets(c *godo.Client) ([]models.DropletStruct, error)
- func (dm *DoDropletMarshaller) GetRegions(c *godo.Client) ([]string, error)
- type TokenSource
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 (*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
}
Click to show internal directories.
Click to hide internal directories.