relay_client

package
v0.0.0-...-8b3bf69 Latest Latest
Warning

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

Go to latest
Published: Mar 26, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

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 (*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 (*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

Jump to

Keyboard shortcuts

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