ephemeral

package
v0.10.0 Latest Latest
Warning

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

Go to latest
Published: Jun 10, 2026 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GCConfig

type GCConfig struct {
	CheckInterval time.Duration
}

func DefaultGCConfig

func DefaultGCConfig() GCConfig

type GCController

type GCController struct {
	Log    *slog.Logger
	EAC    *entityserver_v1alpha.EntityAccessClient
	Config GCConfig
	// contains filtered or unexported fields
}

func (*GCController) RunGC

func (c *GCController) RunGC(ctx context.Context) (*GCResult, error)

RunGC scans for expired ephemeral versions and deletes them along with their associated sandbox pools.

func (*GCController) Start

func (c *GCController) Start(ctx context.Context)

func (*GCController) Stop

func (c *GCController) Stop()

type GCResult

type GCResult struct {
	DeletedVersions int
	FailedVersions  int
	TotalScanned    int
}

Jump to

Keyboard shortcuts

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