backends

package
v0.1.0-alpha.8 Latest Latest
Warning

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

Go to latest
Published: Jun 18, 2022 License: BSD-3-Clause Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Backend

type Backend interface {
	LoadParameters(parameters map[string]string) error
	LoadSecrets(secrets map[string]string) error
	LoadPublishContext(context map[string]string) error
	CreateVolume(ctx context.Context, name string, size int64) (string, error)
	DeleteVolume(ctx context.Context, id string) error
	ExpandVolume(ctx context.Context, id string, size int64) error
	CommentVolume(ctx context.Context, id string, comment string) error
	GetISCSISecrets() *ISCSISecrets
}

type ISCSISecrets

type ISCSISecrets struct {
	BaseIQN     string
	PortalIP    string
	PortalPort  int
	PortalId    int
	InitiatorId int
}

func LoadISCSISecrets

func LoadISCSISecrets(secrets map[string]string) (*ISCSISecrets, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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