Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultComponents = types.Components{ Addons: []types.Addon{ { Name: "example-server", Kind: constants.AddonChart, Enabled: true, Namespace: "default", Chart: &types.ChartInfo{ Name: "nginx", Repo: "https://charts.bitnami.com/bitnami", Version: "15.1.1", Values: ConvertValues([]byte(valueString)), }, }, }, }
Functions ¶
func ApplyBlueprint ¶
func ApplyBlueprint(kubeConfig *k8s.KubeConfig, cluster *types.Blueprint) error
ApplyBlueprint applies a Blueprint object to the cluster
func ConvertValues ¶
func ConvertValues(in []byte) *apiextensionsv1.JSON
ConvertValues converts a byte slice to a JSON object
func RemoveComponents ¶
func RemoveComponents(kubeConfig *k8s.KubeConfig, cluster *types.Blueprint) error
RemoveComponents removes all components from the cluster
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.