package
0.0.0-20240815173558-303cc3735024
Repository: https://github.com/libopenstorage/operator.git
Documentation: pkg.go.dev
# Functions
InitPreflightChecker initialize the preflight check instance.
Instance returns a singleton instance of preflight check.
IsAWS() returns whether the cloud environment is running on AWS.
IsAzure returns whether the cloud environment is running on Azure.
IsEKS returns whether the cloud environment is running EKS.
IsGKE returns whether the cloud environment is running GKE.
IsGKE returns whether the cloud environment is running PKS.
RequiresCheck returns whether a preflight check is needed based on the platform.
RunningOnCloud checks whether portworx is running on cloud.
SetInstance replaces the instance with the provided one.
# Constants
PksSystemNamespace PKS system namespace.
# Interfaces
CheckerOps is a list of APIs to do preflight check.