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

# Functions

NewDeleteInstance creates a new http.Handler for the delete instance operation.
NewDeleteInstanceConflict creates DeleteInstanceConflict with default headers values.
NewDeleteInstanceInternalServerError creates DeleteInstanceInternalServerError with default headers values.
NewDeleteInstanceNotFound creates DeleteInstanceNotFound with default headers values.
NewDeleteInstanceOK creates DeleteInstanceOK with default headers values.
NewDeleteInstanceParams creates a new DeleteInstanceParams object There are no default values defined in the spec.
NewGetAllInstances creates a new http.Handler for the get all instances operation.
NewGetAllInstancesOK creates GetAllInstancesOK with default headers values.
NewGetAllInstancesParams creates a new GetAllInstancesParams object There are no default values defined in the spec.
NewGetInstance creates a new http.Handler for the get instance operation.
NewGetInstanceNotFound creates GetInstanceNotFound with default headers values.
NewGetInstanceOK creates GetInstanceOK with default headers values.
NewGetInstanceParams creates a new GetInstanceParams object There are no default values defined in the spec.
NewGetInstanceState creates a new http.Handler for the get instance state operation.
NewGetInstanceStateNotFound creates GetInstanceStateNotFound with default headers values.
NewGetInstanceStateOK creates GetInstanceStateOK with default headers values.
NewGetInstanceStateParams creates a new GetInstanceStateParams object There are no default values defined in the spec.
NewRebootInstance creates a new http.Handler for the reboot instance operation.
NewRebootInstanceInternalServerError creates RebootInstanceInternalServerError with default headers values.
NewRebootInstanceNotFound creates RebootInstanceNotFound with default headers values.
NewRebootInstanceOK creates RebootInstanceOK with default headers values.
NewRebootInstanceParams creates a new RebootInstanceParams object There are no default values defined in the spec.
NewResetInstance creates a new http.Handler for the reset instance operation.
NewResetInstanceInternalServerError creates ResetInstanceInternalServerError with default headers values.
NewResetInstanceNotFound creates ResetInstanceNotFound with default headers values.
NewResetInstanceOK creates ResetInstanceOK with default headers values.
NewResetInstanceParams creates a new ResetInstanceParams object There are no default values defined in the spec.
NewResumeInstance creates a new http.Handler for the resume instance operation.
NewResumeInstanceInternalServerError creates ResumeInstanceInternalServerError with default headers values.
NewResumeInstanceNotFound creates ResumeInstanceNotFound with default headers values.
NewResumeInstanceOK creates ResumeInstanceOK with default headers values.
NewResumeInstanceParams creates a new ResumeInstanceParams object There are no default values defined in the spec.
NewShutdownInstance creates a new http.Handler for the shutdown instance operation.
NewShutdownInstanceInternalServerError creates ShutdownInstanceInternalServerError with default headers values.
NewShutdownInstanceNotFound creates ShutdownInstanceNotFound with default headers values.
NewShutdownInstanceOK creates ShutdownInstanceOK with default headers values.
NewShutdownInstanceParams creates a new ShutdownInstanceParams object There are no default values defined in the spec.
NewStartInstance creates a new http.Handler for the start instance operation.
NewStartInstanceInternalServerError creates StartInstanceInternalServerError with default headers values.
NewStartInstanceNotFound creates StartInstanceNotFound with default headers values.
NewStartInstanceOK creates StartInstanceOK with default headers values.
NewStartInstanceParams creates a new StartInstanceParams object There are no default values defined in the spec.
NewStopInstance creates a new http.Handler for the stop instance operation.
NewStopInstanceInternalServerError creates StopInstanceInternalServerError with default headers values.
NewStopInstanceNotFound creates StopInstanceNotFound with default headers values.
NewStopInstanceOK creates StopInstanceOK with default headers values.
NewStopInstanceParams creates a new StopInstanceParams object There are no default values defined in the spec.
NewSuspendInstance creates a new http.Handler for the suspend instance operation.
NewSuspendInstanceInternalServerError creates SuspendInstanceInternalServerError with default headers values.
NewSuspendInstanceNotFound creates SuspendInstanceNotFound with default headers values.
NewSuspendInstanceOK creates SuspendInstanceOK with default headers values.
NewSuspendInstanceParams creates a new SuspendInstanceParams object There are no default values defined in the spec.
NewUpdateInstance creates a new http.Handler for the update instance operation.
NewUpdateInstanceBadRequest creates UpdateInstanceBadRequest with default headers values.
NewUpdateInstanceInsufficientStorage creates UpdateInstanceInsufficientStorage with default headers values.
NewUpdateInstanceInternalServerError creates UpdateInstanceInternalServerError with default headers values.
NewUpdateInstanceNotFound creates UpdateInstanceNotFound with default headers values.
NewUpdateInstanceOK creates UpdateInstanceOK with default headers values.
NewUpdateInstanceParams creates a new UpdateInstanceParams object There are no default values defined in the spec.

