Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AppNodeController ¶
type AppNodeController interface { // ListAppNodes list all appNode datas ListAppNodes(selector labels.Selector) ([]*v1.AppNode, error) // GetAppNode get specified AppNode by namespace, name GetAppNode(ns, name string) (*v1.AppNode, error) // RegisterAppNodeHandler register event callback for AppNode RegisterAppNodeQueue(handler queue.Queue) }
AppNodeController controller for AppNode encapsulation
type AppSvcController ¶
type AppSvcController interface { // GetAppSvc get specified AppSvc by namespace, name GetAppSvc(ns, name string) (*v1.AppSvc, error) // ListAppSvcs List all AppSvc datas ListAppSvcs(selector labels.Selector) ([]*v1.AppSvc, error) // RegisterAppSvcHandler register event callback for AppSvc RegisterAppSvcQueue(handler queue.Queue) }
AppSvcController controller for AppSvc encapsulation
type Cluster ¶
type Cluster interface { // GetName get cluster name GetName() string // Run starting cluster all discovery goroutine for caching data Run() // Stop stop cluster Stop() // AppSvcs get controller of AppSvc AppSvcs() AppSvcController // AppNodes get controller of AppNode AppNodes() AppNodeController }
Cluster maintance resource for specified cluster, offer cluster api for getting & listing all discovery datas
Click to show internal directories.
Click to hide internal directories.