Documentation ¶
Index ¶
- Variables
- func AWSElasticacheResourcesExistTest(t common.TestingTB, ctx *common.TestingContext)
- func AWSRDSResourcesExistTest(t common.TestingTB, ctx *common.TestingContext)
- func CreateAWSSession(ctx context.Context, client client.Client) (*session.Session, bool, error)
- func GetCloudObjectStorageBlobStorageResourceIDs(ctx context.Context, client client.Client, rhmi *integreatlyv1alpha1.RHMI) ([]string, []string)
- func GetClustersAvailableZones(nodes *v1.NodeList) map[string]bool
- func GetPostgresInstanceData(ctx context.Context, client client.Client, rhmi *integreatlyv1alpha1.RHMI) (map[string]string, []error)
- func GetRedisInstanceData(ctx context.Context, client client.Client, rhmi *integreatlyv1alpha1.RHMI) (map[string]string, []error)
- func TestAWSs3BlobStorageResourcesExist(t common.TestingTB, ctx *common.TestingContext)
- func TestMultiAZPodDistribution(t common.TestingTB, ctx *common.TestingContext)
- func TestStandaloneVPCExists(t common.TestingTB, testingCtx *common.TestingContext)
Constants ¶
This section is empty.
Variables ¶
var ( FUNCTIONAL_TESTS_AWS = []common.TestCase{ {Description: "F01 - Verify AWS rds resources exist and are in expected state", Test: AWSRDSResourcesExistTest}, {Description: "F03 - Verify AWS elasticache resources exist and are in expected state", Test: AWSElasticacheResourcesExistTest}, {Description: "A25 - Verify standalone RHMI VPC exists and is configured properly", Test: TestStandaloneVPCExists}, {Description: "F04 - Verify AWS s3 blob storage resources exist", Test: TestAWSs3BlobStorageResourcesExist}, } MULTIAZ_TESTS = []common.TestCase{ {Description: "F09 - Verify correct pod distribution on Multi-AZ cluster", Test: TestMultiAZPodDistribution}, } )
Functions ¶
func AWSElasticacheResourcesExistTest ¶
func AWSElasticacheResourcesExistTest(t common.TestingTB, ctx *common.TestingContext)
func AWSRDSResourcesExistTest ¶
func AWSRDSResourcesExistTest(t common.TestingTB, ctx *common.TestingContext)
func CreateAWSSession ¶
CreateAWSSession creates a session to be used in getting an api instance for aws
func GetCloudObjectStorageBlobStorageResourceIDs ¶
func GetCloudObjectStorageBlobStorageResourceIDs(ctx context.Context, client client.Client, rhmi *integreatlyv1alpha1.RHMI) ([]string, []string)
GetCloudObjectStorageBlobStorageResourceIDs - used to get Blob Storage Resource IDs (buckets) for cloud object storages: AWS S3 Cloud Storage
func GetClustersAvailableZones ¶
GetClustersAvailableZones returns a map containing zone names that are currently available
func GetPostgresInstanceData ¶
func GetPostgresInstanceData(ctx context.Context, client client.Client, rhmi *integreatlyv1alpha1.RHMI) (map[string]string, []error)
Each resource provisioned contains an annotation with the resource ID This function iterates over a list of expected resource CR's Returns a list of resource ID's, these ID's can be used when testing postgres resources
func GetRedisInstanceData ¶
func GetRedisInstanceData(ctx context.Context, client client.Client, rhmi *integreatlyv1alpha1.RHMI) (map[string]string, []error)
Each resource provisioned contains an annotation with the resource ID This function iterates over a list of expected resource CR's Returns a list of resource ID's, these ID's can be used when testing AWS resources
func TestAWSs3BlobStorageResourcesExist ¶
func TestAWSs3BlobStorageResourcesExist(t common.TestingTB, ctx *common.TestingContext)
func TestMultiAZPodDistribution ¶
func TestMultiAZPodDistribution(t common.TestingTB, ctx *common.TestingContext)
func TestStandaloneVPCExists ¶
func TestStandaloneVPCExists(t common.TestingTB, testingCtx *common.TestingContext)
TestStandaloneVPCExists tests that the cloud resource operator network components have been correctly set up and configured
Types ¶
This section is empty.