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(p.Context, p.ConstructRequest) (p.ConstructResponse, error)
}
A shared definition of a ComponentResource.
type CustomResource ¶
type CustomResource interface { Check(p.Context, p.CheckRequest) (p.CheckResponse, error) Diff(p.Context, p.DiffRequest) (p.DiffResponse, error) Create(p.Context, p.CreateRequest) (p.CreateResponse, error) Read(p.Context, p.ReadRequest) (p.ReadResponse, error) Update(p.Context, p.UpdateRequest) (p.UpdateResponse, error) Delete(p.Context, p.DeleteRequest) error }
A shared definition of a CustomResource.
type Invoke ¶
type Invoke interface {
Invoke(p.Context, p.InvokeRequest) (p.InvokeResponse, error)
}
A shared definition of an Invoke.
Directories
¶
Path | Synopsis |
---|---|
Cancel ensures that contexts are canceled when their associated tasks are completed.
|
Cancel ensures that contexts are canceled when their associated tasks are completed. |
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.