Documentation ¶
Index ¶
- Constants
- type DeleteIpamIps
- type DeleteIpamIpsHandler
- type DeleteIpamIpsHandlerFunc
- type DeleteIpamIpsInternalServerError
- type DeleteIpamIpsOK
- type DeleteIpamIpsParams
- type DeleteIpamIpsURL
- func (o *DeleteIpamIpsURL) Build() (*url.URL, error)
- func (o *DeleteIpamIpsURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *DeleteIpamIpsURL) Must(u *url.URL, err error) *url.URL
- func (o *DeleteIpamIpsURL) SetBasePath(bp string)
- func (o *DeleteIpamIpsURL) String() string
- func (o *DeleteIpamIpsURL) StringFull(scheme, host string) string
- func (o *DeleteIpamIpsURL) WithBasePath(bp string) *DeleteIpamIpsURL
- type GetIpamHealthz
- type GetIpamHealthzHandler
- type GetIpamHealthzHandlerFunc
- type GetIpamHealthzOK
- type GetIpamHealthzParams
- type GetIpamHealthzURL
- func (o *GetIpamHealthzURL) Build() (*url.URL, error)
- func (o *GetIpamHealthzURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *GetIpamHealthzURL) Must(u *url.URL, err error) *url.URL
- func (o *GetIpamHealthzURL) SetBasePath(bp string)
- func (o *GetIpamHealthzURL) String() string
- func (o *GetIpamHealthzURL) StringFull(scheme, host string) string
- func (o *GetIpamHealthzURL) WithBasePath(bp string) *GetIpamHealthzURL
- type PostIpamIps
- type PostIpamIpsHandler
- type PostIpamIpsHandlerFunc
- type PostIpamIpsInternalServerError
- type PostIpamIpsOK
- type PostIpamIpsParams
- type PostIpamIpsURL
- func (o *PostIpamIpsURL) Build() (*url.URL, error)
- func (o *PostIpamIpsURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *PostIpamIpsURL) Must(u *url.URL, err error) *url.URL
- func (o *PostIpamIpsURL) SetBasePath(bp string)
- func (o *PostIpamIpsURL) String() string
- func (o *PostIpamIpsURL) StringFull(scheme, host string) string
- func (o *PostIpamIpsURL) WithBasePath(bp string) *PostIpamIpsURL
Constants ¶
const DeleteIpamIpsInternalServerErrorCode int = 500
DeleteIpamIpsInternalServerErrorCode is the HTTP code returned for type DeleteIpamIpsInternalServerError
const DeleteIpamIpsOKCode int = 200
DeleteIpamIpsOKCode is the HTTP code returned for type DeleteIpamIpsOK
const GetIpamHealthzOKCode int = 200
GetIpamHealthzOKCode is the HTTP code returned for type GetIpamHealthzOK
const PostIpamIpsInternalServerErrorCode int = 500
PostIpamIpsInternalServerErrorCode is the HTTP code returned for type PostIpamIpsInternalServerError
const PostIpamIpsOKCode int = 200
PostIpamIpsOKCode is the HTTP code returned for type PostIpamIpsOK
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DeleteIpamIps ¶
type DeleteIpamIps struct { Context *middleware.Context Handler DeleteIpamIpsHandler }
DeleteIpamIps swagger:route DELETE /ipam/ips ipam deleteIpamIps
DeleteIpamIps delete ipam ips API
func NewDeleteIpamIps ¶
func NewDeleteIpamIps(ctx *middleware.Context, handler DeleteIpamIpsHandler) *DeleteIpamIps
NewDeleteIpamIps creates a new http.Handler for the delete ipam ips operation
func (*DeleteIpamIps) ServeHTTP ¶
func (o *DeleteIpamIps) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type DeleteIpamIpsHandler ¶
type DeleteIpamIpsHandler interface {
Handle(DeleteIpamIpsParams) middleware.Responder
}
DeleteIpamIpsHandler interface for that can handle valid delete ipam ips params
type DeleteIpamIpsHandlerFunc ¶
type DeleteIpamIpsHandlerFunc func(DeleteIpamIpsParams) middleware.Responder
DeleteIpamIpsHandlerFunc turns a function with the right signature into a delete ipam ips handler
func (DeleteIpamIpsHandlerFunc) Handle ¶
func (fn DeleteIpamIpsHandlerFunc) Handle(params DeleteIpamIpsParams) middleware.Responder
Handle executing the request and returning a response
type DeleteIpamIpsInternalServerError ¶
type DeleteIpamIpsInternalServerError struct { /* In: Body */ Payload models.Error `json:"body,omitempty"` }
DeleteIpamIpsInternalServerError Failed to release IP addresses
swagger:response deleteIpamIpsInternalServerError
func NewDeleteIpamIpsInternalServerError ¶
func NewDeleteIpamIpsInternalServerError() *DeleteIpamIpsInternalServerError
NewDeleteIpamIpsInternalServerError creates DeleteIpamIpsInternalServerError with default headers values
func (*DeleteIpamIpsInternalServerError) SetPayload ¶
func (o *DeleteIpamIpsInternalServerError) SetPayload(payload models.Error)
SetPayload sets the payload to the delete ipam ips internal server error response
func (*DeleteIpamIpsInternalServerError) WithPayload ¶
func (o *DeleteIpamIpsInternalServerError) WithPayload(payload models.Error) *DeleteIpamIpsInternalServerError
WithPayload adds the payload to the delete ipam ips internal server error response
func (*DeleteIpamIpsInternalServerError) WriteResponse ¶
func (o *DeleteIpamIpsInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DeleteIpamIpsOK ¶
type DeleteIpamIpsOK struct { }
DeleteIpamIpsOK Success
swagger:response deleteIpamIpsOK
func NewDeleteIpamIpsOK ¶
func NewDeleteIpamIpsOK() *DeleteIpamIpsOK
NewDeleteIpamIpsOK creates DeleteIpamIpsOK with default headers values
func (*DeleteIpamIpsOK) WriteResponse ¶
func (o *DeleteIpamIpsOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DeleteIpamIpsParams ¶
type DeleteIpamIpsParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* Required: true In: body */ Args *models.CmdDelArgs }
DeleteIpamIpsParams contains all the bound params for the delete ipam ips operation typically these are obtained from a http.Request
swagger:parameters DeleteIpamIps
func NewDeleteIpamIpsParams ¶
func NewDeleteIpamIpsParams() DeleteIpamIpsParams
NewDeleteIpamIpsParams creates a new DeleteIpamIpsParams object
There are no default values defined in the spec.
func (*DeleteIpamIpsParams) BindRequest ¶
func (o *DeleteIpamIpsParams) 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 NewDeleteIpamIpsParams() beforehand.
type DeleteIpamIpsURL ¶
type DeleteIpamIpsURL struct {
// contains filtered or unexported fields
}
DeleteIpamIpsURL generates an URL for the delete ipam ips operation
func (*DeleteIpamIpsURL) Build ¶
func (o *DeleteIpamIpsURL) Build() (*url.URL, error)
Build a url path and query string
func (*DeleteIpamIpsURL) BuildFull ¶
func (o *DeleteIpamIpsURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*DeleteIpamIpsURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*DeleteIpamIpsURL) SetBasePath ¶
func (o *DeleteIpamIpsURL) 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 (*DeleteIpamIpsURL) String ¶
func (o *DeleteIpamIpsURL) String() string
String returns the string representation of the path with query string
func (*DeleteIpamIpsURL) StringFull ¶
func (o *DeleteIpamIpsURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*DeleteIpamIpsURL) WithBasePath ¶
func (o *DeleteIpamIpsURL) WithBasePath(bp string) *DeleteIpamIpsURL
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 GetIpamHealthz ¶
type GetIpamHealthz struct { Context *middleware.Context Handler GetIpamHealthzHandler }
GetIpamHealthz swagger:route GET /ipam/healthz ipam getIpamHealthz
GetIpamHealthz get ipam healthz API
func NewGetIpamHealthz ¶
func NewGetIpamHealthz(ctx *middleware.Context, handler GetIpamHealthzHandler) *GetIpamHealthz
NewGetIpamHealthz creates a new http.Handler for the get ipam healthz operation
func (*GetIpamHealthz) ServeHTTP ¶
func (o *GetIpamHealthz) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type GetIpamHealthzHandler ¶
type GetIpamHealthzHandler interface {
Handle(GetIpamHealthzParams) middleware.Responder
}
GetIpamHealthzHandler interface for that can handle valid get ipam healthz params
type GetIpamHealthzHandlerFunc ¶
type GetIpamHealthzHandlerFunc func(GetIpamHealthzParams) middleware.Responder
GetIpamHealthzHandlerFunc turns a function with the right signature into a get ipam healthz handler
func (GetIpamHealthzHandlerFunc) Handle ¶
func (fn GetIpamHealthzHandlerFunc) Handle(params GetIpamHealthzParams) middleware.Responder
Handle executing the request and returning a response
type GetIpamHealthzOK ¶
type GetIpamHealthzOK struct { }
GetIpamHealthzOK Success
swagger:response getIpamHealthzOK
func NewGetIpamHealthzOK ¶
func NewGetIpamHealthzOK() *GetIpamHealthzOK
NewGetIpamHealthzOK creates GetIpamHealthzOK with default headers values
func (*GetIpamHealthzOK) WriteResponse ¶
func (o *GetIpamHealthzOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetIpamHealthzParams ¶
GetIpamHealthzParams contains all the bound params for the get ipam healthz operation typically these are obtained from a http.Request
swagger:parameters GetIpamHealthz
func NewGetIpamHealthzParams ¶
func NewGetIpamHealthzParams() GetIpamHealthzParams
NewGetIpamHealthzParams creates a new GetIpamHealthzParams object
There are no default values defined in the spec.
func (*GetIpamHealthzParams) BindRequest ¶
func (o *GetIpamHealthzParams) 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 NewGetIpamHealthzParams() beforehand.
type GetIpamHealthzURL ¶
type GetIpamHealthzURL struct {
// contains filtered or unexported fields
}
GetIpamHealthzURL generates an URL for the get ipam healthz operation
func (*GetIpamHealthzURL) Build ¶
func (o *GetIpamHealthzURL) Build() (*url.URL, error)
Build a url path and query string
func (*GetIpamHealthzURL) BuildFull ¶
func (o *GetIpamHealthzURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*GetIpamHealthzURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*GetIpamHealthzURL) SetBasePath ¶
func (o *GetIpamHealthzURL) 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 (*GetIpamHealthzURL) String ¶
func (o *GetIpamHealthzURL) String() string
String returns the string representation of the path with query string
func (*GetIpamHealthzURL) StringFull ¶
func (o *GetIpamHealthzURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*GetIpamHealthzURL) WithBasePath ¶
func (o *GetIpamHealthzURL) WithBasePath(bp string) *GetIpamHealthzURL
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 PostIpamIps ¶
type PostIpamIps struct { Context *middleware.Context Handler PostIpamIpsHandler }
PostIpamIps swagger:route POST /ipam/ips ipam postIpamIps
PostIpamIps post ipam ips API
func NewPostIpamIps ¶
func NewPostIpamIps(ctx *middleware.Context, handler PostIpamIpsHandler) *PostIpamIps
NewPostIpamIps creates a new http.Handler for the post ipam ips operation
func (*PostIpamIps) ServeHTTP ¶
func (o *PostIpamIps) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type PostIpamIpsHandler ¶
type PostIpamIpsHandler interface {
Handle(PostIpamIpsParams) middleware.Responder
}
PostIpamIpsHandler interface for that can handle valid post ipam ips params
type PostIpamIpsHandlerFunc ¶
type PostIpamIpsHandlerFunc func(PostIpamIpsParams) middleware.Responder
PostIpamIpsHandlerFunc turns a function with the right signature into a post ipam ips handler
func (PostIpamIpsHandlerFunc) Handle ¶
func (fn PostIpamIpsHandlerFunc) Handle(params PostIpamIpsParams) middleware.Responder
Handle executing the request and returning a response
type PostIpamIpsInternalServerError ¶
type PostIpamIpsInternalServerError struct { /* In: Body */ Payload models.Error `json:"body,omitempty"` }
PostIpamIpsInternalServerError Failed to allocate IP addresses
swagger:response postIpamIpsInternalServerError
func NewPostIpamIpsInternalServerError ¶
func NewPostIpamIpsInternalServerError() *PostIpamIpsInternalServerError
NewPostIpamIpsInternalServerError creates PostIpamIpsInternalServerError with default headers values
func (*PostIpamIpsInternalServerError) SetPayload ¶
func (o *PostIpamIpsInternalServerError) SetPayload(payload models.Error)
SetPayload sets the payload to the post ipam ips internal server error response
func (*PostIpamIpsInternalServerError) WithPayload ¶
func (o *PostIpamIpsInternalServerError) WithPayload(payload models.Error) *PostIpamIpsInternalServerError
WithPayload adds the payload to the post ipam ips internal server error response
func (*PostIpamIpsInternalServerError) WriteResponse ¶
func (o *PostIpamIpsInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type PostIpamIpsOK ¶
type PostIpamIpsOK struct { /* In: Body */ Payload *models.CmdAddResult `json:"body,omitempty"` }
PostIpamIpsOK Success
swagger:response postIpamIpsOK
func NewPostIpamIpsOK ¶
func NewPostIpamIpsOK() *PostIpamIpsOK
NewPostIpamIpsOK creates PostIpamIpsOK with default headers values
func (*PostIpamIpsOK) SetPayload ¶
func (o *PostIpamIpsOK) SetPayload(payload *models.CmdAddResult)
SetPayload sets the payload to the post ipam ips o k response
func (*PostIpamIpsOK) WithPayload ¶
func (o *PostIpamIpsOK) WithPayload(payload *models.CmdAddResult) *PostIpamIpsOK
WithPayload adds the payload to the post ipam ips o k response
func (*PostIpamIpsOK) WriteResponse ¶
func (o *PostIpamIpsOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type PostIpamIpsParams ¶
type PostIpamIpsParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* Required: true In: body */ Args *models.CmdAddArgs }
PostIpamIpsParams contains all the bound params for the post ipam ips operation typically these are obtained from a http.Request
swagger:parameters PostIpamIps
func NewPostIpamIpsParams ¶
func NewPostIpamIpsParams() PostIpamIpsParams
NewPostIpamIpsParams creates a new PostIpamIpsParams object
There are no default values defined in the spec.
func (*PostIpamIpsParams) BindRequest ¶
func (o *PostIpamIpsParams) 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 NewPostIpamIpsParams() beforehand.
type PostIpamIpsURL ¶
type PostIpamIpsURL struct {
// contains filtered or unexported fields
}
PostIpamIpsURL generates an URL for the post ipam ips operation
func (*PostIpamIpsURL) Build ¶
func (o *PostIpamIpsURL) Build() (*url.URL, error)
Build a url path and query string
func (*PostIpamIpsURL) BuildFull ¶
func (o *PostIpamIpsURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*PostIpamIpsURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*PostIpamIpsURL) SetBasePath ¶
func (o *PostIpamIpsURL) 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 (*PostIpamIpsURL) String ¶
func (o *PostIpamIpsURL) String() string
String returns the string representation of the path with query string
func (*PostIpamIpsURL) StringFull ¶
func (o *PostIpamIpsURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*PostIpamIpsURL) WithBasePath ¶
func (o *PostIpamIpsURL) WithBasePath(bp string) *PostIpamIpsURL
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_ipam_ips.go
- delete_ipam_ips_parameters.go
- delete_ipam_ips_responses.go
- delete_ipam_ips_urlbuilder.go
- get_ipam_healthz.go
- get_ipam_healthz_parameters.go
- get_ipam_healthz_responses.go
- get_ipam_healthz_urlbuilder.go
- post_ipam_ips.go
- post_ipam_ips_parameters.go
- post_ipam_ips_responses.go
- post_ipam_ips_urlbuilder.go