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

# Functions

CidrFirstIP returns the first IP of the provided subnet.
CidrStringFirstIP returns the first IP of the provided subnet string.
GetAllSupportedDCOSVersions returns a slice of all supported DCOS versions.
GetAllSupportedDockerCEVersions returns a slice of all supported Docker CE versions.
GetAllSupportedKubernetesVersions returns a slice of all supported Kubernetes versions.
GetAllSupportedSwarmVersions returns a slice of all supported Swarm versions.
GetDefaultKubernetesVersion returns the default Kubernetes version, that is the latest patch of the default release.
GetLatestPatchVersion gets the most recent patch version from a list of semver versions given a major.minor string.
GetMasterKubernetesLabels returns a k8s API-compliant labels string.
GetMaxVersion gets the highest semver version preRelease=true means accept a pre-release version as a max value.
GetMinVersion gets the lowest semver version preRelease=true means accept a pre-release version as a min value.
GetNSeriesVMCasesForTesting returns a struct w/ VM SKUs and whether or not we expect them to be nvidia-enabled.
GetOrderedEscapedKeyValsString returns an ordered string of escaped, quoted key=val.
GetStorageAccountType returns the support managed disk storage tier for a give VM size.
GetSupportedKubernetesVersion verifies that a passed-in version string is supported, or returns a default version string if not.
GetSupportedVersions get supported version list for a certain orchestrator.
GetValidPatchVersion gets the current valid patch version for the minor version of the passed in version.
GetVersionsBetween returns a list of versions between a min and max inclusive=true means that we test for equality on both bounds preReleases=true means that we include pre-release versions in the list.
GetVersionsGt returns a list of versions greater than a semver string given a list of versions inclusive=true means that we test for equality as well preReleases=true means that we include pre-release versions in the list.
GetVersionsLt returns a list of versions less than than a semver string given a list of versions inclusive=true means that we test for equality as well preReleases=true means that we include pre-release versions in the list.
GetVNETSubnetIDComponents extract subscription, resourcegroup, vnetname, subnetname from the vnetSubnetID.
HandleValidationErrors is the helper function to catch validator.ValidationError based on Namespace of the error, and return customized error message.
IP4BroadcastAddress returns the broadcast address for the given IP subnet.
IsKubernetesVersionGe returns true if actualVersion is greater than or equal to version.
IsNvidiaEnabledSKU determines if an VM SKU has nvidia driver support.
IsSgxEnabledSKU determines if an VM SKU has SGX driver support.
IsSupportedKubernetesVersion return true if the provided Kubernetes version is supported.
RationalizeReleaseAndVersion return a version when it can be rationalized from the input, otherwise "".
SliceIntIsNonEmpty is a simple convenience to determine if a []int is non-empty.
ValidateDNSPrefix is a helper function to check that a DNS Prefix is valid.
WrapAsARMVariable formats a string for inserting an ARM variable into an ARM expression.
WrapAsParameter formats a string for inserting an ARM parameter into an ARM expression.
WrapAsVerbatim formats a string for inserting a literal string into an ARM expression.

# Constants

AvailabilitySet means that the vms are in an availability set.
DCOS is the string constant for DCOS orchestrator type and defaults to DCOS188.
DCOSDefaultVersion is the default major.minor.patch version for DCOS.
DCOSVersion1Dot10Dot0 is the major.minor.patch string for 1.10.0 versions of DCOS.
DCOSVersion1Dot11Dot0 is the major.minor.patch string for 1.11.0 versions of DCOS.
DCOSVersion1Dot11Dot2 is the major.minor.patch string for 1.11.0 versions of DCOS.
DCOSVersion1Dot8Dot8 is the major.minor.patch string for 1.8.8 versions of DCOS.
DCOSVersion1Dot9Dot0 is the major.minor.patch string for 1.9.0 versions of DCOS.
DCOSVersion1Dot9Dot8 is the major.minor.patch string for 1.9.8 versions of DCOS.
address relative to the first consecutive Kubernetes static IP.
DockerCEVersion is the DockerCE orchestrator version.
Kubernetes is the string constant for the Kubernetes orchestrator type.
KubernetesDefaultRelease is the default Kubernetes release.
KubernetesDefaultReleaseWindows is the default Kubernetes release.
ManagedDisks means that the nodes use managed disks for their os and attached volumes.
MaxAgentCount are the maximum number of agents per agent pool.
MaxDisks specifies the maximum attached disks to add to the cluster.
MaxDiskSizeGB specifies the maximum attached disk size.
MaxIPAddressCount specifies the maximum number of IP addresses per network interface.
MaxPort specifies the maximum tcp port to open.
Mesos is the string constant for MESOS orchestrator type.
MinAgentCount are the minimum number of agents per agent pool.
MinDiskSizeGB specifies the minimum attached disk size.
MinIPAddressCount specifies the minimum number of IP addresses per network interface.
MinPort specifies the minimum tcp port to open.
StorageAccount means that the nodes use raw storage accounts for their os and attached volumes.
Swarm is the string constant for the Swarm orchestrator type.
SwarmMode is the string constant for the Swarm Mode orchestrator type.
SwarmVersion is the Swarm orchestrator version.
VirtualMachineScaleSets means that the vms are in a virtual machine scaleset.

# Variables

AllDCOSSupportedVersions maintain a list of available dcos versions in aks-engine.
AllKubernetesSupportedVersions is a whitelist map of all supported Kubernetes version strings The bool value indicates if creating new clusters with this version is allowed.
AllKubernetesWindowsSupportedVersions maintain a set of available k8s Windows versions in aks-engine.