Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type API ¶
type API struct {
// contains filtered or unexported fields
}
API contains state variables used by the Auth API endpoint.
func NewAPI ¶
func NewAPI(cfg keppel.Configuration, ad keppel.AuthDriver, fd keppel.FederationDriver, db *keppel.DB) *API
NewAPI constructs a new API instance.
type PeeringRequest ¶
type PeeringRequest struct { PeerHostName string `json:"peer"` UserName string `json:"username"` Password string `json:"password"` }
PeeringRequest is the structure of the JSON request body sent to the POST /keppel/v1/auth/peering endpoint.
Click to show internal directories.
Click to hide internal directories.