utils

package
v3.114.0 Latest Latest
Warning

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

Go to latest
Published: Apr 27, 2024 License: Apache-2.0 Imports: 6 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewHost

func NewHost(schemaDirectoryPath string) 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.

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
}

Jump to

Keyboard shortcuts

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