Documentation
¶
Overview ¶
Copyright 2022, Pulumi Corporation. All rights reserved.
The logic specific to Pulumi YAML.
Index ¶
- Constants
- func MakeIOWriter[T any](f func(Writer, T)) func(io.Writer, T)
- func Methods(host plugin.Host) *lsp.Methods
- func NewDocumentAnalysisPipeline(c lsp.Client, text lsp.Document, loader schema.ReferenceLoader) *documentAnalysisPipeline
- type Invoke
- type KeyPos
- type Object
- type Reference
- type Resource
- type UnparsableError
- type Writer
Constants ¶
View Source
const FnPrefix = "fn::"
Variables ¶
This section is empty.
Functions ¶
func NewDocumentAnalysisPipeline ¶
func NewDocumentAnalysisPipeline(c lsp.Client, text lsp.Document, loader schema.ReferenceLoader) *documentAnalysisPipeline
Creates a new asynchronous analysis pipeline, returning a handle to the process. To avoid a memory leak, ${RESULT}.cancel must be called.
Types ¶
type Object ¶
type Object interface {
Describe() (protocol.MarkupContent, bool)
Range() *protocol.Range
// contains filtered or unexported methods
}
An object in the schema that can be acted upon.
type UnparsableError ¶
type UnparsableError struct {
Bail bool // If an attempt should be made to continue without the parsed schema
// contains filtered or unexported fields
}
func (UnparsableError) Error ¶
func (e UnparsableError) Error() string
Click to show internal directories.
Click to hide internal directories.