Documentation ¶
Overview ¶
Package generator provides mechanisms to generate an entrypoint using go template.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Generator ¶
type Generator struct{}
Generator is used to generate the entrypoint for the drone plugin.
func NewGenerator ¶
func NewGenerator() *Generator
NewGenerator creates a new, initialized generator.
func (*Generator) GenerateEntrypoint ¶
GenerateEntrypoint generates an entrypoint script using the source go template and destination file using the provided flags.
Click to show internal directories.
Click to hide internal directories.