scalewaytasks

package
v1.27.2 Latest Latest
Warning

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

Go to latest
Published: Nov 11, 2023 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Instance

type Instance struct {
	Name      *string
	Lifecycle fi.Lifecycle

	Zone           *string
	Role           *string
	CommercialType *string
	Image          *string
	Tags           []string
	Count          int

	UserData     *fi.Resource
	LoadBalancer *LoadBalancer
}

+kops:fitask

func (*Instance) CheckChanges

func (_ *Instance) CheckChanges(actual, expected, changes *Instance) error

func (*Instance) CompareWithID

func (s *Instance) CompareWithID() *string

func (*Instance) Find

func (s *Instance) Find(c *fi.CloudupContext) (*Instance, error)

func (*Instance) GetLifecycle

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

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

func (*Instance) GetName

func (o *Instance) GetName() *string

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

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) Run

func (s *Instance) Run(c *fi.CloudupContext) error

func (*Instance) SetLifecycle

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

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

func (*Instance) String

func (o *Instance) String() string

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

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) CheckChanges(actual, expected, changes *LBBackend) error

func (*LBBackend) CompareWithID added in v1.27.0

func (l *LBBackend) CompareWithID() *string

func (*LBBackend) Find added in v1.27.0

func (l *LBBackend) Find(context *fi.CloudupContext) (*LBBackend, error)

func (*LBBackend) GetLifecycle added in v1.27.0

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

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

func (*LBBackend) GetName added in v1.27.0

func (o *LBBackend) GetName() *string

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

func (l *LBBackend) Run(context *fi.CloudupContext) error

func (*LBBackend) SetLifecycle added in v1.27.0

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

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

func (*LBBackend) String added in v1.27.0

func (o *LBBackend) String() string

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

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) 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
	Lifecycle fi.Lifecycle

	Zone                  *string
	LBID                  *string
	LBAddresses           []string
	Tags                  []string
	Description           string
	SslCompatibilityLevel string
	ForAPIServer          bool
}

+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) IsForAPIServer added in v1.27.0

func (l *LoadBalancer) IsForAPIServer() bool

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 (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 (s *SSHKey) CheckChanges(actual, expected, changes *SSHKey) error

func (*SSHKey) CompareWithID

func (s *SSHKey) CompareWithID() *string

func (*SSHKey) Find

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

func (*SSHKey) GetLifecycle

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

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

func (*SSHKey) GetName

func (o *SSHKey) GetName() *string

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

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) Run

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

func (*SSHKey) SetLifecycle

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

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

func (*SSHKey) String

func (o *SSHKey) 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

	Size *int64
	Zone *string
	Tags []string
	Type *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) RenderScw

func (_ *Volume) RenderScw(t *scaleway.ScwAPITarget, a, e, changes *Volume) error

func (*Volume) RenderTerraform added in v1.27.0

func (_ *Volume) RenderTerraform(t *terraform.TerraformTarget, actual, expected, 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