ps/Modules/Alkami.PowerShell.Configuration/Public/Test-AlkamiInstallerManifest10.ps1

28 lines
856 B
PowerShell
Raw Permalink Normal View History

2023-05-30 22:51:22 -07:00
function Test-AlkamiInstallerManifest10 {
<#
.SYNOPSIS
Please don't use this file by hand, please use Test-AlkamiManifest
This function is intended to validate the LegacyUtilityManifest dotted object/hashtable so we can ensure that the values provided meet a minimum standard of valid
.PARAMETER InstallerManifest
A dotted object ([xml](Get-Content -Path $somePath)) or hashtable of values
#>
[CmdletBinding()]
[OutputType([System.Collections.Hashtable])]
Param(
[Parameter(Position = 0, Mandatory = $true)]
[ValidateNotNullOrEmpty()]
[object]$InstallerManifest
)
$success = $true
$resultMessages = @()
# Installer manifests don't have testable structure that we care about at this time.
# This is ok.
return @{
success = $success
results = $resultMessages
}
}