etcd: github.com/etcd-io/etcd/etcdserver/api/v3alarm Index | Files

package v3alarm

import "github.com/etcd-io/etcd/etcdserver/api/v3alarm"

Package v3alarm manages health status alarms in etcd.

Index

Package Files

alarms.go

type AlarmStore Uses

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

AlarmStore persists alarms to the backend.

func NewAlarmStore Uses

func NewAlarmStore(bg BackendGetter) (*AlarmStore, error)

func (*AlarmStore) Activate Uses

func (a *AlarmStore) Activate(id types.ID, at pb.AlarmType) *pb.AlarmMember

func (*AlarmStore) Deactivate Uses

func (a *AlarmStore) Deactivate(id types.ID, at pb.AlarmType) *pb.AlarmMember

func (*AlarmStore) Get Uses

func (a *AlarmStore) Get(at pb.AlarmType) (ret []*pb.AlarmMember)

type BackendGetter Uses

type BackendGetter interface {
    Backend() backend.Backend
}

Package v3alarm imports 5 packages (graph). Updated 2019-06-01. Refresh now. Tools for package owners.