Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EventCollector ¶
type EventCollector struct {
// contains filtered or unexported fields
}
func NewCollector ¶
func NewCollector(client *vim25.Client, objects ...string) *EventCollector
func (*EventCollector) AddMonitoredObject ¶
func (ec *EventCollector) AddMonitoredObject(ref string) error
func (*EventCollector) Name ¶
func (ec *EventCollector) Name() string
func (*EventCollector) Register ¶
func (ec *EventCollector) Register(callback func(events.Event))
Register an event manager callback with the collector
func (*EventCollector) RemoveMonitoredObject ¶
func (ec *EventCollector) RemoveMonitoredObject(ref string)
func (*EventCollector) Stop ¶
func (ec *EventCollector) Stop()
Click to show internal directories.
Click to hide internal directories.