debug

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Dec 17, 2025 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Server

type Server struct {
	Log   *slog.Logger
	NetDB *netdb.NetDB
	EAC   *entityserver_v1alpha.EntityAccessClient
}

func NewServer

func NewServer(log *slog.Logger, netdbPath string, eac *entityserver_v1alpha.EntityAccessClient) (*Server, error)

func (*Server) Close

func (s *Server) Close() error

func (*Server) Gc

func (s *Server) Gc(ctx context.Context, state *debug_v1alpha.NetDBGc) error

func (*Server) ListLeases

func (s *Server) ListLeases(ctx context.Context, state *debug_v1alpha.NetDBListLeases) error

func (*Server) ReleaseAll

func (s *Server) ReleaseAll(ctx context.Context, state *debug_v1alpha.NetDBReleaseAll) error

func (*Server) ReleaseIP

func (s *Server) ReleaseIP(ctx context.Context, state *debug_v1alpha.NetDBReleaseIP) error

func (*Server) ReleaseSubnet

func (s *Server) ReleaseSubnet(ctx context.Context, state *debug_v1alpha.NetDBReleaseSubnet) error

func (*Server) Status

func (s *Server) Status(ctx context.Context, state *debug_v1alpha.NetDBStatus) error

Jump to

Keyboard shortcuts

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