objectstore

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Jun 2, 2025 License: Apache-2.0 Imports: 14 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package objectstore provides shared examples for archive tests using various object store implementations.

Index

Constants

View Source
const (
	// DefaultSize is the default size of the PVCs for the object stores.
	DefaultSize = "1Gi"
)

Variables

This section is empty.

Functions

func NewMinioArchive

func NewMinioArchive(namespace, name, minioOSName string) *pluginPgbackrestV1.Archive

NewMinioArchive creates a new Archive configured to use the Minio object store.

Types

type Resources

type Resources struct {
	Deployment      *appsv1.Deployment
	ProvisioningJob *batchv1.Job
	Service         *corev1.Service
	Secret          *corev1.Secret
	PVC             *corev1.PersistentVolumeClaim
}

Resources represents the resources required to create an object store.

func NewMinioObjectStoreResources

func NewMinioObjectStoreResources(namespace, name string) *Resources

NewMinioObjectStoreResources creates the resources required to create a Minio object store.

func (Resources) Create

func (osr Resources) Create(ctx context.Context, cl client.Client) error

Create creates the object store resources.

Jump to

Keyboard shortcuts

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