Documentation ¶
Index ¶
Constants ¶
View Source
const DefaultTemplate = "events"
DefautlTemplate is the default function signature / environmental context of the resultant template. All runtimes are expected to have at least an HTTP Handler ("http") and Cloud Events ("events")
Variables ¶
This section is empty.
Functions ¶
Types ¶
type FileAccessor ¶
FileAccessor encapsulates methods for accessing template files.
type Initializer ¶
type Initializer struct { Verbose bool // contains filtered or unexported fields }
func NewInitializer ¶
func NewInitializer(templates string) *Initializer
NewInitializer with an optional path to extended repositories directory (by default only internally embedded templates are used)
func (*Initializer) Initialize ¶
func (n *Initializer) Initialize(runtime, template string, dest string) error
Click to show internal directories.
Click to hide internal directories.