templatizer

package
Version: v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Mar 5, 2022 License: GPL-3.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Executor

type Executor interface {
	LoadTemplatizerconfig() (*resources.Config, error)
	ProcessTemplate(mode string, params map[string]interface{}) (string, []string, error)
}

func New

func New(opts ...Option) Executor

type Option

type Option func(*executor)

func WithBasicAuth

func WithBasicAuth(username, password string) Option

func WithBranch

func WithBranch(branch string) Option

func WithConfigPath

func WithConfigPath(configPath string) Option

func WithRepoURL

func WithRepoURL(url string) Option

func WithTemplateMode

func WithTemplateMode(templateMode string) Option

func WithTokenAuth

func WithTokenAuth(token string) Option

Jump to

Keyboard shortcuts

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