goplugin

package
v0.510.3 Latest Latest
Warning

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

Go to latest
Published: Jun 4, 2025 License: Apache-2.0 Imports: 30 Imported by: 0

Documentation

Index

Constants

View Source
const BuildLockTimeout = time.Minute

Variables

This section is empty.

Functions

This section is empty.

Types

type CmdService added in v0.471.0

type CmdService struct{}

func (CmdService) GetModuleConfigDefaults added in v0.471.0

GetModuleConfigDefaults provides default values for ModuleConfig for values that are not configured in the ftl.toml file.

func (CmdService) GetNewModuleFlags added in v0.471.0

func (CmdService) GetSQLInterfaces added in v0.478.0

func (CmdService) NewModule added in v0.471.0

NewModule generates files for a new module with the requested name

type Service

type Service struct {
	// contains filtered or unexported fields
}

func New

func New() *Service

func (*Service) Build

Build the module and stream back build events.

A BuildSuccess or BuildFailure event must be streamed back with the request's context id to indicate the end of the build.

The request can include the option to "rebuild_automatically". In this case the plugin should watch for file changes and automatically rebuild as needed as long as this build request is alive. Each automactic rebuild must include the latest build context id provided by the request or subsequent BuildContextUpdated calls.

func (*Service) GetDependencies

GetDependencies extracts dependencies for a module

func (*Service) Ping

Jump to

Keyboard shortcuts

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