github.com/aporeto-inc/trireme-lib@v10.358.0+incompatible/controller/pkg/remoteenforcer/internal/client/interfaces.go (about)

     1  package client
     2  
     3  import "context"
     4  
     5  // Reporter interface provides functions to start/stop a remote client
     6  // A remote client is an active component which is responsible for collecting
     7  // events collected by datapath and ship them to the master enforcer.
     8  type Reporter interface {
     9  	Run(ctx context.Context) error
    10  	Send() error
    11  }