scripts

package
v11.3.3 Latest Latest
Warning

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

Go to latest
Published: Dec 13, 2022 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DesktopAccessScriptConfigure = template.Must(template.New("desktop-access-configure-ad").Parse(desktopAccessScriptConfigure))
View Source
var DesktopAccessScriptInstallADCS string

desktopAccessInstallADCSScript is the script that will run on the windows machine and install Active Directory Certificate Services

View Source
var DesktopAccessScriptInstallADDS string

desktopAccessInstallADDSScript is the script that will run on the windows machine and install Active Directory Domain Services

View Source
var ErrorBashScript = []byte(`
#!/bin/sh
echo -e "An error has occurred. \nThe token may be expired or invalid. \nPlease check log for further details."
exit 1
`)

ErrorBashScript is used to display friendly error message when there is an error prepping the actual script.

View Source
var InstallNodeBashScript = template.Must(template.New("nodejoin").Parse(installNodeBashScript))

Functions

func MarshalLabelsYAML

func MarshalLabelsYAML(resourceMatcherLabels types.Labels) ([]string, error)

MarshalLabelsYAML returns a list of strings, each one containing a label key/value pair. This is used to create yaml sections within the join scripts.

func SetScriptHeaders

func SetScriptHeaders(h http.Header)

SetScriptHeaders sets response headers to plain text.

Types

This section is empty.

Jump to

Keyboard shortcuts

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