supervisor

package
v0.19.1302 Latest Latest
Warning

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

Go to latest
Published: Nov 24, 2026 License: AGPL-3.0 Imports: 5 Imported by: 1 module, 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 supervisor provides the actions-supervisor: a small POSIX shell script Nuon mounts into an image-backed action's container and runs via the image's own /bin/sh. It installs the nuon_output helper and runs the rendered step script. Shipping it as a shell script (rather than a compiled binary) means it runs in any base image that has a shell — which image-backed actions require anyway, since command, inline_contents, and repo-backed scripts all run as a shell script — with no arch/libc/static-linking concerns.

Index

Constants

View Source
const (
	// OutputFilepathEnvVar names the file the nuon_output helper appends to.
	OutputFilepathEnvVar = "NUON_ACTIONS_OUTPUT_FILEPATH"
	// RootEnvVar names the workspace root inside the container.
	RootEnvVar = "NUON_ACTIONS_ROOT"

	// Filename is the supervisor script name written into the workspace.
	Filename = ".nuon-actions-supervisor.sh"
)

Variables

View Source
var Script []byte

Functions

func Write

func Write(dir string) (string, error)

Write writes the embedded supervisor script into dir and returns its path. It refuses to follow a pre-existing symlink at the destination: the script lands in the shared workspace, where a prior image-backed action container could have planted one to redirect the write to a host file.

Types

This section is empty.

Jump to

Keyboard shortcuts

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