backup

package
v0.10.2 Latest Latest
Warning

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

Go to latest
Published: Jan 31, 2025 License: MIT Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateNamespace added in v0.1.1

func CreateNamespace(namespace string, job *types.Job, storeInstance *store.Store) error

func FixDatastore

func FixDatastore(job *types.Job, storeInstance *store.Store) error

func GetCurrentOwner added in v0.8.0

func GetCurrentOwner(job *types.Job, storeInstance *store.Store) (string, error)

func SetDatastoreOwner added in v0.8.0

func SetDatastoreOwner(job *types.Job, storeInstance *store.Store, owner string) error

Types

type BackupOperation added in v0.9.0

type BackupOperation struct {
	Task *proxmox.Task
	// contains filtered or unexported fields
}

func RunBackup

func RunBackup(job *types.Job, storeInstance *store.Store, skipCheck bool) (*BackupOperation, error)

func (*BackupOperation) Wait added in v0.9.0

func (b *BackupOperation) Wait() error

type NamespaceReq added in v0.1.1

type NamespaceReq struct {
	Name   string `json:"name"`
	Parent string `json:"parent"`
}

type PBSStoreGroups added in v0.8.0

type PBSStoreGroups struct {
	Owner string `json:"owner"`
}

type PBSStoreGroupsResponse added in v0.8.0

type PBSStoreGroupsResponse struct {
	Data PBSStoreGroups `json:"data"`
}

Jump to

Keyboard shortcuts

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