tool

package
v0.0.77 Latest Latest
Warning

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

Go to latest
Published: Nov 1, 2022 License: Apache-2.0 Imports: 25 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var InvocationDebug = false

Functions

func RegisterInjection

func RegisterInjection[V proto.Message](name string, provider func(context.Context, cfg.Context, runtime.Planner, *schema.Stack_Entry) (V, error))

Types

type Definition

type Definition struct {
	TargetServer schema.PackageName
	Source       Source // Where the invocation was declared.
	Invocation   *invocation.Invocation
}

type InvokeProps

type InvokeProps struct {
	Event          protocol.Lifecycle
	ProvisionInput []*anypb.Any
}

type Source

type Source struct {
	PackageName   schema.PackageName
	DeclaredStack []schema.PackageName // Handlers can only configure servers that were configured by the source.
}

func (Source) Contains

func (s Source) Contains(pkg schema.PackageName) bool

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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