install

package
v0.0.7-alpha Latest Latest
Warning

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

Go to latest
Published: Aug 13, 2026 License: AGPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BootstrapConfigRevision

func BootstrapConfigRevision(platform PlatformConfig, shared SharedComputeConfig) string

BootstrapConfigRevision changes when a pod restart is required to load updated Secret-backed bootstrap configuration. It reveals none of the stored credentials.

func ReadManifest

func ReadManifest(name string) ([]byte, error)

func RenderManifest

func RenderManifest(name string, vals TemplateValues) ([]byte, error)

Types

type PlatformConfig

type PlatformConfig struct {
	BaseDomain         string
	TLSEnabled         bool
	CloudflareAPIToken string
	ACMEEnvironment    string
}

func (PlatformConfig) Enabled

func (c PlatformConfig) Enabled() bool

type SharedComputeConfig

type SharedComputeConfig struct {
	ClusterAPIURL string
	ClusterCAData string
	ClusterToken  string
}

func (SharedComputeConfig) IsSet

func (c SharedComputeConfig) IsSet() bool

type TemplateValues

type TemplateValues struct {
	DBPassword     string
	JWTSecret      string
	EncryptionKey  string
	AdminEmail     string
	AdminPassword  string
	Domain         string
	APIServerImage string
	DBWorkloadType string
	StackUID       string
	TLSEnabled     bool
	Platform       PlatformConfig
	SharedCompute  SharedComputeConfig
	// GitHub OAuth login credentials; empty leaves login disabled.
	GitHubClientID     string
	GitHubClientSecret string
	// Platform-wide GitHub App; empty leaves each org creating its own.
	GitHubAppID            string
	GitHubAppSlug          string
	GitHubAppPrivateKey    string
	GitHubAppWebhookSecret string
}

Jump to

Keyboard shortcuts

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