deployment

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Dec 2, 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 Launcher

type Launcher struct {
	Log *slog.Logger
	EAC *entityserver_v1alpha.EntityAccessClient
}

Launcher watches App entities and proactively creates SandboxPools when ActiveVersion changes. This enables immediate startup for fixed-mode services and pool reuse across deployments.

func (*Launcher) Init

func (l *Launcher) Init(ctx context.Context) error

func (*Launcher) Reconcile

func (l *Launcher) Reconcile(ctx context.Context, app *core_v1alpha.App, meta *entity.Meta) error

type PoolWithEntity

type PoolWithEntity struct {
	Pool   *compute_v1alpha.SandboxPool
	Entity entity.Entity
}

PoolWithEntity wraps a SandboxPool with its entity, allowing updates without re-fetching

Jump to

Keyboard shortcuts

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