runtimeinstall

package
v0.1.0-alpha.3 Latest Latest
Warning

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

Go to latest
Published: Sep 10, 2026 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Overview

Package runtimeinstall installs the cluster-side Molejo components with Helm.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Installer

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

Installer installs the Molejo cluster chart.

func New

func New() *Installer

New constructs the production Helm installer.

func (*Installer) Install

func (h *Installer) Install(ctx context.Context, options Options) (Result, error)

Install converges one exact chart version in the selected context.

type Options

type Options struct {
	ContextName string
	Version     string
	ChartPath   string
}

Options identifies the target and release selected by the CLI.

type Result

type Result struct {
	AlreadyInstalled bool
}

Result reports whether the requested release was already installed.

func ExistingReleaseResult

func ExistingReleaseResult(installedVersion, wantedVersion string) (Result, error)

ExistingReleaseResult classifies an idempotent install and rejects alpha drift.

Jump to

Keyboard shortcuts

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