platform_linode

package
v0.0.11 Latest Latest
Warning

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

Go to latest
Published: Mar 10, 2024 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DefaultSmallInstanceType  = "g6-nanode-1"
	DefaultMediumInstanceType = "g6-standard-1"
	DefaultLargeInstanceType  = "g6-standard-2"
)
View Source
const (
	DefaultImage = "linode/debian12"
)

Variables

This section is empty.

Functions

func New

Types

type PlatformLinode

type PlatformLinode struct {
	// contains filtered or unexported fields
}

func (*PlatformLinode) DeleteNode

func (p *PlatformLinode) DeleteNode(ctx context.Context, n *node.Node) error

func (*PlatformLinode) GetStatus

func (p *PlatformLinode) GetStatus(ctx context.Context, n *node.Node) (node.Status, error)

func (*PlatformLinode) StartNode

func (p *PlatformLinode) StartNode(ctx context.Context, n *node.Node) error

func (*PlatformLinode) StopNode

func (p *PlatformLinode) StopNode(ctx context.Context, n *node.Node) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL