blueprints

package
v0.114.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 10, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Blueprint

type Blueprint struct {
	Info *lsv1alpha1.Blueprint
	Fs   vfs.FileSystem
}

Blueprint is the internal resolved type of a blueprint.

func New

func New(blueprint *lsv1alpha1.Blueprint, content vfs.FileSystem) *Blueprint

New creates a new internal Blueprint from a blueprint definition and its filesystem content.

func NewFromFs

func NewFromFs(content vfs.FileSystem) (*Blueprint, error)

NewFromFs creates a new internal Blueprint from a filesystem. The blueprint is automatically read from within the filesystem

func (*Blueprint) GetImportByName

func (b *Blueprint) GetImportByName(name string) *lsv1alpha1.ImportDefinition

func (*Blueprint) GetSubinstallations

func (b *Blueprint) GetSubinstallations() ([]*lsv1alpha1.InstallationTemplate, error)

GetSubinstallations gets the direct subinstallation templates for a blueprint.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL