network

package
v0.0.0-...-b593ba2 Latest Latest
Warning

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

Go to latest
Published: May 29, 2024 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckNetworkAccess

func CheckNetworkAccess() (err error, hasNetworkAccess bool)

CheckNetworkAccess checks whether the installer environment has network access This function is only executed within the ISO installation environment for kickstart-like unattended installation

func DownloadFile

func DownloadFile(url, dst string, caCerts *x509.CertPool, tlsCerts []tls.Certificate) (err error)

DownloadFile downloads `url` into `dst`. `caCerts` may be nil. If there is an error `dst` will be removed.

func JoinURL

func JoinURL(baseURL string, extraPaths ...string) string

JoinURL concatenates baseURL with extraPaths

Types

This section is empty.

Jump to

Keyboard shortcuts

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