Documentation ¶
Index ¶
Constants ¶
View Source
const ( // RoutePathNodeBootstrapping the route path to get node bootstrapping data. RoutePathNodeBootstrapConfig string = "/nodebootstrapconfig" )
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) GetNodeBootstrappingConfig ¶ added in v0.20210924.1
func (api *APIServer) GetNodeBootstrappingConfig(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.