package
3.0.0+incompatible
Repository: https://github.com/percona/pmm.git
Documentation: pkg.go.dev

# Functions

New creates a new backup service API client.
NewChangeScheduledBackupDefault creates a ChangeScheduledBackupDefault with default headers values.
NewChangeScheduledBackupOK creates a ChangeScheduledBackupOK with default headers values.
NewChangeScheduledBackupParams creates a new ChangeScheduledBackupParams object, with the default timeout for this client.
NewChangeScheduledBackupParamsWithContext creates a new ChangeScheduledBackupParams object with the ability to set a context for a request.
NewChangeScheduledBackupParamsWithHTTPClient creates a new ChangeScheduledBackupParams object with the ability to set a custom HTTPClient for a request.
NewChangeScheduledBackupParamsWithTimeout creates a new ChangeScheduledBackupParams object with the ability to set a timeout on a request.
New creates a new backup service API client with basic auth credentials.
New creates a new backup service API client with a bearer token for authentication.
NewDeleteArtifactDefault creates a DeleteArtifactDefault with default headers values.
NewDeleteArtifactOK creates a DeleteArtifactOK with default headers values.
NewDeleteArtifactParams creates a new DeleteArtifactParams object, with the default timeout for this client.
NewDeleteArtifactParamsWithContext creates a new DeleteArtifactParams object with the ability to set a context for a request.
NewDeleteArtifactParamsWithHTTPClient creates a new DeleteArtifactParams object with the ability to set a custom HTTPClient for a request.
NewDeleteArtifactParamsWithTimeout creates a new DeleteArtifactParams object with the ability to set a timeout on a request.
NewGetLogsDefault creates a GetLogsDefault with default headers values.
NewGetLogsOK creates a GetLogsOK with default headers values.
NewGetLogsParams creates a new GetLogsParams object, with the default timeout for this client.
NewGetLogsParamsWithContext creates a new GetLogsParams object with the ability to set a context for a request.
NewGetLogsParamsWithHTTPClient creates a new GetLogsParams object with the ability to set a custom HTTPClient for a request.
NewGetLogsParamsWithTimeout creates a new GetLogsParams object with the ability to set a timeout on a request.
NewListArtifactCompatibleServicesDefault creates a ListArtifactCompatibleServicesDefault with default headers values.
NewListArtifactCompatibleServicesOK creates a ListArtifactCompatibleServicesOK with default headers values.
NewListArtifactCompatibleServicesParams creates a new ListArtifactCompatibleServicesParams object, with the default timeout for this client.
NewListArtifactCompatibleServicesParamsWithContext creates a new ListArtifactCompatibleServicesParams object with the ability to set a context for a request.
NewListArtifactCompatibleServicesParamsWithHTTPClient creates a new ListArtifactCompatibleServicesParams object with the ability to set a custom HTTPClient for a request.
NewListArtifactCompatibleServicesParamsWithTimeout creates a new ListArtifactCompatibleServicesParams object with the ability to set a timeout on a request.
NewListArtifactsDefault creates a ListArtifactsDefault with default headers values.
NewListArtifactsOK creates a ListArtifactsOK with default headers values.
NewListArtifactsParams creates a new ListArtifactsParams object, with the default timeout for this client.
NewListArtifactsParamsWithContext creates a new ListArtifactsParams object with the ability to set a context for a request.
NewListArtifactsParamsWithHTTPClient creates a new ListArtifactsParams object with the ability to set a custom HTTPClient for a request.
NewListArtifactsParamsWithTimeout creates a new ListArtifactsParams object with the ability to set a timeout on a request.
NewListPitrTimerangesDefault creates a ListPitrTimerangesDefault with default headers values.
NewListPitrTimerangesOK creates a ListPitrTimerangesOK with default headers values.
NewListPitrTimerangesParams creates a new ListPitrTimerangesParams object, with the default timeout for this client.
NewListPitrTimerangesParamsWithContext creates a new ListPitrTimerangesParams object with the ability to set a context for a request.
NewListPitrTimerangesParamsWithHTTPClient creates a new ListPitrTimerangesParams object with the ability to set a custom HTTPClient for a request.
NewListPitrTimerangesParamsWithTimeout creates a new ListPitrTimerangesParams object with the ability to set a timeout on a request.
NewListScheduledBackupsDefault creates a ListScheduledBackupsDefault with default headers values.
NewListScheduledBackupsOK creates a ListScheduledBackupsOK with default headers values.
NewListScheduledBackupsParams creates a new ListScheduledBackupsParams object, with the default timeout for this client.
NewListScheduledBackupsParamsWithContext creates a new ListScheduledBackupsParams object with the ability to set a context for a request.
NewListScheduledBackupsParamsWithHTTPClient creates a new ListScheduledBackupsParams object with the ability to set a custom HTTPClient for a request.
NewListScheduledBackupsParamsWithTimeout creates a new ListScheduledBackupsParams object with the ability to set a timeout on a request.
NewRemoveScheduledBackupDefault creates a RemoveScheduledBackupDefault with default headers values.
NewRemoveScheduledBackupOK creates a RemoveScheduledBackupOK with default headers values.
NewRemoveScheduledBackupParams creates a new RemoveScheduledBackupParams object, with the default timeout for this client.
NewRemoveScheduledBackupParamsWithContext creates a new RemoveScheduledBackupParams object with the ability to set a context for a request.
NewRemoveScheduledBackupParamsWithHTTPClient creates a new RemoveScheduledBackupParams object with the ability to set a custom HTTPClient for a request.
NewRemoveScheduledBackupParamsWithTimeout creates a new RemoveScheduledBackupParams object with the ability to set a timeout on a request.
NewScheduleBackupDefault creates a ScheduleBackupDefault with default headers values.
NewScheduleBackupOK creates a ScheduleBackupOK with default headers values.
NewScheduleBackupParams creates a new ScheduleBackupParams object, with the default timeout for this client.
NewScheduleBackupParamsWithContext creates a new ScheduleBackupParams object with the ability to set a context for a request.
NewScheduleBackupParamsWithHTTPClient creates a new ScheduleBackupParams object with the ability to set a custom HTTPClient for a request.
NewScheduleBackupParamsWithTimeout creates a new ScheduleBackupParams object with the ability to set a timeout on a request.
NewStartBackupDefault creates a StartBackupDefault with default headers values.
NewStartBackupOK creates a StartBackupOK with default headers values.
NewStartBackupParams creates a new StartBackupParams object, with the default timeout for this client.
NewStartBackupParamsWithContext creates a new StartBackupParams object with the ability to set a context for a request.
NewStartBackupParamsWithHTTPClient creates a new StartBackupParams object with the ability to set a custom HTTPClient for a request.
NewStartBackupParamsWithTimeout creates a new StartBackupParams object with the ability to set a timeout on a request.

