v1alpha4

package
v0.99.1 Latest Latest
Warning

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

Go to latest
Published: Nov 14, 2024 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BuildPlan

type BuildPlan struct {
	BuildPlan   v1alpha4.BuildPlan
	Concurrency int
	Stderr      io.Writer
	// WriteTo --write-to=deploy flag
	WriteTo string
	// Path represents the path to the component
	Path h.InstancePath
}

BuildPlan represents a component builder.

func (*BuildPlan) Build

func (b *BuildPlan) Build(ctx context.Context, am h.ArtifactMap) error

Build builds a BuildPlan into Artifact files.

type Platform

type Platform struct {
	Platform    v1alpha4.Platform
	Concurrency int
	Stderr      io.Writer
}

Platform represents a platform builder.

func (*Platform) Build

func (p *Platform) Build(ctx context.Context, _ h.ArtifactMap) error

Build builds a Platform by concurrently building a BuildPlan for each platform component. No artifact files are written directly, only indirectly by rendering each component.

Jump to

Keyboard shortcuts

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