adminconsole

package
v0.11.1 Latest Latest
Warning

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

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

Documentation

Overview

Package adminconsole manages the Kots Admin Console helm chart installation or upgrade in the cluster.

Index

Constants

This section is empty.

Variables

View Source
var (
	ChartURL  = "https://url"
	ChartName = "name"
	Version   = "v0.0.0"
)

Overwritten by -ldflags in Makefile

Functions

This section is empty.

Types

type AdminConsole

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

AdminConsole manages the admin console helm chart installation.

func New

func New(ns string, useprompt bool, config v1beta1.ClusterConfig) (*AdminConsole, error)

New creates a new AdminConsole object.

func (*AdminConsole) GenerateHelmConfig

func (a *AdminConsole) GenerateHelmConfig() ([]v1beta1.Chart, []v1beta1.Repository, error)

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

func (*AdminConsole) GetCurrentChartConfig

func (a *AdminConsole) GetCurrentChartConfig() *v1beta1.Chart

GetCurrentChartConfig returns the current adminconsole chart config from the cluster config.

func (*AdminConsole) HostPreflights

func (a *AdminConsole) HostPreflights() (*v1beta2.HostPreflightSpec, error)

HostPreflights returns the host preflight objects found inside the adminconsole or as part of the embedded kots release (customization).

func (*AdminConsole) Outro

func (a *AdminConsole) Outro(ctx context.Context, cli client.Client) error

Outro waits for the adminconsole to be ready.

func (*AdminConsole) Version

func (a *AdminConsole) Version() (map[string]string, error)

Version returns the embedded admin console version.

Jump to

Keyboard shortcuts

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