Documentation ¶
Rendered for windows/amd64
Index ¶
- func Bootstrap() error
- func CheckAndRenewCertificate() error
- func GetStatus() (string, error)
- func GetTLSConfig() (*tls.Config, error)
- func ProxmoxHTTPRequest(method, url string, body io.Reader, respBody any) (io.ReadCloser, error)
- func SetStatus(status string) error
- type BackupStatus
- type BootstrapRequest
- type BootstrapResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckAndRenewCertificate ¶ added in v0.9.2
func CheckAndRenewCertificate() error
func GetTLSConfig ¶ added in v0.8.0
func ProxmoxHTTPRequest ¶
Types ¶
type BackupStatus ¶ added in v0.8.0
type BackupStatus struct {
// contains filtered or unexported fields
}
BackupStatus manages the state of ongoing backups
func GetBackupStatus ¶ added in v0.8.0
func GetBackupStatus() *BackupStatus
GetBackupStatus returns the singleton instance of BackupStatus
func (*BackupStatus) EndBackup ¶ added in v0.8.0
func (bs *BackupStatus) EndBackup(drive string)
EndBackup marks a backup as completed for a given drive
func (*BackupStatus) HasActiveBackups ¶ added in v0.8.0
func (bs *BackupStatus) HasActiveBackups() bool
HasActiveBackups checks if there are any ongoing backups
func (*BackupStatus) StartBackup ¶ added in v0.8.0
func (bs *BackupStatus) StartBackup(drive string)
StartBackup marks a backup as started for a given drive
type BootstrapRequest ¶ added in v0.8.0
type BootstrapResponse ¶ added in v0.8.0
Source Files ¶
Click to show internal directories.
Click to hide internal directories.