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, maxParallel int) *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 ¶
NewMinioObjectStoreResources creates the resources required to create a Minio object store.
Click to show internal directories.
Click to hide internal directories.