types

package
v0.8.1 Latest Latest
Warning

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

Go to latest
Published: Nov 16, 2026 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Overview

Package types catalogs github.com/compose-spec/compose-go/v2/tree for wrapping by containerkit.

Code generated by go run ./tools/gencatalog; DO NOT EDIT.

Source: https://pkg.go.dev/github.com/compose-spec/compose-go/v2/tree

Each identifier keeps the exact upstream type name. Domain isolation lives in the import path (internal/compose/tree/types), not in renamed aliases.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Matcher

type Matcher = tree.Matcher

Matcher wraps tree.Matcher.

Matcher matches concrete attribute paths against a set of declared path patterns. Patterns use the same tokens as [Path.Matches]: [PathMatchAll] for any mapping key and [PathMatchList] for sequence items.

Matching is exact by construction — declaring a path accepts that node only, not its subtree — so removing one leaf from a declared set reliably surfaces it. [Matcher.MayContain] tells a caller walking a nested structure when descending can still reach a declared node.

Source: https://pkg.go.dev/github.com/compose-spec/compose-go/v2/tree#Matcher GitHub: https://github.com/compose-spec/compose-go/blob/v2.16.2/tree/matcher.go Kind: struct Usecase: wrap compose-go tree machinery used while loading a Project.

type Path

type Path = tree.Path

Path wraps tree.Path.

Path is a dotted path of keys to a value in a nested mapping structure. A * section in a path will match any key in the mapping structure.

Source: https://pkg.go.dev/github.com/compose-spec/compose-go/v2/tree#Path GitHub: https://github.com/compose-spec/compose-go/blob/v2.16.2/tree/path.go Kind: named:string Underlying: string Usecase: wrap compose-go tree machinery used while loading a Project.

Jump to

Keyboard shortcuts

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