Documentation ¶
Index ¶
Constants ¶
View Source
const ( Module = "BCS-API-Tunnel-Module" RegisterToken = "BCS-API-Tunnel-Token" Params = "BCS-API-Tunnel-Params" Cluster = "BCS-API-Tunnel-ClusterId" KubeAgentModule = "kube-agent" K8sDriverModule = "k8s-driver" MesosDriverModule = "mesos-driver" )
Variables ¶
View Source
var (
DefaultTunnelServer *websocketDialer.Server
)
Functions ¶
func NewTunnelServer ¶
func NewTunnelServer() *websocketDialer.Server
NewTunnelServer create websocket tunnel server
func StartPeerManager ¶
func StartPeerManager(conf *config.ApiServConfig, dialerServer *websocketDialer.Server) error
Types ¶
type PeerRDiscover ¶
type PeerRDiscover struct {
// contains filtered or unexported fields
}
type RegisterCluster ¶
Click to show internal directories.
Click to hide internal directories.