template

package
v0.0.0-...-04f2983 Latest Latest
Warning

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

Go to latest
Published: May 5, 2021 License: Apache-2.0, Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Fetch

func Fetch(config vc.VMConfig, templatePath string) (base.FactoryBase, error)

Fetch finds and returns a pre-built template factory. TODO: save template metadata and fetch from storage.

func New

func New(ctx context.Context, config vc.VMConfig, templatePath string) (base.FactoryBase, error)

New creates a new VM template factory.

func SetLogger

func SetLogger(ctx context.Context, logger logrus.FieldLogger)

SetLogger sets the logger for the factory template.

Types

This section is empty.

Jump to

Keyboard shortcuts

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