backup

package
v62.0.0-...-eaec136 Latest Latest
Warning

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

Go to latest
Published: Aug 23, 2021 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// ServiceName - The name of service.
	ServiceName = "Backup"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type BackupAPI

type BackupAPI interface {
	BackupCommand() (resp *http.Response, err error)
}

type BackupService

type BackupService struct {
	*client.Client
}

BackupService provides the API operations for making requests to Backup endpoint.

func New

func New(cfg *config.Config) *BackupService

New createa a new instance of the BackupService client.

Example:

cfg := config.NewConfig().WithUsername("Administrator").WithPassword("2Access").WithEndpoint(paURL)

//Create a BackupService from the configuration
svc := backup.New(cfg)

func (*BackupService) BackupCommand

func (s *BackupService) BackupCommand() (resp *http.Response, err error)

BackupCommand - Create a local database backup RequestType: GET Input:

Jump to

Keyboard shortcuts

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