installer

package
v2.16.3 Latest Latest
Warning

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

Go to latest
Published: Apr 11, 2024 License: AGPL-3.0 Imports: 20 Imported by: 0

Documentation

Overview

Package installer provides functionality to install binary components of supported kubernetes versions.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type OsInstaller

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

OsInstaller installs binary components of supported kubernetes versions.

func NewOSInstaller

func NewOSInstaller() *OsInstaller

NewOSInstaller creates a new osInstaller.

func (*OsInstaller) Install

func (i *OsInstaller) Install(ctx context.Context, kubernetesComponent *components.Component) error

Install downloads a resource from a URL, applies any given text transformations and extracts the resulting file if required. The resulting file(s) are copied to the destination. It also verifies the sha256 hash of the downloaded file.

Jump to

Keyboard shortcuts

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