iacfiles

package
v0.0.0-...-a99bcb5 Latest Latest
Warning

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

Go to latest
Published: Dec 2, 2026 License: OSL-3.0 Imports: 1 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package iacfiles embeds federation IaC templates into the binary. Templates are rendered by handler_federation.go with per-account substitutions.

Security note: the templates use text/template, which performs no shell escaping. Fields such as ContactEmail, AccountName, CUDlyAPIURL, and AccountSlug originate partly from self-service registration payloads (user- controlled) and are interpolated directly into generated bash scripts. The renderer (internal/api/handler_federation.go) is responsible for validating and/or quoting these fields before calling template.Execute so that a value containing shell metacharacters (e.g. "; curl evil;") cannot inject commands into the script shown to the operator.

Index

Constants

This section is empty.

Variables

View Source
var Templates embed.FS

Templates holds all federation IaC template files.

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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