renderer

package
v0.0.0-...-094db46 Latest Latest
Warning

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

Go to latest
Published: Oct 17, 2021 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PrintDockerfile

func PrintDockerfile(w io.Writer, tmplfile string, cfgfile []string) error

PrintDockerfile will write tmplfile to w with the cfgfile values provided.

func RenderCargo

func RenderCargo(path string, manifestNames []string) error

RenderCargo reads and parses path and then builds and writes each manifest.

func RenderManifest

func RenderManifest(man apiv1.Manifest, cfg apiv1.Config, dir string) error

RenderManifest appends cfg and config values and files provided and then writes the template.

func WriteScaffolding

func WriteScaffolding(rootPath, cargofile, tmplfile, configfile, outputfile string) error

WriteScaffolding creates the scaffolding for the end user to modify.

Types

This section is empty.

Jump to

Keyboard shortcuts

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