api

package
v0.0.0-...-4fe213c Latest Latest
Warning

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

Go to latest
Published: Oct 12, 2021 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrNotFound = errors.New("Resource not found")

Functions

func Create

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

func Delete(p *client.Provider, inv *plugin.Invoker, res resource.Managed) error

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 GetSchema

func GetSchema(p *client.Provider) (map[string]providers.Schema, error)

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

func SchemaForInvoker(p *client.Provider, inv *plugin.Invoker) (*providers.Schema, error)

func Update

Update syncs with an existing resource and modifies mutable values

Types

This section is empty.

Jump to

Keyboard shortcuts

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