clusterhandler

package
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 28, 2019 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Overview

Package clusterhandler watchs k8s crd if it is enabled, listen on a websocket tunnel to access connection from child, and process message from child or parent.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ClusterHandler

type ClusterHandler interface {
	Start() error // nonblock
}

ClusterHandler is the interface to do cluster handler job. Get one by NewClusterHandler and Start it.

func NewClusterHandler

func NewClusterHandler(c *config.ClusterControllerConfig) (ClusterHandler, error)

NewClusterHandler news a ClusterHandler by ClusterControllerConfig.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL