stencil

package module
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Feb 21, 2022 License: Apache-2.0 Imports: 0 Imported by: 0

README

stencil

go.dev reference Generated via Bootstrap

microservice lifecycle manager

Contributing

Please read the CONTRIBUTING.md document for guidelines on developing and contributing changes.

High-level Overview

Creating a new service

TODO

For now you can simply create a service.yaml and add a module to the list.

Writing Templates

Templates are written via go-template syntax. Simply create a new module repository with a manifest.yaml and create a .tpl file to have it be automatically included / rendered. By default a file is written to the same place as the name it has in the template repository. This can be changed with the file.SetPath function.

Functions

All available template functions are able to be found on pkg.go.dev.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
cmd
docs module
internal
vfs
Package vfs implements a layered filesystem for use with billy.Filesystem
Package vfs implements a layered filesystem for use with billy.Filesystem
pkg
codegen
Package codegen has code generators for Go projects This is intended for use with stencil but can also be used outside of it.
Package codegen has code generators for Go projects This is intended for use with stencil but can also be used outside of it.
configuration
Package configuration implements configuration loading logic for stencil repositories and template repositories
Package configuration implements configuration loading logic for stencil repositories and template repositories
extensions
Description: Implements the extension caller interface for interacting with extensions.
Description: Implements the extension caller interface for interacting with extensions.
extensions/apiv1
Description: Implements a plugin Implementation for the extensions host.
Description: Implements a plugin Implementation for the extensions host.
functions
Package functions provides funcutions to stencil templates.
Package functions provides funcutions to stencil templates.
gitauth
Package gitauth provides helpers for setting up auth
Package gitauth provides helpers for setting up auth
stencil
Package stencil provides an entry point for interacting with Stencil.
Package stencil provides an entry point for interacting with Stencil.

Jump to

Keyboard shortcuts

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