build

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Mar 12, 2024 License: Apache-2.0 Imports: 16 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(name, kubeVersion, kubeConfigPath, kindConfigPath, extraPortsMapping string, cfg util.CorePackageTemplateConfig, customPackageDirs []string, exitOnSync bool, scheme *runtime.Scheme, ctxCancel context.CancelFunc) *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) error

Jump to

Keyboard shortcuts

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