Documentation
¶
Overview ¶
Package types catalogs github.com/compose-spec/compose-go/v2/interpolation 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/interpolation
Each identifier keeps the exact upstream type name. Domain isolation lives in the import path (internal/compose/interpolation/types), not in renamed aliases.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Cast ¶
type Cast = interpolation.Cast
Cast wraps interpolation.Cast.
Cast a value to a new type, or return an error if the value can't be cast
Source: https://pkg.go.dev/github.com/compose-spec/compose-go/v2/interpolation#Cast GitHub: https://github.com/compose-spec/compose-go/blob/v2.16.2/interpolation/interpolation.go Kind: func Underlying: func(value string) (interface{}, error) Usecase: wrap compose-go interpolation machinery used while loading a Project.
type LookupValue ¶
type LookupValue = interpolation.LookupValue
LookupValue wraps interpolation.LookupValue.
LookupValue is a function which maps from variable names to values. Returns the value as a string and a bool indicating whether the value is present, to distinguish between an empty string and the absence of a value.
Source: https://pkg.go.dev/github.com/compose-spec/compose-go/v2/interpolation#LookupValue GitHub: https://github.com/compose-spec/compose-go/blob/v2.16.2/interpolation/interpolation.go Kind: func Underlying: func(key string) (string, bool) Usecase: wrap compose-go interpolation machinery used while loading a Project.
type Options ¶
type Options = interpolation.Options
Options wraps interpolation.Options.
Options supported by Interpolate ¶
Source: https://pkg.go.dev/github.com/compose-spec/compose-go/v2/interpolation#Options GitHub: https://github.com/compose-spec/compose-go/blob/v2.16.2/interpolation/interpolation.go Kind: struct References: github.com/compose-spec/compose-go/v2/template.Mapping, github.com/compose-spec/compose-go/v2/tree.Path Usecase: wrap compose-go interpolation machinery used while loading a Project.