util

package
v0.4.1 Latest Latest
Warning

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

Go to latest
Published: Jul 21, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package util provides utility functionality.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DistroType

type DistroType string
const (
	DistroUnknown DistroType = "unknown"
	DistroFlatcar DistroType = "flatcar"
	DistroUbuntu  DistroType = "ubuntu"
	// DistroRocky Rocky os-release ID output has rocky in quotes.
	DistroRocky DistroType = "\"rocky\""
)

func Distro

func Distro() (DistroType, error)

Jump to

Keyboard shortcuts

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