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
DeleteIpamIPDisabledCode is the HTTP code returned for type DeleteIpamIPDisabled
const DeleteIpamIPFailureCode int = 500
DeleteIpamIPFailureCode is the HTTP code returned for type DeleteIpamIPFailure
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 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 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 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 or owner name Required: true In: path */ IP 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 no default values defined in 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 DeleteIpamIPURL ¶ added in v1.7.0
type DeleteIpamIPURL struct { IP string // contains filtered or unexported fields }
DeleteIpamIPURL generates an URL for the delete ipam IP operation
func (*DeleteIpamIPURL) Build ¶ added in v1.7.0
func (o *DeleteIpamIPURL) Build() (*url.URL, error)
Build a url path and query string
func (*DeleteIpamIPURL) BuildFull ¶ added in v1.7.0
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 ¶ added in v1.7.0
Must is a helper function to panic when the url builder returns an error
func (*DeleteIpamIPURL) SetBasePath ¶ added in v1.7.0
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 ¶ added in v1.7.0
func (o *DeleteIpamIPURL) String() string
String returns the string representation of the path with query string
func (*DeleteIpamIPURL) StringFull ¶ added in v1.7.0
func (o *DeleteIpamIPURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*DeleteIpamIPURL) WithBasePath ¶ added in v1.7.0
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 ¶ 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 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 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 }
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 no default values defined in 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 PostIpamIPURL ¶ added in v1.7.0
PostIpamIPURL generates an URL for the post ipam IP operation
func (*PostIpamIPURL) Build ¶ added in v1.7.0
func (o *PostIpamIPURL) Build() (*url.URL, error)
Build a url path and query string
func (*PostIpamIPURL) BuildFull ¶ added in v1.7.0
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 ¶ added in v1.7.0
Must is a helper function to panic when the url builder returns an error
func (*PostIpamIPURL) SetBasePath ¶ added in v1.7.0
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 ¶ added in v1.7.0
func (o *PostIpamIPURL) String() string
String returns the string representation of the path with query string
func (*PostIpamIPURL) StringFull ¶ added in v1.7.0
func (o *PostIpamIPURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*PostIpamIPURL) WithBasePath ¶ added in v1.7.0
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 ¶ added in v0.15.7
type PostIpamParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* In: query */ Family *string /* In: query */ Owner *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 no default values defined in 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.
type PostIpamURL ¶ added in v1.7.0
PostIpamURL generates an URL for the post ipam operation
func (*PostIpamURL) Build ¶ added in v1.7.0
func (o *PostIpamURL) Build() (*url.URL, error)
Build a url path and query string
func (*PostIpamURL) BuildFull ¶ added in v1.7.0
func (o *PostIpamURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*PostIpamURL) Must ¶ added in v1.7.0
Must is a helper function to panic when the url builder returns an error
func (*PostIpamURL) SetBasePath ¶ added in v1.7.0
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 ¶ added in v1.7.0
func (o *PostIpamURL) String() string
String returns the string representation of the path with query string
func (*PostIpamURL) StringFull ¶ added in v1.7.0
func (o *PostIpamURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*PostIpamURL) WithBasePath ¶ added in v1.7.0
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