util

package
v0.0.0-...-d1d2547 Latest Latest
Warning

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

Go to latest
Published: Jan 9, 2018 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	OvfEnvPath = "/var/lib/waagent/ovf-env.xml"
)

Variables

This section is empty.

Functions

func GetAzureUser

func GetAzureUser() (string, error)

GetAzureUser returns the username provided at VM provisioning time to Azure.

func ParseINI

func ParseINI(s string) (map[string]string, error)

ParseINI basic INI config file format into a map. Example expected format:

KEY=VAL
KEY2=VAL2

func PathExists

func PathExists(path string) (bool, error)

PathExists checks if a path is a directory or file on the filesystem.

Types

This section is empty.

Jump to

Keyboard shortcuts

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