Documentation
¶
Index ¶
- Constants
- func Components(stacksMap map[string]any) ([]map[string]any, error)
- func ComponentsForStack(stackName string, stacksMap map[string]any) ([]map[string]any, error)
- func Instances(instances []schema.Instance) []map[string]any
- func Metadata(instances []schema.Instance) []map[string]any
- func Stacks(stacksMap map[string]any) ([]map[string]any, error)
- func StacksForComponent(componentName string, stacksMap map[string]any) ([]map[string]any, error)
- func Vendor(vendorInfos []VendorInfo) ([]map[string]any, error)
- func Workflows(atmosConfig *schema.AtmosConfiguration, fileFilter string) ([]map[string]any, error)
- type GetVendorInfosFunc
- type VendorInfo
Constants ¶
const ( // VendorTypeComponent is the type for components with component manifests. VendorTypeComponent = "Component Manifest" // VendorTypeVendor is the type for vendor manifests. VendorTypeVendor = "Vendor Manifest" )
Variables ¶
This section is empty.
Functions ¶
func Components ¶
Components transforms stacksMap into structured component data. Returns []map[string]any suitable for the renderer pipeline.
func ComponentsForStack ¶
ComponentsForStack extracts components for a specific stack only.
func Instances ¶
ExtractInstances transforms schema.Instance slice into []map[string]any for renderer. Converts structured Instance objects into flat maps accessible by column templates.
func Metadata ¶
Metadata transforms a slice of schema.Instance into []map[string]any for the renderer. It extracts metadata fields and makes them accessible to column templates.
func Stacks ¶
Stacks transforms stacksMap into structured stack data. It returns []map[string]any suitable for the renderer pipeline.
func StacksForComponent ¶
StacksForComponent extracts stacks that contain a specific component.
Types ¶
type GetVendorInfosFunc ¶
type GetVendorInfosFunc func(*schema.AtmosConfiguration) ([]VendorInfo, error)
GetVendorInfosFunc is a function type for getting vendor information. This allows the extract package to avoid importing the list package.