windows

package
v0.2.1-0...-d19bdda Latest Latest
Warning

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

Go to latest
Published: Sep 17, 2025 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddPowershellTags

func AddPowershellTags(target string) string

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

func HasPowershellTags(target string) bool

Returns true if the string is wrapped with open and close tags for powershell.

func IsMachineOSWindows

func IsMachineOSWindows(machine machinev1.Machine) bool

Returns true if the Machine has the operating system label for a Windows instance.

func RemovePowershellTags

func RemovePowershellTags(target string) string

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.

Jump to

Keyboard shortcuts

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