Documentation
¶
Overview ¶
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)
}
A shared definition of a ComponentResource.
type CustomResource ¶
type CustomResource interface { Check(context.Context, p.CheckRequest) (p.CheckResponse, error) Diff(context.Context, p.DiffRequest) (p.DiffResponse, error) Create(context.Context, p.CreateRequest) (p.CreateResponse, error) Read(context.Context, p.ReadRequest) (p.ReadResponse, error) Update(context.Context, p.UpdateRequest) (p.UpdateResponse, error) Delete(context.Context, p.DeleteRequest) error }
A shared definition of a CustomResource.
type Invoke ¶
type Invoke interface {
Invoke(context.Context, p.InvokeRequest) (p.InvokeResponse, error)
}
A shared definition of an Invoke.
Directories
¶
Path | Synopsis |
---|---|
The `cancel` package provides a middle-ware that ties the Cancel gRPC call from Pulumi to Go's `context.Context` cancellation system.
|
The `cancel` package provides a middle-ware that ties the Cancel gRPC call from Pulumi to Go's `context.Context` cancellation system. |
Context allows systemic wrapping of provider.Context before invoking a subsidiary provider.
|
Context allows systemic wrapping of provider.Context before invoking a subsidiary provider. |
A provider that dispatches provider level calls such as `Create` to resource level invocations.
|
A provider that dispatches provider level calls such as `Create` to resource level invocations. |
The schema middleware provides facilities to respond to GetSchema.
|
The schema middleware provides facilities to respond to GetSchema. |
Click to show internal directories.
Click to hide internal directories.