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

     1  package vcluster
     2  
     3  type Openshift struct {
     4  	Enable bool `yaml:"enable"`
     5  }
     6  
     7  type NetworkPolicies struct {
     8  	Enabled bool `yaml:"enabled"`
     9  }
    10  
    11  type ServiceAccounts struct {
    12  	Enabled bool `yaml:"enabled"`
    13  }
    14  
    15  type Services struct {
    16  	SyncServiceSelector bool `yaml:"syncServiceSelector"`
    17  }
    18  
    19  type Ingresses struct {
    20  	Enabled          bool   `yaml:"enabled"`
    21  	PathType         string `yaml:"pathType"`
    22  	ApiVersion       string `yaml:"apiVersion"`
    23  	IngressClassName string `yaml:"ingressClassName"`
    24  	Host             string `yaml:"host"`
    25  }
    26  
    27  type Secrets struct {
    28  	Enabled bool `yaml:"enabled"`
    29  	All     bool `yaml:"all"`
    30  }
    31  
    32  type Sync struct {
    33  	NetworkPolicies NetworkPolicies `yaml:"networkpolicies"`
    34  	ServiceAccounts ServiceAccounts `yaml:"serviceaccounts"`
    35  	Services        Services        `yaml:"services"`
    36  	Ingresses       Ingresses       `yaml:"ingresses"`
    37  	Secrets         Secrets         `yaml:"secrets"`
    38  }
    39  
    40  // Available values for vcluster helm chart: https://artifacthub.io/packages/helm/loft/vcluster
    41  type ValuesTemplate struct {
    42  	Openshift Openshift `yaml:"openshift"`
    43  	Sync      Sync      `yaml:"sync"`
    44  }