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 (*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.