Documentation
¶
Index ¶
Constants ¶
View Source
const BlueprintFileName = "blueprint.cue"
Variables ¶
View Source
var (
ErrVersionNotFound = errors.New("version not found")
)
Functions ¶
This section is empty.
Types ¶
type BlueprintLoader ¶
type BlueprintLoader interface { // Load loads the blueprint. Load(projectPath, gitRootPath string) (blueprint.RawBlueprint, error) // SetOverrider sets the InjectorOverrider. SetOverrider(overrider InjectorOverrider) }
BlueprintLoader is an interface for loading blueprints.
type DefaultBlueprintLoader ¶
type DefaultBlueprintLoader struct {
// contains filtered or unexported fields
}
DefaultBlueprintLoader is the default implementation of the BlueprintLoader
func NewCustomBlueprintLoader ¶
func NewCustomBlueprintLoader( fs afero.Fs, injector injector.Injector, overrider InjectorOverrider, logger *slog.Logger, ) DefaultBlueprintLoader
NewCustomBlueprintLoader creates a new DefaultBlueprintLoader with custom dependencies.
func NewDefaultBlueprintLoader ¶
func NewDefaultBlueprintLoader(overrider InjectorOverrider, logger *slog.Logger) DefaultBlueprintLoader
NewDefaultBlueprintLoader creates a new DefaultBlueprintLoader.
func (*DefaultBlueprintLoader) Load ¶
func (b *DefaultBlueprintLoader) Load(projectPath, gitRootPath string) (blueprint.RawBlueprint, error)
func (*DefaultBlueprintLoader) SetOverrider ¶
func (b *DefaultBlueprintLoader) SetOverrider(overrider InjectorOverrider)
SetOverrider sets the InjectorOverrider.
Click to show internal directories.
Click to hide internal directories.