package
0.1.8
Repository: https://github.com/paralus/relay.git
Documentation: pkg.go.dev

# Functions

DeleteServiceAccount from cluster and cache.
InitPeerCacheRoundTripper initialize the cache.
InitUnixCacheRoundTripper initialize the cache.
NewCachedKubeHandler is cached kube handler.
NewCachedRoundTripper returns new cached round tripper.
NewKubeCtlTCPProxy creates new direct TCPProxy, everything will be proxied to unix socket.
NewTCPProxy creates new direct TCPProxy, everything will be proxied to unix socket.
PeerKubeHandler peer proxying handler.
UnixDialContext unix dial.
UnixKubeHandler unix handler.

# Variables

ErrInvalidUser is returned for invalid user.
ErrNotSAToken is returned when secret refered by service account is not of type service account token.

# Structs

TCPProxy forwards TCP streams.

# Type aliases

Func is responsible for forwarding a remote connection to local server and writing the response.