Documentation ¶
Index ¶
- func HandleSNIConn(hb *hbone.HBone, conn net.Conn)
- func HandleSocksConn(hb *hbone.HBone, conn net.Conn) error
- func InitExpvar(hb *hbone.HBone)
- func InitMDS(hb *hbone.HBone)
- func InitXDSCluster(hb *hbone.HBone) *hbone.Cluster
- func LoadMeshConfig(hc *hbone.MeshSettings, path string) error
- func MDSHandler(hb *hbone.HBone) func(writer http.ResponseWriter, request *http.Request)
- func RemoteForward(hb *hbone.HBone, hg, sn, ns string) *hbone.EndpointCon
- func Start(hb *hbone.HBone)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HandleSNIConn ¶
HandleSNIConn implements SNI based routing. This can be used for compat with Istio. Was original method to tunnel for serverless.
This can be used for a legacy CNI to HBone bridge. The old Istio client expects an mTLS connection to the other end - the HBone proxy is untrusted.
func InitExpvar ¶
func LoadMeshConfig ¶
func LoadMeshConfig(hc *hbone.MeshSettings, path string) error
func MDSHandler ¶
Adapter emulating MDS using an authenticator (K8S or GCP) Allows Envoy, gRPC to work without extra code to handle token exchanges. "aud" is the special provider returning access and audience tokens.
func RemoteForward ¶
func RemoteForward(hb *hbone.HBone, hg, sn, ns string) *hbone.EndpointCon
WIP: RemoteForward is similar with ssh -R remotePort. Will use the H2R protocol to open a remote H2C connection attached to the Hbone remote server.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.