Documentation ¶
Index ¶
- Constants
- type DeleteIpamIP
- type DeleteIpamIPDisabled
- type DeleteIpamIPFailure
- type DeleteIpamIPForbidden
- type DeleteIpamIPHandler
- type DeleteIpamIPHandlerFunc
- type DeleteIpamIPInvalid
- type DeleteIpamIPNotFound
- type DeleteIpamIPOK
- type DeleteIpamIPParams
- type PostIpam
- type PostIpamCreated
- type PostIpamFailure
- type PostIpamForbidden
- type PostIpamHandler
- type PostIpamHandlerFunc
- type PostIpamIP
- type PostIpamIPDisabled
- type PostIpamIPExists
- type PostIpamIPFailure
- type PostIpamIPForbidden
- type PostIpamIPHandler
- type PostIpamIPHandlerFunc
- type PostIpamIPInvalid
- type PostIpamIPOK
- type PostIpamIPParams
- type PostIpamParams
Constants ¶
const DeleteIpamIPDisabledCode int = 501
DeleteIpamIPDisabledCode is the HTTP code returned for type DeleteIpamIPDisabled
const DeleteIpamIPFailureCode int = 500
DeleteIpamIPFailureCode is the HTTP code returned for type DeleteIpamIPFailure
const DeleteIpamIPForbiddenCode int = 403
DeleteIpamIPForbiddenCode is the HTTP code returned for type DeleteIpamIPForbidden
const DeleteIpamIPInvalidCode int = 400
DeleteIpamIPInvalidCode is the HTTP code returned for type DeleteIpamIPInvalid
const DeleteIpamIPNotFoundCode int = 404
DeleteIpamIPNotFoundCode is the HTTP code returned for type DeleteIpamIPNotFound
const DeleteIpamIPOKCode int = 200
DeleteIpamIPOKCode is the HTTP code returned for type DeleteIpamIPOK
const PostIpamCreatedCode int = 201
PostIpamCreatedCode is the HTTP code returned for type PostIpamCreated
const PostIpamFailureCode int = 502
PostIpamFailureCode is the HTTP code returned for type PostIpamFailure
const PostIpamForbiddenCode int = 403
PostIpamForbiddenCode is the HTTP code returned for type PostIpamForbidden
const PostIpamIPDisabledCode int = 501
PostIpamIPDisabledCode is the HTTP code returned for type PostIpamIPDisabled
const PostIpamIPExistsCode int = 409
PostIpamIPExistsCode is the HTTP code returned for type PostIpamIPExists
const PostIpamIPFailureCode int = 500
PostIpamIPFailureCode is the HTTP code returned for type PostIpamIPFailure
const PostIpamIPForbiddenCode int = 403
PostIpamIPForbiddenCode is the HTTP code returned for type PostIpamIPForbidden
const PostIpamIPInvalidCode int = 400
PostIpamIPInvalidCode is the HTTP code returned for type PostIpamIPInvalid
const PostIpamIPOKCode int = 200
PostIpamIPOKCode is the HTTP code returned for type PostIpamIPOK
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DeleteIpamIP ¶ added in v0.15.7
type DeleteIpamIP struct { Context *middleware.Context Handler DeleteIpamIPHandler }
DeleteIpamIP swagger:route DELETE /ipam/{ip} ipam deleteIpamIp
Release an allocated IP address
func NewDeleteIpamIP ¶ added in v0.15.7
func NewDeleteIpamIP(ctx *middleware.Context, handler DeleteIpamIPHandler) *DeleteIpamIP
NewDeleteIpamIP creates a new http.Handler for the delete ipam IP operation
func (*DeleteIpamIP) ServeHTTP ¶ added in v0.15.7
func (o *DeleteIpamIP) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type DeleteIpamIPDisabled ¶ added in v0.15.7
type DeleteIpamIPDisabled struct { }
DeleteIpamIPDisabled Allocation for address family disabled
swagger:response deleteIpamIpDisabled
func NewDeleteIpamIPDisabled ¶ added in v0.15.7
func NewDeleteIpamIPDisabled() *DeleteIpamIPDisabled
NewDeleteIpamIPDisabled creates DeleteIpamIPDisabled with default headers values
func (*DeleteIpamIPDisabled) WriteResponse ¶ added in v0.15.7
func (o *DeleteIpamIPDisabled) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DeleteIpamIPFailure ¶ added in v0.15.7
DeleteIpamIPFailure Address release failure
swagger:response deleteIpamIpFailure
func NewDeleteIpamIPFailure ¶ added in v0.15.7
func NewDeleteIpamIPFailure() *DeleteIpamIPFailure
NewDeleteIpamIPFailure creates DeleteIpamIPFailure with default headers values
func (*DeleteIpamIPFailure) SetPayload ¶ added in v0.15.7
func (o *DeleteIpamIPFailure) SetPayload(payload models.Error)
SetPayload sets the payload to the delete ipam Ip failure response
func (*DeleteIpamIPFailure) WithPayload ¶ added in v0.15.7
func (o *DeleteIpamIPFailure) WithPayload(payload models.Error) *DeleteIpamIPFailure
WithPayload adds the payload to the delete ipam Ip failure response
func (*DeleteIpamIPFailure) WriteResponse ¶ added in v0.15.7
func (o *DeleteIpamIPFailure) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DeleteIpamIPForbidden ¶ added in v0.15.7
type DeleteIpamIPForbidden struct { }
DeleteIpamIPForbidden Forbidden
swagger:response deleteIpamIpForbidden
func NewDeleteIpamIPForbidden ¶ added in v0.15.7
func NewDeleteIpamIPForbidden() *DeleteIpamIPForbidden
NewDeleteIpamIPForbidden creates DeleteIpamIPForbidden with default headers values
func (*DeleteIpamIPForbidden) WriteResponse ¶ added in v0.15.7
func (o *DeleteIpamIPForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DeleteIpamIPHandler ¶ added in v0.15.7
type DeleteIpamIPHandler interface {
Handle(DeleteIpamIPParams) middleware.Responder
}
DeleteIpamIPHandler interface for that can handle valid delete ipam IP params
type DeleteIpamIPHandlerFunc ¶ added in v0.15.7
type DeleteIpamIPHandlerFunc func(DeleteIpamIPParams) middleware.Responder
DeleteIpamIPHandlerFunc turns a function with the right signature into a delete ipam IP handler
func (DeleteIpamIPHandlerFunc) Handle ¶ added in v0.15.7
func (fn DeleteIpamIPHandlerFunc) Handle(params DeleteIpamIPParams) middleware.Responder
Handle executing the request and returning a response
type DeleteIpamIPInvalid ¶ added in v0.15.7
type DeleteIpamIPInvalid struct { }
DeleteIpamIPInvalid Invalid IP address
swagger:response deleteIpamIpInvalid
func NewDeleteIpamIPInvalid ¶ added in v0.15.7
func NewDeleteIpamIPInvalid() *DeleteIpamIPInvalid
NewDeleteIpamIPInvalid creates DeleteIpamIPInvalid with default headers values
func (*DeleteIpamIPInvalid) WriteResponse ¶ added in v0.15.7
func (o *DeleteIpamIPInvalid) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DeleteIpamIPNotFound ¶ added in v0.15.7
type DeleteIpamIPNotFound struct { }
DeleteIpamIPNotFound IP address not found
swagger:response deleteIpamIpNotFound
func NewDeleteIpamIPNotFound ¶ added in v0.15.7
func NewDeleteIpamIPNotFound() *DeleteIpamIPNotFound
NewDeleteIpamIPNotFound creates DeleteIpamIPNotFound with default headers values
func (*DeleteIpamIPNotFound) WriteResponse ¶ added in v0.15.7
func (o *DeleteIpamIPNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DeleteIpamIPOK ¶ added in v0.15.7
type DeleteIpamIPOK struct { }
DeleteIpamIPOK Success
swagger:response deleteIpamIpOK
func NewDeleteIpamIPOK ¶ added in v0.15.7
func NewDeleteIpamIPOK() *DeleteIpamIPOK
NewDeleteIpamIPOK creates DeleteIpamIPOK with default headers values
func (*DeleteIpamIPOK) WriteResponse ¶ added in v0.15.7
func (o *DeleteIpamIPOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DeleteIpamIPParams ¶ added in v0.15.7
type DeleteIpamIPParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*IP address Required: true In: path */ IP string /* In: query */ Pool *string }
DeleteIpamIPParams contains all the bound params for the delete ipam IP operation typically these are obtained from a http.Request
swagger:parameters DeleteIpamIP
func NewDeleteIpamIPParams ¶ added in v0.15.7
func NewDeleteIpamIPParams() DeleteIpamIPParams
NewDeleteIpamIPParams creates a new DeleteIpamIPParams object
There are no default values defined in the spec.
func (*DeleteIpamIPParams) BindRequest ¶ added in v0.15.7
func (o *DeleteIpamIPParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewDeleteIpamIPParams() beforehand.
type PostIpam ¶ added in v0.15.7
type PostIpam struct { Context *middleware.Context Handler PostIpamHandler }
PostIpam swagger:route POST /ipam ipam postIpam
Allocate an IP address
func NewPostIpam ¶ added in v0.15.7
func NewPostIpam(ctx *middleware.Context, handler PostIpamHandler) *PostIpam
NewPostIpam creates a new http.Handler for the post ipam operation
type PostIpamCreated ¶ added in v0.15.7
type PostIpamCreated struct { /* In: Body */ Payload *models.IPAMResponse `json:"body,omitempty"` }
PostIpamCreated Success
swagger:response postIpamCreated
func NewPostIpamCreated ¶ added in v0.15.7
func NewPostIpamCreated() *PostIpamCreated
NewPostIpamCreated creates PostIpamCreated with default headers values
func (*PostIpamCreated) SetPayload ¶ added in v0.15.7
func (o *PostIpamCreated) SetPayload(payload *models.IPAMResponse)
SetPayload sets the payload to the post ipam created response
func (*PostIpamCreated) WithPayload ¶ added in v0.15.7
func (o *PostIpamCreated) WithPayload(payload *models.IPAMResponse) *PostIpamCreated
WithPayload adds the payload to the post ipam created response
func (*PostIpamCreated) WriteResponse ¶ added in v0.15.7
func (o *PostIpamCreated) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type PostIpamFailure ¶ added in v0.15.7
PostIpamFailure Allocation failure
swagger:response postIpamFailure
func NewPostIpamFailure ¶ added in v0.15.7
func NewPostIpamFailure() *PostIpamFailure
NewPostIpamFailure creates PostIpamFailure with default headers values
func (*PostIpamFailure) SetPayload ¶ added in v0.15.7
func (o *PostIpamFailure) SetPayload(payload models.Error)
SetPayload sets the payload to the post ipam failure response
func (*PostIpamFailure) WithPayload ¶ added in v0.15.7
func (o *PostIpamFailure) WithPayload(payload models.Error) *PostIpamFailure
WithPayload adds the payload to the post ipam failure response
func (*PostIpamFailure) WriteResponse ¶ added in v0.15.7
func (o *PostIpamFailure) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type PostIpamForbidden ¶ added in v0.15.7
type PostIpamForbidden struct { }
PostIpamForbidden Forbidden
swagger:response postIpamForbidden
func NewPostIpamForbidden ¶ added in v0.15.7
func NewPostIpamForbidden() *PostIpamForbidden
NewPostIpamForbidden creates PostIpamForbidden with default headers values
func (*PostIpamForbidden) WriteResponse ¶ added in v0.15.7
func (o *PostIpamForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type PostIpamHandler ¶ added in v0.15.7
type PostIpamHandler interface {
Handle(PostIpamParams) middleware.Responder
}
PostIpamHandler interface for that can handle valid post ipam params
type PostIpamHandlerFunc ¶ added in v0.15.7
type PostIpamHandlerFunc func(PostIpamParams) middleware.Responder
PostIpamHandlerFunc turns a function with the right signature into a post ipam handler
func (PostIpamHandlerFunc) Handle ¶ added in v0.15.7
func (fn PostIpamHandlerFunc) Handle(params PostIpamParams) middleware.Responder
Handle executing the request and returning a response
type PostIpamIP ¶ added in v0.15.7
type PostIpamIP struct { Context *middleware.Context Handler PostIpamIPHandler }
PostIpamIP swagger:route POST /ipam/{ip} ipam postIpamIp
Allocate an IP address
func NewPostIpamIP ¶ added in v0.15.7
func NewPostIpamIP(ctx *middleware.Context, handler PostIpamIPHandler) *PostIpamIP
NewPostIpamIP creates a new http.Handler for the post ipam IP operation
func (*PostIpamIP) ServeHTTP ¶ added in v0.15.7
func (o *PostIpamIP) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type PostIpamIPDisabled ¶ added in v0.15.7
type PostIpamIPDisabled struct { }
PostIpamIPDisabled Allocation for address family disabled
swagger:response postIpamIpDisabled
func NewPostIpamIPDisabled ¶ added in v0.15.7
func NewPostIpamIPDisabled() *PostIpamIPDisabled
NewPostIpamIPDisabled creates PostIpamIPDisabled with default headers values
func (*PostIpamIPDisabled) WriteResponse ¶ added in v0.15.7
func (o *PostIpamIPDisabled) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type PostIpamIPExists ¶ added in v0.15.7
type PostIpamIPExists struct { }
PostIpamIPExists IP already allocated
swagger:response postIpamIpExists
func NewPostIpamIPExists ¶ added in v0.15.7
func NewPostIpamIPExists() *PostIpamIPExists
NewPostIpamIPExists creates PostIpamIPExists with default headers values
func (*PostIpamIPExists) WriteResponse ¶ added in v0.15.7
func (o *PostIpamIPExists) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type PostIpamIPFailure ¶ added in v0.15.7
PostIpamIPFailure IP allocation failure. Details in message.
swagger:response postIpamIpFailure
func NewPostIpamIPFailure ¶ added in v0.15.7
func NewPostIpamIPFailure() *PostIpamIPFailure
NewPostIpamIPFailure creates PostIpamIPFailure with default headers values
func (*PostIpamIPFailure) SetPayload ¶ added in v0.15.7
func (o *PostIpamIPFailure) SetPayload(payload models.Error)
SetPayload sets the payload to the post ipam Ip failure response
func (*PostIpamIPFailure) WithPayload ¶ added in v0.15.7
func (o *PostIpamIPFailure) WithPayload(payload models.Error) *PostIpamIPFailure
WithPayload adds the payload to the post ipam Ip failure response
func (*PostIpamIPFailure) WriteResponse ¶ added in v0.15.7
func (o *PostIpamIPFailure) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type PostIpamIPForbidden ¶ added in v0.15.7
type PostIpamIPForbidden struct { }
PostIpamIPForbidden Forbidden
swagger:response postIpamIpForbidden
func NewPostIpamIPForbidden ¶ added in v0.15.7
func NewPostIpamIPForbidden() *PostIpamIPForbidden
NewPostIpamIPForbidden creates PostIpamIPForbidden with default headers values
func (*PostIpamIPForbidden) WriteResponse ¶ added in v0.15.7
func (o *PostIpamIPForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type PostIpamIPHandler ¶ added in v0.15.7
type PostIpamIPHandler interface {
Handle(PostIpamIPParams) middleware.Responder
}
PostIpamIPHandler interface for that can handle valid post ipam IP params
type PostIpamIPHandlerFunc ¶ added in v0.15.7
type PostIpamIPHandlerFunc func(PostIpamIPParams) middleware.Responder
PostIpamIPHandlerFunc turns a function with the right signature into a post ipam IP handler
func (PostIpamIPHandlerFunc) Handle ¶ added in v0.15.7
func (fn PostIpamIPHandlerFunc) Handle(params PostIpamIPParams) middleware.Responder
Handle executing the request and returning a response
type PostIpamIPInvalid ¶ added in v0.15.7
type PostIpamIPInvalid struct { }
PostIpamIPInvalid Invalid IP address
swagger:response postIpamIpInvalid
func NewPostIpamIPInvalid ¶ added in v0.15.7
func NewPostIpamIPInvalid() *PostIpamIPInvalid
NewPostIpamIPInvalid creates PostIpamIPInvalid with default headers values
func (*PostIpamIPInvalid) WriteResponse ¶ added in v0.15.7
func (o *PostIpamIPInvalid) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type PostIpamIPOK ¶ added in v0.15.7
type PostIpamIPOK struct { }
PostIpamIPOK Success
swagger:response postIpamIpOK
func NewPostIpamIPOK ¶ added in v0.15.7
func NewPostIpamIPOK() *PostIpamIPOK
NewPostIpamIPOK creates PostIpamIPOK with default headers values
func (*PostIpamIPOK) WriteResponse ¶ added in v0.15.7
func (o *PostIpamIPOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type PostIpamIPParams ¶ added in v0.15.7
type PostIpamIPParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*IP address Required: true In: path */ IP string /* In: query */ Owner *string /* In: query */ Pool *string }
PostIpamIPParams contains all the bound params for the post ipam IP operation typically these are obtained from a http.Request
swagger:parameters PostIpamIP
func NewPostIpamIPParams ¶ added in v0.15.7
func NewPostIpamIPParams() PostIpamIPParams
NewPostIpamIPParams creates a new PostIpamIPParams object
There are no default values defined in the spec.
func (*PostIpamIPParams) BindRequest ¶ added in v0.15.7
func (o *PostIpamIPParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewPostIpamIPParams() beforehand.
type PostIpamParams ¶ added in v0.15.7
type PostIpamParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* In: header */ Expiration *bool /* In: query */ Family *string /* In: query */ Owner *string /* In: query */ Pool *string }
PostIpamParams contains all the bound params for the post ipam operation typically these are obtained from a http.Request
swagger:parameters PostIpam
func NewPostIpamParams ¶ added in v0.15.7
func NewPostIpamParams() PostIpamParams
NewPostIpamParams creates a new PostIpamParams object
There are no default values defined in the spec.
func (*PostIpamParams) BindRequest ¶ added in v0.15.7
func (o *PostIpamParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewPostIpamParams() beforehand.