Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BuildOrder ¶
type BuildOrder struct {
// contains filtered or unexported fields
}
BuildOrder wraps a resolved dependency graph, providing build-order iteration and dependency queries without exposing internal types.
func ResolveOrder ¶
func ResolveOrder(distPath string, project *model.ContainerHiveProject) (*BuildOrder, error)
ResolveOrder scans a rendered dist directory for __hive__/ references, merges with explicit depends_on declarations, and returns a topologically sorted build order.
func (*BuildOrder) Dependents ¶
func (b *BuildOrder) Dependents(name string) []string
Dependents returns the list of images that depend on the given image.
func (*BuildOrder) HasDependencies ¶
func (b *BuildOrder) HasDependencies() bool
HasDependencies returns true if any inter-image dependencies exist.
func (*BuildOrder) Order ¶
func (b *BuildOrder) Order() []string
Order returns the topologically sorted build order (dependencies first).
Click to show internal directories.
Click to hide internal directories.