attacher

package
v0.0.0-...-36737da Latest Latest
Warning

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

Go to latest
Published: Apr 1, 2023 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ACCESS_MODE_BALANCED = "0"
)
View Source
const (
	MULTIPATHTYPE_DEFAULT = "0"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Attacher

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

func (*Attacher) ControllerDetach

func (p *Attacher) ControllerDetach(lunName string, parameters map[string]interface{}) (string, error)

func (*Attacher) NodeUnstage

func (p *Attacher) NodeUnstage(lunName string, parameters map[string]interface{}) error

type AttacherPlugin

type AttacherPlugin interface {
	ControllerAttach(string, map[string]interface{}) (string, error)
	ControllerDetach(string, map[string]interface{}) (string, error)
	NodeStage(string, map[string]interface{}) (string, error)
	NodeUnstage(string, map[string]interface{}) error
	// contains filtered or unexported methods
}

func NewAttacher

func NewAttacher(
	product string,
	cli *client.Client,
	protocol, invoker string,
	portals []string,
	alua map[string]interface{}) AttacherPlugin

type DoradoV6Attacher

type DoradoV6Attacher struct {
	Attacher
}

func (*DoradoV6Attacher) ControllerAttach

func (p *DoradoV6Attacher) ControllerAttach(lunName string, parameters map[string]interface{}) (string, error)

func (*DoradoV6Attacher) NodeStage

func (p *DoradoV6Attacher) NodeStage(lunName string, parameters map[string]interface{}) (string, error)

type MetroAttacher

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

func NewMetroAttacher

func NewMetroAttacher(localAttacher, remoteAttacher AttacherPlugin, protocol string) *MetroAttacher

func (*MetroAttacher) ControllerAttach

func (p *MetroAttacher) ControllerAttach(lunName string, parameters map[string]interface{}) (string, error)

func (*MetroAttacher) ControllerDetach

func (p *MetroAttacher) ControllerDetach(lunName string, parameters map[string]interface{}) (string, error)

func (*MetroAttacher) NodeStage

func (p *MetroAttacher) NodeStage(lunName string, parameters map[string]interface{}) (string, error)

func (*MetroAttacher) NodeUnstage

func (p *MetroAttacher) NodeUnstage(lunName string, parameters map[string]interface{}) error

type OceanStorAttacher

type OceanStorAttacher struct {
	Attacher
}

func (*OceanStorAttacher) ControllerAttach

func (p *OceanStorAttacher) ControllerAttach(lunName string, parameters map[string]interface{}) (string, error)

func (*OceanStorAttacher) NodeStage

func (p *OceanStorAttacher) NodeStage(lunName string, parameters map[string]interface{}) (string, error)

Jump to

Keyboard shortcuts

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