28 lines
847 B
PowerShell
28 lines
847 B
PowerShell
function Test-AlkamiSREModuleManifest10 {
|
|
<#
|
|
.SYNOPSIS
|
|
Please don't use this file by hand, please use Test-AlkamiManifest
|
|
This function is intended to validate the SREModule Manifest dotted object/hashtable so we can ensure that the values provided meet a minimum standard of valid
|
|
|
|
.PARAMETER ModuleManifest
|
|
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]$ModuleManifest
|
|
)
|
|
|
|
$success = $true
|
|
$resultMessages = @()
|
|
|
|
# SREModule manifests don't have testable structure that we care about at this time.
|
|
# This is ok.
|
|
|
|
return @{
|
|
success = $success
|
|
results = $resultMessages
|
|
}
|
|
} |