scalewaytasks

package
v1.26.0-beta.2 Latest Latest
Warning

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

Go to latest
Published: Jan 13, 2023 License: Apache-2.0 Imports: 10 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
	CommercialType *string
	Image          *string
	Tags           []string
	Count          int
	UserData       *fi.Resource
}

+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(c *fi.CloudupContext, 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 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(c *fi.CloudupContext, 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) 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