# Constants

ListArtifactsOKBodyArtifactsItems0DataModelDATAMODELLOGICAL captures enum value "DATA_MODEL_LOGICAL".
ListArtifactsOKBodyArtifactsItems0DataModelDATAMODELPHYSICAL captures enum value "DATA_MODEL_PHYSICAL".
ListArtifactsOKBodyArtifactsItems0DataModelDATAMODELUNSPECIFIED captures enum value "DATA_MODEL_UNSPECIFIED".
ListArtifactsOKBodyArtifactsItems0ModeBACKUPMODEINCREMENTAL captures enum value "BACKUP_MODE_INCREMENTAL".
ListArtifactsOKBodyArtifactsItems0ModeBACKUPMODEPITR captures enum value "BACKUP_MODE_PITR".
ListArtifactsOKBodyArtifactsItems0ModeBACKUPMODESNAPSHOT captures enum value "BACKUP_MODE_SNAPSHOT".
ListArtifactsOKBodyArtifactsItems0ModeBACKUPMODEUNSPECIFIED captures enum value "BACKUP_MODE_UNSPECIFIED".
ListArtifactsOKBodyArtifactsItems0StatusBACKUPSTATUSCLEANUPINPROGRESS captures enum value "BACKUP_STATUS_CLEANUP_IN_PROGRESS".
ListArtifactsOKBodyArtifactsItems0StatusBACKUPSTATUSDELETING captures enum value "BACKUP_STATUS_DELETING".
ListArtifactsOKBodyArtifactsItems0StatusBACKUPSTATUSERROR captures enum value "BACKUP_STATUS_ERROR".
ListArtifactsOKBodyArtifactsItems0StatusBACKUPSTATUSFAILEDTODELETE captures enum value "BACKUP_STATUS_FAILED_TO_DELETE".
ListArtifactsOKBodyArtifactsItems0StatusBACKUPSTATUSINPROGRESS captures enum value "BACKUP_STATUS_IN_PROGRESS".
ListArtifactsOKBodyArtifactsItems0StatusBACKUPSTATUSPAUSED captures enum value "BACKUP_STATUS_PAUSED".
ListArtifactsOKBodyArtifactsItems0StatusBACKUPSTATUSPENDING captures enum value "BACKUP_STATUS_PENDING".
ListArtifactsOKBodyArtifactsItems0StatusBACKUPSTATUSSUCCESS captures enum value "BACKUP_STATUS_SUCCESS".
ListArtifactsOKBodyArtifactsItems0StatusBACKUPSTATUSUNSPECIFIED captures enum value "BACKUP_STATUS_UNSPECIFIED".
ListScheduledBackupsOKBodyScheduledBackupsItems0DataModelDATAMODELLOGICAL captures enum value "DATA_MODEL_LOGICAL".
ListScheduledBackupsOKBodyScheduledBackupsItems0DataModelDATAMODELPHYSICAL captures enum value "DATA_MODEL_PHYSICAL".
ListScheduledBackupsOKBodyScheduledBackupsItems0DataModelDATAMODELUNSPECIFIED captures enum value "DATA_MODEL_UNSPECIFIED".
ListScheduledBackupsOKBodyScheduledBackupsItems0ModeBACKUPMODEINCREMENTAL captures enum value "BACKUP_MODE_INCREMENTAL".
ListScheduledBackupsOKBodyScheduledBackupsItems0ModeBACKUPMODEPITR captures enum value "BACKUP_MODE_PITR".
ListScheduledBackupsOKBodyScheduledBackupsItems0ModeBACKUPMODESNAPSHOT captures enum value "BACKUP_MODE_SNAPSHOT".
ListScheduledBackupsOKBodyScheduledBackupsItems0ModeBACKUPMODEUNSPECIFIED captures enum value "BACKUP_MODE_UNSPECIFIED".
ScheduleBackupBodyDataModelDATAMODELLOGICAL captures enum value "DATA_MODEL_LOGICAL".
ScheduleBackupBodyDataModelDATAMODELPHYSICAL captures enum value "DATA_MODEL_PHYSICAL".
ScheduleBackupBodyDataModelDATAMODELUNSPECIFIED captures enum value "DATA_MODEL_UNSPECIFIED".
ScheduleBackupBodyModeBACKUPMODEINCREMENTAL captures enum value "BACKUP_MODE_INCREMENTAL".
ScheduleBackupBodyModeBACKUPMODEPITR captures enum value "BACKUP_MODE_PITR".
ScheduleBackupBodyModeBACKUPMODESNAPSHOT captures enum value "BACKUP_MODE_SNAPSHOT".
ScheduleBackupBodyModeBACKUPMODEUNSPECIFIED captures enum value "BACKUP_MODE_UNSPECIFIED".
StartBackupBodyDataModelDATAMODELLOGICAL captures enum value "DATA_MODEL_LOGICAL".
StartBackupBodyDataModelDATAMODELPHYSICAL captures enum value "DATA_MODEL_PHYSICAL".
StartBackupBodyDataModelDATAMODELUNSPECIFIED captures enum value "DATA_MODEL_UNSPECIFIED".

