Documentation ¶
Overview ¶
Package adminconsole manages the Kots Admin Console helm chart installation or upgrade in the cluster.
Index ¶
- Variables
- type AdminConsole
- func (a *AdminConsole) GenerateHelmConfig() ([]v1beta1.Chart, []v1beta1.Repository, error)
- func (a *AdminConsole) GetCurrentChartConfig() *v1beta1.Chart
- func (a *AdminConsole) HostPreflights() (*v1beta2.HostPreflightSpec, error)
- func (a *AdminConsole) Outro(ctx context.Context, cli client.Client) error
- func (a *AdminConsole) Version() (map[string]string, error)
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).
Click to show internal directories.
Click to hide internal directories.