build

package
v0.9.0-nightly.20241116 Latest Latest
Warning

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

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

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
	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