templates

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Dec 15, 2018 License: Apache-2.0 Imports: 3 Imported by: 2

Documentation

Overview

Package templates deals with creating template assets that will be used by other assets

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Templates

type Templates struct {
	FileList []*asset.File
}

Templates generates the dependent unrendered template files

func (*Templates) Dependencies

func (m *Templates) Dependencies() []asset.Asset

Dependencies returns all of the dependencies directly needed by a Templates asset.

func (*Templates) Files

func (m *Templates) Files() []*asset.File

Files returns the files generated by the asset.

func (*Templates) Generate

func (m *Templates) Generate(dependencies asset.Parents) error

Generate generates the respective operator config.yml files

func (*Templates) Load

func (m *Templates) Load(f asset.FileFetcher) (bool, error)

Load returns the manifests asset from disk.

func (*Templates) Name

func (m *Templates) Name() string

Name returns a human friendly name for the templates asset

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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