MCPcopy Create free account
hub / github.com/devfile/api / Visit

Method Visit

pkg/apis/workspaces/v1alpha1/union_definitions.go:47–49  ·  view source on GitHub ↗
(visitor ComponentVisitor)

Source from the content-addressed store, hash-verified

45var componentVisitorType reflect.Type = reflect.TypeOf(ComponentVisitor{})
46
47func (union Component) Visit(visitor ComponentVisitor) error {
48 return visitUnion(union, visitor)
49}
50func (union *Component) discriminator() *string {
51 return (*string)(&union.ComponentType)
52}

Callers 1

KeyMethod · 0.95

Calls 1

visitUnionFunction · 0.70

Tested by

no test coverage detected