{"modulePath":"github.com/dougkirkley/plugin-objstore-backup","version":"v0.0.0-20240413165421-31b6cb5869a0","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package executor\n\n## Types\n\n```go\ntype Executor struct {\n\t// contains filtered or unexported fields\n}\n```\nExecutor manages the execution of a backup\n\n```go\nfunc NewLocalExecutor(cluster *apiv1.Cluster, backup *apiv1.Backup, repo *repository2.Repository) *Executor\n```\nNewLocalExecutor creates a new backup Executor\n\n```go\nfunc (executor *Executor) Backup(ctx context.Context) (*webserver.BackupResultData, error)\n```\nBackup executes a backup. Returns the result and any error encountered\n\n```go\nfunc (executor *Executor) GetBeginWal() string\n```\nGetBeginWal returns the beginWal value, panics if the executor was not executed\n\n```go\nfunc (executor *Executor) GetEndWal() string\n```\nGetEndWal returns the endWal value, panics if the executor was not executed\n\n","path":"github.com/dougkirkley/plugin-objstore-backup/internal/backup/executor","name":"executor","synopsis":"","isRedistributable":true}
