server

package
v1.0.37 Latest Latest
Warning

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

Go to latest
Published: Aug 8, 2026 License: MIT Imports: 39 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Version = "dev"

Version is the server's release string, set via -ldflags "-X server.Version=v1.x.y" at build time.

Functions

func RunWithFlags

func RunWithFlags(opts ...Option) error

Types

type Option

type Option func(*cfg)

func WithBackupScheduler added in v1.0.11

func WithBackupScheduler(bs extension.BackupScheduler) Option

WithBackupScheduler registers a commercial BackupScheduler. When set, the server starts it after wiring and runs it until the run context is cancelled, handing it a BackupController so it can list backup-eligible instances and enqueue backup jobs. The core ships no scheduling behavior of its own.

func WithBlobStore

func WithBlobStore(bs extension.BlobStore) Option

func WithSidecarInjector added in v1.0.8

func WithSidecarInjector(si extension.SidecarInjector) Option

WithSidecarInjector registers a SidecarInjector that is called to inject sidecar containers into rendered pod YAML before it is applied.

Jump to

Keyboard shortcuts

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