status

package
v0.0.9 Latest Latest
Warning

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

Go to latest
Published: Feb 21, 2022 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckForDirectory

func CheckForDirectory(w *bytes.Buffer, dir string, dirToFind string) (err error)

CheckForDirectory adds to output buffer based on if directory exists or not

func PackageManager added in v0.0.8

func PackageManager(buf *bytes.Buffer) (err error)

PackageManager adds package manager information to output

func SystemInfo added in v0.0.7

func SystemInfo(buf *bytes.Buffer) (err error)

SystemInfo outputs basic system information

Types

type CheckEnvVarResult added in v0.0.9

type CheckEnvVarResult struct {
	Name   string
	Exists bool
}

func (CheckEnvVarResult) String added in v0.0.9

func (result CheckEnvVarResult) String() string

type EnvironmentVariableChecker added in v0.0.9

type EnvironmentVariableChecker struct{}

func NewEnvironmentVariableChecker added in v0.0.9

func NewEnvironmentVariableChecker() *EnvironmentVariableChecker

func (EnvironmentVariableChecker) Check added in v0.0.9

func (checker EnvironmentVariableChecker) Check(envVarName string) (result *CheckEnvVarResult, err error)

Jump to

Keyboard shortcuts

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