internal

package
v1.0.2 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Bootstrap

func Bootstrap(templateWriter TemplateWriter, buildpackName, outputDir, templateDir string, golang Executable) error

func RemoveHyphens

func RemoveHyphens(s string) string

func Title added in v1.0.1

func Title(s string) string

Types

type Config

type Config struct {
	Organization string `yaml:"organization"`
	Buildpack    string `yaml:"buildpack"`
}

type Executable

type Executable interface {
	Execute(pexec.Execution) error
}

type TemplateWriter

type TemplateWriter interface {
	FillOutTemplate(path string, config Config) error
}

type Templatizer

type Templatizer struct{}

func NewTemplatizer

func NewTemplatizer() Templatizer

func (Templatizer) FillOutTemplate

func (tz Templatizer) FillOutTemplate(path string, config Config) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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