github.com/redhat-appstudio/e2e-tests@v0.0.0-20230619105049-9a422b2094d7/tests/byoc/types.go (about)

     1  package byoc
     2  
     3  import (
     4  	appservice "github.com/redhat-appstudio/application-api/api/v1alpha1"
     5  )
     6  
     7  // Describe Byoc test scenarios
     8  type Scenario struct {
     9  	// Scenario test name
    10  	Name string
    11  
    12  	// Describe an application to create into user BYOC cluster
    13  	ApplicationService ApplicationService
    14  
    15  	// Specs obout BYOC provided by user
    16  	Byoc Byoc
    17  }
    18  
    19  // RHTAP Application status
    20  type ApplicationService struct {
    21  	// Valid github public repository
    22  	GithubRepository string
    23  
    24  	// Application name sample created in BYOC cluster
    25  	ApplicationName string
    26  }
    27  
    28  // Byoc is an RHTAP environment provided by users
    29  type Byoc struct {
    30  	// Define the cluster provided by user where to deploy RHTAP apps
    31  	ClusterType appservice.ConfigurationClusterType
    32  
    33  	// Target Namespace where to deploy RHTAP applications in BYOC provided
    34  	TargetNamespace string
    35  }