catalog

package
v0.43.0 Latest Latest
Warning

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

Go to latest
Published: Jul 19, 2026 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ParseWatches

func ParseWatches(filePath string) ([]string, error)

Types

type Catalog

type Catalog struct {
	Components []Component `json:"components"`
	Edges      []Edge      `json:"edges"`
}

func Build

func Build(dir string) (Catalog, error)

type Component

type Component struct {
	ID      string   `json:"id"`
	Stacks  []string `json:"stacks"`
	Watches []string `json:"watches"`
}

type Edge

type Edge struct {
	From string `json:"from"`
	To   string `json:"to"`
	Kind string `json:"kind"` // "watch" or "dependency"
}

Jump to

Keyboard shortcuts

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