MCPcopy Create free account
hub / github.com/cel-expr/cel-go / Alias

Function Alias

common/containers/container.go:245–247  ·  view source on GitHub ↗

Alias associates a name with a user-defined alias. In general, Abbrevs is preferred to Alias since the names generated from the Abbrevs option are more easily traced back to source code. The Alias option is useful for propagating alias configuration from one Container instance to another, and may a

(qualifiedName, alias string)

Source from the content-addressed store, hash-verified

243// configuration from one Container instance to another, and may also be useful for remapping
244// poorly chosen protobuf message / package names.
245func Alias(qualifiedName, alias string) ContainerOption {
246 return aliasAs("alias", qualifiedName, alias, false)
247}
248
249func aliasAs(kind, qualifiedName, alias string, requireQualified bool) ContainerOption {
250 return func(c *Container) (*Container, error) {

Callers 3

TestContainers_AliasFunction · 0.85

Calls 1

aliasAsFunction · 0.85

Tested by 3

TestContainers_AliasFunction · 0.68