driver

package
v1.18.0 Latest Latest
Warning

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

Go to latest
Published: Apr 12, 2020 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// DriverName is the name of csi driver for synology
	DriverName = "csi.synology.com"
)

Variables

This section is empty.

Functions

func Login added in v1.17.0

func Login(synoOption *options.SynologyOptions) (*core.Session, string, error)

Types

type Driver

type Driver interface {
	Run()
}

Driver is top interface to run server

func NewDriver

func NewDriver(nodeID string, endpoint string, synoOption *options.SynologyOptions) (Driver, error)

NewDriver creates a Driver object

type Session added in v1.17.0

type Session struct {
	IQN string
}

Jump to

Keyboard shortcuts

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