Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BackupTemplate ¶
type BackupTemplate struct { ExpirationTime time.Time `json:"expirationTime"` IgnoredSources *IgnoredSources `json:"ignoredSources,omitempty"` }
func (*BackupTemplate) Validate ¶
func (o *BackupTemplate) Validate() error
type DatabaseReference ¶
func (*DatabaseReference) Validate ¶
func (o *DatabaseReference) Validate() error
type IgnoredSources ¶
type IgnoredSources struct { Databases []DatabaseReference `json:"databases,omitempty"` Files bool `json:"files"` }
func (*IgnoredSources) Validate ¶
func (o *IgnoredSources) Validate() error
type ProjectBackup ¶
type ProjectBackup struct { CreatedAt *time.Time `json:"createdAt,omitempty"` Deletable bool `json:"deletable"` Description *string `json:"description,omitempty"` ExpiresAt *time.Time `json:"expiresAt,omitempty"` Export *ProjectBackupExport `json:"export,omitempty"` Id string `json:"id"` ParentId *string `json:"parentId,omitempty"` ProjectId string `json:"projectId"` Status string `json:"status"` }
func (*ProjectBackup) Validate ¶
func (o *ProjectBackup) Validate() error
type ProjectBackupExport ¶
type ProjectBackupExport struct { DownloadURL *string `json:"downloadURL,omitempty"` ExpiresAt *time.Time `json:"expiresAt,omitempty"` Format string `json:"format"` Phase *ProjectBackupExportPhase `json:"phase,omitempty"` WithPassword bool `json:"withPassword"` }
func (*ProjectBackupExport) Validate ¶
func (o *ProjectBackupExport) Validate() error
type ProjectBackupExportPhase ¶
type ProjectBackupExportPhase string
const ProjectBackupExportPhaseCompleted ProjectBackupExportPhase = "Completed"
const ProjectBackupExportPhaseEmpty ProjectBackupExportPhase = ""
const ProjectBackupExportPhaseExpired ProjectBackupExportPhase = "Expired"
const ProjectBackupExportPhaseExporting ProjectBackupExportPhase = "Exporting"
const ProjectBackupExportPhaseFailed ProjectBackupExportPhase = "Failed"
const ProjectBackupExportPhasePending ProjectBackupExportPhase = "Pending"
func (ProjectBackupExportPhase) Validate ¶
func (e ProjectBackupExportPhase) Validate() error
type ProjectBackupSchedule ¶
type ProjectBackupSchedule struct { CreatedAt *time.Time `json:"createdAt,omitempty"` Description *string `json:"description,omitempty"` Id string `json:"id"` IsSystemBackup bool `json:"isSystemBackup"` ProjectId string `json:"projectId"` Schedule string `json:"schedule"` Ttl *string `json:"ttl,omitempty"` UpdatedAt *time.Time `json:"updatedAt,omitempty"` }
func (*ProjectBackupSchedule) Validate ¶
func (o *ProjectBackupSchedule) Validate() error
Click to show internal directories.
Click to hide internal directories.