stencil

package
v1.38.0 Latest Latest
Warning

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

Go to latest
Published: Mar 8, 2024 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Overview

Package stencil implements the stencil command, which is essentially a thing wrapper around the codegen package which does most of the heavy lifting.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Command

type Command struct {
	// contains filtered or unexported fields
}

Command is a thin wrapper around the codegen package that implements the "stencil" command.

func NewCommand

func NewCommand(log logrus.FieldLogger, s *configuration.ServiceManifest,
	dryRun, frozen, usePrerelease, allowMajorVersionUpgrades bool) *Command

NewCommand creates a new stencil command

func (*Command) Run

func (c *Command) Run(ctx context.Context) error

Run fetches dependencies of the root modules and builds the layered filesystem, after that GenerateFiles is called to actually walk the filesystem and render the templates. This step also does minimal post-processing of the dependencies manifests

Jump to

Keyboard shortcuts

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