DosInstallUtilities.Kube.psm1

# classes
. $PSScriptRoot\classes\Service.ps1

# kubernetes\cluster
. $PSScriptRoot\functions\kubernetes\cluster\ShowStatusOfCluster.ps1
. $PSScriptRoot\functions\kubernetes\cluster\GenerateKubeConfigFile.ps1

# kubernetes\namespace
. $PSScriptRoot\functions\kubernetes\namespace\CleanOutNamespace.ps1
. $PSScriptRoot\functions\kubernetes\namespace\CreateNamespaceIfNotExists.ps1

# Kubernetes\secrets
. $PSScriptRoot\functions\kubernetes\secrets\CreateSecretWithMultipleValues.ps1
. $PSScriptRoot\functions\kubernetes\secrets\DeleteSecret.ps1
. $PSScriptRoot\functions\kubernetes\secrets\ReadSecretData.ps1
. $PSScriptRoot\functions\kubernetes\secrets\ReadSecretValue.ps1
. $PSScriptRoot\functions\kubernetes\secrets\SaveSecretValue.ps1
. $PSScriptRoot\functions\kubernetes\secrets\SaveSecretPassword.ps1
. $PSScriptRoot\functions\kubernetes\secrets\DeleteAllSecretsInNamespace.ps1
. $PSScriptRoot\functions\kubernetes\secrets\ReadAllSecretsAsHashTable.ps1
. $PSScriptRoot\functions\kubernetes\secrets\GenerateSecretPassword.ps1
. $PSScriptRoot\functions\kubernetes\secrets\ReadSecretPassword.ps1
. $PSScriptRoot\functions\kubernetes\secrets\WriteSecretPasswordToOutput.ps1
. $PSScriptRoot\functions\kubernetes\secrets\WriteSecretValueToOutput.ps1
. $PSScriptRoot\functions\kubernetes\secrets\AskForSecretValue.ps1

# kubernetes\pods
. $PSScriptRoot\functions\kubernetes\pods\WaitForPodsInNamespace.ps1
. $PSScriptRoot\functions\kubernetes\pods\GetLoadBalancerIPs.ps1
. $PSScriptRoot\functions\kubernetes\pods\ShowStatusOfAllPodsInNameSpace.ps1
. $PSScriptRoot\functions\kubernetes\pods\ShowLogsOfAllPodsInNameSpace.ps1
. $PSScriptRoot\functions\kubernetes\pods\ShowSSHCommandsToContainers.ps1

# kubernetes\ingress
. $PSScriptRoot\functions\kubernetes\ingress\TroubleshootIngress.ps1

# kubernetes\dns
. $PSScriptRoot\functions\kubernetes\dns\RestartDNSPodsIfNeeded.ps1

# kubernetes\services
. $PSScriptRoot\functions\kubernetes\services\GetTcpServices.ps1

# helm
. $PSScriptRoot\functions\helm\InitHelm.ps1
. $PSScriptRoot\functions\helm\InstallHelmPackage.ps1
. $PSScriptRoot\functions\helm\InstallLoadBalancerHelmPackage.ps1
. $PSScriptRoot\functions\helm\DeleteHelmPackage.ps1
. $PSScriptRoot\functions\helm\InstallHelmClient.ps1

# Stack
. $PSScriptRoot\functions\Stack\Merge-Tokens.ps1
. $PSScriptRoot\functions\Stack\InstallStackInKubernetes.ps1
. $PSScriptRoot\functions\Stack\SetTcpPortsForStack.ps1

# helpers
. $PSScriptRoot\functions\helpers\HasProperty.ps1
. $PSScriptRoot\functions\helpers\Test-CommandExists.ps1
. $PSScriptRoot\functions\helpers\AssertStringIsNotNull.ps1
. $PSScriptRoot\functions\helpers\Find-OpenPort.ps1
. $PSScriptRoot\functions\helpers\Get-IsPortFree.ps1
. $PSScriptRoot\functions\helpers\GeneratePassword.ps1
. $PSScriptRoot\functions\helpers\Test-Script.ps1
. $PSScriptRoot\functions\helpers\DownloadFile.ps1

# config
. $PSScriptRoot\functions\config\GetConfigFile.ps1
. $PSScriptRoot\functions\config\ReadConfigFile.ps1

# dashboard
. $PSScriptRoot\functions\dashboard\LaunchKubernetesDashboard.ps1
. $PSScriptRoot\functions\dashboard\LaunchTraefikDashboard.ps1
. $PSScriptRoot\functions\dashboard\Get-TokenForDashboardUser.ps1
. $PSScriptRoot\functions\dashboard\Get-SecretNameForDashboardUser.ps1
. $PSScriptRoot\functions\dashboard\Get-UserForDashboard.ps1