runtime

package
v0.9.1 Latest Latest
Warning

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

Go to latest
Published: Nov 11, 2026 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Context

type Context struct {
	Environment string
	ClusterName string

	// ---- Secrets (names) ----
	GitSSHSecretName         string
	ContainerRegistrySecret  string
	CrossplaneProviderSecret string
	WebhookURLSecret         string

	// ---- Explicit URLs ----
	GitHubWebhookURL string

	Extra map[string]string
}

Context holds platform runtime configuration (secret names, cluster identity, webhook URLs) sourced from the process environment.

func FromEnv

func FromEnv() *Context

FromEnv builds a Context from BLANKETOPS_* environment variables, falling back to platform defaults for anything unset.

Jump to

Keyboard shortcuts

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