Documentation ¶
Index ¶
- func CopyFile(src string, dst string) error
- func CreateFolder(path string, log logr.Logger) error
- func CreateNoLinks(path string) (*os.File, error)
- func DownloadFile(path, url, checksum string) error
- func ExecCmd(args []string, log logr.Logger) (string, error)
- func GetDriverVersion(dev ethernetv1.Device) string
- func LoadSupportedDevices(cfgPath string, inStruct interface{}) error
- func OpenFileNoLinks(path string, flag int, perm os.FileMode) (*os.File, error)
- func OpenNoLinks(path string) (*os.File, error)
- func RunExecWithLog(cmd *exec.Cmd, log logr.Logger) error
- func UnpackDDPArchive(srcPath, dstPath string, log logr.Logger) error
- func Untar(srcPath string, dstPath string, log logr.Logger) error
- func Unzip(srcPath, dstPath string, log logr.Logger) error
- type LogWriter
- type SupportedDevice
- type SupportedDevices
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DownloadFile ¶
func GetDriverVersion ¶
func GetDriverVersion(dev ethernetv1.Device) string
func LoadSupportedDevices ¶
func OpenFileNoLinks ¶
Types ¶
type SupportedDevice ¶
type SupportedDevices ¶
type SupportedDevices map[string]SupportedDevice
Click to show internal directories.
Click to hide internal directories.