Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrInvalidType = xerrors.New("validation failed")
)
Functions ¶
func RegisterResourceChangeType ¶
RegisterResourceChangeType registers the ResourceChange type inside the Lua state.
Types ¶
type AbsResourceInstance ¶
type AbsResourceInstance struct { }
type Plan ¶
func (*Plan) FindResource ¶
func (p *Plan) FindResource(resourceType string, resourceName string) ([]*ResourceChange, error)
type PlanFile ¶
type ResourceChange ¶
type ResourceChange struct {
// contains filtered or unexported fields
}
func CheckResourceChange ¶
func CheckResourceChange(ls *lua.LState) (*ResourceChange, error)
CheckResourceChange checks whether the first lua argument is a *LUserData with *ResourceChange and returns this *ResourceChange.
Source Files ¶
Click to show internal directories.
Click to hide internal directories.