custom

package
v0.11.5 Latest Latest
Warning

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

Go to latest
Published: Nov 20, 2023 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Overview

Package custom manages the installation of custom helm charts that have been embedded at the end of the embedded-cluster binary.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Custom

type Custom struct {
	// contains filtered or unexported fields
}

Custom manages the installation of custom helm charts that have been embedded at the end of the embedded-cluster binary.

func New

func New(namespace string, disabledAddons map[string]bool) (*Custom, error)

New creates a new Custom instance.

func (*Custom) GenerateHelmConfig

func (c *Custom) GenerateHelmConfig() ([]v1beta1.Chart, []v1beta1.Repository, error)

GenerateHelmConfig generates the helm config for all the embedded charts. and writes the charts to the disk.

func (*Custom) HostPreflights

func (c *Custom) HostPreflights() (*v1beta2.HostPreflightSpec, error)

HostPreflights returns the host preflight objects found inside all the embedded Helm Charts. These host preflights must be merged into a single one. XXX We have to implement this yet.

func (*Custom) Outro

func (c *Custom) Outro(_ context.Context, _ client.Client) error

Outro is executed after the cluster deployment.

func (*Custom) Version

func (c *Custom) Version() (map[string]string, error)

Version returns the version of the embedded charts.

Jump to

Keyboard shortcuts

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