package
3.0.1+incompatible
Repository: https://github.com/cyverse-de/permissions.git
Documentation: pkg.go.dev
# Functions
NewDeleteResourceTypeByName creates a new http.Handler for the delete resource type by name operation.
NewDeleteResourceTypeByNameBadRequest creates DeleteResourceTypeByNameBadRequest with default headers values.
NewDeleteResourceTypeByNameInternalServerError creates DeleteResourceTypeByNameInternalServerError with default headers values.
NewDeleteResourceTypeByNameNotFound creates DeleteResourceTypeByNameNotFound with default headers values.
NewDeleteResourceTypeByNameOK creates DeleteResourceTypeByNameOK with default headers values.
NewDeleteResourceTypeByNameParams creates a new DeleteResourceTypeByNameParams object
There are no default values defined in the spec.
NewDeleteResourceTypesID creates a new http.Handler for the delete resource types ID operation.
NewDeleteResourceTypesIDBadRequest creates DeleteResourceTypesIDBadRequest with default headers values.
NewDeleteResourceTypesIDInternalServerError creates DeleteResourceTypesIDInternalServerError with default headers values.
NewDeleteResourceTypesIDNotFound creates DeleteResourceTypesIDNotFound with default headers values.
NewDeleteResourceTypesIDOK creates DeleteResourceTypesIDOK with default headers values.
NewDeleteResourceTypesIDParams creates a new DeleteResourceTypesIDParams object
There are no default values defined in the spec.
NewGetResourceTypes creates a new http.Handler for the get resource types operation.
NewGetResourceTypesInternalServerError creates GetResourceTypesInternalServerError with default headers values.
NewGetResourceTypesOK creates GetResourceTypesOK with default headers values.
NewGetResourceTypesParams creates a new GetResourceTypesParams object
There are no default values defined in the spec.
NewPostResourceTypes creates a new http.Handler for the post resource types operation.
NewPostResourceTypesBadRequest creates PostResourceTypesBadRequest with default headers values.
NewPostResourceTypesCreated creates PostResourceTypesCreated with default headers values.
NewPostResourceTypesInternalServerError creates PostResourceTypesInternalServerError with default headers values.
NewPostResourceTypesParams creates a new PostResourceTypesParams object
There are no default values defined in the spec.
NewPutResourceTypesID creates a new http.Handler for the put resource types ID operation.
NewPutResourceTypesIDBadRequest creates PutResourceTypesIDBadRequest with default headers values.
NewPutResourceTypesIDInternalServerError creates PutResourceTypesIDInternalServerError with default headers values.
NewPutResourceTypesIDNotFound creates PutResourceTypesIDNotFound with default headers values.
NewPutResourceTypesIDOK creates PutResourceTypesIDOK with default headers values.
NewPutResourceTypesIDParams creates a new PutResourceTypesIDParams object
There are no default values defined in the spec.
# Constants
DeleteResourceTypeByNameBadRequestCode is the HTTP code returned for type DeleteResourceTypeByNameBadRequest.
DeleteResourceTypeByNameInternalServerErrorCode is the HTTP code returned for type DeleteResourceTypeByNameInternalServerError.
DeleteResourceTypeByNameNotFoundCode is the HTTP code returned for type DeleteResourceTypeByNameNotFound.
DeleteResourceTypeByNameOKCode is the HTTP code returned for type DeleteResourceTypeByNameOK.
DeleteResourceTypesIDBadRequestCode is the HTTP code returned for type DeleteResourceTypesIDBadRequest.
DeleteResourceTypesIDInternalServerErrorCode is the HTTP code returned for type DeleteResourceTypesIDInternalServerError.
DeleteResourceTypesIDNotFoundCode is the HTTP code returned for type DeleteResourceTypesIDNotFound.
DeleteResourceTypesIDOKCode is the HTTP code returned for type DeleteResourceTypesIDOK.
GetResourceTypesInternalServerErrorCode is the HTTP code returned for type GetResourceTypesInternalServerError.
GetResourceTypesOKCode is the HTTP code returned for type GetResourceTypesOK.
PostResourceTypesBadRequestCode is the HTTP code returned for type PostResourceTypesBadRequest.
PostResourceTypesCreatedCode is the HTTP code returned for type PostResourceTypesCreated.
PostResourceTypesInternalServerErrorCode is the HTTP code returned for type PostResourceTypesInternalServerError.
PutResourceTypesIDBadRequestCode is the HTTP code returned for type PutResourceTypesIDBadRequest.
PutResourceTypesIDInternalServerErrorCode is the HTTP code returned for type PutResourceTypesIDInternalServerError.
PutResourceTypesIDNotFoundCode is the HTTP code returned for type PutResourceTypesIDNotFound.
PutResourceTypesIDOKCode is the HTTP code returned for type PutResourceTypesIDOK.
# Structs
DeleteResourceTypeByName swagger:route DELETE /resource_types resource_types deleteResourceTypeByName
Delete a Resource Type by Name
Deletes the resource type with the given name.
DeleteResourceTypeByNameBadRequest Bad Request
swagger:response deleteResourceTypeByNameBadRequest
*/.
DeleteResourceTypeByNameInternalServerError Internal Server Error
swagger:response deleteResourceTypeByNameInternalServerError
*/.
DeleteResourceTypeByNameNotFound Not Found
swagger:response deleteResourceTypeByNameNotFound
*/.
DeleteResourceTypeByNameOK Deleted
swagger:response deleteResourceTypeByNameOK
*/.
DeleteResourceTypeByNameParams contains all the bound params for the delete resource type by name operation typically these are obtained from a http.Request
swagger:parameters deleteResourceTypeByName.
DeleteResourceTypeByNameURL generates an URL for the delete resource type by name operation.
DeleteResourceTypesID swagger:route DELETE /resource_types/{id} resource_types deleteResourceTypesId
Delete a Resource Type
Removes a resource type from the database.
DeleteResourceTypesIDBadRequest Bad Request
swagger:response deleteResourceTypesIdBadRequest
*/.
DeleteResourceTypesIDInternalServerError Internal Server Error
swagger:response deleteResourceTypesIdInternalServerError
*/.
DeleteResourceTypesIDNotFound Not Found
swagger:response deleteResourceTypesIdNotFound
*/.
DeleteResourceTypesIDOK Deleted
swagger:response deleteResourceTypesIdOK
*/.
DeleteResourceTypesIDParams contains all the bound params for the delete resource types ID operation typically these are obtained from a http.Request
swagger:parameters DeleteResourceTypesID.
DeleteResourceTypesIDURL generates an URL for the delete resource types ID operation.
GetResourceTypes swagger:route GET /resource_types resource_types getResourceTypes
List Resource Types
Lists resource types known to the permissions service.
GetResourceTypesInternalServerError Internal Server Error
swagger:response getResourceTypesInternalServerError
*/.
GetResourceTypesOK Success
swagger:response getResourceTypesOK
*/.
GetResourceTypesParams contains all the bound params for the get resource types operation typically these are obtained from a http.Request
swagger:parameters GetResourceTypes.
GetResourceTypesURL generates an URL for the get resource types operation.
PostResourceTypes swagger:route POST /resource_types resource_types postResourceTypes
Add a Resource Type
Adds a resource type to the list of available resource types.
PostResourceTypesBadRequest Bad Request
swagger:response postResourceTypesBadRequest
*/.
PostResourceTypesCreated Created
swagger:response postResourceTypesCreated
*/.
PostResourceTypesInternalServerError Internal Server Error
swagger:response postResourceTypesInternalServerError
*/.
PostResourceTypesParams contains all the bound params for the post resource types operation typically these are obtained from a http.Request
swagger:parameters PostResourceTypes.
PostResourceTypesURL generates an URL for the post resource types operation.
PutResourceTypesID swagger:route PUT /resource_types/{id} resource_types putResourceTypesId
Update a Resource Type
Updates the name or description of a resource type.
PutResourceTypesIDBadRequest Bad Request
swagger:response putResourceTypesIdBadRequest
*/.
PutResourceTypesIDInternalServerError Internal Server Error
swagger:response putResourceTypesIdInternalServerError
*/.
PutResourceTypesIDNotFound Not Found
swagger:response putResourceTypesIdNotFound
*/.
PutResourceTypesIDOK Updated
swagger:response putResourceTypesIdOK
*/.
PutResourceTypesIDParams contains all the bound params for the put resource types ID operation typically these are obtained from a http.Request
swagger:parameters PutResourceTypesID.
PutResourceTypesIDURL generates an URL for the put resource types ID operation.
# Interfaces
DeleteResourceTypeByNameHandler interface for that can handle valid delete resource type by name params.
DeleteResourceTypesIDHandler interface for that can handle valid delete resource types ID params.
GetResourceTypesHandler interface for that can handle valid get resource types params.
PostResourceTypesHandler interface for that can handle valid post resource types params.
PutResourceTypesIDHandler interface for that can handle valid put resource types ID params.
# Type aliases
DeleteResourceTypeByNameHandlerFunc turns a function with the right signature into a delete resource type by name handler.
DeleteResourceTypesIDHandlerFunc turns a function with the right signature into a delete resource types ID handler.
GetResourceTypesHandlerFunc turns a function with the right signature into a get resource types handler.
PostResourceTypesHandlerFunc turns a function with the right signature into a post resource types handler.
PutResourceTypesIDHandlerFunc turns a function with the right signature into a put resource types ID handler.