internal

package
v0.0.0-...-a288e68 Latest Latest
Warning

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

Go to latest
Published: Dec 3, 2020 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetGroupID

func GetGroupID(groupName string) (int, error)

GetGroupID returns the numeric ID of a system group

func GetUserID

func GetUserID(userName string) (int, error)

GetUserID returns the numeric ID of a system user

func PasswordFromFile

func PasswordFromFile(baseDir, password, passwordName string) string

PasswordFromFile loads a password from file

func RelPathToAbs

func RelPathToAbs(relPath string) string

RelPathToAbs returns a string containing a absolute to the provided path, relative to the caller directory

func StringFromFile

func StringFromFile(fileName string) *string

StringFromFile returns a string using the contents of an existing filename

Types

This section is empty.

Directories

Path Synopsis
api
api/mocks
Code generated by mockery v1.0.0.
Code generated by mockery v1.0.0.

Jump to

Keyboard shortcuts

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