Documentation ¶
Index ¶
- Constants
- type DNSRecord
- func (_ *DNSRecord) CheckChanges(actual, expected, changes *DNSRecord) error
- func (d *DNSRecord) CompareWithID() *string
- func (d *DNSRecord) Find(context *fi.CloudupContext) (*DNSRecord, error)
- func (o *DNSRecord) GetLifecycle() fi.Lifecycle
- func (o *DNSRecord) GetName() *string
- func (d *DNSRecord) RenderScw(t *scaleway.ScwAPITarget, actual, expected, changes *DNSRecord) error
- func (_ *DNSRecord) RenderTerraform(t *terraform.TerraformTarget, actual, expected, changes *DNSRecord) error
- func (d *DNSRecord) Run(context *fi.CloudupContext) error
- func (o *DNSRecord) SetLifecycle(lifecycle fi.Lifecycle)
- func (o *DNSRecord) String() string
- type Instance
- func (_ *Instance) CheckChanges(actual, expected, changes *Instance) error
- func (s *Instance) CompareWithID() *string
- func (s *Instance) Find(c *fi.CloudupContext) (*Instance, error)
- func (s *Instance) GetDependencies(tasks map[string]fi.CloudupTask) []fi.CloudupTask
- func (o *Instance) GetLifecycle() fi.Lifecycle
- func (o *Instance) GetName() *string
- func (_ *Instance) RenderScw(t *scaleway.ScwAPITarget, actual, expected, changes *Instance) error
- func (_ *Instance) RenderTerraform(t *terraform.TerraformTarget, actual, expected, changes *Instance) error
- func (s *Instance) Run(c *fi.CloudupContext) error
- func (o *Instance) SetLifecycle(lifecycle fi.Lifecycle)
- func (o *Instance) String() string
- type LBBackend
- func (_ *LBBackend) CheckChanges(actual, expected, changes *LBBackend) error
- func (l *LBBackend) CompareWithID() *string
- func (l *LBBackend) Find(context *fi.CloudupContext) (*LBBackend, error)
- func (l *LBBackend) GetDependencies(tasks map[string]fi.CloudupTask) []fi.CloudupTask
- func (o *LBBackend) GetLifecycle() fi.Lifecycle
- func (o *LBBackend) GetName() *string
- func (l *LBBackend) RenderScw(t *scaleway.ScwAPITarget, actual, expected, changes *LBBackend) error
- func (l *LBBackend) RenderTerraform(t *terraform.TerraformTarget, actual, expected, changes *LBBackend) error
- func (l *LBBackend) Run(context *fi.CloudupContext) error
- func (o *LBBackend) SetLifecycle(lifecycle fi.Lifecycle)
- func (o *LBBackend) String() string
- func (l *LBBackend) TerraformLink() *terraformWriter.Literal
- type LBFrontend
- func (_ *LBFrontend) CheckChanges(actual, expected, changes *LBFrontend) error
- func (l *LBFrontend) CompareWithID() *string
- func (l *LBFrontend) Find(context *fi.CloudupContext) (*LBFrontend, error)
- func (l *LBFrontend) GetDependencies(tasks map[string]fi.CloudupTask) []fi.CloudupTask
- func (o *LBFrontend) GetLifecycle() fi.Lifecycle
- func (o *LBFrontend) GetName() *string
- func (l *LBFrontend) RenderScw(t *scaleway.ScwAPITarget, actual, expected, changes *LBFrontend) error
- func (_ *LBFrontend) RenderTerraform(t *terraform.TerraformTarget, actual, expected, changes *LBFrontend) error
- func (l *LBFrontend) Run(context *fi.CloudupContext) error
- func (o *LBFrontend) SetLifecycle(lifecycle fi.Lifecycle)
- func (o *LBFrontend) String() string
- type LoadBalancer
- func (_ *LoadBalancer) CheckChanges(actual, expected, changes *LoadBalancer) error
- func (l *LoadBalancer) CompareWithID() *string
- func (l *LoadBalancer) Find(context *fi.CloudupContext) (*LoadBalancer, error)
- func (l *LoadBalancer) FindAddresses(context *fi.CloudupContext) ([]string, error)
- func (o *LoadBalancer) GetLifecycle() fi.Lifecycle
- func (o *LoadBalancer) GetName() *string
- func (l *LoadBalancer) GetWellKnownServices() []wellknownservices.WellKnownService
- func (l *LoadBalancer) RenderScw(t *scaleway.ScwAPITarget, actual, expected, changes *LoadBalancer) error
- func (_ *LoadBalancer) RenderTerraform(t *terraform.TerraformTarget, actual, expected, changes *LoadBalancer) error
- func (l *LoadBalancer) Run(context *fi.CloudupContext) error
- func (o *LoadBalancer) SetLifecycle(lifecycle fi.Lifecycle)
- func (o *LoadBalancer) String() string
- func (l *LoadBalancer) TerraformLink() *terraformWriter.Literal
- type SSHKey
- func (s *SSHKey) CheckChanges(actual, expected, changes *SSHKey) error
- func (s *SSHKey) CompareWithID() *string
- func (s *SSHKey) Find(c *fi.CloudupContext) (*SSHKey, error)
- func (o *SSHKey) GetLifecycle() fi.Lifecycle
- func (o *SSHKey) GetName() *string
- func (*SSHKey) RenderScw(t *scaleway.ScwAPITarget, actual, expected, changes *SSHKey) error
- func (_ *SSHKey) RenderTerraform(t *terraform.TerraformTarget, actual, expected, changes *SSHKey) error
- func (s *SSHKey) Run(c *fi.CloudupContext) error
- func (o *SSHKey) SetLifecycle(lifecycle fi.Lifecycle)
- func (o *SSHKey) String() string
- type Volume
- func (_ *Volume) CheckChanges(actual, expected, 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) RenderScw(t *scaleway.ScwAPITarget, actual, expected, changes *Volume) error
- func (_ *Volume) RenderTerraform(t *terraform.TerraformTarget, actual, expected, changes *Volume) error
- func (v *Volume) Run(c *fi.CloudupContext) error
- func (o *Volume) SetLifecycle(lifecycle fi.Lifecycle)
- func (o *Volume) String() string
Constants ¶
const LbDefaultType = "LB-S"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DNSRecord ¶ added in v1.29.0
type DNSRecord struct { ID *string Name *string Data *string DNSZone *string Type *string TTL *uint32 Lifecycle fi.Lifecycle }
+kops:fitask
func (*DNSRecord) CheckChanges ¶ added in v1.29.0
func (*DNSRecord) CompareWithID ¶ added in v1.29.0
func (*DNSRecord) Find ¶ added in v1.29.0
func (d *DNSRecord) Find(context *fi.CloudupContext) (*DNSRecord, error)
func (*DNSRecord) GetLifecycle ¶ added in v1.29.0
GetLifecycle returns the Lifecycle of the object, implementing fi.HasLifecycle
func (*DNSRecord) GetName ¶ added in v1.29.0
GetName returns the Name of the object, implementing fi.HasName
func (*DNSRecord) RenderScw ¶ added in v1.29.0
func (d *DNSRecord) RenderScw(t *scaleway.ScwAPITarget, actual, expected, changes *DNSRecord) error
func (*DNSRecord) RenderTerraform ¶ added in v1.29.0
func (_ *DNSRecord) RenderTerraform(t *terraform.TerraformTarget, actual, expected, changes *DNSRecord) error
func (*DNSRecord) SetLifecycle ¶ added in v1.29.0
SetLifecycle sets the Lifecycle of the object, implementing fi.SetLifecycle
type Instance ¶
type Instance struct { Name *string Lifecycle fi.Lifecycle Zone *string Role *string CommercialType *string Image *string Tags []string Count int VolumeSize *int NeedsUpdate []string UserData *fi.Resource LoadBalancer *LoadBalancer }
+kops:fitask
func (*Instance) CheckChanges ¶
func (*Instance) CompareWithID ¶
func (*Instance) GetDependencies ¶ added in v1.29.0
func (s *Instance) GetDependencies(tasks map[string]fi.CloudupTask) []fi.CloudupTask
func (*Instance) GetLifecycle ¶
GetLifecycle returns the Lifecycle of the object, implementing fi.HasLifecycle
func (*Instance) RenderScw ¶
func (_ *Instance) RenderScw(t *scaleway.ScwAPITarget, actual, expected, changes *Instance) error
func (*Instance) RenderTerraform ¶ added in v1.27.0
func (_ *Instance) RenderTerraform(t *terraform.TerraformTarget, actual, expected, changes *Instance) error
func (*Instance) SetLifecycle ¶
SetLifecycle sets the Lifecycle of the object, implementing fi.SetLifecycle
type LBBackend ¶ added in v1.27.0
type LBBackend struct { Name *string Lifecycle fi.Lifecycle ID *string Zone *string ForwardProtocol *string ForwardPort *int32 ForwardPortAlgorithm *string StickySessions *string ProxyProtocol *string LoadBalancer *LoadBalancer }
+kops:fitask
func (*LBBackend) CheckChanges ¶ added in v1.27.0
func (*LBBackend) CompareWithID ¶ added in v1.27.0
func (*LBBackend) Find ¶ added in v1.27.0
func (l *LBBackend) Find(context *fi.CloudupContext) (*LBBackend, error)
func (*LBBackend) GetDependencies ¶ added in v1.29.0
func (l *LBBackend) GetDependencies(tasks map[string]fi.CloudupTask) []fi.CloudupTask
func (*LBBackend) GetLifecycle ¶ added in v1.27.0
GetLifecycle returns the Lifecycle of the object, implementing fi.HasLifecycle
func (*LBBackend) GetName ¶ added in v1.27.0
GetName returns the Name of the object, implementing fi.HasName
func (*LBBackend) RenderScw ¶ added in v1.27.0
func (l *LBBackend) RenderScw(t *scaleway.ScwAPITarget, actual, expected, changes *LBBackend) error
func (*LBBackend) RenderTerraform ¶ added in v1.27.0
func (l *LBBackend) RenderTerraform(t *terraform.TerraformTarget, actual, expected, changes *LBBackend) error
func (*LBBackend) SetLifecycle ¶ added in v1.27.0
SetLifecycle sets the Lifecycle of the object, implementing fi.SetLifecycle
func (*LBBackend) String ¶ added in v1.27.0
String is the stringer function for the task, producing readable output using fi.TaskAsString
func (*LBBackend) TerraformLink ¶ added in v1.27.0
func (l *LBBackend) TerraformLink() *terraformWriter.Literal
type LBFrontend ¶ added in v1.27.0
type LBFrontend struct { Name *string Lifecycle fi.Lifecycle ID *string Zone *string InboundPort *int32 LoadBalancer *LoadBalancer LBBackend *LBBackend }
+kops:fitask
func (*LBFrontend) CheckChanges ¶ added in v1.27.0
func (_ *LBFrontend) CheckChanges(actual, expected, changes *LBFrontend) error
func (*LBFrontend) CompareWithID ¶ added in v1.27.0
func (l *LBFrontend) CompareWithID() *string
func (*LBFrontend) Find ¶ added in v1.27.0
func (l *LBFrontend) Find(context *fi.CloudupContext) (*LBFrontend, error)
func (*LBFrontend) GetDependencies ¶ added in v1.29.0
func (l *LBFrontend) GetDependencies(tasks map[string]fi.CloudupTask) []fi.CloudupTask
func (*LBFrontend) GetLifecycle ¶ added in v1.27.0
func (o *LBFrontend) GetLifecycle() fi.Lifecycle
GetLifecycle returns the Lifecycle of the object, implementing fi.HasLifecycle
func (*LBFrontend) GetName ¶ added in v1.27.0
func (o *LBFrontend) GetName() *string
GetName returns the Name of the object, implementing fi.HasName
func (*LBFrontend) RenderScw ¶ added in v1.27.0
func (l *LBFrontend) RenderScw(t *scaleway.ScwAPITarget, actual, expected, changes *LBFrontend) error
func (*LBFrontend) RenderTerraform ¶ added in v1.27.0
func (_ *LBFrontend) RenderTerraform(t *terraform.TerraformTarget, actual, expected, changes *LBFrontend) error
func (*LBFrontend) Run ¶ added in v1.27.0
func (l *LBFrontend) Run(context *fi.CloudupContext) error
func (*LBFrontend) SetLifecycle ¶ added in v1.27.0
func (o *LBFrontend) SetLifecycle(lifecycle fi.Lifecycle)
SetLifecycle sets the Lifecycle of the object, implementing fi.SetLifecycle
func (*LBFrontend) String ¶ added in v1.27.0
func (o *LBFrontend) String() string
String is the stringer function for the task, producing readable output using fi.TaskAsString
type LoadBalancer ¶ added in v1.27.0
type LoadBalancer struct { Name *string Type string Lifecycle fi.Lifecycle Zone *string LBID *string LBAddresses []string Tags []string Description string SslCompatibilityLevel 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.27.0
func (_ *LoadBalancer) CheckChanges(actual, expected, changes *LoadBalancer) error
func (*LoadBalancer) CompareWithID ¶ added in v1.27.0
func (l *LoadBalancer) CompareWithID() *string
func (*LoadBalancer) Find ¶ added in v1.27.0
func (l *LoadBalancer) Find(context *fi.CloudupContext) (*LoadBalancer, error)
func (*LoadBalancer) FindAddresses ¶ added in v1.27.0
func (l *LoadBalancer) FindAddresses(context *fi.CloudupContext) ([]string, error)
func (*LoadBalancer) GetLifecycle ¶ added in v1.27.0
func (o *LoadBalancer) GetLifecycle() fi.Lifecycle
GetLifecycle returns the Lifecycle of the object, implementing fi.HasLifecycle
func (*LoadBalancer) GetName ¶ added in v1.27.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 (l *LoadBalancer) GetWellKnownServices() []wellknownservices.WellKnownService
GetWellKnownServices implements fi.HasAddress::GetWellKnownServices. It indicates which services we support with this load balancer.
func (*LoadBalancer) RenderScw ¶ added in v1.27.0
func (l *LoadBalancer) RenderScw(t *scaleway.ScwAPITarget, actual, expected, changes *LoadBalancer) error
func (*LoadBalancer) RenderTerraform ¶ added in v1.27.0
func (_ *LoadBalancer) RenderTerraform(t *terraform.TerraformTarget, actual, expected, changes *LoadBalancer) error
func (*LoadBalancer) Run ¶ added in v1.27.0
func (l *LoadBalancer) Run(context *fi.CloudupContext) error
func (*LoadBalancer) SetLifecycle ¶ added in v1.27.0
func (o *LoadBalancer) SetLifecycle(lifecycle fi.Lifecycle)
SetLifecycle sets the Lifecycle of the object, implementing fi.SetLifecycle
func (*LoadBalancer) String ¶ added in v1.27.0
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.27.0
func (l *LoadBalancer) TerraformLink() *terraformWriter.Literal
type SSHKey ¶
type SSHKey struct { ID *string Name *string Lifecycle fi.Lifecycle PublicKey *fi.Resource KeyPairFingerPrint *string }
+kops:fitask
func (*SSHKey) CheckChanges ¶
func (*SSHKey) CompareWithID ¶
func (*SSHKey) GetLifecycle ¶
GetLifecycle returns the Lifecycle of the object, implementing fi.HasLifecycle
func (*SSHKey) RenderScw ¶
func (*SSHKey) RenderScw(t *scaleway.ScwAPITarget, actual, expected, changes *SSHKey) error
func (*SSHKey) RenderTerraform ¶ added in v1.27.0
func (_ *SSHKey) RenderTerraform(t *terraform.TerraformTarget, actual, expected, changes *SSHKey) error
func (*SSHKey) SetLifecycle ¶
SetLifecycle sets the Lifecycle of the object, implementing fi.SetLifecycle
type Volume ¶
type Volume struct { Name *string ID *string Lifecycle fi.Lifecycle Size *int64 Zone *string Tags []string Type *string }
+kops:fitask
func (*Volume) CheckChanges ¶
func (*Volume) CompareWithID ¶
func (*Volume) GetLifecycle ¶
GetLifecycle returns the Lifecycle of the object, implementing fi.HasLifecycle
func (*Volume) RenderScw ¶
func (_ *Volume) RenderScw(t *scaleway.ScwAPITarget, actual, expected, changes *Volume) error
func (*Volume) RenderTerraform ¶ added in v1.27.0
func (_ *Volume) RenderTerraform(t *terraform.TerraformTarget, actual, expected, changes *Volume) error
func (*Volume) SetLifecycle ¶
SetLifecycle sets the Lifecycle of the object, implementing fi.SetLifecycle