hostapi

package
v0.7.0-rc.5 Latest Latest
Warning

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

Go to latest
Published: Sep 16, 2026 License: AGPL-3.0 Imports: 17 Imported by: 0

Documentation

Overview

Package hostapi implements the authenticated airlock-host control-plane protocol.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Handler

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

func New

func New(hosts *hostssvc.Service, orchestration *connectororchestrationsvc.Service, logger *zap.Logger) *Handler

func (*Handler) Begin

func (h *Handler) Begin(w http.ResponseWriter, r *http.Request)

func (*Handler) CompleteEnrollment

func (h *Handler) CompleteEnrollment(w http.ResponseWriter, r *http.Request)

func (*Handler) Connect

func (h *Handler) Connect(w http.ResponseWriter, r *http.Request)

func (*Handler) Shutdown

func (h *Handler) Shutdown(ctx context.Context) error

Shutdown closes upgraded sockets explicitly; net/http does not own them.

Jump to

Keyboard shortcuts

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