openebs

package
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: May 26, 2021 License: Apache-2.0 Imports: 5 Imported by: 0

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.

Jump to

Keyboard shortcuts

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