aggregation

package
v0.0.0-...-61e80cf Latest Latest
Warning

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

Go to latest
Published: Nov 15, 2024 License: Apache-2.0 Imports: 16 Imported by: 8

Documentation

Index

Constants

View Source
const (
	HandshakeTimeOut = 10 * time.Second
)

Variables

This section is empty.

Functions

func ListenAndServe

func ListenAndServe(ctx context.Context, url string, caCert []byte, token string, handler http.Handler)

func Watch

func Watch(ctx context.Context, controller v1.SecretController, secretNamespace, secretName string, httpHandler http.Handler)

Types

type Listener

type Listener struct {
	sync.RWMutex
	// contains filtered or unexported fields
}

func NewListener

func NewListener(address string) *Listener

func (*Listener) Accept

func (l *Listener) Accept() (net.Conn, error)

func (*Listener) Addr

func (l *Listener) Addr() net.Addr

func (*Listener) Close

func (l *Listener) Close() error

func (*Listener) Dial

func (l *Listener) Dial(ctx context.Context, network, address string) (net.Conn, error)

Jump to

Keyboard shortcuts

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