blob: 20773cdcefc0bef3fa5b3dc964502f5480c07e0b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
package abi
import (
"context"
"github.com/containers/libpod/libpod/events"
"github.com/containers/libpod/pkg/domain/entities"
"github.com/sirupsen/logrus"
)
func (ic *ContainerEngine) Events(ctx context.Context, opts entities.EventsOptions) error {
readOpts := events.ReadOptions{FromStart: opts.FromStart, Stream: opts.Stream, Filters: opts.Filter, EventChannel: opts.EventChan, Since: opts.Since, Until: opts.Until}
err := ic.Libpod.Events(readOpts)
logrus.Error(err)
return err
}
|