factory

package
v0.61.1 Latest Latest
Warning

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

Go to latest
Published: Sep 30, 2026 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package factory configures OCI state archives from environment configuration.

Index

Constants

View Source
const (
	// BackendEnvVar accepts "oci" or an unset value.
	BackendEnvVar = "RADIUS_STATE_BACKEND"

	// ArchivePlainHTTPEnvVar enables HTTP for a local OCI registry.
	ArchivePlainHTTPEnvVar = "RADIUS_ARCHIVE_PLAIN_HTTP"

	// StateRegistryEnvVar configures the OCI repository used by rad startup and shutdown.
	StateRegistryEnvVar = "RADIUS_STATE_REGISTRY"

	// GraphRegistryEnvVar configures the OCI repository used by modeled graph output.
	GraphRegistryEnvVar = "RADIUS_GRAPH_REGISTRY"
)

Variables

This section is empty.

Functions

func NewGraphArchive

func NewGraphArchive(registry string) statearchive.Archive

NewGraphArchive returns the OCI archive for durable modeled graph output. Configuration errors are deferred until Archive.Open so local graph output and unrelated commands do not require a registry.

func NewStateArchive

func NewStateArchive(registry string) statearchive.Archive

NewStateArchive returns the OCI archive for rad startup and rad shutdown. Configuration errors are deferred until Archive.Open.

Types

This section is empty.

Jump to

Keyboard shortcuts

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