{"modulePath":"github.com/stackpointcloud/packer","version":"v0.10.1","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package digitalocean\n\n## Constants\n\n```go\nconst BuilderId = \"pearkes.digitalocean\"\n```\nThe unique id for the builder\n\n## Types\n\n```go\ntype Artifact struct {\n\t// contains filtered or unexported fields\n}\n```\n\n```go\nfunc (*Artifact) BuilderId() string\n```\n\n```go\nfunc (a *Artifact) Destroy() error\n```\n\n```go\nfunc (*Artifact) Files() []string\n```\n\n```go\nfunc (a *Artifact) Id() string\n```\n\n```go\nfunc (a *Artifact) State(name string) interface{}\n```\n\n```go\nfunc (a *Artifact) String() string\n```\n\n```go\ntype Builder struct {\n\t// contains filtered or unexported fields\n}\n```\n\n```go\nfunc (b *Builder) Cancel()\n```\n\n```go\nfunc (b *Builder) Prepare(raws ...interface{}) ([]string, error)\n```\n\n```go\nfunc (b *Builder) Run(ui packer.Ui, hook packer.Hook, cache packer.Cache) (packer.Artifact, error)\n```\n\n```go\ntype Config struct {\n\tcommon.PackerConfig `mapstructure:\",squash\"`\n\tComm                communicator.Config `mapstructure:\",squash\"`\n\n\tAPIToken string `mapstructure:\"api_token\"`\n\tAPIURL   string `mapstructure:\"api_url\"`\n\n\tRegion string `mapstructure:\"region\"`\n\tSize   string `mapstructure:\"size\"`\n\tImage  string `mapstructure:\"image\"`\n\n\tPrivateNetworking bool          `mapstructure:\"private_networking\"`\n\tSnapshotName      string        `mapstructure:\"snapshot_name\"`\n\tStateTimeout      time.Duration `mapstructure:\"state_timeout\"`\n\tDropletName       string        `mapstructure:\"droplet_name\"`\n\tUserData          string        `mapstructure:\"user_data\"`\n\t// contains filtered or unexported fields\n}\n```\n\n```go\nfunc NewConfig(raws ...interface{}) (*Config, []string, error)\n```\n\n","path":"github.com/stackpointcloud/packer/builder/digitalocean","name":"digitalocean","synopsis":"","isRedistributable":true}
