github.com/cilium/cilium@v1.16.2/pkg/proxy/types/types.go (about)

     1  // SPDX-License-Identifier: Apache-2.0
     2  // Copyright Authors of Cilium
     3  
     4  package types
     5  
     6  const (
     7  	// ProxyTypeAny represents the case where no proxy type is provided.
     8  	ProxyTypeAny ProxyType = ""
     9  	// ProxyTypeHTTP specifies the Envoy HTTP proxy type
    10  	ProxyTypeHTTP ProxyType = "http"
    11  	// ProxyTypeDNS specifies the staticly configured DNS proxy type
    12  	ProxyTypeDNS ProxyType = "dns"
    13  	// ProxyTypeCRD specifies a proxy configured via CiliumEnvoyConfig CRD
    14  	ProxyTypeCRD ProxyType = "crd"
    15  
    16  	DNSProxyName = "cilium-dns-egress"
    17  )
    18  
    19  type ProxyType string
    20  
    21  func (p ProxyType) String() string {
    22  	return (string)(p)
    23  }