plugin

package
v0.0.0-...-d848671 Latest Latest
Warning

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

Go to latest
Published: Jul 4, 2022 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

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

Functions

This section is empty.

Types

type MotrConfig

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

func (*MotrConfig) Create

func (mc *MotrConfig) Create(path string) (repo.Datastore, error)

func (*MotrConfig) DiskSpec

func (mc *MotrConfig) DiskSpec() fsrepo.DiskSpec

type MotrPlugin

type MotrPlugin struct{}

func (MotrPlugin) DatastoreConfigParser

func (mp MotrPlugin) DatastoreConfigParser() fsrepo.ConfigFromMap

func (MotrPlugin) DatastoreTypeName

func (MotrPlugin) DatastoreTypeName() string

func (MotrPlugin) Init

func (MotrPlugin) Init(env *plugin.Environment) error

func (MotrPlugin) Name

func (MotrPlugin) Name() string

func (MotrPlugin) Version

func (MotrPlugin) Version() string

Jump to

Keyboard shortcuts

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