# Constants

DeleteInstanceConflictCode is the HTTP code returned for type DeleteInstanceConflict.
DeleteInstanceInternalServerErrorCode is the HTTP code returned for type DeleteInstanceInternalServerError.
DeleteInstanceNotFoundCode is the HTTP code returned for type DeleteInstanceNotFound.
DeleteInstanceOKCode is the HTTP code returned for type DeleteInstanceOK.
GetAllInstancesOKCode is the HTTP code returned for type GetAllInstancesOK.
GetInstanceNotFoundCode is the HTTP code returned for type GetInstanceNotFound.
GetInstanceOKCode is the HTTP code returned for type GetInstanceOK.
GetInstanceStateNotFoundCode is the HTTP code returned for type GetInstanceStateNotFound.
GetInstanceStateOKCode is the HTTP code returned for type GetInstanceStateOK.
RebootInstanceInternalServerErrorCode is the HTTP code returned for type RebootInstanceInternalServerError.
RebootInstanceNotFoundCode is the HTTP code returned for type RebootInstanceNotFound.
RebootInstanceOKCode is the HTTP code returned for type RebootInstanceOK.
ResetInstanceInternalServerErrorCode is the HTTP code returned for type ResetInstanceInternalServerError.
ResetInstanceNotFoundCode is the HTTP code returned for type ResetInstanceNotFound.
ResetInstanceOKCode is the HTTP code returned for type ResetInstanceOK.
ResumeInstanceInternalServerErrorCode is the HTTP code returned for type ResumeInstanceInternalServerError.
ResumeInstanceNotFoundCode is the HTTP code returned for type ResumeInstanceNotFound.
ResumeInstanceOKCode is the HTTP code returned for type ResumeInstanceOK.
ShutdownInstanceInternalServerErrorCode is the HTTP code returned for type ShutdownInstanceInternalServerError.
ShutdownInstanceNotFoundCode is the HTTP code returned for type ShutdownInstanceNotFound.
ShutdownInstanceOKCode is the HTTP code returned for type ShutdownInstanceOK.
StartInstanceInternalServerErrorCode is the HTTP code returned for type StartInstanceInternalServerError.
StartInstanceNotFoundCode is the HTTP code returned for type StartInstanceNotFound.
StartInstanceOKCode is the HTTP code returned for type StartInstanceOK.
StopInstanceInternalServerErrorCode is the HTTP code returned for type StopInstanceInternalServerError.
StopInstanceNotFoundCode is the HTTP code returned for type StopInstanceNotFound.
StopInstanceOKCode is the HTTP code returned for type StopInstanceOK.
SuspendInstanceInternalServerErrorCode is the HTTP code returned for type SuspendInstanceInternalServerError.
SuspendInstanceNotFoundCode is the HTTP code returned for type SuspendInstanceNotFound.
SuspendInstanceOKCode is the HTTP code returned for type SuspendInstanceOK.
UpdateInstanceBadRequestCode is the HTTP code returned for type UpdateInstanceBadRequest.
UpdateInstanceInsufficientStorageCode is the HTTP code returned for type UpdateInstanceInsufficientStorage.
UpdateInstanceInternalServerErrorCode is the HTTP code returned for type UpdateInstanceInternalServerError.
UpdateInstanceNotFoundCode is the HTTP code returned for type UpdateInstanceNotFound.
UpdateInstanceOKCode is the HTTP code returned for type UpdateInstanceOK.

