ovh

package
v0.18.0 Latest Latest
Warning

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

Go to latest
Published: Jun 19, 2024 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 OVHcloud

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

func NewOVHcloud

func NewOVHcloud(endpoint, appKey, appSecret, consumerKey, serviceName, region string) (*OVHcloud, error)

func (*OVHcloud) CreateServer

func (o *OVHcloud) CreateServer(args automation.ServerArgs) (*automation.ResourceResults, error)

func (*OVHcloud) DeleteServer

func (o *OVHcloud) DeleteServer(id string, args automation.ServerArgs) error

func (*OVHcloud) GetServer

func (*OVHcloud) ListServer

func (o *OVHcloud) ListServer() ([]automation.ResourceResults, error)

func (*OVHcloud) UpdateServer

func (o *OVHcloud) UpdateServer(id string, args automation.ServerArgs) error

func (*OVHcloud) UploadPlugin

func (o *OVHcloud) 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