frontend

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Feb 22, 2023 License: Apache-2.0 Imports: 11 Imported by: 4

Documentation

Overview

Package frontend implememnts the FrontEnd APIs (host facing) of the storage Server

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Server

Server represents the Server object

func (*Server) CreateNVMeController

func (s *Server) CreateNVMeController(ctx context.Context, in *pb.CreateNVMeControllerRequest) (*pb.NVMeController, error)

CreateNVMeController creates an NVMe controller

func (*Server) CreateNVMeNamespace

func (s *Server) CreateNVMeNamespace(ctx context.Context, in *pb.CreateNVMeNamespaceRequest) (*pb.NVMeNamespace, error)

CreateNVMeNamespace creates an NVMe namespace

func (*Server) CreateNVMeSubsystem

func (s *Server) CreateNVMeSubsystem(ctx context.Context, in *pb.CreateNVMeSubsystemRequest) (*pb.NVMeSubsystem, error)

CreateNVMeSubsystem creates an NVMe Subsystem

func (*Server) CreateVirtioBlk

func (s *Server) CreateVirtioBlk(ctx context.Context, in *pb.CreateVirtioBlkRequest) (*pb.VirtioBlk, error)

CreateVirtioBlk creates a Virtio block device

func (*Server) CreateVirtioScsiController

func (s *Server) CreateVirtioScsiController(ctx context.Context, in *pb.CreateVirtioScsiControllerRequest) (*pb.VirtioScsiController, error)

CreateVirtioScsiController creates a Virtio SCSI controller

func (*Server) CreateVirtioScsiLun

func (s *Server) CreateVirtioScsiLun(ctx context.Context, in *pb.CreateVirtioScsiLunRequest) (*pb.VirtioScsiLun, error)

CreateVirtioScsiLun creates a Virtio SCSI LUN

func (*Server) DeleteNVMeController

func (s *Server) DeleteNVMeController(ctx context.Context, in *pb.DeleteNVMeControllerRequest) (*emptypb.Empty, error)

DeleteNVMeController deletes an NVMe controller

func (*Server) DeleteNVMeNamespace

func (s *Server) DeleteNVMeNamespace(ctx context.Context, in *pb.DeleteNVMeNamespaceRequest) (*emptypb.Empty, error)

DeleteNVMeNamespace deletes an NVMe namespace

func (*Server) DeleteNVMeSubsystem

func (s *Server) DeleteNVMeSubsystem(ctx context.Context, in *pb.DeleteNVMeSubsystemRequest) (*emptypb.Empty, error)

DeleteNVMeSubsystem deletes an NVMe Subsystem

func (*Server) DeleteVirtioBlk

func (s *Server) DeleteVirtioBlk(ctx context.Context, in *pb.DeleteVirtioBlkRequest) (*emptypb.Empty, error)

DeleteVirtioBlk deletes a Virtio block device

func (*Server) DeleteVirtioScsiController

func (s *Server) DeleteVirtioScsiController(ctx context.Context, in *pb.DeleteVirtioScsiControllerRequest) (*emptypb.Empty, error)

DeleteVirtioScsiController deletes a Virtio SCSI controller

func (*Server) DeleteVirtioScsiLun

func (s *Server) DeleteVirtioScsiLun(ctx context.Context, in *pb.DeleteVirtioScsiLunRequest) (*emptypb.Empty, error)

DeleteVirtioScsiLun deletes a Virtio SCSI LUN

func (*Server) GetNVMeController

func (s *Server) GetNVMeController(ctx context.Context, in *pb.GetNVMeControllerRequest) (*pb.NVMeController, error)

GetNVMeController gets an NVMe controller

func (*Server) GetNVMeNamespace

func (s *Server) GetNVMeNamespace(ctx context.Context, in *pb.GetNVMeNamespaceRequest) (*pb.NVMeNamespace, error)

GetNVMeNamespace gets an NVMe namespace

func (*Server) GetNVMeSubsystem

func (s *Server) GetNVMeSubsystem(ctx context.Context, in *pb.GetNVMeSubsystemRequest) (*pb.NVMeSubsystem, error)

