parsers

package
v0.0.0-...-9abf011 Latest Latest
Warning

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

Go to latest
Published: Oct 24, 2022 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type JsonParser

type JsonParser struct {
}

func (JsonParser) Parse

func (jp JsonParser) Parse(fileContents []byte, data any) any

type JsonnetParser

type JsonnetParser struct {
	// contains filtered or unexported fields
}

func (JsonnetParser) Parse

func (jp JsonnetParser) Parse(fileContents []byte, data any) any

type Parser

type Parser interface {
	Parse([]byte, any) any
}

func GetParser

func GetParser(fileType string, extVars map[string]string) (Parser, error)

type YamlParser

type YamlParser struct {
}

func (YamlParser) Parse

func (yp YamlParser) Parse(fileContents []byte, data any) any

Jump to

Keyboard shortcuts

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