Documentation
¶
Index ¶
- func HandleError(w http.ResponseWriter, r *http.Request, err error)
- func MethodNotAllowed(w http.ResponseWriter, r *http.Request)
- func NotFound(w http.ResponseWriter, r *http.Request)
- type Handler
- func (h *Handler) DeleteApiV2InstancesInstanceID(w http.ResponseWriter, r *http.Request, instanceID openapi.InstanceIDParameter)
- func (h *Handler) GetApiV1OrganizationsOrganizationIDRegions(w http.ResponseWriter, r *http.Request, ...)
- func (h *Handler) GetApiV1OrganizationsOrganizationIDRegionsRegionIDFlavors(w http.ResponseWriter, r *http.Request, ...)
- func (h *Handler) GetApiV1OrganizationsOrganizationIDRegionsRegionIDImages(w http.ResponseWriter, r *http.Request, ...)
- func (h *Handler) GetApiV2Instances(w http.ResponseWriter, r *http.Request, params openapi.GetApiV2InstancesParams)
- func (h *Handler) GetApiV2InstancesInstanceID(w http.ResponseWriter, r *http.Request, instanceID openapi.InstanceIDParameter)
- func (h *Handler) GetApiV2InstancesInstanceIDConsoleoutput(w http.ResponseWriter, r *http.Request, instanceID openapi.InstanceIDParameter, ...)
- func (h *Handler) GetApiV2InstancesInstanceIDConsolesession(w http.ResponseWriter, r *http.Request, instanceID openapi.InstanceIDParameter)
- func (h *Handler) GetApiV2InstancesInstanceIDSshkey(w http.ResponseWriter, r *http.Request, instanceID openapi.InstanceIDParameter)
- func (h *Handler) GetApiVersion(w http.ResponseWriter, r *http.Request)
- func (h *Handler) GetWellKnownOpenidProtectedResource(w http.ResponseWriter, r *http.Request)
- func (h *Handler) PostApiV2Instances(w http.ResponseWriter, r *http.Request)
- func (h *Handler) PostApiV2InstancesInstanceIDReboot(w http.ResponseWriter, r *http.Request, instanceID openapi.InstanceIDParameter, ...)
- func (h *Handler) PostApiV2InstancesInstanceIDSnapshot(w http.ResponseWriter, r *http.Request, instanceID openapi.InstanceIDParameter)
- func (h *Handler) PostApiV2InstancesInstanceIDStart(w http.ResponseWriter, r *http.Request, instanceID openapi.InstanceIDParameter)
- func (h *Handler) PostApiV2InstancesInstanceIDStop(w http.ResponseWriter, r *http.Request, instanceID openapi.InstanceIDParameter)
- func (h *Handler) PutApiV2InstancesInstanceID(w http.ResponseWriter, r *http.Request, instanceID openapi.InstanceIDParameter)
- type Options
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HandleError ¶
func HandleError(w http.ResponseWriter, r *http.Request, err error)
HandleError is called when the router has trouble parsong paths.
func MethodNotAllowed ¶
func MethodNotAllowed(w http.ResponseWriter, r *http.Request)
MethodNotAllowed is called from the router when a method is not found for a path.
Types ¶
type Handler ¶
type Handler struct {
// contains filtered or unexported fields
}
func New ¶
func New(client client.Client, namespace string, options *Options, identity identityapi.ClientWithResponsesInterface, region regionapi.ClientWithResponsesInterface) (*Handler, error)
func (*Handler) DeleteApiV2InstancesInstanceID ¶ added in v1.11.0
func (h *Handler) DeleteApiV2InstancesInstanceID(w http.ResponseWriter, r *http.Request, instanceID openapi.InstanceIDParameter)
func (*Handler) GetApiV1OrganizationsOrganizationIDRegions ¶ added in v0.1.6
func (h *Handler) GetApiV1OrganizationsOrganizationIDRegions(w http.ResponseWriter, r *http.Request, organizationID openapi.OrganizationIDParameter)
func (*Handler) GetApiV1OrganizationsOrganizationIDRegionsRegionIDFlavors ¶
func (h *Handler) GetApiV1OrganizationsOrganizationIDRegionsRegionIDFlavors(w http.ResponseWriter, r *http.Request, organizationID openapi.OrganizationIDParameter, regionID openapi.RegionIDParameter)
func (*Handler) GetApiV1OrganizationsOrganizationIDRegionsRegionIDImages ¶
func (h *Handler) GetApiV1OrganizationsOrganizationIDRegionsRegionIDImages(w http.ResponseWriter, r *http.Request, organizationID openapi.OrganizationIDParameter, regionID openapi.RegionIDParameter)
func (*Handler) GetApiV2Instances ¶ added in v1.11.0
func (h *Handler) GetApiV2Instances(w http.ResponseWriter, r *http.Request, params openapi.GetApiV2InstancesParams)
func (*Handler) GetApiV2InstancesInstanceID ¶ added in v1.11.0
func (h *Handler) GetApiV2InstancesInstanceID(w http.ResponseWriter, r *http.Request, instanceID openapi.InstanceIDParameter)
func (*Handler) GetApiV2InstancesInstanceIDConsoleoutput ¶ added in v1.11.0
func (h *Handler) GetApiV2InstancesInstanceIDConsoleoutput(w http.ResponseWriter, r *http.Request, instanceID openapi.InstanceIDParameter, params openapi.GetApiV2InstancesInstanceIDConsoleoutputParams)
func (*Handler) GetApiV2InstancesInstanceIDConsolesession ¶ added in v1.11.0
func (h *Handler) GetApiV2InstancesInstanceIDConsolesession(w http.ResponseWriter, r *http.Request, instanceID openapi.InstanceIDParameter)
func (*Handler) GetApiV2InstancesInstanceIDSshkey ¶ added in v1.11.0
func (h *Handler) GetApiV2InstancesInstanceIDSshkey(w http.ResponseWriter, r *http.Request, instanceID openapi.InstanceIDParameter)
func (*Handler) GetApiVersion ¶ added in v1.16.6
func (h *Handler) GetApiVersion(w http.ResponseWriter, r *http.Request)
func (*Handler) GetWellKnownOpenidProtectedResource ¶ added in v1.14.0
func (h *Handler) GetWellKnownOpenidProtectedResource(w http.ResponseWriter, r *http.Request)
GetWellKnownOpenidProtectedResource implements RFC 9728.
func (*Handler) PostApiV2Instances ¶ added in v1.11.0
func (h *Handler) PostApiV2Instances(w http.ResponseWriter, r *http.Request)
func (*Handler) PostApiV2InstancesInstanceIDReboot ¶ added in v1.11.0
func (h *Handler) PostApiV2InstancesInstanceIDReboot(w http.ResponseWriter, r *http.Request, instanceID openapi.InstanceIDParameter, params openapi.PostApiV2InstancesInstanceIDRebootParams)
func (*Handler) PostApiV2InstancesInstanceIDSnapshot ¶ added in v1.13.0
func (h *Handler) PostApiV2InstancesInstanceIDSnapshot(w http.ResponseWriter, r *http.Request, instanceID openapi.InstanceIDParameter)
func (*Handler) PostApiV2InstancesInstanceIDStart ¶ added in v1.11.0
func (h *Handler) PostApiV2InstancesInstanceIDStart(w http.ResponseWriter, r *http.Request, instanceID openapi.InstanceIDParameter)
func (*Handler) PostApiV2InstancesInstanceIDStop ¶ added in v1.11.0
func (h *Handler) PostApiV2InstancesInstanceIDStop(w http.ResponseWriter, r *http.Request, instanceID openapi.InstanceIDParameter)
func (*Handler) PutApiV2InstancesInstanceID ¶ added in v1.11.0
func (h *Handler) PutApiV2InstancesInstanceID(w http.ResponseWriter, r *http.Request, instanceID openapi.InstanceIDParameter)
Click to show internal directories.
Click to hide internal directories.