azure

package
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: Sep 14, 2021 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package azure deals with configuring Velero azure plugin.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BackupStorageLocation

type BackupStorageLocation struct {
	Name           string `hcl:"name,optional"`
	ResourceGroup  string `hcl:"resource_group,optional"`
	StorageAccount string `hcl:"storage_account,optional"`
	Bucket         string `hcl:"bucket,optional"`
}

BackupStorageLocation stores information about storage account used for backups on Azure

type Configuration

type Configuration struct {
	SubscriptionID         string                  `hcl:"subscription_id,optional"`
	TenantID               string                  `hcl:"tenant_id,optional"`
	ClientID               string                  `hcl:"client_id,optional"`
	ClientSecret           string                  `hcl:"client_secret,optional"`
	ResourceGroup          string                  `hcl:"resource_group,optional"`
	BackupStorageLocation  *BackupStorageLocation  `hcl:"backup_storage_location,block"`
	VolumeSnapshotLocation *VolumeSnapshotLocation `hcl:"volume_snapshot_location,block"`
}

Configuration contains azure specific parameters

func (*Configuration) Validate

func (c *Configuration) Validate() hcl.Diagnostics

Validate validates azure specific parts in the configuration

func (*Configuration) Values added in v0.5.0

func (c *Configuration) Values() (string, error)

Values returns Azure-specific values for Velero Helm chart.

type VolumeSnapshotLocation

type VolumeSnapshotLocation struct {
	Name          string `hcl:"name,optional"`
	ResourceGroup string `hcl:"resource_group,optional"`
	APITimeout    string `hcl:"api_timeout,optional"`
}

VolumeSnapshotLocation stores information where disk snapshots will be stored on Azure

Jump to

Keyboard shortcuts

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