build

package
v0.0.0-...-69dc812 Latest Latest
Warning

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

Go to latest
Published: Feb 29, 2024 License: GPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateZip

func CreateZip(dir string, zipPath string)

CreateZip creates a zip archive containing all files and folders except: - .git - .gitignore - greengrass-build/ - recipe.yaml - gdk-config.json

func FillRecipe

func FillRecipe(bytes []byte, gdkconf confparser.Config) string

FillRecipe fills the recipe.yaml with the data from gdk-config.`json` TO escape, use \{COMPONENT_NAME\} it replaces fallowing items: {COMPONENT_NAME} -> name from gdk-config.`json` {COMPONENT_VERSION} -> version from gdk-config.`json` {COMPONENT_AUTHOR} -> author from gdk-config.`json` {BUCKET} -> bucket from gdk-config.`json` {REGION} -> region from gdk-config.`json`

Types

This section is empty.

Jump to

Keyboard shortcuts

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