Documentation

Overview

Package templates contains functions for template processing of Resource objects.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

Client contains methods to perform template processing of Resource objects.

func New

New creates a new Client with the given specification.

func (*Client) ExecuteAsTemplate

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