Documentation ¶
Index ¶
- type Build
- func (b *Build) GetKubeClient(kubeConfig *rest.Config) (client.Client, error)
- func (b *Build) GetKubeConfig() (*rest.Config, error)
- func (b *Build) ReconcileCRDs(ctx context.Context, kubeClient client.Client) error
- func (b *Build) ReconcileKindCluster(ctx context.Context, recreateCluster bool) error
- func (b *Build) Run(ctx context.Context, recreateCluster bool) error
- func (b *Build) RunControllers(ctx context.Context, mgr manager.Manager, exitCh chan error, tmpDir string) error
- type NewBuildOptions
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 (*Build) ReconcileCRDs ¶
func (*Build) ReconcileKindCluster ¶
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 }
Click to show internal directories.
Click to hide internal directories.