app

package
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: Dec 23, 2024 License: Apache-2.0 Imports: 25 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ASBackup

type ASBackup struct {
	// contains filtered or unexported fields
}

func NewASBackup

func NewASBackup(
	ctx context.Context,
	clientConfig *client.AerospikeConfig,
	clientPolicy *models.ClientPolicy,
	backupParams *models.Backup,
	commonParams *models.Common,
	compression *models.Compression,
	encryption *models.Encryption,
	secretAgent *models.SecretAgent,
	awsS3 *models.AwsS3,
	gcpStorage *models.GcpStorage,
	azureBlob *models.AzureBlob,
	logger *slog.Logger,
) (*ASBackup, error)

func (*ASBackup) Run

func (b *ASBackup) Run(ctx context.Context) error

type ASRestore

type ASRestore struct {
	// contains filtered or unexported fields
}

func NewASRestore

func NewASRestore(
	ctx context.Context,
	clientConfig *client.AerospikeConfig,
	clientPolicy *models.ClientPolicy,
	restoreParams *models.Restore,
	commonParams *models.Common,
	compression *models.Compression,
	encryption *models.Encryption,
	secretAgent *models.SecretAgent,
	awsS3 *models.AwsS3,
	gcpStorage *models.GcpStorage,
	azureBlob *models.AzureBlob,
	logger *slog.Logger,
) (*ASRestore, error)

func (*ASRestore) Run

func (r *ASRestore) Run(ctx context.Context) error

Jump to

Keyboard shortcuts

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