package
0.0.0-20240119073826-8077f9cdbd8e
Repository: https://github.com/inspur-data/ipamwrapper.git
Documentation: pkg.go.dev
# Functions
NewDeleteIpam creates a new http.Handler for the delete ipam operation.
NewDeleteIpamFailure creates DeleteIpamFailure with default headers values.
NewDeleteIpamOK creates DeleteIpamOK with default headers values.
NewDeleteIpamParams creates a new DeleteIpamParams object
There are no default values defined in the spec.
NewPostIpam creates a new http.Handler for the post ipam operation.
NewPostIpamFailure creates PostIpamFailure with default headers values.
NewPostIpamOK creates PostIpamOK with default headers values.
NewPostIpamParams creates a new PostIpamParams object
There are no default values defined in the spec.
# Constants
DeleteIpamFailureCode is the HTTP code returned for type DeleteIpamFailure.
DeleteIpamOKCode is the HTTP code returned for type DeleteIpamOK.
PostIpamFailureCode is the HTTP code returned for type PostIpamFailure.
PostIpamOKCode is the HTTP code returned for type PostIpamOK.
# Structs
DeleteIpam swagger:route DELETE /ipam ipamwrapper-agent deleteIpam
# Delete ip from ipamwrapper
Send a request to ipamwrapper to delete an ip
*/.
DeleteIpamFailure Addresses release failure
swagger:response deleteIpamFailure
*/.
DeleteIpamOK Success
swagger:response deleteIpamOK
*/.
DeleteIpamParams contains all the bound params for the delete ipam operation typically these are obtained from a http.Request
swagger:parameters DeleteIpam.
DeleteIpamURL generates an URL for the delete ipam operation.
PostIpam swagger:route POST /ipam ipamwrapper-agent postIpam
# Alloc ip from ipamwrapper
Send a request to ipamwrapper to alloc an ip
*/.
PostIpamFailure Allocation failure
swagger:response postIpamFailure
*/.
PostIpamOK Success
swagger:response postIpamOK
*/.
PostIpamParams contains all the bound params for the post ipam operation typically these are obtained from a http.Request
swagger:parameters PostIpam.
PostIpamURL generates an URL for the post ipam operation.
# Interfaces
DeleteIpamHandler interface for that can handle valid delete ipam params.
PostIpamHandler interface for that can handle valid post ipam params.
# Type aliases
DeleteIpamHandlerFunc turns a function with the right signature into a delete ipam handler.
PostIpamHandlerFunc turns a function with the right signature into a post ipam handler.