localpathstorageinstaller

package
v6.2.2 Latest Latest
Warning

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

Go to latest
Published: Apr 10, 2026 License: Apache-2.0 Imports: 14 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

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

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

func NewInstaller

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

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

func (*Installer) Images

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

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

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

func (*Installer) Uninstall

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