http

package
v0.7.2 Latest Latest
Warning

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

Go to latest
Published: Jun 22, 2026 License: Apache-2.0 Imports: 26 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Server

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

Server represents the HTTP server

func NewServer

func NewServer(
	sandboxService *service.SandboxService,
	egressAuthService *service.EgressAuthService,
	credentialSourceService *service.CredentialSourceService,
	templateService *service.TemplateService,
	registryService *service.RegistryService,
	templateStore store.TemplateStore,
	templateReconciler TemplateReconciler,
	templateStoreEnabled bool,
	clusterService *service.ClusterService,
	authValidator *internalauth.Validator,
	logger *zap.Logger,
	port int,
	obsProvider *observability.Provider,
	publicRootDomain string,
	publicRegionID string,
) *Server

NewServer creates a new HTTP server

func (*Server) Handler

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

Handler exposes the HTTP handler for tests.

func (*Server) SetQuotaRepository added in v0.5.0

func (s *Server) SetQuotaRepository(repo *quota.Repository)

func (*Server) Start

func (s *Server) Start(ctx context.Context) error

Start starts the HTTP server

type TemplateReconciler

type TemplateReconciler interface {
	TriggerReconcile(ctx context.Context)
}

TemplateReconciler exposes minimal reconcile controls for template syncing.

Jump to

Keyboard shortcuts

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