adaptor

package
v0.7.0-alpha.2 Latest Latest
Warning

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

Go to latest
Published: Jul 21, 2023 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DefaultSocketPath = "/run/peerpod/hypervisor.sock"
	DefaultPodsDir    = "/run/peerpod/pods"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Server

type Server interface {
	Start(ctx context.Context) error
	Shutdown() error
	Ready() chan struct{}
}

func NewServer

func NewServer(provider cloud.Provider, cfg *ServerConfig, workerNode podnetwork.WorkerNode) Server

type ServerConfig

type ServerConfig struct {
	TLSConfig     *tlsutil.TLSConfig
	SocketPath    string
	CriSocketPath string
	PauseImage    string
	PodsDir       string
	ForwarderPort string
	ProxyTimeout  time.Duration
}

Directories

Path Synopsis
aws

Jump to

Keyboard shortcuts

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