Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AsyncCib ¶
type AsyncCib struct {
// contains filtered or unexported fields
}
AsyncCib wraps the CIB retrieval from go-pacemaker in an asynchronous interface, so that other parts of the server have a single copy of the CIB available at any time.
Also provides a subscription interface for the long polling request end point, via Wait().
func (*AsyncCib) Start ¶
func (acib *AsyncCib) Start()
Start launches two goroutines, one which runs the go-pacemaker mainloop and one which listens for CIB events (the CIB fetcher goroutine).
func (*AsyncCib) Version ¶
func (acib *AsyncCib) Version() *pacemaker.CibVersion
Version returns the current CIB version (or nil).
Click to show internal directories.
Click to hide internal directories.