ingressclient

package
v1.7.0 Latest Latest
Warning

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

Go to latest
Published: Sep 27, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	MAX_BATCH_SIZE_IN_BYTES           = 32 * 1024
	MAX_INGRESS_PAYLOAD_SIZE_IN_BYTES = 2 * MAX_BATCH_SIZE_IN_BYTES
)

Variables

This section is empty.

Functions

This section is empty.

Types

type IngressClient

type IngressClient struct {
	// contains filtered or unexported fields
}

func NewIngressClient

func NewIngressClient(ingressAddress string, tlsConfig *tls.Config, opts ...IngressClientOption) (*IngressClient, error)

func (*IngressClient) Close

func (c *IngressClient) Close()

func (*IngressClient) Write

func (c *IngressClient) Write(points []*rpc.Point) error

type IngressClientOption

type IngressClientOption func(*IngressClient)

func WithDialTimeout

func WithDialTimeout(timeout time.Duration) IngressClientOption

func WithIngressClientLogger

func WithIngressClientLogger(log *logger.Logger) IngressClientOption

Jump to

Keyboard shortcuts

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