Documentation
¶
Overview ¶
Package objectstore provides shared examples for object store resources.
Index ¶
- Constants
- func NewAzuriteObjectStore(namespace, name, azuriteOSName string) *pluginBarmanCloudV1.ObjectStore
- func NewGCSObjectStore(namespace, name, gcsOSName string) *pluginBarmanCloudV1.ObjectStore
- func NewMinioObjectStore(namespace, name, minioOSName string) *pluginBarmanCloudV1.ObjectStore
- type Resources
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 NewAzuriteObjectStore ¶
func NewAzuriteObjectStore(namespace, name, azuriteOSName string) *pluginBarmanCloudV1.ObjectStore
NewAzuriteObjectStore creates a new ObjectStore object for Azurite.
func NewGCSObjectStore ¶
func NewGCSObjectStore(namespace, name, gcsOSName string) *pluginBarmanCloudV1.ObjectStore
NewGCSObjectStore creates a new GCS object store.
func NewMinioObjectStore ¶
func NewMinioObjectStore(namespace, name, minioOSName string) *pluginBarmanCloudV1.ObjectStore
NewMinioObjectStore creates a new Minio object store.
Types ¶
type Resources ¶
type Resources struct { Deployment *appsv1.Deployment Service *corev1.Service Secret *corev1.Secret PVC *corev1.PersistentVolumeClaim }
Resources represents the resources required to create an object store.
func NewAzuriteObjectStoreResources ¶
NewAzuriteObjectStoreResources creates the resources required to create an Azurite object store.
func NewGCSObjectStoreResources ¶
NewGCSObjectStoreResources creates the resources required to create a GCS 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.