GetNVMeSubsystem gets NVMe Subsystems

func (*Server) GetVirtioBlk

func (s *Server) GetVirtioBlk(ctx context.Context, in *pb.GetVirtioBlkRequest) (*pb.VirtioBlk, error)

GetVirtioBlk gets a Virtio block device

func (*Server) GetVirtioScsiController

func (s *Server) GetVirtioScsiController(ctx context.Context, in *pb.GetVirtioScsiControllerRequest) (*pb.VirtioScsiController, error)

GetVirtioScsiController gets a Virtio SCSI controller

func (*Server) GetVirtioScsiLun

func (s *Server) GetVirtioScsiLun(ctx context.Context, in *pb.GetVirtioScsiLunRequest) (*pb.VirtioScsiLun, error)

GetVirtioScsiLun gets a Virtio SCSI LUN

func (*Server) ListNVMeControllers

ListNVMeControllers lists NVMe controllers

func (*Server) ListNVMeNamespaces

ListNVMeNamespaces lists NVMe namespaces

func (*Server) ListNVMeSubsystems

ListNVMeSubsystems lists NVMe Subsystems

func (*Server) ListVirtioBlks

func (s *Server) ListVirtioBlks(ctx context.Context, in *pb.ListVirtioBlksRequest) (*pb.ListVirtioBlksResponse, error)

ListVirtioBlks lists Virtio block devices

func (*Server) ListVirtioScsiControllers

ListVirtioScsiControllers lists Virtio SCSI controllers

func (*Server) ListVirtioScsiLuns

ListVirtioScsiLuns lists Virtio SCSI LUNs

func (*Server) NVMeControllerStats

NVMeControllerStats gets an NVMe controller stats

func (*Server) NVMeNamespaceStats

NVMeNamespaceStats gets an NVMe namespace stats

func (*Server) NVMeSubsystemStats

NVMeSubsystemStats gets NVMe Subsystem stats

func (*Server) UpdateNVMeController

func (s *Server) UpdateNVMeController(ctx context.Context, in *pb.UpdateNVMeControllerRequest) (*pb.NVMeController, error)

UpdateNVMeController updates an NVMe controller

func (*Server) UpdateNVMeNamespace

func (s *Server) UpdateNVMeNamespace(ctx context.Context, in *pb.UpdateNVMeNamespaceRequest) (*pb.NVMeNamespace, error)

UpdateNVMeNamespace updates an NVMe namespace

func (*Server) UpdateNVMeSubsystem

func (s *Server) UpdateNVMeSubsystem(ctx context.Context, in *pb.UpdateNVMeSubsystemRequest) (*pb.NVMeSubsystem, error)

UpdateNVMeSubsystem updates an NVMe Subsystem

func (*Server) UpdateVirtioBlk

func (s *Server) UpdateVirtioBlk(ctx context.Context, in *pb.UpdateVirtioBlkRequest) (*pb.VirtioBlk, error)

UpdateVirtioBlk updates a Virtio block device

func (*Server) UpdateVirtioScsiController

func (s *Server) UpdateVirtioScsiController(ctx context.Context, in *pb.UpdateVirtioScsiControllerRequest) (*pb.VirtioScsiController, error)

UpdateVirtioScsiController updates a Virtio SCSI controller

func (*Server) UpdateVirtioScsiLun

func (s *Server) UpdateVirtioScsiLun(ctx context.Context, in *pb.UpdateVirtioScsiLunRequest) (*pb.VirtioScsiLun, error)

UpdateVirtioScsiLun updates a Virtio SCSI LUN

func (*Server) VirtioBlkStats

func (s *Server) VirtioBlkStats(ctx context.Context, in *pb.VirtioBlkStatsRequest) (*pb.VirtioBlkStatsResponse, error)

VirtioBlkStats gets a Virtio block device stats

func (*Server) VirtioScsiControllerStats

VirtioScsiControllerStats gets a Virtio SCSI controller stats

func (*Server) VirtioScsiLunStats

VirtioScsiLunStats gets a Virtio SCSI LUN stats

Jump to

Keyboard shortcuts

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