parser

package
v0.82.0-rc2 Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2024 License: MPL-2.0 Imports: 21 Imported by: 0

Documentation

Overview

Package parser provides parsing methods for v1alpha objects.

Index

Constants

This section is empty.

Variables

View Source
var UseGenericObjects = false

UseGenericObjects is a global flag instructing ParseObject to decode raw object into GenericObject instead of a concrete representation.

View Source
var UseJSONNumber = false

UseJSONNumber is a global flag instructing ParseObject to decode JSON numbers into json.Number instead of float64 as is encoding/json pkg default.

View Source
var UseStrictDecodingMode = false

UseStrictDecodingMode is a global flag instructing ParseObject to disallow unknown fields from decoded object definitions.

Functions

func ParseObject

func ParseObject(data []byte, kind manifest.Kind, format manifest.ObjectFormat) (manifest.Object, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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