Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TypeChecker ¶
type TypeChecker struct {
// contains filtered or unexported fields
}
func New ¶
func New(schema pschema.PackageSpec, validateUnknownTypes bool) *TypeChecker
New creates a new type checker for a given resource and package schema
func (*TypeChecker) ValidateConfig ¶
func (v *TypeChecker) ValidateConfig(inputs resource.PropertyMap) []Failure
ValidateConfig will validate the provider config against the pulumi schema. It will return a list of type failures if any are found
func (*TypeChecker) ValidateInputs ¶
func (v *TypeChecker) ValidateInputs(resourceToken tokens.Type, inputs resource.PropertyMap) []Failure
ValidateInputs will validate a set of inputs against the pulumi schema. It will return a list of type failures if any are found
Click to show internal directories.
Click to hide internal directories.