Documentation
¶
Overview ¶
A provider that dispatches provider level calls such as `Create` to resource level invocations.
Index ¶
- type Provider
- func (d *Provider) Check(ctx p.Context, req p.CheckRequest) (p.CheckResponse, error)
- func (d *Provider) Construct(pctx p.Context, typ string, name string, ctx *pulumi.Context, ...) (pulumi.ComponentResource, error)
- func (d *Provider) Create(ctx p.Context, req p.CreateRequest) (p.CreateResponse, error)
- func (d *Provider) Delete(ctx p.Context, req p.DeleteRequest) error
- func (d *Provider) Diff(ctx p.Context, req p.DiffRequest) (p.DiffResponse, error)
- func (d *Provider) Invoke(ctx p.Context, req p.InvokeRequest) (p.InvokeResponse, error)
- func (d *Provider) Read(ctx p.Context, req p.ReadRequest) (p.ReadResponse, error)
- func (d *Provider) Update(ctx p.Context, req p.UpdateRequest) (p.UpdateResponse, error)
- func (d *Provider) WithComponentResources(components map[tokens.Type]t.ComponentResource) *Provider
- func (d *Provider) WithCustomResources(resources map[tokens.Type]t.CustomResource) *Provider
- func (d *Provider) WithInvokes(invokes map[tokens.Type]t.Invoke) *Provider
- func (d *Provider) WithModuleMap(m map[tokens.ModuleName]tokens.ModuleName) *Provider
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Provider ¶
type Provider struct { // The underlying provider if any p.Provider // contains filtered or unexported fields }
A provider that dispatches URN based methods to their appropriate go instance.
func Wrap ¶
Create a new Dispatch provider around another provider. If `provider` is nil then an empty provider will be used.
func (*Provider) Check ¶
func (d *Provider) Check(ctx p.Context, req p.CheckRequest) (p.CheckResponse, error)
func (*Provider) Construct ¶
func (d *Provider) Construct(pctx p.Context, typ string, name string, ctx *pulumi.Context, inputs pprovider.ConstructInputs, opts pulumi.ResourceOption) (pulumi.ComponentResource, error)
func (*Provider) Create ¶
func (d *Provider) Create(ctx p.Context, req p.CreateRequest) (p.CreateResponse, error)
func (*Provider) Diff ¶
func (d *Provider) Diff(ctx p.Context, req p.DiffRequest) (p.DiffResponse, error)
func (*Provider) Invoke ¶
func (d *Provider) Invoke(ctx p.Context, req p.InvokeRequest) (p.InvokeResponse, error)
func (*Provider) Read ¶
func (d *Provider) Read(ctx p.Context, req p.ReadRequest) (p.ReadResponse, error)
func (*Provider) Update ¶
func (d *Provider) Update(ctx p.Context, req p.UpdateRequest) (p.UpdateResponse, error)
func (*Provider) WithComponentResources ¶
Add component resources to be dispatched to.
func (*Provider) WithCustomResources ¶
Add custom resources to be dispatched to.
func (*Provider) WithInvokes ¶
Add invokes to be dispatched to.
func (*Provider) WithModuleMap ¶
func (d *Provider) WithModuleMap(m map[tokens.ModuleName]tokens.ModuleName) *Provider
Click to show internal directories.
Click to hide internal directories.