Documentation
¶
Index ¶
- Variables
- func Create(p *client.Provider, inv *plugin.Invoker, res resource.Managed) (resource.Managed, error)
- func Delete(p *client.Provider, inv *plugin.Invoker, res resource.Managed) error
- func GetSchema(p *client.Provider) (map[string]providers.Schema, error)
- func Read(p *client.Provider, inv *plugin.Invoker, res resource.Managed) (resource.Managed, error)
- func SchemaForInvoker(p *client.Provider, inv *plugin.Invoker) (*providers.Schema, error)
- func Update(p *client.Provider, inv *plugin.Invoker, res resource.Managed) (resource.Managed, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrNotFound = errors.New("Resource not found")
Functions ¶
func Create ¶
func Create(p *client.Provider, inv *plugin.Invoker, res resource.Managed) (resource.Managed, error)
Create returns an up-to-date version of the resource TODO: If `id` is unset for a new resource, how do we figure out what value needs to be used as the id?
func Delete ¶
Delete deletes the given resource from the provider In terraform slang this is expressed as asking the provider to act on a Nil planned state.
func Read ¶
Read returns an up-to-date version of the resource TODO: If `id` is unset for a new resource, how do we figure out what value needs to be used as the id?
func SchemaForInvoker ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.