github.com/oam-dev/cluster-gateway@v1.9.0/pkg/common/constants.go (about)

     1  package common
     2  
     3  import "github.com/oam-dev/cluster-gateway/pkg/config"
     4  
     5  const (
     6  	AddonName = "cluster-gateway"
     7  )
     8  
     9  const (
    10  	LabelKeyOpenClusterManagementAddon = "proxy.open-cluster-management.io/addon-name"
    11  )
    12  
    13  const (
    14  	ClusterGatewayConfigurationCRDName = "clustergatewayconfigurations.proxy.open-cluster-management.io"
    15  	ClusterGatewayConfigurationCRName  = "cluster-gateway"
    16  )
    17  
    18  const (
    19  	InstallNamespace = "open-cluster-management-cluster-gateway"
    20  )
    21  
    22  const (
    23  	ClusterGatewayAPIServiceName = "v1alpha1.cluster.core.oam.dev"
    24  )
    25  
    26  var (
    27  	// LabelKeyClusterCredentialType describes the credential type in object label field
    28  	LabelKeyClusterCredentialType = config.MetaApiGroupName + "/cluster-credential-type"
    29  	// LabelKeyClusterEndpointType describes the endpoint type.
    30  	LabelKeyClusterEndpointType = config.MetaApiGroupName + "/cluster-endpoint-type"
    31  )