daemonset

package
v0.0.5 Latest Latest
Warning

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

Go to latest
Published: Jul 27, 2022 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const DeleteIpamIPInternalServerErrorCode int = 500

DeleteIpamIPInternalServerErrorCode is the HTTP code returned for type DeleteIpamIPInternalServerError

View Source
const DeleteIpamIPOKCode int = 200

DeleteIpamIPOKCode is the HTTP code returned for type DeleteIpamIPOK

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 GetWorkloadendpointInternalServerErrorCode int = 500

GetWorkloadendpointInternalServerErrorCode is the HTTP code returned for type GetWorkloadendpointInternalServerError

View Source
const GetWorkloadendpointOKCode int = 200

GetWorkloadendpointOKCode is the HTTP code returned for type GetWorkloadendpointOK

View Source
const PostIpamIPInternalServerErrorCode int = 500

PostIpamIPInternalServerErrorCode is the HTTP code returned for type PostIpamIPInternalServerError

View Source
const PostIpamIPOKCode int = 200

PostIpamIPOKCode is the HTTP code returned for type PostIpamIPOK

View Source
const PostIpamIPStatus512Code int = 512

PostIpamIPStatus512Code is the HTTP code returned for type PostIpamIPStatus512

View Source
const PostIpamIPStatus513Code int = 513

PostIpamIPStatus513Code is the HTTP code returned for type PostIpamIPStatus513

View Source
const PostIpamIPStatus514Code int = 514

PostIpamIPStatus514Code is the HTTP code returned for type PostIpamIPStatus514

View Source
const PostIpamIPStatus515Code int = 515

PostIpamIPStatus515Code is the HTTP code returned for type PostIpamIPStatus515

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 DeleteIpamIP

type DeleteIpamIP struct {
	Context *middleware.Context
	Handler DeleteIpamIPHandler
}
DeleteIpamIP swagger:route DELETE /ipam/ip daemonset deleteIpamIp

Delete ip from spiderpool daemon

Send a request to daemonset to ask for an ip deleting

func NewDeleteIpamIP

func NewDeleteIpamIP(ctx *middleware.Context, handler DeleteIpamIPHandler) *DeleteIpamIP

NewDeleteIpamIP creates a new http.Handler for the delete ipam IP operation

func (*DeleteIpamIP) ServeHTTP

func (o *DeleteIpamIP) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type DeleteIpamIPHandler

type DeleteIpamIPHandler interface {
	Handle(DeleteIpamIPParams) middleware.Responder
}

DeleteIpamIPHandler interface for that can handle valid delete ipam IP params

type DeleteIpamIPHandlerFunc

type DeleteIpamIPHandlerFunc func(DeleteIpamIPParams) middleware.Responder

DeleteIpamIPHandlerFunc turns a function with the right signature into a delete ipam IP handler

func (DeleteIpamIPHandlerFunc) Handle

Handle executing the request and returning a response

type DeleteIpamIPInternalServerError

type DeleteIpamIPInternalServerError struct {
}

DeleteIpamIPInternalServerError Failed

swagger:response deleteIpamIpInternalServerError

func NewDeleteIpamIPInternalServerError

func NewDeleteIpamIPInternalServerError() *DeleteIpamIPInternalServerError

NewDeleteIpamIPInternalServerError creates DeleteIpamIPInternalServerError with default headers values

func (*DeleteIpamIPInternalServerError) WriteResponse

func (o *DeleteIpamIPInternalServerError) 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 `json:"-"`

	/*
	  Required: true
	  In: body
	*/
	IpamDelArgs *models.IpamDelArgs
}

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

func NewDeleteIpamIPParams() DeleteIpamIPParams

NewDeleteIpamIPParams creates a new DeleteIpamIPParams object

There are no default values defined in the spec.

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.

To ensure default values, the struct must have been initialized with NewDeleteIpamIPParams() beforehand.

type DeleteIpamIPURL

type DeleteIpamIPURL struct {
	// contains filtered or unexported fields
}

DeleteIpamIPURL generates an URL for the delete ipam 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

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

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 DeleteIpamIps

type DeleteIpamIps struct {
	Context *middleware.Context
	Handler DeleteIpamIpsHandler
}
DeleteIpamIps swagger:route DELETE /ipam/ips daemonset deleteIpamIps

Delete multiple ip as a batch

Delete multiple ip for a pod, case for spiderflat compent

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 {
}

DeleteIpamIpsInternalServerError Failed

swagger:response deleteIpamIpsInternalServerError

func NewDeleteIpamIpsInternalServerError

func NewDeleteIpamIpsInternalServerError() *DeleteIpamIpsInternalServerError

