dispatch

package
v0.17.0 Latest Latest
Warning

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

Go to latest
Published: Apr 29, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

A provider that dispatches provider level calls such as `Create` to resource level invocations.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Wrap

func Wrap(provider p.Provider, opts Options) p.Provider

Create a new Dispatch provider around another provider. If `provider` is nil then an empty provider will be used.

Types

type Options added in v0.8.0

type Options struct {
	Customs    map[tokens.Type]t.CustomResource
	Components map[tokens.Type]t.ComponentResource
	Invokes    map[tokens.Type]t.Invoke
	ModuleMap  map[tokens.ModuleName]tokens.ModuleName
}

Jump to

Keyboard shortcuts

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