render

package
v0.21.0 Latest Latest
Warning

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

Go to latest
Published: Oct 26, 2018 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ProgressRead   = daemontypes.StringProgress("render", "reading application release")
	ProgressRender = daemontypes.StringProgress("render", "rendering assets and configuration values")
)

Functions

func NewFactory

func NewFactory(
	logger log.Logger,
	fs afero.Afero,
	ui cli.Ui,
	stateManager state.Manager,
	planner pkgplanner.Planner,
	resolver config.Resolver,
	status daemontypes.StatusReceiver,
) lifecycle.Renderer

func NoConfigRenderer

func NoConfigRenderer(render noconfigrenderer) lifecycle.Renderer

Types

type Factory

type Factory func() *renderer

Factory gets a *renderer and implements lifecycle.Renderer

func (Factory) Execute

func (f Factory) Execute(ctx context.Context, release *api.Release, step *api.Render) error

func (Factory) WithPlanner

func (f Factory) WithPlanner(plannerFactory pkgplanner.Planner) lifecycle.Renderer

func (Factory) WithStatusReceiver

func (f Factory) WithStatusReceiver(receiver daemontypes.StatusReceiver) lifecycle.Renderer

Jump to

Keyboard shortcuts

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