specdiscovery

package
v0.1.18-rc13 Latest Latest
Warning

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

Go to latest
Published: Oct 8, 2026 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Entry

type Entry struct {
	Name        string
	Description string
}

Entry contains the root metadata needed to identify a named spec.

func ProbeYAML

func ProbeYAML(content []byte) (Entry, bool)

ProbeYAML accepts only root mappings with apiVersion ploy.mig/v1alpha1 and a non-empty scalar name. Nested fields do not participate in discovery.

Jump to

Keyboard shortcuts

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