Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewHost ¶
NewHost creates a schema-only plugin host, supporting multiple package versions in tests. This enables running tests offline. If this host is used to load a plugin, that is, to run a Pulumi program, it will panic.
func NewHostWithProviders ¶ added in v3.49.0
func NewHostWithProviders(schemaDirectoryPath string, providers ...SchemaProvider) plugin.Host
NewHost creates a schema-only plugin host, supporting multiple package versions in tests. This enables running tests offline. If this host is used to load a plugin, that is, to run a Pulumi program, it will panic.
Types ¶
type SchemaProvider ¶ added in v3.49.0
type SchemaProvider struct {
// contains filtered or unexported fields
}
func NewSchemaProvider ¶ added in v3.118.0
func NewSchemaProvider(name, version string) SchemaProvider
Click to show internal directories.
Click to hide internal directories.