utils

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Dec 2, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetNIMParser

func GetNIMParser(data []byte) nimparser.NIMParserInterface

GetNIMParser unmarshals the provided byte slice into a NIMSchemaManifest struct and returns the corresponding NIMParserInterface implementation based on the schema version. If the unmarshalling fails or the schema version is not recognized, it returns a NIMParser from v1.

Parameters: - data: A byte slice containing the YAML data to be unmarshaled.

Returns: - A NIMParserInterface implementation based on the schema version.

Types

This section is empty.

Jump to

Keyboard shortcuts

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