Help us shape the future of Go! Take the 2026 Go Developer Survey

providers

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Jul 8, 2026 License: MIT Imports: 31 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ProvideAutoStandbyController added in v0.1.0

func ProvideAutoStandbyController(instanceManager instances.Manager, log *slog.Logger) *autostandby.Controller

ProvideAutoStandbyController provides the Linux auto-standby controller.

func ProvideBuildManager

func ProvideBuildManager(p *paths.Paths, cfg *config.Config, instanceManager instances.Manager, volumeManager volumes.Manager, imageManager images.Manager, log *slog.Logger) (builds.Manager, error)

ProvideBuildManager provides the build manager

func ProvideConfig

func ProvideConfig() *config.Config

ProvideConfig provides the application configuration. Panics if configuration is invalid (prevents startup with bad config). Config path can be specified via CONFIG_PATH env var or defaults to platform-specific locations.

func ProvideContext

func ProvideContext(log *slog.Logger) context.Context

ProvideContext provides a context with logger attached

func ProvideDeviceManager

func ProvideDeviceManager(p *paths.Paths) devices.Manager

ProvideDeviceManager provides the device manager

func ProvideGuestMemoryController added in v0.1.0

func ProvideGuestMemoryController(instanceManager instances.Manager, cfg *config.Config, log *slog.Logger) (guestmemory.Controller, error)

ProvideGuestMemoryController provides the active ballooning controller.

func ProvideHealthCheckController added in v0.1.0

func ProvideHealthCheckController(instanceManager instances.Manager, log *slog.Logger) *instances.HealthCheckController

func ProvideImageManager

func ProvideImageManager(p *paths.Paths, cfg *config.Config) (images.Manager, error)

ProvideImageManager provides the image manager

func ProvideIngressManager

func ProvideIngressManager(p *paths.Paths, cfg *config.Config, instanceManager instances.Manager) (ingress.Manager, error)

ProvideIngressManager provides the ingress manager

func ProvideInstanceManager

func ProvideInstanceManager(p *paths.Paths, cfg *config.Config, imageManager images.Manager, systemManager system.Manager, networkManager network.Manager, deviceManager devices.Manager, volumeManager volumes.Manager) (instances.Manager, error)

ProvideInstanceManager provides the instance manager

func ProvideLogger

func ProvideLogger(p *paths.Paths) *slog.Logger

ProvideLogger provides a structured logger with subsystem-specific levels. Wraps with InstanceLogHandler to automatically write logs with "id" attribute to per-instance hypeman.log files.

func ProvideNetworkManager

func ProvideNetworkManager(p *paths.Paths, cfg *config.Config) network.Manager

ProvideNetworkManager provides the network manager

func ProvidePaths

func ProvidePaths(cfg *config.Config) *paths.Paths

ProvidePaths provides the paths abstraction

func ProvideRegistry

func ProvideRegistry(p *paths.Paths, imageManager images.Manager) (*registry.Registry, error)

ProvideRegistry provides the OCI registry for image push

func ProvideResourceManager

func ProvideResourceManager(ctx context.Context, cfg *config.Config, p *paths.Paths, imageManager images.Manager, instanceManager instances.Manager, volumeManager volumes.Manager) (*resources.Manager, error)

ProvideResourceManager provides the resource manager for capacity tracking

func ProvideSystemManager

func ProvideSystemManager(p *paths.Paths) system.Manager

ProvideSystemManager provides the system manager

func ProvideUFFDGraduationController added in v0.2.0

func ProvideUFFDGraduationController(instanceManager instances.Manager, cfg uffdgraduate.Config, log *slog.Logger) *uffdgraduate.Controller

ProvideUFFDGraduationController builds the controller, or returns nil when the feature is disabled or no UFFD pager is configured (file backend / non-linux).

func ProvideVMMetricsManager added in v0.0.6

func ProvideVMMetricsManager(instanceManager instances.Manager, cfg *config.Config, log *slog.Logger) (*vm_metrics.Manager, error)

ProvideVMMetricsManager provides the VM metrics manager for utilization tracking

func ProvideVolumeManager

func ProvideVolumeManager(p *paths.Paths, cfg *config.Config) (volumes.Manager, error)

ProvideVolumeManager provides the volume manager

Types

This section is empty.

Jump to

Keyboard shortcuts

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