civo

package
v0.5.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Civo

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

func NewCivo

func NewCivo(apiKey, region string) (*Civo, error)

func (*Civo) CreateServer

func (c *Civo) CreateServer(args automation.ServerArgs) (*automation.ResourceResults, error)

func (*Civo) DeleteServer

func (c *Civo) DeleteServer(id string, args automation.ServerArgs) error

func (*Civo) GetServer

func (*Civo) ListServer

func (c *Civo) ListServer() ([]automation.ResourceResults, error)

func (*Civo) UpdateServer

func (c *Civo) UpdateServer(id string, args automation.ServerArgs) error

func (*Civo) UploadPlugin

func (c *Civo) 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