Documentation ¶
Overview ¶
Package openebs deals with configuring Velero openebs plugin.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BackupStorageLocation ¶
type BackupStorageLocation struct { Region string `hcl:"region"` Bucket string `hcl:"bucket"` Provider string `hcl:"provider,optional"` Name string `hcl:"name,optional"` }
BackupStorageLocation configures the backup storage location for OpenEBS plugin.
type Configuration ¶
type Configuration struct { Credentials string `hcl:"credentials"` Provider string `hcl:"provider,optional"` BackupStorageLocation *BackupStorageLocation `hcl:"backup_storage_location,block"` VolumeSnapshotLocation *VolumeSnapshotLocation `hcl:"volume_snapshot_location,block"` }
Configuration contains OpenEBS specific parameters.
func (*Configuration) Validate ¶
func (c *Configuration) Validate() hcl.Diagnostics
Validate validates OpenEBS specific parts in the configuration.
func (*Configuration) Values ¶
func (c *Configuration) Values() (string, error)
Values returns the plugin specific values for Velero Helm chart.
type VolumeSnapshotLocation ¶
type VolumeSnapshotLocation struct { Bucket string `hcl:"bucket"` Region string `hcl:"region"` Provider string `hcl:"provider,optional"` Name string `hcl:"name,optional"` Prefix string `hcl:"prefix,optional"` OpenEBSNamespace string `hcl:"openebs_namespace,optional"` S3URL string `hcl:"s3_url,optional"` Local bool `hcl:"local,optional"` }
VolumeSnapshotLocation configures the volume snapshot location for OpenEBS plugin.
Click to show internal directories.
Click to hide internal directories.