sfs

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: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	VpcID = "VpcID"

	// The UUID of the file share in Hw Cloud Backend
	ShareID = "ShareID"

	// The type of the volume in Hw Cloud Backend
	VolumeType = "VolumeType"

	// Timestamp when the file share was created in Hw Cloud Backend
	CreatedAt = "CreatedAt"

	// Specifies the mount location
	ExportLocation = "ExportLocation"

	//Lists the mount locations
	ExportLocations = "ExportLocations"

	// The host name of the file share in Hw Cloud Backend
	Host = "Host"

	// The visibility of the file share
	IsPublic = "IsPublic"

	// File Share links for pagination in Hw Cloud Backend
	Links = "Links"

	// The UUID of the project to which the file share belongs to in Hw Cloud Backend
	ProjectID = "ProjectID"

	// The UUID of the file share network in Hw Cloud Backend
	ShareNetworkID = "ShareNetworkID"

	// The UUID of the file share type in Hw Cloud Backend
	ShareType = "ShareType"

	// UUID of the snapshot from which to create the file share in Hw Cloud Backend
	SnapshotID = "SnapshotID"

	// The encryption key ID
	KmsKeyId = "KmsKeyId"

	// The encryption key alias
	KmsKeyName = "KmsKeyName"

	// The tenant domain ID
	DomainId = "DomainId"

	// The encryption key ID in Hw Cloud Backend
	SfsCryptKeyId = "#sfs_crypt_key_id"

	// The encryption key alias in Hw Cloud Backend
	SfsCryptAlias = "#sfs_crypt_alias"

	// The tenant domain ID in Hw Cloud Backend
	SfsCryptDomainId = "#sfs_crypt_domain_id"

	// The key to specify FS Type
	HwSFSType = "HwSFSType"

	// The SFS type supported in Hw Cloud Backend
	HwSFS = "SFS"

	// The SFS "available" state in Hw Cloud Backend
	AvailableState = "available"

	// The access rule "cert" type in Hw Cloud Backend
	CertAccessType = "cert"

	// The access level "rw" to the file share in Hw Cloud Backend
	RWAccessLevel = "rw"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type HwSfsAdapter

type HwSfsAdapter struct {
	Client *golangsdk.ServiceClient
}

func (*HwSfsAdapter) CreateFileShare

func (*HwSfsAdapter) DeleteFileShare

func (*HwSfsAdapter) GetFileShare

func (*HwSfsAdapter) ListFileShare

func (*HwSfsAdapter) ParseFileShare

func (hd *HwSfsAdapter) ParseFileShare(share *shares.Share) (*pb.FileShare, error)

func (*HwSfsAdapter) UpdateFileShareVPC

func (hd *HwSfsAdapter) UpdateFileShareVPC(client *golangsdk.ServiceClient, share *shares.Share, fs *pb.FileShare)

func (*HwSfsAdapter) UpdatefileShare

Jump to

Keyboard shortcuts

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