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) String() string
- type LoadBalancer
- func (_ *LoadBalancer) CheckChanges(a, e, changes *LoadBalancer) error
- func (lb *LoadBalancer) CompareWithID() *string
- func (lb *LoadBalancer) Find(c *fi.Context) (*LoadBalancer, error)
- func (lb *LoadBalancer) FindIPAddress(c *fi.Context) (*string, error)
- func (o *LoadBalancer) GetLifecycle() fi.Lifecycle
- func (o *LoadBalancer) GetName() *string
- func (lb *LoadBalancer) IsForAPIServer() bool
- func (_ *LoadBalancer) RenderDO(t *do.DOAPITarget, a, e, changes *LoadBalancer) error
- func (lb *LoadBalancer) Run(c *fi.Context) error
- func (o *LoadBalancer) SetLifecycle(lifecycle fi.Lifecycle)
- func (o *LoadBalancer) String() string
- 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) String() string
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.Resource }
Droplet represents a group of droplets. In the future it will be managed by the Machines API +kops:fitask
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
type LoadBalancer ¶ added in v1.17.0
type LoadBalancer struct { Name *string ID *string Lifecycle fi.Lifecycle Region *string DropletTag *string IPAddress *string ForAPIServer bool }
+kops:fitask
func (*LoadBalancer) CheckChanges ¶ added in v1.17.0
func (_ *LoadBalancer) CheckChanges(a, e, changes *LoadBalancer) error
func (*LoadBalancer) CompareWithID ¶ added in v1.17.0
func (lb *LoadBalancer) CompareWithID() *string
func (*LoadBalancer) Find ¶ added in v1.17.0
func (lb *LoadBalancer) Find(c *fi.Context) (*LoadBalancer, error)
func (*LoadBalancer) FindIPAddress ¶ added in v1.17.0
func (lb *LoadBalancer) FindIPAddress(c *fi.Context) (*string, error)
func (*LoadBalancer) GetLifecycle ¶ added in v1.17.0
func (o *LoadBalancer) GetLifecycle() fi.Lifecycle
GetLifecycle returns the Lifecycle of the object, implementing fi.HasLifecycle
func (*LoadBalancer) GetName ¶ added in v1.17.0
func (o *LoadBalancer) GetName() *string
GetName returns the Name of the object, implementing fi.HasName
func (*LoadBalancer) IsForAPIServer ¶ added in v1.19.0
func (lb *LoadBalancer) IsForAPIServer() bool
func (*LoadBalancer) RenderDO ¶ added in v1.17.0
func (_ *LoadBalancer) RenderDO(t *do.DOAPITarget, a, e, changes *LoadBalancer) error
func (*LoadBalancer) SetLifecycle ¶ added in v1.17.0
func (o *LoadBalancer) SetLifecycle(lifecycle fi.Lifecycle)
SetLifecycle sets the Lifecycle of the object, implementing fi.SetLifecycle
func (*LoadBalancer) String ¶ added in v1.17.0
func (o *LoadBalancer) String() string
String is the stringer function for the task, producing readable output using fi.TaskAsString
type Volume ¶
type Volume struct { Name *string ID *string Lifecycle fi.Lifecycle SizeGB *int64 Region *string Tags map[string]string }
+kops:fitask
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