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.
Click to show internal directories.
Click to hide internal directories.