Documentation
¶
Index ¶
Constants ¶
View Source
const (
EventTypeVersion = "0.1"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EventCategory ¶
type EventCategory = voltha.EventCategory_Types
type EventProxy ¶
type EventProxy interface {
SendDeviceEvent(ctx context.Context, deviceEvent *voltha.DeviceEvent, category EventCategory,
subCategory EventSubCategory, raisedTs int64) error
SendDeviceEventWithKey(ctx context.Context, deviceEvent *voltha.DeviceEvent, category EventCategory,
subCategory EventSubCategory, raisedTs int64, key string) error
SendKpiEvent(ctx context.Context, id string, deviceEvent *voltha.KpiEvent2, category EventCategory,
subCategory EventSubCategory, raisedTs int64) error
SendKpiEvent3(ctx context.Context, id string, deviceEvent *voltha.KpiEvent3, category EventCategory,
subCategory EventSubCategory, raisedTs int64) error
SendRPCEvent(ctx context.Context, id string, deviceEvent *voltha.RPCEvent, category EventCategory,
subCategory *EventSubCategory, raisedTs int64) error
EnableLivenessChannel(ctx context.Context, enable bool) chan bool
SendLiveness(ctx context.Context) error
Start() error
Stop()
}
EventProxy interface for eventproxy
type EventSubCategory ¶
type EventSubCategory = voltha.EventSubCategory_Types
type EventType ¶
type EventType = voltha.EventType_Types
Click to show internal directories.
Click to hide internal directories.