Documentation ¶
Index ¶
- type Droplet
- func (_ *Droplet) CheckChanges(a, e, changes *Droplet) error
- func (d *Droplet) CompareWithID() *string
- func (d *Droplet) Find(c *fi.Context) (*Droplet, error)
- func (o *Droplet) GetLifecycle() *fi.Lifecycle
- func (o *Droplet) GetName() *string
- func (_ *Droplet) RenderDO(t *do.DOAPITarget, a, e, changes *Droplet) error
- func (d *Droplet) Run(c *fi.Context) error
- func (o *Droplet) SetLifecycle(lifecycle fi.Lifecycle)
- func (o *Droplet) SetName(name string)
- func (o *Droplet) String() string
- func (o *Droplet) UnmarshalJSON(data []byte) error
- type Volume
- func (_ *Volume) CheckChanges(a, e, changes *Volume) error
- func (v *Volume) CompareWithID() *string
- func (v *Volume) Find(c *fi.Context) (*Volume, error)
- func (o *Volume) GetLifecycle() *fi.Lifecycle
- func (o *Volume) GetName() *string
- func (_ *Volume) RenderDO(t *do.DOAPITarget, a, e, changes *Volume) error
- func (_ *Volume) RenderTerraform(t *terraform.TerraformTarget, a, e, changes *Volume) error
- func (v *Volume) Run(c *fi.Context) error
- func (o *Volume) SetLifecycle(lifecycle fi.Lifecycle)
- func (o *Volume) SetName(name string)
- func (o *Volume) String() string
- func (o *Volume) UnmarshalJSON(data []byte) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Droplet ¶
type Droplet struct { Name *string Lifecycle *fi.Lifecycle Region *string Size *string Image *string SSHKey *string Tags []string Count int UserData *fi.ResourceHolder }
Droplet represents a group of droplets. In the future it will be managed by the Machines API
func (*Droplet) CheckChanges ¶
func (*Droplet) CompareWithID ¶
func (*Droplet) GetLifecycle ¶
GetLifecycle returns the Lifecycle of the object, implementing fi.HasLifecycle
func (*Droplet) RenderDO ¶
func (_ *Droplet) RenderDO(t *do.DOAPITarget, a, e, changes *Droplet) error
func (*Droplet) SetLifecycle ¶
SetLifecycle sets the Lifecycle of the object, implementing fi.SetLifecycle
func (*Droplet) String ¶
String is the stringer function for the task, producing readable output using fi.TaskAsString
func (*Droplet) UnmarshalJSON ¶
UnmarshalJSON implements conversion to JSON, supporting an alternate specification of the object as a string
type Volume ¶
type Volume struct { Name *string ID *string Lifecycle *fi.Lifecycle SizeGB *int64 Region *string Tags map[string]string }
func (*Volume) CheckChanges ¶
func (*Volume) CompareWithID ¶
func (*Volume) GetLifecycle ¶
GetLifecycle returns the Lifecycle of the object, implementing fi.HasLifecycle
func (*Volume) RenderTerraform ¶
func (_ *Volume) RenderTerraform(t *terraform.TerraformTarget, a, e, changes *Volume) error
func (*Volume) SetLifecycle ¶
SetLifecycle sets the Lifecycle of the object, implementing fi.SetLifecycle
func (*Volume) String ¶
String is the stringer function for the task, producing readable output using fi.TaskAsString
func (*Volume) UnmarshalJSON ¶
UnmarshalJSON implements conversion to JSON, supporting an alternate specification of the object as a string