github.com/verrazzano/verrazzano@v1.7.1/tests/e2e/update/a-la-carte/a_la_carte_suite_test.go (about)

     1  // Copyright (c) 2023, Oracle and/or its affiliates.
     2  // Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl.
     3  
     4  package alacarte
     5  
     6  import (
     7  	"flag"
     8  	"testing"
     9  
    10  	. "github.com/onsi/ginkgo/v2"
    11  	. "github.com/onsi/gomega"
    12  )
    13  
    14  var updateType string
    15  var clusterResourceNamespace string
    16  var dnsType string
    17  var certificateType string
    18  
    19  func init() {
    20  	flag.StringVar(&updateType, "updateType", "", "updateType is the type of update to perform")
    21  	flag.StringVar(&clusterResourceNamespace, "clusterResourceNamespace", "my-cert-manager", "the cluster issuer namespace")
    22  	flag.StringVar(&dnsType, "dnsType", "wildcard", "the DNS type to configure")
    23  	flag.StringVar(&certificateType, "certificateType", "default", "the certificate issuer")
    24  }
    25  func TestALaCarte(t *testing.T) {
    26  	RegisterFailHandler(Fail)
    27  	RunSpecs(t, "A-La-Carte Suite")
    28  }