factory

package
v0.3.3 Latest Latest
Warning

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

Go to latest
Published: Nov 11, 2025 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Get

func Get(name string, parameters map[string]interface{}) (storagedriver.Driver, error)

func Register

func Register(name string, factory StorageDriverFactory) error

Types

type StorageDriverFactory

type StorageDriverFactory interface {
	Create(parameters map[string]interface{}) (storagedriver.Driver, error)
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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