Documentation ¶
Index ¶
Constants ¶
View Source
const (
// PreRebootEndpoint is the endpoint for requesting a semaphore lock.
PreRebootEndpoint = "/v1/pre-reboot"
)
View Source
const (
// SteadyStateEndpoint is the endpoint for releasing a semaphore lock.
SteadyStateEndpoint = "/v1/steady-state"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Airlock ¶
Airlock is the main service
func (*Airlock) RegisterMetrics ¶
RegisterMetrics registers all server-related metrics.
func (*Airlock) RunConsistencyChecker ¶
RunConsistencyChecker runs a continuous checker for consistency between configuration and remote state.
func (*Airlock) SteadyState ¶
SteadyState is the handler for the `/v1/steady-state` endpoint.
type HTTPParams ¶
type HTTPParams struct {
ClientParams Params `json:"client_params"`
}
HTTPParams contains all parameters for a remote lock request.
type NodeIdentity ¶
NodeIdentity contains validated client identity from request parameters.
Click to show internal directories.
Click to hide internal directories.