package
0.38.5
Repository: https://github.com/devigned/aks-engine.git
Documentation: pkg.go.dev

# Functions

AcceleratedNetworkingSupported check if the VmSKU support the Accelerated Networking.
CreatePki creates PKI certificates.
CreatePkiKeyCertPair generates a pair of PKI certificate and private key.
CreateSaveSSH generates and stashes an SSH key pair.
CreateSSH creates an SSH key pair.
EnsureString returns an string for the default value.
EqualError is a nil-safe method which reports whether errors a and b are considered equal.
GetAzureLocations provides all azure regions in prod.
GetCloudTargetEnv determines and returns whether the region is a sovereign cloud which have their own data compliance regulations (China/Germany/USGov) or standard Azure public cloud.
GetDCOSMasterAllowedSizes returns the master allowed sizes.
GetHomeDir attempts to get the home dir from env.
GetKubernetesAllowedVMSKUs returns the allowed sizes for Kubernetes agent.
GetSizeMap returns the size / storage map.
GetTargetEnv determines and returns whether the region is a sovereign cloud which have their own data compliance regulations (China/Germany/USGov) or standard Azure public cloud CustomCloudName is name of environment if customCloudProfile is provided, it will be empty string if customCloudProfile is empty.
IsFalseBoolPointer is a simple boolean helper function for boolean pointers.
IsTrueBoolPointer is a simple boolean helper function for boolean pointers.
JSONMarshal marshals JSON w/ optional SetEscapeHTML.
JSONMarshalIndent marshals formatted JSON w/ optional SetEscapeHTML.
NormalizeAzureRegion returns a normalized Azure region with white spaces removed and converted to lower case.
PointerToBool returns a pointer to a bool.
PointerToInt returns a pointer to a int.
PointerToString returns a pointer to a string.
ShellQuote returns a string that is enclosed within single quotes.

# Constants

PkiKeySize is the size in bytes of the PKI key.
SSHKeySize is the size (in bytes) of SSH key to create.
ValidityDuration specifies the duration an TLS certificate is valid.

# Structs

FileSaver represents the object that save string or byte data to file.
PkiKeyCertPair represents an PKI public and private cert pair.