models

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: 1 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DODeployStruct

type DODeployStruct struct {
	Client           *godo.Client
	CurrentDeployNum int
	NewDeployNum     int
	DropletLimit     int
	DropletName      string
	Sshfprint        string
	Slug             string
	Size             string
	UserData         string
	RegionsAll       []string
}

type DODeploymentStruct

type DODeploymentStruct struct {
	Token     string `yaml:"token"`
	DeployNum int    `yaml:"deploy_num"`
	Name      string `yaml:"droplet_name"`
	Slug      string `yaml:"slug_name"`
	Size      string `yaml:"slug_size"`
	SSHId     string `yaml:"ssh_id"`
	UserData  string `yaml:"userdata_file"`
}

type DropletStruct

type DropletStruct struct {
	ID        int
	Name      string
	IPAddress string
	Region    string
}

type ImageStruct

type ImageStruct struct {
	Name         string
	Distribution string
	Slug         string
}

type SizeStruct

type SizeStruct struct {
	Slug     string
	Memory   int
	VCPU     int
	Disk     int
	Transfer float64
	Cost     float64
}

Jump to

Keyboard shortcuts

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