Documentation ¶
Overview ¶
The platforms package provides a constant interface to the different deployment platforms of Contrast.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AllStrings ¶
func AllStrings() []string
AllStrings returns a list of all available platforms as strings.
Types ¶
type Platform ¶
type Platform int
Platform is a type that represents a deployment platform of Contrast.
const ( // Unknown is the default value for the platform type. Unknown Platform = iota // AKSCloudHypervisorSNP represents a deployment with Cloud-Hypervisor on SEV-SNP AKS. AKSCloudHypervisorSNP // K3sQEMUTDX represents a deployment with QEMU on bare-metal TDX K3s. K3sQEMUTDX // K3sQEMUSNP represents a deployment with QEMU on bare-metal SNP K3s. K3sQEMUSNP // RKE2QEMUTDX represents a deployment with QEMU on bare-metal TDX RKE2. RKE2QEMUTDX )
func FromString ¶
FromString returns the Platform type corresponding to the given string.
Click to show internal directories.
Click to hide internal directories.