Documentation ¶
Index ¶
Constants ¶
View Source
const ( // RoutePathNodeBootstrapping the route path to get node bootstrapping data. RoutePathNodeBootstrapData string = "/getnodebootstrapdata" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type APIServer ¶
type APIServer struct {
Options *Options
}
APIServer contains the connections details required to run the api
func NewAPIServer ¶
NewAPIServer creates an APIServer object with defaults
func (*APIServer) GetNodeBootstrapData ¶
func (api *APIServer) GetNodeBootstrapData(w http.ResponseWriter, r *http.Request)
GetNodeBootstrapConfig endpoint for getting node bootstrapping data.
func (*APIServer) ListenAndServe ¶
ListenAndServe wraps http.Server and provides context-based cancelation.
Click to show internal directories.
Click to hide internal directories.