do

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 DigitalOcean

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

func NewDigitalOcean

func NewDigitalOcean(apiKey string) (*DigitalOcean, error)

func (*DigitalOcean) CreateServer

func (*DigitalOcean) DeleteServer

func (d *DigitalOcean) DeleteServer(id string, args automation.ServerArgs) error

func (*DigitalOcean) GetServer

func (*DigitalOcean) ListServer

func (d *DigitalOcean) ListServer() ([]automation.ResourceResults, error)

func (*DigitalOcean) UpdateServer

func (d *DigitalOcean) UpdateServer(id string, args automation.ServerArgs) error

func (*DigitalOcean) UploadPlugin

func (d *DigitalOcean) UploadPlugin(id string, args automation.ServerArgs, plugin, destination string) error

type TokenSource

type TokenSource struct {
	AccessToken string
}

TokenSource contains an access token

func (*TokenSource) Token

func (t *TokenSource) Token() (*oauth2.Token, error)

Token returns an oauth2 token

Jump to

Keyboard shortcuts

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