controller

package
v0.0.0-...-301b365 Latest Latest
Warning

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

Go to latest
Published: May 11, 2022 License: BSD-3-Clause Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Controller

type Controller struct {
	// contains filtered or unexported fields
}

func New

func New(stor storage.Storage) (*Controller, error)

func (*Controller) Start

func (c *Controller) Start() error

func (*Controller) Stop

func (c *Controller) Stop() error

type Syncer

type Syncer struct {
	// contains filtered or unexported fields
}

Syncer would sync the cluster topo information to cluster nodes when it's changed.

func NewSyncer

func NewSyncer(stor storage.Storage) *Syncer

func (*Syncer) Close

func (syncer *Syncer) Close()

func (*Syncer) Notify

func (syncer *Syncer) Notify(event *storage.Event)

Jump to

Keyboard shortcuts

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