Documentation
¶
Overview ¶
Package provider defines the Provider type. A Provider holds a CUE transformer registry. Go performs component-to- transformer matching while CUE still executes each matched transformer.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Provider ¶
type Provider struct {
// Metadata is extracted for display and provider selection.
Metadata *ProviderMetadata
// Data is the fully evaluated CUE value for the provider,
// including the transformer registry (#transformers) and all declared resources/traits.
Data cue.Value
}
Provider holds a loaded provider definition. Data is the complete CUE value (including #transformers). Matching against components happens in Go via pkg/match.
type ProviderMetadata ¶
type ProviderMetadata struct {
// Name is the provider name (e.g., "kubernetes").
Name string `json:"name"`
// Description is a brief description of the provider.
Description string `json:"description,omitempty"`
// Version is the provider version.
Version string `json:"version"`
// Labels for provider categorization.
Labels map[string]string `json:"labels,omitempty"`
// Annotations for additional provider metadata.
Annotations map[string]string `json:"annotations,omitempty"`
}
ProviderMetadata holds identity metadata for a provider.
Click to show internal directories.
Click to hide internal directories.