installer

package
v0.1.4 Latest Latest
Warning

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

Go to latest
Published: Oct 10, 2024 License: AGPL-3.0 Imports: 20 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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