hpc

package
v1.10.0 Latest Latest
Warning

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

Go to latest
Published: Feb 14, 2024 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HpcAdapter

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

func (*HpcAdapter) Close

func (ad *HpcAdapter) Close() error

func (*HpcAdapter) CreateVolume

Create EVS volume

func (*HpcAdapter) DeleteVolume

Delete the volume with a particular volume ID

func (*HpcAdapter) GetVolume

func (ad *HpcAdapter) GetVolume(ctx context.Context, volume *block.GetVolumeRequest) (*block.GetVolumeResponse, error)

Get the details of a particular volume

func (*HpcAdapter) ListVolume

This will list all the volumes

func (*HpcAdapter) ParseVolume

func (ad *HpcAdapter) ParseVolume(evsVolResp *model.VolumeDetail) (*block.Volume, error)

This fucntion takes an object of VolumeDetail from the API result VolumeDetail is the base struct in the model for huaweicloud-sdk-go-v3 service model

func (*HpcAdapter) UpdateVolume

Update the name of a volume

type HpcBlockDriverFactory

type HpcBlockDriverFactory struct {
}

func (*HpcBlockDriverFactory) CreateBlockStorageDriver

func (factory *HpcBlockDriverFactory) CreateBlockStorageDriver(backend *backend.BackendDetail) (driver.BlockDriver, error)

Jump to

Keyboard shortcuts

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