bramble

package
v0.0.0-...-1558f8f Latest Latest
Warning

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

Go to latest
Published: Dec 30, 2021 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BrambleConfig

type BrambleConfig struct {
	Name    string
	Version string
}

type BramblePlugin

type BramblePlugin struct {
	Filename string
	// contains filtered or unexported fields
}

func New

func New(serviceName, version string) *BramblePlugin

func (*BramblePlugin) GenerateCode

func (f *BramblePlugin) GenerateCode(data *codegen.Data) error

func (*BramblePlugin) InjectSourceEarly

func (*BramblePlugin) InjectSourceEarly() *ast.Source

func (*BramblePlugin) InjectSourceLate

func (f *BramblePlugin) InjectSourceLate(schema *ast.Schema) *ast.Source

func (*BramblePlugin) MutateConfig

func (f *BramblePlugin) MutateConfig(cfg *config.Config) error

MutateConfig mutates the configuration

func (*BramblePlugin) Name

func (*BramblePlugin) Name() string

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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