Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetContentFromUrl ¶
GetContentFromUrl retrieves the content from the specified URL. It sends an HTTP GET request to the URL and returns the response body as a byte slice. The function handles the HTTP response status code and error conditions appropriately. If the request is successful (status code 200), the response body is returned without errors. Otherwise, an error is returned with relevant information.
func ParseNode ¶
func ParseNode(jqOp string, result json.RawMessage) ([]byte, error)
ParseNode applies a JQ operation on the JSON payload.
func YamlToJson ¶
YamlToJson converts YAML data to JSON.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.