providers

package
v0.0.0-...-0790738 Latest Latest
Warning

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

Go to latest
Published: Mar 12, 2022 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ContaboClientIdFlag     = "contabo-client-id"
	ContaboClientSecretFlag = "contabo-client-secret"
	ContaboApiUserFlag      = "contabo-api-user"
	ContaboApiPasswordFlag  = "contabo-api-password"
	ContaboAuthEndpointFlag = "contabo-auth-endpoint"
	ContaboApiEndpointFlag  = "contabo-api-endpoint"
)

Variables

View Source
var (
	NotFoundErr = errors.New("contabo instance not found")
)

Functions

func RegisterContaboFlags

func RegisterContaboFlags(f []cli.Flag) []cli.Flag

Types

type Contabo

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

func NewContabo

func NewContabo(c *cli.Context, cl *http.Client) *Contabo

func (*Contabo) Reboot

func (s *Contabo) Reboot(ctx context.Context, n *t.Node) error

type HetznerRobot

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

func NewHetznerRobot

func NewHetznerRobot(c *cli.Context, cl *http.Client) *HetznerRobot

func (*HetznerRobot) Reboot

func (s *HetznerRobot) Reboot(ctx context.Context, n *t.Node) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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