impl

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Jan 8, 2025 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DiskIDs

type DiskIDs struct {
	// Map of Disk ID types and Disk ID values
	Page83       string
	SerialNumber string
}

type DiskLocation

type DiskLocation struct {
	Adapter string
	Bus     string
	Target  string
	LUNID   string
}

type DiskStatsRequest

type DiskStatsRequest struct {
	DiskID string
}

type DiskStatsResponse

type DiskStatsResponse struct {
	DiskSize int64
}

type GetAttachStateRequest

type GetAttachStateRequest struct {
	// Disk device ID of the disk
	DiskID string
}

type GetAttachStateResponse

type GetAttachStateResponse struct {
	// Online state of the disk. true for online, false for offline
	IsOnline bool
}

type GetDiskNumberByNameRequest

type GetDiskNumberByNameRequest struct {
	// Disk name is the page83 ID of the disk
	DiskName string
}

type GetDiskNumberByNameResponse

type GetDiskNumberByNameResponse struct {
	DiskNumber uint32
}

type GetDiskStateRequest

type GetDiskStateRequest struct {
	// Disk device ID of the disk
	DiskNumber uint32
}

type GetDiskStateResponse

type GetDiskStateResponse struct {
	// Online state of the disk. true for online, false for offline
	IsOnline bool
}

type GetDiskStatsRequest

type GetDiskStatsRequest struct {
	DiskNumber uint32
}

type GetDiskStatsResponse

type GetDiskStatsResponse struct {
	TotalBytes int64
}

type ListDiskIDsRequest

type ListDiskIDsRequest struct {
}

type ListDiskIDsResponse

type ListDiskIDsResponse struct {
	// Map of disk device numbers and IDs associated with each disk device
	DiskIDs map[uint32]*DiskIDs
}

type ListDiskLocationsRequest

type ListDiskLocationsRequest struct {
}

type ListDiskLocationsResponse

type ListDiskLocationsResponse struct {
	// Map of disk device IDs and <adapter, bus, target, lun ID> associated with each disk device
	DiskLocations map[uint32]*DiskLocation
}

type PartitionDiskRequest

type PartitionDiskRequest struct {
	// Disk device ID of the disk to partition
	DiskNumber uint32
}

type PartitionDiskResponse

type PartitionDiskResponse struct {
}

type RescanRequest

type RescanRequest struct {
}

type RescanResponse

type RescanResponse struct {
}

type SetAttachStateRequest

type SetAttachStateRequest struct {
	// Disk device ID of the disk which state will change
	DiskID string

	// Online state to set for the disk. true for online, false for offline
	IsOnline bool
}

type SetAttachStateResponse

type SetAttachStateResponse struct {
}

type SetDiskStateRequest

type SetDiskStateRequest struct {
	// Disk device ID of the disk which state will change
	DiskNumber uint32

	// Online state to set for the disk. true for online, false for offline
	IsOnline bool
}

type SetDiskStateResponse

type SetDiskStateResponse struct {
}

type VersionedAPI

type VersionedAPI interface {
	Register(grpcServer *grpc.Server)
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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