installcreate

package
v0.19.1197 Latest Latest
Warning

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

Go to latest
Published: Sep 21, 2026 License: AGPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EligibleGroups

EligibleGroups filters a branch config's install groups down to those that can be applied during install creation.

func GroupLabels

func GroupLabels(group *models.AppAppBranchInstallGroup) (map[string]string, error)

GroupLabels returns the labels an install must carry to join a group. Only label-based groups with fully concrete match labels can be selected at creation time, since a wildcard has no single value to apply.

func MergeGroupLabels

func MergeGroupLabels(into, groupLabels map[string]string) error

MergeGroupLabels applies a group's labels onto an install's labels, refusing to overwrite a value the user set explicitly.

func ResolveInputConfig

func ResolveInputConfig(ctx context.Context, api nuon.Client, appID, appBranchID string) (*models.AppAppInputConfig, error)

ResolveInputConfig returns the input config belonging to the app config that install creation will pin. Apps without branches retain the legacy app-wide latest-input behavior.

Types

This section is empty.

Jump to

Keyboard shortcuts

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