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 BackupService ¶
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:
Click to show internal directories.
Click to hide internal directories.