hugo: Index | Files

package templates

import ""

Package templates contains functions for template processing of Resource objects.


Package Files


type Client Uses

type Client struct {
    // contains filtered or unexported fields

Client contains methods to perform template processing of Resource objects.

func New Uses

func New(rs *resources.Spec, t tpl.TemplatesProvider) *Client

New creates a new Client with the given specification.

func (*Client) ExecuteAsTemplate Uses

func (c *Client) ExecuteAsTemplate(res resources.ResourceTransformer, targetPath string, data interface{}) (resource.Resource, error)

Package templates imports 6 packages (graph) and is imported by 9 packages. Updated 2020-03-31. Refresh now. Tools for package owners.