util

package
v0.0.0-...-ad2992c Latest Latest
Warning

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

Go to latest
Published: Apr 20, 2024 License: BSD-3-Clause Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CanWriteConfig

func CanWriteConfig() (canwrite *wwapiv1.CanWriteConfig, err error)

Simple check if the config can be written in case wwctl isn't run as root

func ConfirmationPrompt

func ConfirmationPrompt(label string) (yes bool)

ConfirmationPrompt prompt is a blocking confirmation prompt. Returns true on y or yes user input.

Types

This section is empty.

Jump to

Keyboard shortcuts

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