Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FilterReadOnlyProperties ¶
func FilterReadOnlyProperties(ctx context.Context, doc openapi3.Schema, inputs resource.PropertyMap, discriminatedValue *string)
FilterReadOnlyProperties recursively removes properties from the inputs map that are marked as read-only in the OpenAPI doc.
func GetOpenAPISpec ¶
GetOpenAPISpec returns a parsed and validated openapi doc.
Types ¶
type Handler ¶
type Handler interface {
// GetOpenAPIDoc returns the parsed OpenAPI3 doc.
GetOpenAPIDoc() openapi3.T
// GetSchemaSpec returns the unmarshaled Pulumi schema spec.
GetSchemaSpec() pschema.PackageSpec
// GetBaseURL returns the base URL for the provider's API.
GetBaseURL() string
// GetHTTPClient returns an authenticated HTTP client used to execute
// the provider's API operations.
GetHTTPClient() *http.Client
}
Handler is an interface implemented by OpenAPI-based resource providers.
Click to show internal directories.
Click to hide internal directories.