Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConnectionProps ¶
type ConnectionProps struct { Config *config.Config Log logrus.FieldLogger }
func (*ConnectionProps) DialOptions ¶
func (cp *ConnectionProps) DialOptions(ctx context.Context) ([]grpc.DialOption, error)
func (*ConnectionProps) Tag ¶
func (cp *ConnectionProps) Tag(ctx context.Context) (grpc_client.ConnectionTag, error)
func (*ConnectionProps) Validate ¶
func (cp *ConnectionProps) Validate(prevTag, newTag *grpc_client.ConnectionTag) bool
type RelayClient ¶
type RelayClient struct { hubble_client.GRPCHubbleClient // contains filtered or unexported fields }
func New ¶
func New( log logrus.FieldLogger, c *config.Config, gcl *grpc_client.GRPCClient, ) (*RelayClient, error)
func (*RelayClient) CallOptions ¶
func (rcl *RelayClient) CallOptions(ctx context.Context) []grpc.CallOption
func (*RelayClient) GetRequestMetadata ¶
func (rcl *RelayClient) GetRequestMetadata(ctx context.Context, uri ...string) (map[string]string, error)
NOTE: These two methods implements PerRPCCredentials interface
func (*RelayClient) RequireTransportSecurity ¶
func (rcl *RelayClient) RequireTransportSecurity() bool
type RelayClientInterface ¶
type RelayClientInterface interface { grpc_client.GRPCClientInterface hubble_client.HubbleClientInterface }
Click to show internal directories.
Click to hide internal directories.