hostapi

package
v0.7.0-rc.1 Latest Latest
Warning

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

Go to latest
Published: Sep 14, 2026 License: AGPL-3.0 Imports: 14 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) ConnectorComplete

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

func (*Handler) ConnectorEvent

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

func (*Handler) ConnectorInventory

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

func (*Handler) ManagementComplete

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

func (*Handler) ManagementEvent

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

func (*Handler) Poll

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

func (*Handler) Sync

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

Jump to

Keyboard shortcuts

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