Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ObserverFn ¶ added in v0.0.15
type ObserverFn = func(*models.ClusterState) error
type Subject ¶
type Subject struct {
// contains filtered or unexported fields
}
func NewSubject ¶
func NewSubject() *Subject
func (*Subject) AddObserver ¶
func (s *Subject) AddObserver(observer ObserverFn)
AddObserver adds a new observer function
Click to show internal directories.
Click to hide internal directories.