Documentation ¶
Index ¶
- type Droplet
- func (_ *Droplet) CheckChanges(a, e, changes *Droplet) error
- func (d *Droplet) CompareWithID() *string
- func (d *Droplet) Find(c *fi.CloudupContext) (*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 (_ *Droplet) RenderTerraform(t *terraform.TerraformTarget, a, e, changes *Droplet) error
- func (d *Droplet) Run(c *fi.CloudupContext) 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.CloudupContext) (*LoadBalancer, error)
- func (lb *LoadBalancer) FindAddresses(c *fi.CloudupContext) ([]string, error)
- func (o *LoadBalancer) GetLifecycle() fi.Lifecycle
- func (o *LoadBalancer) GetName() *string
- func (lb *LoadBalancer) GetWellKnownServices() []wellknownservices.WellKnownService
- func (_ *LoadBalancer) RenderDO(t *do.DOAPITarget, a, e, changes *LoadBalancer) error
- func (lb *LoadBalancer) Run(c *fi.CloudupContext) error
- func (o *LoadBalancer) SetLifecycle(lifecycle fi.Lifecycle)
- func (o *LoadBalancer) String() string
- type SSHKey
- func (s *SSHKey) CheckChanges(a, e, changes *SSHKey) error
- func (e *SSHKey) CompareWithID() *string
- func (e *SSHKey) Find(c *fi.CloudupContext) (*SSHKey, error)
- func (o *SSHKey) GetLifecycle() fi.Lifecycle
- func (o *SSHKey) GetName() *string
- func (e *SSHKey) IsExistingKey() bool
- func (e *SSHKey) NoSSHKey() bool
- func (e *SSHKey) Normalize(c *fi.CloudupContext) error
- func (_ *SSHKey) RenderDO(t *do.DOAPITarget, a, e, changes *SSHKey) error
- func (_ *SSHKey) RenderTerraform(t *terraform.TerraformTarget, a, e, changes *SSHKey) error
- func (e *SSHKey) Run(c *fi.CloudupContext) error
- func (o *SSHKey) SetLifecycle(lifecycle fi.Lifecycle)
- func (o *SSHKey) String() string
- func (e *SSHKey) TerraformLink() *terraformWriter.Literal
- type VPC
- func (_ *VPC) CheckChanges(a, e, changes *VPC) error
- func (v *VPC) CompareWithID() *string
- func (v *VPC) Find(c *fi.CloudupContext) (*VPC, error)
- func (o *VPC) GetLifecycle() fi.Lifecycle
- func (o *VPC) GetName() *string
- func (_ *VPC) RenderDO(t *do.DOAPITarget, a, e, changes *VPC) error
- func (v *VPC) Run(c *fi.CloudupContext) error
- func (o *VPC) SetLifecycle(lifecycle fi.Lifecycle)
- func (o *VPC) String() string
- type Volume
- func (_ *Volume) CheckChanges(a, e, changes *Volume) error
- func (v *Volume) CompareWithID() *string
- func (v *Volume) Find(c *fi.CloudupContext) (*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.CloudupContext) 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 *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) 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) RenderTerraform ¶ added in v1.27.0
func (_ *Droplet) RenderTerraform(t *terraform.TerraformTarget, 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 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 (*SSHKey) CompareWithID ¶ added in v1.27.0
func (*SSHKey) GetLifecycle ¶ added in v1.27.0
GetLifecycle returns the Lifecycle of the object, implementing fi.HasLifecycle
func (*SSHKey) GetName ¶ added in v1.27.0
GetName returns the Name of the object, implementing fi.HasName
func (*SSHKey) IsExistingKey ¶ added in v1.27.0
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) 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) SetLifecycle ¶ added in v1.27.0
SetLifecycle sets the Lifecycle of the object, implementing fi.SetLifecycle
func (*SSHKey) String ¶ added in v1.27.0
String is the stringer function for the task, producing readable output using fi.TaskAsString
func (*SSHKey) TerraformLink ¶ added in v1.27.0
func (e *SSHKey) TerraformLink() *terraformWriter.Literal
type VPC ¶ added in v1.23.0
+kops:fitask
func (*VPC) CheckChanges ¶ added in v1.23.0
func (*VPC) CompareWithID ¶ added in v1.23.0
func (*VPC) GetLifecycle ¶ added in v1.23.0
GetLifecycle returns the Lifecycle of the object, implementing fi.HasLifecycle
func (*VPC) GetName ¶ added in v1.23.0
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) SetLifecycle ¶ added in v1.23.0
SetLifecycle sets the Lifecycle of the object, implementing fi.SetLifecycle
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