package
7.7.0+incompatible
Repository: https://github.com/dalet-oss/kowabunga-api.git
Documentation: pkg.go.dev

# Functions

NewDeleteHost creates a new http.Handler for the delete host operation.
NewDeleteHostConflict creates DeleteHostConflict with default headers values.
NewDeleteHostInternalServerError creates DeleteHostInternalServerError with default headers values.
NewDeleteHostNotFound creates DeleteHostNotFound with default headers values.
NewDeleteHostOK creates DeleteHostOK with default headers values.
NewDeleteHostParams creates a new DeleteHostParams object There are no default values defined in the spec.
NewGetAllHosts creates a new http.Handler for the get all hosts operation.
NewGetAllHostsOK creates GetAllHostsOK with default headers values.
NewGetAllHostsParams creates a new GetAllHostsParams object There are no default values defined in the spec.
NewGetHost creates a new http.Handler for the get host operation.
NewGetHostCaps creates a new http.Handler for the get host caps operation.
NewGetHostCapsNotFound creates GetHostCapsNotFound with default headers values.
NewGetHostCapsOK creates GetHostCapsOK with default headers values.
NewGetHostCapsParams creates a new GetHostCapsParams object There are no default values defined in the spec.
NewGetHostInstances creates a new http.Handler for the get host instances operation.
NewGetHostInstancesNotFound creates GetHostInstancesNotFound with default headers values.
NewGetHostInstancesOK creates GetHostInstancesOK with default headers values.
NewGetHostInstancesParams creates a new GetHostInstancesParams object There are no default values defined in the spec.
NewGetHostNotFound creates GetHostNotFound with default headers values.
NewGetHostOK creates GetHostOK with default headers values.
NewGetHostParams creates a new GetHostParams object There are no default values defined in the spec.
NewUpdateHost creates a new http.Handler for the update host operation.
NewUpdateHostBadRequest creates UpdateHostBadRequest with default headers values.
NewUpdateHostNotFound creates UpdateHostNotFound with default headers values.
NewUpdateHostOK creates UpdateHostOK with default headers values.
NewUpdateHostParams creates a new UpdateHostParams object There are no default values defined in the spec.

# Constants

DeleteHostConflictCode is the HTTP code returned for type DeleteHostConflict.
DeleteHostInternalServerErrorCode is the HTTP code returned for type DeleteHostInternalServerError.
DeleteHostNotFoundCode is the HTTP code returned for type DeleteHostNotFound.
DeleteHostOKCode is the HTTP code returned for type DeleteHostOK.
GetAllHostsOKCode is the HTTP code returned for type GetAllHostsOK.
GetHostCapsNotFoundCode is the HTTP code returned for type GetHostCapsNotFound.
GetHostCapsOKCode is the HTTP code returned for type GetHostCapsOK.
GetHostInstancesNotFoundCode is the HTTP code returned for type GetHostInstancesNotFound.
GetHostInstancesOKCode is the HTTP code returned for type GetHostInstancesOK.
GetHostNotFoundCode is the HTTP code returned for type GetHostNotFound.
GetHostOKCode is the HTTP code returned for type GetHostOK.
UpdateHostBadRequestCode is the HTTP code returned for type UpdateHostBadRequest.
UpdateHostNotFoundCode is the HTTP code returned for type UpdateHostNotFound.
UpdateHostOKCode is the HTTP code returned for type UpdateHostOK.

# Structs

DeleteHost swagger:route DELETE /host/{hostId} host deleteHost Deletes an existing host.
DeleteHostConflict The host is not empty or still being referenced.
DeleteHostInternalServerError Unable to disconnect from host's libvirt.
DeleteHostNotFound Invalid host ID was provided.
DeleteHostOK The host has been successfully removed.
DeleteHostParams contains all the bound params for the delete host operation typically these are obtained from a http.Request swagger:parameters DeleteHost.
DeleteHostURL generates an URL for the delete host operation.
GetAllHosts swagger:route GET /host host getAllHosts Returns the IDs of registered hosts.
GetAllHostsOK Returns the an array of host IDs.
GetAllHostsParams contains all the bound params for the get all hosts operation typically these are obtained from a http.Request swagger:parameters GetAllHosts.
GetAllHostsURL generates an URL for the get all hosts operation.
GetHost swagger:route GET /host/{hostId} host getHost Returns a description of the host */.
GetHostCaps swagger:route GET /host/{hostId}/caps host getHostCaps Returns the host capabilities.
GetHostCapsNotFound Invalid host ID was provided.
GetHostCapsOK Returns the host capabilities.
GetHostCapsParams contains all the bound params for the get host caps operation typically these are obtained from a http.Request swagger:parameters GetHostCaps.
GetHostCapsURL generates an URL for the get host caps operation.
GetHostInstances swagger:route GET /host/{hostId}/instances host instance getHostInstances Returns the UUIDs of the virtual machines running on the host.
GetHostInstancesNotFound Invalid host ID was provided.
GetHostInstancesOK Returns the an array of virtual machine UUIDs.
GetHostInstancesParams contains all the bound params for the get host instances operation typically these are obtained from a http.Request swagger:parameters GetHostInstances.
GetHostInstancesURL generates an URL for the get host instances operation.
GetHostNotFound Invalid host ID was provided.
GetHostOK Returns the host object.
GetHostParams contains all the bound params for the get host operation typically these are obtained from a http.Request swagger:parameters GetHost.
GetHostURL generates an URL for the get host operation.
UpdateHost swagger:route PUT /host/{hostId} host updateHost Updates a host configuration.
UpdateHostBadRequest Bad parameters were provided.
UpdateHostNotFound Invalid host ID was provided.
UpdateHostOK Returns the updated host object.
UpdateHostParams contains all the bound params for the update host operation typically these are obtained from a http.Request swagger:parameters UpdateHost.
UpdateHostURL generates an URL for the update host operation.

# Interfaces

DeleteHostHandler interface for that can handle valid delete host params.
GetAllHostsHandler interface for that can handle valid get all hosts params.
GetHostCapsHandler interface for that can handle valid get host caps params.
GetHostHandler interface for that can handle valid get host params.
GetHostInstancesHandler interface for that can handle valid get host instances params.
UpdateHostHandler interface for that can handle valid update host params.

# Type aliases

DeleteHostHandlerFunc turns a function with the right signature into a delete host handler.
GetAllHostsHandlerFunc turns a function with the right signature into a get all hosts handler.
GetHostCapsHandlerFunc turns a function with the right signature into a get host caps handler.
GetHostHandlerFunc turns a function with the right signature into a get host handler.
GetHostInstancesHandlerFunc turns a function with the right signature into a get host instances handler.
UpdateHostHandlerFunc turns a function with the right signature into a update host handler.