Documentation ¶
Index ¶
Constants ¶
View Source
const APIPrefix = "compute/"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ComputeAPIClient ¶
ComputeAPIClient is a utility for interacting with a node's API server.
func NewComputeAPIClient ¶
func NewComputeAPIClient(baseURI string) *ComputeAPIClient
NewComputeAPIClient returns a new client for a node's API server.
func NewComputeAPIClientFromClient ¶
func NewComputeAPIClientFromClient(baseClient *publicapi.APIClient) *ComputeAPIClient
NewComputeAPIClientFromClient returns a new client for a node's API server.
type ComputeAPIServer ¶
type ComputeAPIServer struct {
// contains filtered or unexported fields
}
func NewComputeAPIServer ¶
func NewComputeAPIServer(params ComputeAPIServerParams) *ComputeAPIServer
func (*ComputeAPIServer) RegisterAllHandlers ¶
func (s *ComputeAPIServer) RegisterAllHandlers() error
type ComputeAPIServerParams ¶
type ComputeAPIServerParams struct { APIServer *publicapi.APIServer DebugInfoProviders []model.DebugInfoProvider }
Click to show internal directories.
Click to hide internal directories.