vultr

package
v0.17.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Vultr

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

func NewVultr

func NewVultr(apiKey string) (*Vultr, error)

func (*Vultr) CreateServer

func (v *Vultr) CreateServer(args automation.ServerArgs) (*automation.ResourceResults, error)

func (*Vultr) DeleteServer

func (v *Vultr) DeleteServer(id string, args automation.ServerArgs) error

func (*Vultr) GetServer

func (*Vultr) ListServer

func (v *Vultr) ListServer() ([]automation.ResourceResults, error)

func (*Vultr) UpdateServer

func (v *Vultr) UpdateServer(id string, args automation.ServerArgs) error

func (*Vultr) UploadPlugin

func (v *Vultr) 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