middleware

package
v0.24.1 Latest Latest
Warning

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

Go to latest
Published: Jan 14, 2025 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Overview

Package middleware defines common interfaces multiple middleware components use.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ComponentResource

type ComponentResource interface {
	Construct(context.Context, p.ConstructRequest) (p.ConstructResponse, error)
}

ComponentResource provides a shared definition of a Pulumi component resource for middleware to use.

type CustomResource

CustomResource provides a shared high-level definition of a Pulumi custom resource.

type Invoke

type Invoke interface {
	Invoke(context.Context, p.InvokeRequest) (p.InvokeResponse, error)
}

Invoke provides a shared definition of a Pulumi function for middleware to use.

Directories

Path Synopsis
Package cancel provides a middle-ware that ties the Cancel gRPC call from Pulumi to Go's context.Context cancellation system.
Package cancel provides a middle-ware that ties the Cancel gRPC call from Pulumi to Go's context.Context cancellation system.
internal/evict
Package evict is a helper package for github.com/pulumi/pulumi-go-provider/middleware/cancel.
Package evict is a helper package for github.com/pulumi/pulumi-go-provider/middleware/cancel.
Package complexconfig adds middleware for schema informed complex configuration encoding/decoding as a work-around for https://github.com/pulumi/pulumi/pull/15032.
Package complexconfig adds middleware for schema informed complex configuration encoding/decoding as a work-around for https://github.com/pulumi/pulumi/pull/15032.
Package context allows systemic wrapping of provider.Context before invoking a subsidiary provider.
Package context allows systemic wrapping of provider.Context before invoking a subsidiary provider.
Package dispatch provides a provider that dispatches calls by URN such as `Create` to resource level invocations.
Package dispatch provides a provider that dispatches calls by URN such as `Create` to resource level invocations.
Package rpc allows projecting a rpc.ResourceProviderServer into a p.Provider.
Package rpc allows projecting a rpc.ResourceProviderServer into a p.Provider.
Package schema provides a middleware to respond to GetSchema.
Package schema provides a middleware to respond to GetSchema.

Jump to

Keyboard shortcuts

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