Documentation ¶
Index ¶
- Constants
- type DeleteIPAMIP
- type DeleteIPAMIPDisabled
- type DeleteIPAMIPFailure
- type DeleteIPAMIPHandler
- type DeleteIPAMIPHandlerFunc
- type DeleteIPAMIPInvalid
- type DeleteIPAMIPNotFound
- type DeleteIPAMIPOK
- type DeleteIPAMIPParams
- type DeleteIPAMIPURL
- func (o *DeleteIPAMIPURL) Build() (*url.URL, error)
- func (o *DeleteIPAMIPURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *DeleteIPAMIPURL) Must(u *url.URL, err error) *url.URL
- func (o *DeleteIPAMIPURL) SetBasePath(bp string)
- func (o *DeleteIPAMIPURL) String() string
- func (o *DeleteIPAMIPURL) StringFull(scheme, host string) string
- func (o *DeleteIPAMIPURL) WithBasePath(bp string) *DeleteIPAMIPURL
- type PostIPAM
- type PostIPAMCreated
- type PostIPAMFailure
- type PostIPAMHandler
- type PostIPAMHandlerFunc
- type PostIPAMIP
- type PostIPAMIPDisabled
- type PostIPAMIPExists
- type PostIPAMIPFailure
- type PostIPAMIPHandler
- type PostIPAMIPHandlerFunc
- type PostIPAMIPInvalid
- type PostIPAMIPOK
- type PostIPAMIPParams
- type PostIPAMIPURL
- func (o *PostIPAMIPURL) Build() (*url.URL, error)
- func (o *PostIPAMIPURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *PostIPAMIPURL) Must(u *url.URL, err error) *url.URL
- func (o *PostIPAMIPURL) SetBasePath(bp string)
- func (o *PostIPAMIPURL) String() string
- func (o *PostIPAMIPURL) StringFull(scheme, host string) string
- func (o *PostIPAMIPURL) WithBasePath(bp string) *PostIPAMIPURL
- type PostIPAMParams
- type PostIPAMURL
- func (o *PostIPAMURL) Build() (*url.URL, error)
- func (o *PostIPAMURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *PostIPAMURL) Must(u *url.URL, err error) *url.URL
- func (o *PostIPAMURL) SetBasePath(bp string)
- func (o *PostIPAMURL) String() string
- func (o *PostIPAMURL) StringFull(scheme, host string) string
- func (o *PostIPAMURL) WithBasePath(bp string) *PostIPAMURL
Constants ¶
const DeleteIPAMIPDisabledCode int = 501
HTTP code for type DeleteIPAMIPDisabled
const DeleteIPAMIPFailureCode int = 500
HTTP code for type DeleteIPAMIPFailure
const DeleteIPAMIPInvalidCode int = 400
HTTP code for type DeleteIPAMIPInvalid
const DeleteIPAMIPNotFoundCode int = 404
HTTP code for type DeleteIPAMIPNotFound
const DeleteIPAMIPOKCode int = 200
HTTP code for type DeleteIPAMIPOK
const PostIPAMCreatedCode int = 201
HTTP code for type PostIPAMCreated
const PostIPAMFailureCode int = 502
HTTP code for type PostIPAMFailure
const PostIPAMIPDisabledCode int = 501
HTTP code for type PostIPAMIPDisabled
const PostIPAMIPExistsCode int = 409
HTTP code for type PostIPAMIPExists
const PostIPAMIPFailureCode int = 500
HTTP code for type PostIPAMIPFailure
const PostIPAMIPInvalidCode int = 400
HTTP code for type PostIPAMIPInvalid
const PostIPAMIPOKCode int = 200
HTTP code for type PostIPAMIPOK
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DeleteIPAMIP ¶
type DeleteIPAMIP struct { Context *middleware.Context Handler DeleteIPAMIPHandler }
DeleteIPAMIP swagger:route DELETE /ipam/{ip} ipam deleteIpAMIp
Release an allocated IP address
func NewDeleteIPAMIP ¶
func NewDeleteIPAMIP(ctx *middleware.Context, handler DeleteIPAMIPHandler) *DeleteIPAMIP
NewDeleteIPAMIP creates a new http.Handler for the delete IP a m IP operation
func (*DeleteIPAMIP) ServeHTTP ¶
func (o *DeleteIPAMIP) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type DeleteIPAMIPDisabled ¶
type DeleteIPAMIPDisabled struct { }
DeleteIPAMIPDisabled Allocation for address family disabled
swagger:response deleteIpAMIpDisabled
func NewDeleteIPAMIPDisabled ¶
func NewDeleteIPAMIPDisabled() *DeleteIPAMIPDisabled
NewDeleteIPAMIPDisabled creates DeleteIPAMIPDisabled with default headers values
func (*DeleteIPAMIPDisabled) WriteResponse ¶
func (o *DeleteIPAMIPDisabled) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DeleteIPAMIPFailure ¶
DeleteIPAMIPFailure Address release failure
swagger:response deleteIpAMIpFailure
func NewDeleteIPAMIPFailure ¶
func NewDeleteIPAMIPFailure() *DeleteIPAMIPFailure
NewDeleteIPAMIPFailure creates DeleteIPAMIPFailure with default headers values
func (*DeleteIPAMIPFailure) SetPayload ¶
func (o *DeleteIPAMIPFailure) SetPayload(payload models.Error)
SetPayload sets the payload to the delete Ip a m Ip failure response
func (*DeleteIPAMIPFailure) WithPayload ¶
func (o *DeleteIPAMIPFailure) WithPayload(payload models.Error) *DeleteIPAMIPFailure
WithPayload adds the payload to the delete Ip a m Ip failure response
func (*DeleteIPAMIPFailure) WriteResponse ¶
func (o *DeleteIPAMIPFailure) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DeleteIPAMIPHandler ¶
type DeleteIPAMIPHandler interface {
Handle(DeleteIPAMIPParams) middleware.Responder
}
DeleteIPAMIPHandler interface for that can handle valid delete IP a m IP params
type DeleteIPAMIPHandlerFunc ¶
type DeleteIPAMIPHandlerFunc func(DeleteIPAMIPParams) middleware.Responder
DeleteIPAMIPHandlerFunc turns a function with the right signature into a delete IP a m IP handler
func (DeleteIPAMIPHandlerFunc) Handle ¶
func (fn DeleteIPAMIPHandlerFunc) Handle(params DeleteIPAMIPParams) middleware.Responder
Handle executing the request and returning a response
type DeleteIPAMIPInvalid ¶
type DeleteIPAMIPInvalid struct { }
DeleteIPAMIPInvalid Invalid IP address
swagger:response deleteIpAMIpInvalid
func NewDeleteIPAMIPInvalid ¶
func NewDeleteIPAMIPInvalid() *DeleteIPAMIPInvalid
NewDeleteIPAMIPInvalid creates DeleteIPAMIPInvalid with default headers values
func (*DeleteIPAMIPInvalid) WriteResponse ¶
func (o *DeleteIPAMIPInvalid) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DeleteIPAMIPNotFound ¶
type DeleteIPAMIPNotFound struct { }
DeleteIPAMIPNotFound IP address not found
swagger:response deleteIpAMIpNotFound
func NewDeleteIPAMIPNotFound ¶
func NewDeleteIPAMIPNotFound() *DeleteIPAMIPNotFound
NewDeleteIPAMIPNotFound creates DeleteIPAMIPNotFound with default headers values
func (*DeleteIPAMIPNotFound) WriteResponse ¶
func (o *DeleteIPAMIPNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DeleteIPAMIPOK ¶
type DeleteIPAMIPOK struct { }
DeleteIPAMIPOK Success
swagger:response deleteIpAMIpOK
func NewDeleteIPAMIPOK ¶
func NewDeleteIPAMIPOK() *DeleteIPAMIPOK
NewDeleteIPAMIPOK creates DeleteIPAMIPOK with default headers values
func (*DeleteIPAMIPOK) WriteResponse ¶
func (o *DeleteIPAMIPOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DeleteIPAMIPParams ¶
type DeleteIPAMIPParams struct { // HTTP Request Object HTTPRequest *http.Request /*IP address Required: true In: path */ IP string }
DeleteIPAMIPParams contains all the bound params for the delete IP a m IP operation typically these are obtained from a http.Request
swagger:parameters DeleteIPAMIP
func NewDeleteIPAMIPParams ¶
func NewDeleteIPAMIPParams() DeleteIPAMIPParams
NewDeleteIPAMIPParams creates a new DeleteIPAMIPParams object with the default values initialized.
func (*DeleteIPAMIPParams) BindRequest ¶
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
type DeleteIPAMIPURL ¶
type DeleteIPAMIPURL struct { IP string // contains filtered or unexported fields }
DeleteIPAMIPURL generates an URL for the delete IP a m IP operation
func (*DeleteIPAMIPURL) Build ¶
func (o *DeleteIPAMIPURL) Build() (*url.URL, error)
Build a url path and query string
func (*DeleteIPAMIPURL) BuildFull ¶
func (o *DeleteIPAMIPURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*DeleteIPAMIPURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*DeleteIPAMIPURL) SetBasePath ¶
func (o *DeleteIPAMIPURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*DeleteIPAMIPURL) String ¶
func (o *DeleteIPAMIPURL) String() string
String returns the string representation of the path with query string
func (*DeleteIPAMIPURL) StringFull ¶
func (o *DeleteIPAMIPURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*DeleteIPAMIPURL) WithBasePath ¶
func (o *DeleteIPAMIPURL) WithBasePath(bp string) *DeleteIPAMIPURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type PostIPAM ¶
type PostIPAM struct { Context *middleware.Context Handler PostIPAMHandler }
PostIPAM swagger:route POST /ipam ipam postIpAM
Allocate an IP address
func NewPostIPAM ¶
func NewPostIPAM(ctx *middleware.Context, handler PostIPAMHandler) *PostIPAM
NewPostIPAM creates a new http.Handler for the post IP a m operation
type PostIPAMCreated ¶
PostIPAMCreated Success
swagger:response postIpAMCreated
func NewPostIPAMCreated ¶
func NewPostIPAMCreated() *PostIPAMCreated
NewPostIPAMCreated creates PostIPAMCreated with default headers values
func (*PostIPAMCreated) SetPayload ¶
func (o *PostIPAMCreated) SetPayload(payload *models.IPAM)
SetPayload sets the payload to the post Ip a m created response
func (*PostIPAMCreated) WithPayload ¶
func (o *PostIPAMCreated) WithPayload(payload *models.IPAM) *PostIPAMCreated
WithPayload adds the payload to the post Ip a m created response
func (*PostIPAMCreated) WriteResponse ¶
func (o *PostIPAMCreated) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type PostIPAMFailure ¶
PostIPAMFailure Allocation failure
swagger:response postIpAMFailure
func NewPostIPAMFailure ¶
func NewPostIPAMFailure() *PostIPAMFailure
NewPostIPAMFailure creates PostIPAMFailure with default headers values
func (*PostIPAMFailure) SetPayload ¶
func (o *PostIPAMFailure) SetPayload(payload models.Error)
SetPayload sets the payload to the post Ip a m failure response
func (*PostIPAMFailure) WithPayload ¶
func (o *PostIPAMFailure) WithPayload(payload models.Error) *PostIPAMFailure
WithPayload adds the payload to the post Ip a m failure response
func (*PostIPAMFailure) WriteResponse ¶
func (o *PostIPAMFailure) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type PostIPAMHandler ¶
type PostIPAMHandler interface {
Handle(PostIPAMParams) middleware.Responder
}
PostIPAMHandler interface for that can handle valid post IP a m params
type PostIPAMHandlerFunc ¶
type PostIPAMHandlerFunc func(PostIPAMParams) middleware.Responder
PostIPAMHandlerFunc turns a function with the right signature into a post IP a m handler
func (PostIPAMHandlerFunc) Handle ¶
func (fn PostIPAMHandlerFunc) Handle(params PostIPAMParams) middleware.Responder
Handle executing the request and returning a response
type PostIPAMIP ¶
type PostIPAMIP struct { Context *middleware.Context Handler PostIPAMIPHandler }
PostIPAMIP swagger:route POST /ipam/{ip} ipam postIpAMIp
Allocate an IP address
func NewPostIPAMIP ¶
func NewPostIPAMIP(ctx *middleware.Context, handler PostIPAMIPHandler) *PostIPAMIP
NewPostIPAMIP creates a new http.Handler for the post IP a m IP operation
func (*PostIPAMIP) ServeHTTP ¶
func (o *PostIPAMIP) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type PostIPAMIPDisabled ¶
type PostIPAMIPDisabled struct { }
PostIPAMIPDisabled Allocation for address family disabled
swagger:response postIpAMIpDisabled
func NewPostIPAMIPDisabled ¶
func NewPostIPAMIPDisabled() *PostIPAMIPDisabled
NewPostIPAMIPDisabled creates PostIPAMIPDisabled with default headers values
func (*PostIPAMIPDisabled) WriteResponse ¶
func (o *PostIPAMIPDisabled) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type PostIPAMIPExists ¶
type PostIPAMIPExists struct { }
PostIPAMIPExists IP already allocated
swagger:response postIpAMIpExists
func NewPostIPAMIPExists ¶
func NewPostIPAMIPExists() *PostIPAMIPExists
NewPostIPAMIPExists creates PostIPAMIPExists with default headers values
func (*PostIPAMIPExists) WriteResponse ¶
func (o *PostIPAMIPExists) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type PostIPAMIPFailure ¶
PostIPAMIPFailure IP allocation failure. Details in message.
swagger:response postIpAMIpFailure
func NewPostIPAMIPFailure ¶
func NewPostIPAMIPFailure() *PostIPAMIPFailure
NewPostIPAMIPFailure creates PostIPAMIPFailure with default headers values
func (*PostIPAMIPFailure) SetPayload ¶
func (o *PostIPAMIPFailure) SetPayload(payload models.Error)
SetPayload sets the payload to the post Ip a m Ip failure response
func (*PostIPAMIPFailure) WithPayload ¶
func (o *PostIPAMIPFailure) WithPayload(payload models.Error) *PostIPAMIPFailure
WithPayload adds the payload to the post Ip a m Ip failure response
func (*PostIPAMIPFailure) WriteResponse ¶
func (o *PostIPAMIPFailure) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type PostIPAMIPHandler ¶
type PostIPAMIPHandler interface {
Handle(PostIPAMIPParams) middleware.Responder
}
PostIPAMIPHandler interface for that can handle valid post IP a m IP params
type PostIPAMIPHandlerFunc ¶
type PostIPAMIPHandlerFunc func(PostIPAMIPParams) middleware.Responder
PostIPAMIPHandlerFunc turns a function with the right signature into a post IP a m IP handler
func (PostIPAMIPHandlerFunc) Handle ¶
func (fn PostIPAMIPHandlerFunc) Handle(params PostIPAMIPParams) middleware.Responder
Handle executing the request and returning a response
type PostIPAMIPInvalid ¶
type PostIPAMIPInvalid struct { }
PostIPAMIPInvalid Invalid IP address
swagger:response postIpAMIpInvalid
func NewPostIPAMIPInvalid ¶
func NewPostIPAMIPInvalid() *PostIPAMIPInvalid
NewPostIPAMIPInvalid creates PostIPAMIPInvalid with default headers values
func (*PostIPAMIPInvalid) WriteResponse ¶
func (o *PostIPAMIPInvalid) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type PostIPAMIPOK ¶
type PostIPAMIPOK struct { }
PostIPAMIPOK Success
swagger:response postIpAMIpOK
func NewPostIPAMIPOK ¶
func NewPostIPAMIPOK() *PostIPAMIPOK
NewPostIPAMIPOK creates PostIPAMIPOK with default headers values
func (*PostIPAMIPOK) WriteResponse ¶
func (o *PostIPAMIPOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type PostIPAMIPParams ¶
type PostIPAMIPParams struct { // HTTP Request Object HTTPRequest *http.Request /*IP address Required: true In: path */ IP string }
PostIPAMIPParams contains all the bound params for the post IP a m IP operation typically these are obtained from a http.Request
swagger:parameters PostIPAMIP
func NewPostIPAMIPParams ¶
func NewPostIPAMIPParams() PostIPAMIPParams
NewPostIPAMIPParams creates a new PostIPAMIPParams object with the default values initialized.
func (*PostIPAMIPParams) BindRequest ¶
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
type PostIPAMIPURL ¶
type PostIPAMIPURL struct { IP string // contains filtered or unexported fields }
PostIPAMIPURL generates an URL for the post IP a m IP operation
func (*PostIPAMIPURL) Build ¶
func (o *PostIPAMIPURL) Build() (*url.URL, error)
Build a url path and query string
func (*PostIPAMIPURL) BuildFull ¶
func (o *PostIPAMIPURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*PostIPAMIPURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*PostIPAMIPURL) SetBasePath ¶
func (o *PostIPAMIPURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*PostIPAMIPURL) String ¶
func (o *PostIPAMIPURL) String() string
String returns the string representation of the path with query string
func (*PostIPAMIPURL) StringFull ¶
func (o *PostIPAMIPURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*PostIPAMIPURL) WithBasePath ¶
func (o *PostIPAMIPURL) WithBasePath(bp string) *PostIPAMIPURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type PostIPAMParams ¶
type PostIPAMParams struct { // HTTP Request Object HTTPRequest *http.Request /* In: query */ Family *string }
PostIPAMParams contains all the bound params for the post IP a m operation typically these are obtained from a http.Request
swagger:parameters PostIPAM
func NewPostIPAMParams ¶
func NewPostIPAMParams() PostIPAMParams
NewPostIPAMParams creates a new PostIPAMParams object with the default values initialized.
func (*PostIPAMParams) BindRequest ¶
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
type PostIPAMURL ¶
type PostIPAMURL struct { Family *string // contains filtered or unexported fields }
PostIPAMURL generates an URL for the post IP a m operation
func (*PostIPAMURL) Build ¶
func (o *PostIPAMURL) Build() (*url.URL, error)
Build a url path and query string
func (*PostIPAMURL) BuildFull ¶
func (o *PostIPAMURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*PostIPAMURL) SetBasePath ¶
func (o *PostIPAMURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*PostIPAMURL) String ¶
func (o *PostIPAMURL) String() string
String returns the string representation of the path with query string
func (*PostIPAMURL) StringFull ¶
func (o *PostIPAMURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*PostIPAMURL) WithBasePath ¶
func (o *PostIPAMURL) WithBasePath(bp string) *PostIPAMURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
Source Files ¶
- delete_ip_a_m_ip.go
- delete_ip_a_m_ip_parameters.go
- delete_ip_a_m_ip_responses.go
- delete_ip_a_m_ip_urlbuilder.go
- post_ip_a_m.go
- post_ip_a_m_ip.go
- post_ip_a_m_ip_parameters.go
- post_ip_a_m_ip_responses.go
- post_ip_a_m_ip_urlbuilder.go
- post_ip_a_m_parameters.go
- post_ip_a_m_responses.go
- post_ip_a_m_urlbuilder.go