dotasks

package
v1.31.0-beta.1 Latest Latest
Warning

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

Go to latest
Published: Dec 15, 2024 License: Apache-2.0 Imports: 17 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      *SSHKey
	VPCUUID     *string
	NetworkCIDR *string
	VPCName     *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.CloudupContext) (*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) RenderTerraform added in v1.27.0

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

func (*Droplet) Run

func (d *Droplet) Run(c *fi.CloudupContext) 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
	VPCUUID     *string
	VPCName     *string
	NetworkCIDR *string

	// WellKnownServices indicates which services are supported by this resource.
	// This field is internal and is not rendered to the cloud.
	WellKnownServices []wellknownservices.WellKnownService
}

+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.CloudupContext) (*LoadBalancer, error)

func (*LoadBalancer) FindAddresses added in v1.24.0

func (lb *LoadBalancer) FindAddresses(c *fi.CloudupContext) ([]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) GetWellKnownServices added in v1.29.0

func (lb *LoadBalancer) GetWellKnownServices() []wellknownservices.WellKnownService

GetWellKnownServices implements fi.HasAddress::GetWellKnownServices. It indicates which services we support with this load balancer.

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.CloudupContext) 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 SSHKey added in v1.27.0

type SSHKey struct {
	ID        *int
	Name      *string
	Lifecycle fi.Lifecycle

	PublicKey fi.Resource

	KeyFingerprint *string
}

+kops:fitask

func (*SSHKey) CheckChanges added in v1.27.0

func (s *SSHKey) CheckChanges(a, e, changes *SSHKey) error

func (*SSHKey) CompareWithID added in v1.27.0

func (e *SSHKey) CompareWithID() *string

func (*SSHKey) Find added in v1.27.0

func (e *SSHKey) Find(c *fi.CloudupContext) (*SSHKey, error)

func (*SSHKey) GetLifecycle added in v1.27.0

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

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

func (*SSHKey) GetName added in v1.27.0

func (o *SSHKey) GetName() *string

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

func (*SSHKey) IsExistingKey added in v1.27.0

func (e *SSHKey) IsExistingKey() bool

IsExistingKey will be true if the task has been initialized without using a public key this is when we want to use a key that is already present in the cloud.

func (*SSHKey) NoSSHKey added in v1.27.0

func (e *SSHKey) NoSSHKey() bool

func (*SSHKey) Normalize added in v1.27.0

func (e *SSHKey) Normalize(c *fi.CloudupContext) error

func (*SSHKey) RenderDO added in v1.27.0

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

func (*SSHKey) RenderTerraform added in v1.27.0

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

func (*SSHKey) Run added in v1.27.0

func (e *SSHKey) Run(c *fi.CloudupContext) error

func (*SSHKey) SetLifecycle added in v1.27.0

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

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

func (*SSHKey) String added in v1.27.0

func (o *SSHKey) String() string

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

func (e *SSHKey) TerraformLink() *terraformWriter.Literal

type VPC added in v1.23.0

type VPC struct {
	Name      *string
	ID        *string
	Lifecycle fi.Lifecycle
	IPRange   *string
	Region    *string
}

+kops:fitask

func (*VPC) CheckChanges added in v1.23.0

func (_ *VPC) CheckChanges(a, e, changes *VPC) error

func (*VPC) CompareWithID added in v1.23.0

func (v *VPC) CompareWithID() *string

func (*VPC) Find added in v1.23.0

func (v *VPC) Find(c *fi.CloudupContext) (*VPC, error)

func (*VPC) GetLifecycle added in v1.23.0

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

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

func (*VPC) GetName added in v1.23.0

func (o *VPC) GetName() *string

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

func (*VPC) RenderDO added in v1.23.0

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

func (*VPC) Run added in v1.23.0

func (v *VPC) Run(c *fi.CloudupContext) error

func (*VPC) SetLifecycle added in v1.23.0

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

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

func (*VPC) String added in v1.23.0

func (o *VPC) 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.CloudupContext) (*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.CloudupContext) 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