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 ¶
View Source
var ErrFrozenLockfileFileDependency = gerrors.New(
"cannot use frozen lockfile for file dependency, re-add replacement or run without --frozen-lockfile")
ErrFrozenLockfileFileDependency is returned when a frozen lockfile references a file dependency that can no longer be resolved.
View Source
var ErrUnsupportedMajorVersionUpgrade = gerrors.New("unsupported major version upgrade for module")
ErrUnsupportedMajorVersionUpgrade is returned when a module requires a major version upgrade that is not supported.
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, resolverRoutines int, ) *Command
NewCommand creates a new stencil command.
Click to show internal directories.
Click to hide internal directories.