# Structs

DeleteInstance swagger:route DELETE /instance/{instanceId} instance deleteInstance Deletes an existing virtual machine instance.
DeleteInstanceConflict The instance is not empty or still being referenced.
DeleteInstanceInternalServerError Unable to delete instance.
DeleteInstanceNotFound Invalid instance ID was provided.
DeleteInstanceOK The instance has been successfully removed.
DeleteInstanceParams contains all the bound params for the delete instance operation typically these are obtained from a http.Request swagger:parameters DeleteInstance.
DeleteInstanceURL generates an URL for the delete instance operation.
GetAllInstances swagger:route GET /instance instance getAllInstances Returns the IDs of registered virtual machines.
GetAllInstancesOK Returns the an array of virtual machines IDs.
GetAllInstancesParams contains all the bound params for the get all instances operation typically these are obtained from a http.Request swagger:parameters GetAllInstances.
GetAllInstancesURL generates an URL for the get all instances operation.
GetInstance swagger:route GET /instance/{instanceId} instance getInstance Returns the description of the virtual machine.
GetInstanceNotFound Invalid instance ID was provided.
GetInstanceOK Returns the virtual machine object.
GetInstanceParams contains all the bound params for the get instance operation typically these are obtained from a http.Request swagger:parameters GetInstance.
GetInstanceState swagger:route GET /instance/{instanceId}/state instance getInstanceState Returns the state of the virtual machine.
GetInstanceStateNotFound Invalid instance ID was provided.
GetInstanceStateOK Returns the virtual machine state object.
GetInstanceStateParams contains all the bound params for the get instance state operation typically these are obtained from a http.Request swagger:parameters GetInstanceState.
GetInstanceStateURL generates an URL for the get instance state operation.
GetInstanceURL generates an URL for the get instance operation.
RebootInstance swagger:route POST /instance/{instanceId}/reboot instance rebootInstance Perform a virtual machine software reboot.
RebootInstanceInternalServerError An error occurred when trying to reboot the virtual machine.
RebootInstanceNotFound Invalid instance ID was provided.
RebootInstanceOK The virtual machine has been rebooted successfully.
RebootInstanceParams contains all the bound params for the reboot instance operation typically these are obtained from a http.Request swagger:parameters RebootInstance.
RebootInstanceURL generates an URL for the reboot instance operation.
ResetInstance swagger:route POST /instance/{instanceId}/reset instance resetInstance Perform a virtual machine hardware reset.
ResetInstanceInternalServerError An error occurred when trying to reset the virtual machine.
ResetInstanceNotFound Invalid instance ID was provided.
ResetInstanceOK The virtual machine has been reseted successfully.
ResetInstanceParams contains all the bound params for the reset instance operation typically these are obtained from a http.Request swagger:parameters ResetInstance.
ResetInstanceURL generates an URL for the reset instance operation.
ResumeInstance swagger:route POST /instance/{instanceId}/resume instance resumeInstance Perform a virtual machine software PM resume.
ResumeInstanceInternalServerError An error occurred when trying to resume the virtual machine.
ResumeInstanceNotFound Invalid instance ID was provided.
ResumeInstanceOK The virtual machine has been resumed successfully.
ResumeInstanceParams contains all the bound params for the resume instance operation typically these are obtained from a http.Request swagger:parameters ResumeInstance.
ResumeInstanceURL generates an URL for the resume instance operation.
ShutdownInstance swagger:route POST /instance/{instanceId}/shutdown instance shutdownInstance Initiate a software shutdown of a virtual machine.
ShutdownInstanceInternalServerError An error occurred when trying to shut down the virtual machine.
ShutdownInstanceNotFound Invalid instance ID was provided.
ShutdownInstanceOK The virtual machine has been shut down successfully.
ShutdownInstanceParams contains all the bound params for the shutdown instance operation typically these are obtained from a http.Request swagger:parameters ShutdownInstance.
ShutdownInstanceURL generates an URL for the shutdown instance operation.
StartInstance swagger:route POST /instance/{instanceId}/start instance startInstance Boot up a virtual machine.
StartInstanceInternalServerError An error occurred when trying to start the virtual machine.
StartInstanceNotFound Invalid instance ID was provided.
StartInstanceOK The virtual machine has been started successfully.
StartInstanceParams contains all the bound params for the start instance operation typically these are obtained from a http.Request swagger:parameters StartInstance.
StartInstanceURL generates an URL for the start instance operation.
StopInstance swagger:route POST /instance/{instanceId}/stop instance stopInstance Initiate a hardware stop of a virtual machine.
StopInstanceInternalServerError An error occurred when trying to stop the virtual machine.
StopInstanceNotFound Invalid instance ID was provided.
StopInstanceOK The virtual machine has been stopped successfully.
StopInstanceParams contains all the bound params for the stop instance operation typically these are obtained from a http.Request swagger:parameters StopInstance.
StopInstanceURL generates an URL for the stop instance operation.
SuspendInstance swagger:route POST /instance/{instanceId}/suspend instance suspendInstance Perform a virtual machine software PM suspend.
SuspendInstanceInternalServerError An error occurred when trying to suspend the virtual machine.
SuspendInstanceNotFound Invalid instance ID was provided.
SuspendInstanceOK The virtual machine has been suspended successfully.
SuspendInstanceParams contains all the bound params for the suspend instance operation typically these are obtained from a http.Request swagger:parameters SuspendInstance.
SuspendInstanceURL generates an URL for the suspend instance operation.
UpdateInstance swagger:route PUT /instance/{instanceId} instance updateInstance Updates a virtual machine configuration.
UpdateInstanceBadRequest Bad parameters were provided.
UpdateInstanceInsufficientStorage Requested instance characteristics are beyond associated project's quota in place.
UpdateInstanceInternalServerError Unable to update the virtual machine instance.
UpdateInstanceNotFound Invalid virtual machine instance ID was provided.
UpdateInstanceOK Returns the updated virtual machine instance object.
UpdateInstanceParams contains all the bound params for the update instance operation typically these are obtained from a http.Request swagger:parameters UpdateInstance.
UpdateInstanceURL generates an URL for the update instance operation.

# Interfaces

DeleteInstanceHandler interface for that can handle valid delete instance params.
GetAllInstancesHandler interface for that can handle valid get all instances params.
GetInstanceHandler interface for that can handle valid get instance params.
GetInstanceStateHandler interface for that can handle valid get instance state params.
RebootInstanceHandler interface for that can handle valid reboot instance params.
ResetInstanceHandler interface for that can handle valid reset instance params.
ResumeInstanceHandler interface for that can handle valid resume instance params.
ShutdownInstanceHandler interface for that can handle valid shutdown instance params.
StartInstanceHandler interface for that can handle valid start instance params.
StopInstanceHandler interface for that can handle valid stop instance params.
SuspendInstanceHandler interface for that can handle valid suspend instance params.
UpdateInstanceHandler interface for that can handle valid update instance params.

# Type aliases

DeleteInstanceHandlerFunc turns a function with the right signature into a delete instance handler.
GetAllInstancesHandlerFunc turns a function with the right signature into a get all instances handler.
GetInstanceHandlerFunc turns a function with the right signature into a get instance handler.
GetInstanceStateHandlerFunc turns a function with the right signature into a get instance state handler.
RebootInstanceHandlerFunc turns a function with the right signature into a reboot instance handler.
ResetInstanceHandlerFunc turns a function with the right signature into a reset instance handler.
ResumeInstanceHandlerFunc turns a function with the right signature into a resume instance handler.
ShutdownInstanceHandlerFunc turns a function with the right signature into a shutdown instance handler.
StartInstanceHandlerFunc turns a function with the right signature into a start instance handler.
StopInstanceHandlerFunc turns a function with the right signature into a stop instance handler.
SuspendInstanceHandlerFunc turns a function with the right signature into a suspend instance handler.
UpdateInstanceHandlerFunc turns a function with the right signature into a update instance handler.