bulk

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Jul 21, 2026 License: GPL-3.0 Imports: 10 Imported by: ? 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

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

func Run(opts Options, logger *slog.Logger) error

Run generates a bulk wrapper module from an existing module's config.

Types

type Options

type Options struct {
	// ModuleRef is the child module source: local path or git URL,
	// same forms as `loom run`.
	ModuleRef string
	// OutputDir is the directory to write the generated loom.jsonnet.
	OutputDir string
	// Name overrides the wrapper module name (default: bulk-<childName>).
	Name string
	// ItemsFile is an optional YAML file with a list of param sets.
	ItemsFile string
	// NameParam is an optional child param whose value names each entry
	// (default: the item index).
	NameParam string
}

Options configures bulk wrapper generation.

Jump to

Keyboard shortcuts

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