hubble_client

package
v0.0.0-...-a06e19b Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 3, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GRPCHubbleClient

type GRPCHubbleClient struct {
	*grpc_client.GRPCClient
	// contains filtered or unexported fields
}

func (*GRPCHubbleClient) ConnectionPool

func (hc *GRPCHubbleClient) ConnectionPool() grpc_client.ConnectionPool

func (*GRPCHubbleClient) FlowStream

func (*GRPCHubbleClient) HubbleNodes

func (c *GRPCHubbleClient) HubbleNodes(
	ctx context.Context,
) (*observer.GetNodesResponse, error)

func (*GRPCHubbleClient) ServerStatus

func (c *GRPCHubbleClient) ServerStatus(
	ctx context.Context,
) (*observer.ServerStatusResponse, error)

func (*GRPCHubbleClient) ServerStatusChecker

type HubbleClientInterface

type HubbleClientInterface interface {
	FlowStream() flow_stream.FlowStreamInterface
	ServerStatus(context.Context) (*observer.ServerStatusResponse, error)
	ServerStatusChecker(opts StatusCheckerOptions) (statuschecker.ServerStatusCheckerInterface, error)
}

type StatusCheckerOptions

type StatusCheckerOptions struct {
	Delay time.Duration
	Log   logrus.FieldLogger
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL