templates

package
v1.2.1 Latest Latest
Warning

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

Go to latest
Published: Sep 8, 2025 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RenderBuildHook added in v1.2.1

func RenderBuildHook(params BuildHookParams) ([]byte, error)

func RenderNixConf added in v1.2.1

func RenderNixConf() ([]byte, error)

func RenderProfileFlake

func RenderProfileFlake(values any) ([]byte, error)

func RenderShellHook added in v1.2.1

func RenderShellHook(params ShellHookParams) ([]byte, error)

func RenderWorkspaceFlake

func RenderWorkspaceFlake(values any) ([]byte, error)

Types

type BuildHookParams added in v1.2.1

type BuildHookParams struct {
	ProjectDir  string
	BuildTarget string
	CopyPaths   []string
}

type ShellHookParams added in v1.2.1

type ShellHookParams struct {
	EnvVars   map[string]string
	ShellHook string
}

Jump to

Keyboard shortcuts

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