package
0.2.0
Repository: https://github.com/kraken-hpc/imageapi.git
Documentation: pkg.go.dev

# Functions

NewCreateContainer creates a new http.Handler for the create container operation.
NewCreateContainerCreated creates CreateContainerCreated with default headers values.
NewCreateContainerDefault creates CreateContainerDefault with default headers values.
NewCreateContainerParams creates a new CreateContainerParams object There are no default values defined in the spec.
NewDeleteContainer creates a new http.Handler for the delete container operation.
NewDeleteContainerDefault creates DeleteContainerDefault with default headers values.
NewDeleteContainerOK creates DeleteContainerOK with default headers values.
NewDeleteContainerParams creates a new DeleteContainerParams object with the default values initialized.
NewListContainers creates a new http.Handler for the list containers operation.
NewListContainersDefault creates ListContainersDefault with default headers values.
NewListContainersOK creates ListContainersOK with default headers values.
NewListContainersParams creates a new ListContainersParams object There are no default values defined in the spec.
NewSetContainerState creates a new http.Handler for the set container state operation.
NewSetContainerStateDefault creates SetContainerStateDefault with default headers values.
NewSetContainerStateOK creates SetContainerStateOK with default headers values.
NewSetContainerStateParams creates a new SetContainerStateParams object There are no default values defined in the spec.

# Constants

CreateContainerCreatedCode is the HTTP code returned for type CreateContainerCreated.
DeleteContainerOKCode is the HTTP code returned for type DeleteContainerOK.
ListContainersOKCode is the HTTP code returned for type ListContainersOK.
SetContainerStateOKCode is the HTTP code returned for type SetContainerStateOK.

# Structs

CreateContainer swagger:route POST /container containers createContainer Create a container */.
CreateContainerCreated Container creation succeed swagger:response createContainerCreated */.
CreateContainerDefault error swagger:response createContainerDefault */.
CreateContainerParams contains all the bound params for the create container operation typically these are obtained from a http.Request swagger:parameters create_container.
CreateContainerURL generates an URL for the create container operation.
DeleteContainer swagger:route DELETE /container containers deleteContainer Delete a container defition.
DeleteContainerDefault error swagger:response deleteContainerDefault */.
DeleteContainerOK Container deleted swagger:response deleteContainerOK */.
DeleteContainerParams contains all the bound params for the delete container operation typically these are obtained from a http.Request swagger:parameters delete_container.
DeleteContainerURL generates an URL for the delete container operation.
ListContainers swagger:route GET /container containers listContainers Get a list of containers */.
ListContainersDefault error swagger:response listContainersDefault */.
ListContainersOK List of containers swagger:response listContainersOK */.
ListContainersParams contains all the bound params for the list containers operation typically these are obtained from a http.Request swagger:parameters list_containers.
ListContainersURL generates an URL for the list containers operation.
SetContainerState swagger:route PATCH /container containers setContainerState Request a (valid) state for a container.
SetContainerStateDefault error swagger:response setContainerStateDefault */.
SetContainerStateOK Container state changed swagger:response setContainerStateOK */.
SetContainerStateParams contains all the bound params for the set container state operation typically these are obtained from a http.Request swagger:parameters set_container_state.
SetContainerStateURL generates an URL for the set container state operation.

# Interfaces

CreateContainerHandler interface for that can handle valid create container params.
DeleteContainerHandler interface for that can handle valid delete container params.
ListContainersHandler interface for that can handle valid list containers params.
SetContainerStateHandler interface for that can handle valid set container state params.

# Type aliases

CreateContainerHandlerFunc turns a function with the right signature into a create container handler.
DeleteContainerHandlerFunc turns a function with the right signature into a delete container handler.
ListContainersHandlerFunc turns a function with the right signature into a list containers handler.
SetContainerStateHandlerFunc turns a function with the right signature into a set container state handler.