ipam

package
v0.0.0-...-c25967f Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 4, 2023 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const DeleteIpamIpsInternalServerErrorCode int = 500

DeleteIpamIpsInternalServerErrorCode is the HTTP code returned for type DeleteIpamIpsInternalServerError

View Source
const DeleteIpamIpsOKCode int = 200

DeleteIpamIpsOKCode is the HTTP code returned for type DeleteIpamIpsOK

View Source
const GetIpamHealthzOKCode int = 200

GetIpamHealthzOKCode is the HTTP code returned for type GetIpamHealthzOK

View Source
const PostIpamIpsInternalServerErrorCode int = 500

PostIpamIpsInternalServerErrorCode is the HTTP code returned for type PostIpamIpsInternalServerError

View Source
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

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

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

func (o *DeleteIpamIpsURL) Must(u *url.URL, err error) *url.URL

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

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

type GetIpamHealthzParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`
}

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

func (o *GetIpamHealthzURL) Must(u *url.URL, err error) *url.URL

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

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

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

func (o *PostIpamIpsURL) Must(u *url.URL, err error) *url.URL

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL