platformd

package
v0.0.0-...-06cc741 Latest Latest
Warning

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

Go to latest
Published: Nov 30, 2025 License: AGPL-3.0 Imports: 33 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	ManagementServerListenSock string
	CRIListenSock              string
	EnvoyImage                 string
	CoreDNSImage               string
	GetsockoptCGroup           string
	DNSServer                  string
	HostIface                  string
	MaxAttempts                uint
	SyncInterval               time.Duration
	NodeID                     string
	MinPort                    uint16
	MaxPort                    uint16
	WorkloadNamespace          string
	RegistryEndpoint           string
	RegistryUser               string
	RegistryPass               string
	ControlPlaneEndpoint       string
	CheckpointConfig           struct {
		CPUPeriod                int64
		CPUQuota                 int64
		MemoryLimitBytes         int64
		CheckpointFileDir        string
		CheckpointTimeoutSeconds int64
		RegistryUser             string
		RegistryPass             string
		ListenAddr               string
		StatusRetentionPeriod    time.Duration
		ContainerReadyTimeout    time.Duration
		WaitAfterServerInit      time.Duration
	}
}

type Server

type Server struct {
	// contains filtered or unexported fields
}

func NewServer

func NewServer(logger *slog.Logger) *Server

func (*Server) Run

func (s *Server) Run(ctx context.Context, cfg Config) error

func (*Server) Stop

func (s *Server) Stop()

Directories

Path Synopsis
xds

Jump to

Keyboard shortcuts

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