Documentation ¶
Overview ¶
Package internal contains server implementation.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Server ¶
type Server struct { storage.UnimplementedStorageServiceServer Controller runtime.Controller MaintenanceMode bool }
Server implements storage.StorageService.
It is only kept here for compatibility purposes, proper API is to query `block.Disk` resources.
func (*Server) BlockDeviceWipe ¶
func (s *Server) BlockDeviceWipe(ctx context.Context, req *storage.BlockDeviceWipeRequest) (*storage.BlockDeviceWipeResponse, error)
BlockDeviceWipe implements storage.StorageService.
It allows to wipe unused block devices, for blockdevices in use (volumes), use a different method.
Click to show internal directories.
Click to hide internal directories.