providers

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Nov 13, 2026 License: MIT Imports: 34 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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, cfg *config.Config, 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, builderManager builders.Manager, imageManager images.Manager, networkManager network.Manager, log *slog.Logger) (builds.Manager, error)

ProvideBuildManager provides the build manager

func ProvideBuilderManager added in v0.3.0

func ProvideBuilderManager(p *paths.Paths, cfg *config.Config, instanceManager instances.Manager, volumeManager volumes.Manager, log *slog.Logger) (builders.Manager, error)

ProvideBuilderManager provides the builders 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 ProvidePushManager added in v0.4.0

func ProvidePushManager(p *paths.Paths, cfg *config.Config, imageManager images.Manager) (imagepush.Manager, error)

ProvidePushManager provides the manager for outbound image pushes to remote registries. Credentials default to the server's Docker keychain; API callers can instead lend per-request credentials, which the manager borrows for the duration of a single push without persisting them.

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 ProvideVGPUSentinelController added in v0.4.0

func ProvideVGPUSentinelController(instanceManager instances.Manager, log *slog.Logger) (*instances.VGPUSentinelController, error)

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