rendering

package
v0.11.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RenderProject

func RenderProject(ctx context.Context, project *model.ContainerHiveProject, targetPath string) error

RenderProject renders all image Dockerfiles and test configs into the target directory.

func ResolveAliases

func ResolveAliases(tags []string) map[string]string

ResolveAliases computes the alias map for a set of tags, ensuring each alias points to the highest version that claims it.

func ResolveLatestAlias added in v0.0.5

func ResolveLatestAlias(tags []string, latestAlias string) (string, error)

ResolveLatestAlias returns the tag that latestAlias should point to — the highest semantic version found in tags. Returns ("", nil) if latestAlias is empty. Returns ("", error) if latestAlias is set but no tags parse as semantic versions.

Types

This section is empty.

Jump to

Keyboard shortcuts

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