Documentation ¶
Index ¶
- type Firewall
- func (_ *Firewall) CheckChanges(a, e, changes *Firewall) error
- func (v *Firewall) CompareWithID() *string
- func (v *Firewall) Find(c *fi.CloudupContext) (*Firewall, error)
- func (o *Firewall) GetLifecycle() fi.Lifecycle
- func (o *Firewall) GetName() *string
- func (_ *Firewall) RenderHetzner(t *hetzner.HetznerAPITarget, a, e, changes *Firewall) error
- func (_ *Firewall) RenderTerraform(t *terraform.TerraformTarget, a, e, changes *Firewall) error
- func (v *Firewall) Run(c *fi.CloudupContext) error
- func (o *Firewall) SetLifecycle(lifecycle fi.Lifecycle)
- func (o *Firewall) String() string
- type FirewallRule
- type LoadBalancer
- func (_ *LoadBalancer) CheckChanges(a, e, changes *LoadBalancer) error
- func (v *LoadBalancer) CompareWithID() *string
- func (v *LoadBalancer) Find(c *fi.CloudupContext) (*LoadBalancer, error)
- func (v *LoadBalancer) FindAddresses(c *fi.CloudupContext) ([]string, error)
- func (o *LoadBalancer) GetLifecycle() fi.Lifecycle
- func (o *LoadBalancer) GetName() *string
- func (e *LoadBalancer) IsForAPIServer() bool
- func (_ *LoadBalancer) RenderHetzner(t *hetzner.HetznerAPITarget, a, e, changes *LoadBalancer) error
- func (_ *LoadBalancer) RenderTerraform(t *terraform.TerraformTarget, a, e, changes *LoadBalancer) error
- func (v *LoadBalancer) Run(c *fi.CloudupContext) error
- func (o *LoadBalancer) SetLifecycle(lifecycle fi.Lifecycle)
- func (o *LoadBalancer) String() string
- func (e *LoadBalancer) TerraformLink() *terraformWriter.Literal
- type LoadBalancerService
- type Network
- func (_ *Network) CheckChanges(a, e, changes *Network) error
- func (v *Network) CompareWithID() *string
- func (v *Network) Find(c *fi.CloudupContext) (*Network, error)
- func (o *Network) GetLifecycle() fi.Lifecycle
- func (o *Network) GetName() *string
- func (_ *Network) RenderHetzner(t *hetzner.HetznerAPITarget, a, e, changes *Network) error
- func (_ *Network) RenderTerraform(t *terraform.TerraformTarget, a, e, changes *Network) error
- func (v *Network) Run(c *fi.CloudupContext) error
- func (o *Network) SetLifecycle(lifecycle fi.Lifecycle)
- func (o *Network) String() string
- func (e *Network) TerraformLink() *terraformWriter.Literal
- type SSHKey
- func (_ *SSHKey) CheckChanges(a, e, changes *SSHKey) error
- func (v *SSHKey) CompareWithID() *string
- func (v *SSHKey) Find(c *fi.CloudupContext) (*SSHKey, error)
- func (o *SSHKey) GetLifecycle() fi.Lifecycle
- func (o *SSHKey) GetName() *string
- func (_ *SSHKey) RenderHetzner(t *hetzner.HetznerAPITarget, a, e, changes *SSHKey) error
- func (_ *SSHKey) RenderTerraform(t *terraform.TerraformTarget, a, e, changes *SSHKey) error
- func (v *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 ServerGroup
- func (_ *ServerGroup) CheckChanges(a, e, changes *ServerGroup) error
- func (v *ServerGroup) Find(c *fi.CloudupContext) (*ServerGroup, error)
- func (o *ServerGroup) GetLifecycle() fi.Lifecycle
- func (o *ServerGroup) GetName() *string
- func (_ *ServerGroup) RenderHetzner(t *hetzner.HetznerAPITarget, a, e, changes *ServerGroup) error
- func (_ *ServerGroup) RenderTerraform(t *terraform.TerraformTarget, a, e, changes *ServerGroup) error
- func (v *ServerGroup) Run(c *fi.CloudupContext) error
- func (o *ServerGroup) SetLifecycle(lifecycle fi.Lifecycle)
- func (o *ServerGroup) 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) RenderHetzner(t *hetzner.HetznerAPITarget, 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 Firewall ¶
type Firewall struct { Name *string Lifecycle fi.Lifecycle ID *int Selector string Rules []*FirewallRule Labels map[string]string }
+kops:fitask
func (*Firewall) CheckChanges ¶
func (*Firewall) CompareWithID ¶
func (*Firewall) GetLifecycle ¶
GetLifecycle returns the Lifecycle of the object, implementing fi.HasLifecycle
func (*Firewall) RenderHetzner ¶
func (_ *Firewall) RenderHetzner(t *hetzner.HetznerAPITarget, a, e, changes *Firewall) error
func (*Firewall) RenderTerraform ¶ added in v1.25.0
func (_ *Firewall) RenderTerraform(t *terraform.TerraformTarget, a, e, changes *Firewall) error
func (*Firewall) SetLifecycle ¶
SetLifecycle sets the Lifecycle of the object, implementing fi.SetLifecycle
type FirewallRule ¶
FirewallRule represents a Firewall's rules.
func (*FirewallRule) GetDependencies ¶
func (e *FirewallRule) GetDependencies(tasks map[string]fi.CloudupTask) []fi.CloudupTask
type LoadBalancer ¶
type LoadBalancer struct { Name *string Lifecycle fi.Lifecycle Network *Network ID *int Location string Type string Services []*LoadBalancerService Target string Labels map[string]string }
+kops:fitask
func (*LoadBalancer) CheckChanges ¶
func (_ *LoadBalancer) CheckChanges(a, e, changes *LoadBalancer) error
func (*LoadBalancer) CompareWithID ¶
func (v *LoadBalancer) CompareWithID() *string
func (*LoadBalancer) Find ¶
func (v *LoadBalancer) Find(c *fi.CloudupContext) (*LoadBalancer, error)
func (*LoadBalancer) FindAddresses ¶
func (v *LoadBalancer) FindAddresses(c *fi.CloudupContext) ([]string, error)
func (*LoadBalancer) GetLifecycle ¶
func (o *LoadBalancer) GetLifecycle() fi.Lifecycle
GetLifecycle returns the Lifecycle of the object, implementing fi.HasLifecycle
func (*LoadBalancer) GetName ¶
func (o *LoadBalancer) GetName() *string
GetName returns the Name of the object, implementing fi.HasName
func (*LoadBalancer) IsForAPIServer ¶
func (e *LoadBalancer) IsForAPIServer() bool
func (*LoadBalancer) RenderHetzner ¶
func (_ *LoadBalancer) RenderHetzner(t *hetzner.HetznerAPITarget, a, e, changes *LoadBalancer) error
func (*LoadBalancer) RenderTerraform ¶ added in v1.25.0
func (_ *LoadBalancer) RenderTerraform(t *terraform.TerraformTarget, a, e, changes *LoadBalancer) error
func (*LoadBalancer) Run ¶
func (v *LoadBalancer) Run(c *fi.CloudupContext) error
func (*LoadBalancer) SetLifecycle ¶
func (o *LoadBalancer) SetLifecycle(lifecycle fi.Lifecycle)
SetLifecycle sets the Lifecycle of the object, implementing fi.SetLifecycle
func (*LoadBalancer) String ¶
func (o *LoadBalancer) String() string
String is the stringer function for the task, producing readable output using fi.TaskAsString
func (*LoadBalancer) TerraformLink ¶ added in v1.25.0
func (e *LoadBalancer) TerraformLink() *terraformWriter.Literal
type LoadBalancerService ¶
LoadBalancerService represents a LoadBalancer's service.
func (*LoadBalancerService) GetDependencies ¶
func (e *LoadBalancerService) GetDependencies(tasks map[string]fi.CloudupTask) []fi.CloudupTask
type Network ¶
type Network struct { Name *string Lifecycle fi.Lifecycle ID *string Region string IPRange string Subnets []string Labels map[string]string }
+kops:fitask
func (*Network) CheckChanges ¶
func (*Network) CompareWithID ¶
func (*Network) GetLifecycle ¶
GetLifecycle returns the Lifecycle of the object, implementing fi.HasLifecycle
func (*Network) RenderHetzner ¶
func (_ *Network) RenderHetzner(t *hetzner.HetznerAPITarget, a, e, changes *Network) error
func (*Network) RenderTerraform ¶ added in v1.25.0
func (_ *Network) RenderTerraform(t *terraform.TerraformTarget, a, e, changes *Network) error
func (*Network) SetLifecycle ¶
SetLifecycle sets the Lifecycle of the object, implementing fi.SetLifecycle
func (*Network) String ¶
String is the stringer function for the task, producing readable output using fi.TaskAsString
func (*Network) TerraformLink ¶ added in v1.25.0
func (e *Network) TerraformLink() *terraformWriter.Literal
type SSHKey ¶
type SSHKey struct { Name *string Lifecycle fi.Lifecycle ID *int PublicKey string Labels map[string]string }
+kops:fitask
func (*SSHKey) CheckChanges ¶
func (*SSHKey) CompareWithID ¶
func (*SSHKey) GetLifecycle ¶
GetLifecycle returns the Lifecycle of the object, implementing fi.HasLifecycle
func (*SSHKey) RenderHetzner ¶
func (_ *SSHKey) RenderHetzner(t *hetzner.HetznerAPITarget, a, e, changes *SSHKey) error
func (*SSHKey) RenderTerraform ¶ added in v1.25.0
func (_ *SSHKey) RenderTerraform(t *terraform.TerraformTarget, a, e, changes *SSHKey) error
func (*SSHKey) SetLifecycle ¶
SetLifecycle sets the Lifecycle of the object, implementing fi.SetLifecycle
func (*SSHKey) String ¶
String is the stringer function for the task, producing readable output using fi.TaskAsString
func (*SSHKey) TerraformLink ¶ added in v1.25.0
func (e *SSHKey) TerraformLink() *terraformWriter.Literal
type ServerGroup ¶ added in v1.24.1
type ServerGroup struct { Name *string Lifecycle fi.Lifecycle SSHKeys []*SSHKey Network *Network Count int NeedUpdate []string Location string Size string Image string EnableIPv4 bool EnableIPv6 bool UserData fi.Resource Labels map[string]string }
+kops:fitask
func (*ServerGroup) CheckChanges ¶ added in v1.24.1
func (_ *ServerGroup) CheckChanges(a, e, changes *ServerGroup) error
func (*ServerGroup) Find ¶ added in v1.24.1
func (v *ServerGroup) Find(c *fi.CloudupContext) (*ServerGroup, error)
func (*ServerGroup) GetLifecycle ¶ added in v1.24.1
func (o *ServerGroup) GetLifecycle() fi.Lifecycle
GetLifecycle returns the Lifecycle of the object, implementing fi.HasLifecycle
func (*ServerGroup) GetName ¶ added in v1.24.1
func (o *ServerGroup) GetName() *string
GetName returns the Name of the object, implementing fi.HasName
func (*ServerGroup) RenderHetzner ¶ added in v1.24.1
func (_ *ServerGroup) RenderHetzner(t *hetzner.HetznerAPITarget, a, e, changes *ServerGroup) error
func (*ServerGroup) RenderTerraform ¶ added in v1.25.0
func (_ *ServerGroup) RenderTerraform(t *terraform.TerraformTarget, a, e, changes *ServerGroup) error
func (*ServerGroup) Run ¶ added in v1.24.1
func (v *ServerGroup) Run(c *fi.CloudupContext) error
func (*ServerGroup) SetLifecycle ¶ added in v1.24.1
func (o *ServerGroup) SetLifecycle(lifecycle fi.Lifecycle)
SetLifecycle sets the Lifecycle of the object, implementing fi.SetLifecycle
func (*ServerGroup) String ¶ added in v1.24.1
func (o *ServerGroup) String() string
String is the stringer function for the task, producing readable output using fi.TaskAsString
type Volume ¶
type Volume struct { Name *string Lifecycle fi.Lifecycle ID *int Location string Size int Labels 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) RenderHetzner ¶
func (_ *Volume) RenderHetzner(t *hetzner.HetznerAPITarget, a, e, changes *Volume) error
func (*Volume) RenderTerraform ¶ added in v1.25.0
func (_ *Volume) RenderTerraform(t *terraform.TerraformTarget, a, e, changes *Volume) error
func (*Volume) SetLifecycle ¶
SetLifecycle sets the Lifecycle of the object, implementing fi.SetLifecycle