Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Commands ¶
func Commands(path string, options CommandOptions)
Commands generates the microservice commands based of the given path
func Dockerfile ¶
func Dockerfile(path string, options DockerfileOptions)
Dockerfile generate a dockerfile using the given options for specified path
func Makefile ¶
func Makefile(path string, options MakefileOptions)
Makefile generates a with given options for the specified path
Types ¶
type CommandOptions ¶
CommandOptions are applied when generating the different microservice commands
func NewCommandOptions ¶
func NewCommandOptions(name string) CommandOptions
NewCommandOptions generate command names using given name
type DockerfileOptions ¶
type DockerfileOptions struct { Name string Commands CommandOptions }
DockerfileOptions configure the output of the generated docker file
type MakefileOptions ¶
type MakefileOptions struct {
Name string
}
MakefileOptions options that change the rendering of the makefile
type RestOptions ¶
type RestOptions struct {
PkgName, Path, Source string
}
RestOptions options to respect when generating the rest api
Click to show internal directories.
Click to hide internal directories.