linode

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Sep 15, 2022 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Linode

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

func NewLinode

func NewLinode(apiToken string) (*Linode, error)

func (*Linode) CreateServer

func (l *Linode) CreateServer(args automation.ServerArgs) (*automation.ResourceResults, error)

func (*Linode) DeleteServer

func (l *Linode) DeleteServer(id string, args automation.ServerArgs) error

func (*Linode) GetServer

func (l *Linode) GetServer(id string, args automation.ServerArgs) (*automation.ResourceResults, error)

func (*Linode) ListServer

func (l *Linode) ListServer() ([]automation.ResourceResults, error)

func (*Linode) UpdateServer

func (l *Linode) UpdateServer(id string, args automation.ServerArgs) error

func (*Linode) UploadPlugin

func (l *Linode) UploadPlugin(id string, args automation.ServerArgs, plugin, destination string) error

Jump to

Keyboard shortcuts

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