package
0.0.0-20190921203246-567adf8e5271
Repository: https://github.com/apparentlymart/terraform-sdk.git
Documentation: pkg.go.dev

# Functions

Decode attempts to unpack the data from the given reader's underlying object using the gocty package.
DeriveNewObject constructs an ObjectBuilderFull with the same schema as the given ObjectReader and an initial object value equal to that of the reader.
NewObjectBuilder creates and returns a new ObjectBuilder with the receiving schema, whose initial value is a copy of the given object value.
NewObjectBuilderFull is like NewObjectBuilder except that it constructs an ObjectBuilderFull instead of just an ObjectBuilder.
NewObjectReader constructs a new ObjectReader for reading the given object value, which must be a non-null, known value whose type conforms to the implied type of the recieving schema, or the results are undefined.
NewPlanBuilder constructs a PlanBuilder with the given prior, config, and proposed objects, ready to be used to customize the proposed object and ultimately create a planned new object to return.
NewPlanReader constructs a PlanReader for an already-created plan, whose planned new object is described by "planned".

# Constants

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Interfaces

An ObjectBuilder is a helper for gradually constructing a new value that conforms to a particular schema through mutation.
ObjectBuilderFull is an extension of ObjectBuilder that additionally allows totally replacing the collection of nested blocks of a given type.
An ObjectReader has methods to read data from a value that conforms to a particular schema, such as a resource type configuration.
PlanBuilder is an extension of ObjectBuilder that provides access to information about the prior state and configuration that a plan is being built for.
PlanReader is an extension of ObjectReader that provides access to information about the prior state and configuration that a plan is being built for.

# Type aliases

Action represents an action to be taken.