Documentation
¶
Index ¶
- func AddToSet(slice []string, value string) []string
- func ConvertLDAPTimeToRFC3339(adDate string) string
- func ConvertMilliUnixTimestampToRFC3339(timestamp *int64) string
- func ExpandPlaceholders(command string, key string, value string) string
- func GetHomeDir() string
- func GetTerminalCommand(term string, startDirectory string, script string) (string, error)
- func IsAlphanumeric(s string) bool
- func KillProcessByPID(pid int) error
- func ResolveCredentialValue(value string) string
- func ResolvePath(input string) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConvertLDAPTimeToRFC3339 ¶
ConvertLDAPTimeToRFC3339 converts an Active Directory Generalized Time format (YYYYMMDDHHMMSS.0Z) string to RFC3339 format.
func ConvertMilliUnixTimestampToRFC3339 ¶
ConvertMilliUnixTimestampToRFC3339 takes a pointer to an int64 timestamp (in milliseconds) and returns a formatted RFC3339 date string.
func GetHomeDir ¶
func GetHomeDir() string
func GetTerminalCommand ¶
func IsAlphanumeric ¶
func KillProcessByPID ¶
KillProcessByPID kills a process with the given PID.
func ResolveCredentialValue ¶ added in v0.10.1
func ResolvePath ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.