plugin

package
v0.0.0-...-693ab57 Latest Latest
Warning

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

Go to latest
Published: Feb 2, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Plugins = []plugin.Plugin{
	&AzurePlugin{},
}

Plugins contains all the plugins in this package

Functions

This section is empty.

Types

type AzureConfig

type AzureConfig struct {
	// contains filtered or unexported fields
}

AzureConfig contains the config values

func (*AzureConfig) Create

func (azureConfig *AzureConfig) Create(path string) (repo.Datastore, error)

Create returns a new azure data store

func (*AzureConfig) DiskSpec

func (azureConfig *AzureConfig) DiskSpec() fsrepo.DiskSpec

DiskSpec represents the characteristics that represent a data store, if 2 data stores have different values for any of keys, they will be seen as different data stores if 2 data stores have the same values for all of these keys, they will be seen as the same data store

type AzurePlugin

type AzurePlugin struct{}

AzurePlugin struct

func (AzurePlugin) DatastoreConfigParser

func (azurePlugin AzurePlugin) DatastoreConfigParser() fsrepo.ConfigFromMap

DatastoreConfigParser parses the config map and returns a config struct

func (AzurePlugin) DatastoreTypeName

func (azurePlugin AzurePlugin) DatastoreTypeName() string

DatastoreTypeName returns the name of the data store

func (AzurePlugin) Init

func (azurePlugin AzurePlugin) Init(env *plugin.Environment) error

Init is not implemented

func (AzurePlugin) Name

func (azurePlugin AzurePlugin) Name() string

Name returns the name of the plugin

func (AzurePlugin) Version

func (azurePlugin AzurePlugin) Version() string

Version returns the version of the plugin

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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