flags

package
v0.0.0-...-c9935ad Latest Latest
Warning

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

Go to latest
Published: Jul 22, 2025 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Overview

Package flags reads flags passed from the command line interface. This package also captures parameters otherwise embedded in kingpin arguments further down the chain (i.e. node_exporter)

Index

Constants

This section is empty.

Variables

View Source
var (
	// ProcfsPath is the configured path to the procfs mountpoint
	ProcfsPath = procfs.DefaultMountPoint
	// SysfsPath is the configured path to the sysfs mountpoint
	SysfsPath = "/sys"
	// RootfsPath is the configured path to the rootfs mountpoint
	RootfsPath = "/"
)

Functions

func Init

func Init(args []string)

Init initializes and reads system paths from command line flags

Types

This section is empty.

Jump to

Keyboard shortcuts

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