hetzner

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: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Hetzner

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

func NewHetzner

func NewHetzner(apiKey string) (*Hetzner, error)

func (*Hetzner) CreateServer

func (h *Hetzner) CreateServer(args automation.ServerArgs) (*automation.ResourceResults, error)

func (*Hetzner) DeleteServer

func (h *Hetzner) DeleteServer(id string, args automation.ServerArgs) error

func (*Hetzner) GetServer

func (*Hetzner) ListServer

func (h *Hetzner) ListServer() ([]automation.ResourceResults, error)

func (*Hetzner) UpdateServer

func (h *Hetzner) UpdateServer(id string, args automation.ServerArgs) error

func (*Hetzner) UploadPlugin

func (h *Hetzner) 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