Documentation
¶
Index ¶
- Variables
- func GetTemplateContent(osType commonParams.OSType, forge params.EndpointType) ([]byte, error)
- func RenderRunnerInstallScript(tpl string, context any) ([]byte, error)
- func RenderRunnerInstallWrapper(ctx context.Context, osType commonParams.OSType, metadataURL, token string) ([]byte, error)
- type InstallContext
- type WrapperContext
Constants ¶
This section is empty.
Variables ¶
View Source
var Userdata embed.FS
Functions ¶
func GetTemplateContent ¶
func GetTemplateContent(osType commonParams.OSType, forge params.EndpointType) ([]byte, error)
Types ¶
type InstallContext ¶
type InstallContext struct {
cloudconfig.InstallRunnerParams
AgentMode bool
AgentDownloadURL string
AgentURL string
AgentToken string
AgentShell string // "true" or "false", used verbatim in TOML config
}
InstallContext wraps the vendored InstallRunnerParams with agent-specific fields so templates can render agent values directly without requiring the runner to fetch metadata and parse it with jq at runtime.
type WrapperContext ¶
Click to show internal directories.
Click to hide internal directories.