Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type InlineCompDesc ¶
type InlineCompDesc struct { ComponentDescriptor *compdesc.ComponentDescriptor ReferencedComponentDescriptors []*InlineCompDesc // contains filtered or unexported fields }
func New ¶
func New(raw []byte) (*InlineCompDesc, error)
func NewFromInline ¶
func NewFromInline(cd *compdesc.ComponentDescriptor) *InlineCompDesc
func (*InlineCompDesc) Expand ¶
func (c *InlineCompDesc) Expand() error
Expand takes an Inline Component Descriptor as input. Inline Component Descriptors may have Component References to other Inline Component Descriptors. One may wish to also define those referenced Component Descriptors inline. Therefore, it is possible to define the referenced Component Descriptors within the Label of the referencing Component Descriptor. This function evaluates the label to expand all Component Descriptors contained in the Inline Component Descriptor.
func (*InlineCompDesc) GetFlatList ¶
func (c *InlineCompDesc) GetFlatList() ([]*compdesc.ComponentDescriptor, error)
GetFlatList returns a flat list of all the Component Descriptors aggregated by the top level Component Descriptors (thus, the Component References are recursively resolved), including itself.