Documentation ¶
Index ¶
- func Hash(s string, n int) int
- type Tap
- func (tap *Tap) Close(ctx context.Context, s *ambassadorAPI.Stream) (*emptypb.Empty, error)
- func (tap *Tap) Delete(ctx context.Context) error
- func (tap *Tap) Open(ctx context.Context, s *ambassadorAPI.Stream) (*emptypb.Empty, error)
- func (tap *Tap) Watch(filter *ambassadorAPI.Stream, watcher ambassadorAPI.Tap_WatchServer) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Tap ¶
type Tap struct { ambassadorAPI.UnimplementedTapServer TargetName string Namespace string NodeName string NetworkServiceClient networkservice.NetworkServiceClient MonitorConnectionClient networkservice.MonitorConnectionClient NSPServiceName string NSPServicePort int NSPEntryTimeout time.Duration GRPCMaxBackoff time.Duration Timeout time.Duration NetUtils networking.Utils StreamRegistry types.Registry // contains filtered or unexported fields }
Tap implements ambassadorAPI.TapServer
func New ¶
func New(targetName string, namespace string, nodeName string, networkServiceClient networkservice.NetworkServiceClient, monitorConnectionClient networkservice.MonitorConnectionClient, nspServiceName string, nspServicePort int, nspEntryTimeout time.Duration, grpcMaxBackoff time.Duration, timeout time.Duration, netUtils networking.Utils) (*Tap, error)
func (*Tap) Watch ¶
func (tap *Tap) Watch(filter *ambassadorAPI.Stream, watcher ambassadorAPI.Tap_WatchServer) error
Directories ¶
Path | Synopsis |
---|---|
mocks
Package mocks is a generated GoMock package.
|
Package mocks is a generated GoMock package. |
mocks
Package mocks is a generated GoMock package.
|
Package mocks is a generated GoMock package. |
mocks
Package mocks is a generated GoMock package.
|
Package mocks is a generated GoMock package. |
mocks
Package mocks is a generated GoMock package.
|
Package mocks is a generated GoMock package. |
Click to show internal directories.
Click to hide internal directories.