driver

package
v0.14.4 Latest Latest
Warning

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

Go to latest
Published: May 29, 2024 License: Apache-2.0 Imports: 9 Imported by: 1

Documentation

Index

Constants

View Source
const (
	VendorVersion = identity.VendorVersion
)

Variables

This section is empty.

Functions

func NewDiskDriver

func NewDiskDriver(cfg Config) *driver

NewDiskDriver

Types

type Config

type Config struct {
	Enable        bool   `json:"enable"`
	DriverName    string `json:"driverName"`
	Endpoint      string `json:"endpoint"`
	NodeID        string `json:"nodeId"`
	VendorVersion string `json:"vendorVersion"`
}

func (*Config) ToMap

func (cfg *Config) ToMap() map[string]interface{}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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