# Functions
No description provided by the author
Return the exact range of the text on a all given lines.
Return true if two positions are identical Two positions are identical if they ave the same line and character.
Return true if two ranges are identical Two ranges are identical if they have the same start and end position.
No description provided by the author
Returns true if the string is *only* a parameter Example:
param: << parameters.paramName >> -> true param: << pipeline.parameters.paramName >> -> true param: `/home/<< parameters.paramName >>/Downloads` -> false.
No description provided by the author
Compare two positions.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Given a correct parameter string (example: << parameters.something >>) will return a pair of strings
The first returned value is the full path to the parameter (in example above: parameters.something) The second returned value is the parameter name.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Search the right parameters that is defined in the given position and return its name.
Return the name of the parameter used at the given position.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Return the exact range of the text on a line
For example, with a yaml:
content := `
some-key: property: 5
`
LineContentRange(2, []byte(content)) ==> { Start: { Line: 2 Character: 2 }, End: { Line: 2, Character: 12 } }.
NewClient returns a reference to a Client.
NewRequest returns a new GraphQL request.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Diagnostic messages should start with a uppercase letter.
# Constants
No description provided by the author
# Variables
Commit is the current git commit SHA.
No description provided by the author
No description provided by the author
No description provided by the author
Version is the current Git tag (the v prefix is stripped) or the name of the snapshot, if you’re using the --snapshot flag.
# Structs
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
A Client is an HTTP client for our GraphQL endpoint.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Request is a GraphQL request.
No description provided by the author
Response wraps the result from our GraphQL server response including out-of-band errors and the data itself.
ResponseError represents the key-value pair of data returned by the GraphQL server to represent errors.
# Type aliases
ResponseErrorsCollection represents a slice of errors returned by the GraphQL server out-of-band from the actual data.