build

package
v0.10.2 Latest Latest
Warning

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

Go to latest
Published: Apr 8, 2026 License: Apache-2.0 Imports: 33 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Build

type Build struct {
	CancelFunc context.CancelFunc
	// contains filtered or unexported fields
}

func NewBuild

func NewBuild(opts NewBuildOptions) *Build

func (*Build) GetKubeClient

func (b *Build) GetKubeClient(kubeConfig *rest.Config) (client.Client, error)

func (*Build) GetKubeConfig

func (b *Build) GetKubeConfig() (*rest.Config, error)

func (*Build) ReconcileCRDs

func (b *Build) ReconcileCRDs(ctx context.Context, kubeClient client.Client) error

func (*Build) ReconcileKindCluster

func (b *Build) ReconcileKindCluster(ctx context.Context, recreateCluster bool) error

func (*Build) Run

func (b *Build) Run(ctx context.Context, recreateCluster bool) error

func (*Build) RunControllers

func (b *Build) RunControllers(ctx context.Context, mgr manager.Manager, exitCh chan error, tmpDir string) error

type NewBuildOptions added in v0.5.0

type NewBuildOptions struct {
	Name                 string
	TemplateData         v1alpha1.BuildCustomizationSpec
	KindConfigPath       string
	KubeConfigPath       string
	KubeVersion          string
	ExtraPortsMapping    string
	RegistryConfig       []string
	CustomPackageFiles   []string
	CustomPackageDirs    []string
	CustomPackageUrls    []string
	PackageCustomization map[string]v1alpha1.PackageCustomization
	ExitOnSync           bool
	Scheme               *runtime.Scheme
	CancelFunc           context.CancelFunc
}

Jump to

Keyboard shortcuts

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