osutil

package
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: Nov 7, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const EnvColimaBinary = "COLIMA_BINARY"

Variables

This section is empty.

Functions

func Executable

func Executable() string

Executable returns the path name for the executable that started the current process.

Types

type EnvVar added in v0.7.4

type EnvVar string

EnvVar is environment variable

func (EnvVar) Bool added in v0.7.4

func (e EnvVar) Bool() bool

Bool returns the environment variable value as boolean.

func (EnvVar) Exists added in v0.7.4

func (e EnvVar) Exists() bool

Exists checks if the environment variable has been set.

func (EnvVar) Val added in v0.7.4

func (e EnvVar) Val() string

Bool returns the environment variable value.

type Socket added in v0.5.0

type Socket string

Socket is a unix socket

func (Socket) File added in v0.5.0

func (s Socket) File() string

File returns the file path for the socket.

func (Socket) Unix added in v0.5.0

func (s Socket) Unix() string

Unix returns the unix address for the socket.

Jump to

Keyboard shortcuts

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