server

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: Jul 31, 2026 License: Apache-2.0 Imports: 37 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 {
	State               *store.Store
	Secrets             *store.SecretStore
	Factory             provider.Factory
	Activities          *activity.Manager
	Metrics             *metrics.Manager
	Workloads           workloadcache.Cache
	Agents              *agent.Hub
	Assets              fs.FS
	AuthToken           string
	Logger              *slog.Logger
	Version             string
	RemoteAgentsEnabled bool
}

type Server

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

func New

func New(config Config) (*Server, error)

func (*Server) CleanupExpiredAgents

func (s *Server) CleanupExpiredAgents(ctx context.Context)

func (*Server) Handler

func (s *Server) Handler() http.Handler

Jump to

Keyboard shortcuts

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