internal

package
v1.9.0-alpha.3 Latest Latest
Warning

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

Go to latest
Published: Nov 25, 2024 License: MPL-2.0 Imports: 19 Imported by: 0

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

BlockDeviceWipe implements storage.StorageService.

It allows to wipe unused block devices, for blockdevices in use (volumes), use a different method.

func (*Server) Disks

func (s *Server) Disks(ctx context.Context, in *emptypb.Empty) (reply *storage.DisksResponse, err error)

Disks implements storage.StorageService.

Jump to

Keyboard shortcuts

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