# Structs

ChangeScheduledBackupBody change scheduled backup body swagger:model ChangeScheduledBackupBody */.
ChangeScheduledBackupDefault describes a response with status code -1, with default header values.
ChangeScheduledBackupDefaultBody change scheduled backup default body swagger:model ChangeScheduledBackupDefaultBody */.
ChangeScheduledBackupDefaultBodyDetailsItems0 change scheduled backup default body details items0 swagger:model ChangeScheduledBackupDefaultBodyDetailsItems0 */.
ChangeScheduledBackupOK describes a response with status code 200, with default header values.
ChangeScheduledBackupParams contains all the parameters to send to the API endpoint for the change scheduled backup operation.
ChangeScheduledBackupReader is a Reader for the ChangeScheduledBackup structure.
Client for backup service API */.
DeleteArtifactDefault describes a response with status code -1, with default header values.
DeleteArtifactDefaultBody delete artifact default body swagger:model DeleteArtifactDefaultBody */.
DeleteArtifactDefaultBodyDetailsItems0 delete artifact default body details items0 swagger:model DeleteArtifactDefaultBodyDetailsItems0 */.
DeleteArtifactOK describes a response with status code 200, with default header values.
DeleteArtifactParams contains all the parameters to send to the API endpoint for the delete artifact operation.
DeleteArtifactReader is a Reader for the DeleteArtifact structure.
GetLogsDefault describes a response with status code -1, with default header values.
GetLogsDefaultBody get logs default body swagger:model GetLogsDefaultBody */.
GetLogsDefaultBodyDetailsItems0 get logs default body details items0 swagger:model GetLogsDefaultBodyDetailsItems0 */.
GetLogsOK describes a response with status code 200, with default header values.
GetLogsOKBody get logs OK body swagger:model GetLogsOKBody */.
GetLogsOKBodyLogsItems0 LogChunk represent one chunk of logs.
GetLogsParams contains all the parameters to send to the API endpoint for the get logs operation.
GetLogsReader is a Reader for the GetLogs structure.
ListArtifactCompatibleServicesDefault describes a response with status code -1, with default header values.
ListArtifactCompatibleServicesDefaultBody list artifact compatible services default body swagger:model ListArtifactCompatibleServicesDefaultBody */.
ListArtifactCompatibleServicesDefaultBodyDetailsItems0 list artifact compatible services default body details items0 swagger:model ListArtifactCompatibleServicesDefaultBodyDetailsItems0 */.
ListArtifactCompatibleServicesOK describes a response with status code 200, with default header values.
ListArtifactCompatibleServicesOKBody list artifact compatible services OK body swagger:model ListArtifactCompatibleServicesOKBody */.
ListArtifactCompatibleServicesOKBodyMongodbItems0 MongoDBService represents a generic MongoDB instance.
ListArtifactCompatibleServicesOKBodyMysqlItems0 MySQLService represents a generic MySQL instance.
ListArtifactCompatibleServicesParams contains all the parameters to send to the API endpoint for the list artifact compatible services operation.
ListArtifactCompatibleServicesReader is a Reader for the ListArtifactCompatibleServices structure.
ListArtifactsDefault describes a response with status code -1, with default header values.
ListArtifactsDefaultBody list artifacts default body swagger:model ListArtifactsDefaultBody */.
ListArtifactsDefaultBodyDetailsItems0 list artifacts default body details items0 swagger:model ListArtifactsDefaultBodyDetailsItems0 */.
ListArtifactsOK describes a response with status code 200, with default header values.
ListArtifactsOKBody list artifacts OK body swagger:model ListArtifactsOKBody */.
ListArtifactsOKBodyArtifactsItems0 Artifact represents single backup artifact.
ListArtifactsOKBodyArtifactsItems0MetadataListItems0 Metadata contains extra artifact data like files it consists of, tool specific data, etc.
ListArtifactsOKBodyArtifactsItems0MetadataListItems0FileListItems0 File represents file or folder on a storage.
ListArtifactsOKBodyArtifactsItems0MetadataListItems0PbmMetadata PbmMetadata contains additional data for pbm cli tools.
ListArtifactsParams contains all the parameters to send to the API endpoint for the list artifacts operation.
ListArtifactsReader is a Reader for the ListArtifacts structure.
ListPitrTimerangesDefault describes a response with status code -1, with default header values.
ListPitrTimerangesDefaultBody list pitr timeranges default body swagger:model ListPitrTimerangesDefaultBody */.
ListPitrTimerangesDefaultBodyDetailsItems0 list pitr timeranges default body details items0 swagger:model ListPitrTimerangesDefaultBodyDetailsItems0 */.
ListPitrTimerangesOK describes a response with status code 200, with default header values.
ListPitrTimerangesOKBody list pitr timeranges OK body swagger:model ListPitrTimerangesOKBody */.
ListPitrTimerangesOKBodyTimerangesItems0 list pitr timeranges OK body timeranges items0 swagger:model ListPitrTimerangesOKBodyTimerangesItems0 */.
ListPitrTimerangesParams contains all the parameters to send to the API endpoint for the list pitr timeranges operation.
ListPitrTimerangesReader is a Reader for the ListPitrTimeranges structure.
ListScheduledBackupsDefault describes a response with status code -1, with default header values.
ListScheduledBackupsDefaultBody list scheduled backups default body swagger:model ListScheduledBackupsDefaultBody */.
ListScheduledBackupsDefaultBodyDetailsItems0 list scheduled backups default body details items0 swagger:model ListScheduledBackupsDefaultBodyDetailsItems0 */.
ListScheduledBackupsOK describes a response with status code 200, with default header values.
ListScheduledBackupsOKBody list scheduled backups OK body swagger:model ListScheduledBackupsOKBody */.
ListScheduledBackupsOKBodyScheduledBackupsItems0 ScheduledBackup represents scheduled task for backup.
ListScheduledBackupsParams contains all the parameters to send to the API endpoint for the list scheduled backups operation.
ListScheduledBackupsReader is a Reader for the ListScheduledBackups structure.
RemoveScheduledBackupDefault describes a response with status code -1, with default header values.
RemoveScheduledBackupDefaultBody remove scheduled backup default body swagger:model RemoveScheduledBackupDefaultBody */.
RemoveScheduledBackupDefaultBodyDetailsItems0 remove scheduled backup default body details items0 swagger:model RemoveScheduledBackupDefaultBodyDetailsItems0 */.
RemoveScheduledBackupOK describes a response with status code 200, with default header values.
RemoveScheduledBackupParams contains all the parameters to send to the API endpoint for the remove scheduled backup operation.
RemoveScheduledBackupReader is a Reader for the RemoveScheduledBackup structure.
ScheduleBackupBody schedule backup body swagger:model ScheduleBackupBody */.
ScheduleBackupDefault describes a response with status code -1, with default header values.
ScheduleBackupDefaultBody schedule backup default body swagger:model ScheduleBackupDefaultBody */.
ScheduleBackupDefaultBodyDetailsItems0 schedule backup default body details items0 swagger:model ScheduleBackupDefaultBodyDetailsItems0 */.
ScheduleBackupOK describes a response with status code 200, with default header values.
ScheduleBackupOKBody schedule backup OK body swagger:model ScheduleBackupOKBody */.
ScheduleBackupParams contains all the parameters to send to the API endpoint for the schedule backup operation.
ScheduleBackupReader is a Reader for the ScheduleBackup structure.
StartBackupBody start backup body swagger:model StartBackupBody */.
StartBackupDefault describes a response with status code -1, with default header values.
StartBackupDefaultBody start backup default body swagger:model StartBackupDefaultBody */.
StartBackupDefaultBodyDetailsItems0 start backup default body details items0 swagger:model StartBackupDefaultBodyDetailsItems0 */.
StartBackupOK describes a response with status code 200, with default header values.
StartBackupOKBody start backup OK body swagger:model StartBackupOKBody */.
StartBackupParams contains all the parameters to send to the API endpoint for the start backup operation.
StartBackupReader is a Reader for the StartBackup structure.

# Interfaces

ClientService is the interface for Client methods.

# Type aliases

ClientOption may be used to customize the behavior of Client methods.