localpathstorageinstaller

package
v5.31.2 Latest Latest
Warning

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

Go to latest
Published: Feb 12, 2026 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Overview

Package localpathstorageinstaller provides installation of Rancher Local Path Provisioner for Kind clusters.

Index

Constants

This section is empty.

Variables

View Source
var ErrManifestFetchFailed = errors.New("failed to fetch manifest")

ErrManifestFetchFailed is returned when the manifest cannot be fetched from the remote URL.

Functions

This section is empty.

Types

type Installer added in v5.30.0

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

Installer installs local-path-provisioner on Kind and Talos clusters.

func NewInstaller added in v5.30.0

func NewInstaller(
	kubeconfig, context string,
	timeout time.Duration,
	distribution v1alpha1.Distribution,
) *Installer

NewInstaller creates a new local-path-storage installer instance.

func (*Installer) Images added in v5.30.0

func (l *Installer) Images(ctx context.Context) ([]string, error)

Images returns the container images used by local-path-provisioner. It fetches and parses the manifest from the upstream URL.

func (*Installer) Install added in v5.30.0

func (l *Installer) Install(ctx context.Context) error

Install installs local-path-provisioner if needed based on the distribution.

func (*Installer) Uninstall added in v5.30.0

func (l *Installer) Uninstall(_ context.Context) error

Uninstall is a no-op as we don't support uninstalling storage provisioners.

Jump to

Keyboard shortcuts

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