aggregation

package
v0.0.0-...-09e780c Latest Latest
Warning

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

Go to latest
Published: Jul 13, 2022 License: Apache-2.0 Imports: 16 Imported by: 0

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