templates

package
v0.0.0-...-d7a6171 Latest Latest
Warning

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

Go to latest
Published: Sep 9, 2019 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GKETemplates

type GKETemplates struct {
	Templates []*TerraformTemplate
}

func NewGKETemplates

func NewGKETemplates(tfType TFType) (*GKETemplates, error)

func (*GKETemplates) CopyTo

func (gkeTemplates *GKETemplates) CopyTo(allowOverwrite bool, dst string, cluster *api.GkeTF) error

CopyTo is used to copy all of the templates in the template directory to the given destination

type TFType

type TFType int
const (
	CFT     TFType = 0
	VANILLA TFType = 1
)

func (TFType) String

func (templateType TFType) String() string

type TerraformTemplate

type TerraformTemplate struct {
	FileName   string
	GoTemplate string
}

Jump to

Keyboard shortcuts

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