NewDeleteIpamIpsInternalServerError creates DeleteIpamIpsInternalServerError with default headers values

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:"-"`
}

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 GetWorkloadendpoint

type GetWorkloadendpoint struct {
	Context *middleware.Context
	Handler GetWorkloadendpointHandler
}
GetWorkloadendpoint swagger:route GET /workloadendpoint daemonset getWorkloadendpoint

Get workloadendpoint status

Get workloadendpoint details for spiderflat use

func NewGetWorkloadendpoint

func NewGetWorkloadendpoint(ctx *middleware.Context, handler GetWorkloadendpointHandler) *GetWorkloadendpoint

NewGetWorkloadendpoint creates a new http.Handler for the get workloadendpoint operation

func (*GetWorkloadendpoint) ServeHTTP

func (o *GetWorkloadendpoint) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type GetWorkloadendpointHandler

type GetWorkloadendpointHandler interface {
	Handle(GetWorkloadendpointParams) middleware.Responder
}

GetWorkloadendpointHandler interface for that can handle valid get workloadendpoint params

type GetWorkloadendpointHandlerFunc

type GetWorkloadendpointHandlerFunc func(GetWorkloadendpointParams) middleware.Responder

GetWorkloadendpointHandlerFunc turns a function with the right signature into a get workloadendpoint handler

func (GetWorkloadendpointHandlerFunc) Handle

Handle executing the request and returning a response

type GetWorkloadendpointInternalServerError

type GetWorkloadendpointInternalServerError struct {
}

GetWorkloadendpointInternalServerError Get workloadendpoint failure

swagger:response getWorkloadendpointInternalServerError

func NewGetWorkloadendpointInternalServerError

func NewGetWorkloadendpointInternalServerError() *GetWorkloadendpointInternalServerError

NewGetWorkloadendpointInternalServerError creates GetWorkloadendpointInternalServerError with default headers values

func (*GetWorkloadendpointInternalServerError) WriteResponse

WriteResponse to the client

type GetWorkloadendpointOK

type GetWorkloadendpointOK struct {
}

GetWorkloadendpointOK Success

swagger:response getWorkloadendpointOK

func NewGetWorkloadendpointOK

func NewGetWorkloadendpointOK() *GetWorkloadendpointOK

NewGetWorkloadendpointOK creates GetWorkloadendpointOK with default headers values

func (*GetWorkloadendpointOK) WriteResponse

func (o *GetWorkloadendpointOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type GetWorkloadendpointParams

type GetWorkloadendpointParams struct {

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

GetWorkloadendpointParams contains all the bound params for the get workloadendpoint operation typically these are obtained from a http.Request

swagger:parameters GetWorkloadendpoint

func NewGetWorkloadendpointParams

func NewGetWorkloadendpointParams() GetWorkloadendpointParams

NewGetWorkloadendpointParams creates a new GetWorkloadendpointParams object

There are no default values defined in the spec.

func (*GetWorkloadendpointParams) BindRequest

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 NewGetWorkloadendpointParams() beforehand.

type GetWorkloadendpointURL

type GetWorkloadendpointURL struct {
	// contains filtered or unexported fields
}

GetWorkloadendpointURL generates an URL for the get workloadendpoint operation

func (*GetWorkloadendpointURL) Build

func (o *GetWorkloadendpointURL) Build() (*url.URL, error)

Build a url path and query string

func (*GetWorkloadendpointURL) BuildFull

func (o *GetWorkloadendpointURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*GetWorkloadendpointURL) Must

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

Must is a helper function to panic when the url builder returns an error

func (*GetWorkloadendpointURL) SetBasePath

func (o *GetWorkloadendpointURL) 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 (*GetWorkloadendpointURL) String

func (o *GetWorkloadendpointURL) String() string

String returns the string representation of the path with query string

func (*GetWorkloadendpointURL) StringFull

func (o *GetWorkloadendpointURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*GetWorkloadendpointURL) WithBasePath

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 PostIpamIP

type PostIpamIP struct {
	Context *middleware.Context
	Handler PostIpamIPHandler
}
PostIpamIP swagger:route POST /ipam/ip daemonset postIpamIp

Get ip from spiderpool daemon

Send a request to daemonset to ask for an ip assignment

func NewPostIpamIP

func NewPostIpamIP(ctx *middleware.Context, handler PostIpamIPHandler) *PostIpamIP

NewPostIpamIP creates a new http.Handler for the post ipam IP operation

func (*PostIpamIP) ServeHTTP

func (o *PostIpamIP) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type PostIpamIPHandler

type PostIpamIPHandler interface {
	Handle(PostIpamIPParams) middleware.Responder
}

PostIpamIPHandler interface for that can handle valid post ipam IP params

type PostIpamIPHandlerFunc

type PostIpamIPHandlerFunc func(PostIpamIPParams) middleware.Responder

PostIpamIPHandlerFunc turns a function with the right signature into a post ipam IP handler

func (PostIpamIPHandlerFunc) Handle

Handle executing the request and returning a response

type PostIpamIPInternalServerError

type PostIpamIPInternalServerError struct {
}

PostIpamIPInternalServerError Internal server error

swagger:response postIpamIpInternalServerError

func NewPostIpamIPInternalServerError

func NewPostIpamIPInternalServerError() *PostIpamIPInternalServerError

NewPostIpamIPInternalServerError creates PostIpamIPInternalServerError with default headers values

func (*PostIpamIPInternalServerError) WriteResponse

func (o *PostIpamIPInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type PostIpamIPOK

type PostIpamIPOK struct {

	/*
	  In: Body
	*/
	Payload *models.IpamAddResponse `json:"body,omitempty"`
}

PostIpamIPOK Success

swagger:response postIpamIpOK

func NewPostIpamIPOK

func NewPostIpamIPOK() *PostIpamIPOK

NewPostIpamIPOK creates PostIpamIPOK with default headers values

func (*PostIpamIPOK) SetPayload added in v0.0.2

func (o *PostIpamIPOK) SetPayload(payload *models.IpamAddResponse)

SetPayload sets the payload to the post ipam Ip o k response

func (*PostIpamIPOK) WithPayload added in v0.0.2

func (o *PostIpamIPOK) WithPayload(payload *models.IpamAddResponse) *PostIpamIPOK

WithPayload adds the payload to the post ipam Ip o k response

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 `json:"-"`

	/*
	  Required: true
	  In: body
	*/
	IpamAddArgs *models.IpamAddArgs
}

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

func NewPostIpamIPParams() PostIpamIPParams

NewPostIpamIPParams creates a new PostIpamIPParams object

There are no default values defined in the spec.

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.

To ensure default values, the struct must have been initialized with NewPostIpamIPParams() beforehand.

type PostIpamIPStatus512 added in v0.0.4

type PostIpamIPStatus512 struct {
}

PostIpamIPStatus512 Wrong input information

swagger:response postIpamIpStatus512

func NewPostIpamIPStatus512 added in v0.0.4

func NewPostIpamIPStatus512() *PostIpamIPStatus512

NewPostIpamIPStatus512 creates PostIpamIPStatus512 with default headers values

func (*PostIpamIPStatus512) WriteResponse added in v0.0.4

func (o *PostIpamIPStatus512) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type PostIpamIPStatus513 added in v0.0.4

type PostIpamIPStatus513 struct {
}

PostIpamIPStatus513 Not allocatable pod

swagger:response postIpamIpStatus513

func NewPostIpamIPStatus513 added in v0.0.4

func NewPostIpamIPStatus513() *PostIpamIPStatus513

NewPostIpamIPStatus513 creates PostIpamIPStatus513 with default headers values

func (*PostIpamIPStatus513) WriteResponse added in v0.0.4

func (o *PostIpamIPStatus513) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type PostIpamIPStatus514 added in v0.0.4

type PostIpamIPStatus514 struct {
}

PostIpamIPStatus514 No available IP pool

swagger:response postIpamIpStatus514

func NewPostIpamIPStatus514 added in v0.0.4

func NewPostIpamIPStatus514() *PostIpamIPStatus514

NewPostIpamIPStatus514 creates PostIpamIPStatus514 with default headers values

func (*PostIpamIPStatus514) WriteResponse added in v0.0.4

func (o *PostIpamIPStatus514) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type PostIpamIPStatus515 added in v0.0.4

type PostIpamIPStatus515 struct {
}

PostIpamIPStatus515 All IP used out

swagger:response postIpamIpStatus515

func NewPostIpamIPStatus515 added in v0.0.4

func NewPostIpamIPStatus515() *PostIpamIPStatus515

NewPostIpamIPStatus515 creates PostIpamIPStatus515 with default headers values

func (*PostIpamIPStatus515) WriteResponse added in v0.0.4

func (o *PostIpamIPStatus515) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type PostIpamIPURL

type PostIpamIPURL struct {
	// contains filtered or unexported fields
}

PostIpamIPURL generates an URL for the post ipam 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

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

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 PostIpamIps

type PostIpamIps struct {
	Context *middleware.Context
	Handler PostIpamIpsHandler
}
PostIpamIps swagger:route POST /ipam/ips daemonset postIpamIps

Assign multiple ip as a batch

Assign multiple ip for a pod, case for spiderflat compent

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 {
}

PostIpamIpsInternalServerError Allocation failure

swagger:response postIpamIpsInternalServerError

func NewPostIpamIpsInternalServerError

func NewPostIpamIpsInternalServerError() *PostIpamIpsInternalServerError

NewPostIpamIpsInternalServerError creates PostIpamIpsInternalServerError with default headers values

func (*PostIpamIpsInternalServerError) WriteResponse

func (o *PostIpamIpsInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type PostIpamIpsOK

type PostIpamIpsOK struct {
}

PostIpamIpsOK Success

swagger:response postIpamIpsOK

func NewPostIpamIpsOK

func NewPostIpamIpsOK() *PostIpamIpsOK

NewPostIpamIpsOK creates PostIpamIpsOK with default headers values

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:"-"`
}

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