dotasks

package
v1.22.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 13, 2021 License: Apache-2.0 Imports: 11 Imported by: 78

Documentation

Index

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) CheckChanges(a, e, changes *Droplet) error

func (*Droplet) CompareWithID

func (d *Droplet) CompareWithID() *string

func (*Droplet) Find

func (d *Droplet) Find(c *fi.Context) (*Droplet, error)

func (*Droplet) GetLifecycle

func (o *Droplet) GetLifecycle() fi.Lifecycle

GetLifecycle returns the Lifecycle of the object, implementing fi.HasLifecycle

func (*Droplet) GetName

func (o *Droplet) GetName() *string

GetName returns the Name of the object, implementing fi.HasName

func (*Droplet) RenderDO

func (_ *Droplet) RenderDO(t *do.DOAPITarget, a, e, changes *Droplet) error

func (*Droplet) Run

func (d *Droplet) Run(c *fi.Context) error

func (*Droplet) SetLifecycle

func (o *Droplet) SetLifecycle(lifecycle fi.Lifecycle)

SetLifecycle sets the Lifecycle of the object, implementing fi.SetLifecycle

func (*Droplet) String

func (o *Droplet) String() string

String is the stringer function for the task, producing readable output using fi.TaskAsString

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) Run added in v1.17.0

func (lb *LoadBalancer) Run(c *fi.Context) 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) CheckChanges(a, e, changes *Volume) error

func (*Volume) CompareWithID

func (v *Volume) CompareWithID() *string

func (*Volume) Find

func (v *Volume) Find(c *fi.Context) (*Volume, error)

func (*Volume) GetLifecycle

func (o *Volume) GetLifecycle() fi.Lifecycle

GetLifecycle returns the Lifecycle of the object, implementing fi.HasLifecycle

func (*Volume) GetName

func (o *Volume) GetName() *string

GetName returns the Name of the object, implementing fi.HasName

func (*Volume) RenderDO

func (_ *Volume) RenderDO(t *do.DOAPITarget, a, e, changes *Volume) error

func (*Volume) RenderTerraform

func (_ *Volume) RenderTerraform(t *terraform.TerraformTarget, a, e, changes *Volume) error

func (*Volume) Run

func (v *Volume) Run(c *fi.Context) error

func (*Volume) SetLifecycle

func (o *Volume) SetLifecycle(lifecycle fi.Lifecycle)

SetLifecycle sets the Lifecycle of the object, implementing fi.SetLifecycle

func (*Volume) String

func (o *Volume) String() string

String is the stringer function for the task, producing readable output using fi.TaskAsString

Jump to

Keyboard shortcuts

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