implementation

package
v1.5.0 Latest Latest
Warning

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

Go to latest
Published: Oct 10, 2023 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GeneratorImpl

type GeneratorImpl struct {
}

func (*GeneratorImpl) FindGeneratorNames

func (i *GeneratorImpl) FindGeneratorNames(ctx context.Context, sourceBaseDir string) ([]string, error)

func (*GeneratorImpl) ObtainGeneratorSpec

func (i *GeneratorImpl) ObtainGeneratorSpec(ctx context.Context, sourceBaseDir string, generatorName string) (*api.GeneratorSpec, error)

func (*GeneratorImpl) Render

func (i *GeneratorImpl) Render(ctx context.Context, request *api.Request) *api.Response

func (*GeneratorImpl) WriteRenderSpecWithDefaults

func (i *GeneratorImpl) WriteRenderSpecWithDefaults(ctx context.Context, request *api.Request, generatorName string) *api.Response

func (*GeneratorImpl) WriteRenderSpecWithValues added in v0.2.0

func (i *GeneratorImpl) WriteRenderSpecWithValues(ctx context.Context, request *api.Request, generatorName string, parameters map[string]interface{}) *api.Response

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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