node

package
v1.4.6 Latest Latest
Warning

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

Go to latest
Published: Nov 20, 2021 License: AGPL-3.0 Imports: 26 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddDriveFinalizersWithConflictRetry added in v1.0.0

func AddDriveFinalizersWithConflictRetry(ctx context.Context, csiDriveName string, finalizers []string, crdVersion string) error

AddDriveFinalizersWithConflictRetry - appends a finalizer to the csidrive's finalizers list

func CheckStatusEquality added in v1.2.1

func CheckStatusEquality(existingConditions, newConditions []metav1.Condition) bool

func GetDiskFS added in v1.0.0

func GetDiskFS(devicePath string) (string, error)

GetDiskFS - To get the filesystem of a block sys.ce

func GetLatestStatus added in v1.0.0

func GetLatestStatus(statusXs []metav1.Condition) metav1.Condition

GetLatestStatus gets the latest condition by time

func RemoveDriveFinalizerWithConflictRetry added in v1.0.0

func RemoveDriveFinalizerWithConflictRetry(ctx context.Context, csiDriveName string, finalizer, crdVersion string) error

RemoveDriveFinalizerWithConflictRetry - removes a finalizer from the csidrive's finalizers list

Types

type NodeServer

type NodeServer struct {
	NodeID   string
	Identity string
	Rack     string
	Zone     string
	Region   string
	// contains filtered or unexported fields
}

func NewNodeServer

func NewNodeServer(ctx context.Context, identity, nodeID, rack, zone, region string) (*NodeServer, error)

func (*NodeServer) NodeExpandVolume

func (*NodeServer) NodeGetCapabilities

func (*NodeServer) NodeGetInfo

func (*NodeServer) NodeGetVolumeStats

func (*NodeServer) NodePublishVolume

func (*NodeServer) NodeStageVolume

func (*NodeServer) NodeUnpublishVolume

func (*NodeServer) NodeUnstageVolume

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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