Documentation
¶
Index ¶
Constants ¶
View Source
const ( HealthOK = "ok" HealthDegraded = "degraded" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CommandMeta ¶
type ConfigState ¶
type Coordinator ¶
type Coordinator struct {
// contains filtered or unexported fields
}
func NewCoordinator ¶
func NewCoordinator(store *Store) *Coordinator
func (*Coordinator) Do ¶
func (c *Coordinator) Do(ctx context.Context, meta CommandMeta, mutate Mutation) (Snapshot, error)
type Snapshot ¶
type Snapshot struct {
Revision uint64
Version string
StartedAt time.Time
Health string
LastError string
Core CoreState
Config ConfigState
ActiveSubscription string
Subscriptions []SubscriptionState
}
Click to show internal directories.
Click to hide internal directories.