Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddPowershellTags ¶
Return the supplied string wrapped with the powershell tags. If the string already has the tags, do not add them a second a time.
func HasPowershellTags ¶
Returns true if the string is wrapped with open and close tags for powershell.
func IsMachineOSWindows ¶
Returns true if the Machine has the operating system label for a Windows instance.
func RemovePowershellTags ¶
Return the supplied string with its powershell tags removed. This function will only remove the tags if both open and close exist, otherwise it returns the original.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.