proxy

package
v0.8.2 Latest Latest
Warning

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

Go to latest
Published: Apr 15, 2024 License: Apache-2.0 Imports: 24 Imported by: 0

Documentation

Index

Constants

View Source
const (
	SocketName = "agent.ttrpc"

	DefaultProxyTimeout = 5 * time.Minute
)

Variables

This section is empty.

Functions

This section is empty.

Types

type AgentProxy

type AgentProxy interface {
	Start(ctx context.Context, serverURL *url.URL) error
	Ready() chan struct{}
	Shutdown() error
	CAService() tlsutil.CAService
	ClientCA() (certPEM []byte)
}

func NewAgentProxy

func NewAgentProxy(serverName, socketPath, criSocketPath string, pauseImage string, tlsConfig *tlsutil.TLSConfig, caService tlsutil.CAService, proxyTimeout time.Duration) AgentProxy

type Factory

type Factory interface {
	New(serverName, socketPath string) AgentProxy
}

func NewFactory

func NewFactory(pauseImage, criSocketPath string, tlsConfig *tlsutil.TLSConfig, proxyTimeout time.Duration) Factory

Jump to

Keyboard shortcuts

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