Documentation ¶
Index ¶
- Constants
- type GetIpamHealthy
- type GetIpamHealthyHandler
- type GetIpamHealthyHandlerFunc
- type GetIpamHealthyInternalServerError
- type GetIpamHealthyOK
- type GetIpamHealthyParams
- type GetIpamHealthyURL
- func (o *GetIpamHealthyURL) Build() (*url.URL, error)
- func (o *GetIpamHealthyURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *GetIpamHealthyURL) Must(u *url.URL, err error) *url.URL
- func (o *GetIpamHealthyURL) SetBasePath(bp string)
- func (o *GetIpamHealthyURL) String() string
- func (o *GetIpamHealthyURL) StringFull(scheme, host string) string
- func (o *GetIpamHealthyURL) WithBasePath(bp string) *GetIpamHealthyURL
Constants ¶
const GetIpamHealthyInternalServerErrorCode int = 500
GetIpamHealthyInternalServerErrorCode is the HTTP code returned for type GetIpamHealthyInternalServerError
const GetIpamHealthyOKCode int = 200
GetIpamHealthyOKCode is the HTTP code returned for type GetIpamHealthyOK
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GetIpamHealthy ¶
type GetIpamHealthy struct { Context *middleware.Context Handler GetIpamHealthyHandler }
GetIpamHealthy swagger:route GET /ipam/healthy connectivity getIpamHealthy
Get health of spiderpool daemon ¶
Check spiderpool daemonset health to make sure whether it's ready for CNI plugin usage
func NewGetIpamHealthy ¶
func NewGetIpamHealthy(ctx *middleware.Context, handler GetIpamHealthyHandler) *GetIpamHealthy
NewGetIpamHealthy creates a new http.Handler for the get ipam healthy operation
func (*GetIpamHealthy) ServeHTTP ¶
func (o *GetIpamHealthy) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type GetIpamHealthyHandler ¶
type GetIpamHealthyHandler interface {
Handle(GetIpamHealthyParams) middleware.Responder
}
GetIpamHealthyHandler interface for that can handle valid get ipam healthy params
type GetIpamHealthyHandlerFunc ¶
type GetIpamHealthyHandlerFunc func(GetIpamHealthyParams) middleware.Responder
GetIpamHealthyHandlerFunc turns a function with the right signature into a get ipam healthy handler
func (GetIpamHealthyHandlerFunc) Handle ¶
func (fn GetIpamHealthyHandlerFunc) Handle(params GetIpamHealthyParams) middleware.Responder
Handle executing the request and returning a response
type GetIpamHealthyInternalServerError ¶
type GetIpamHealthyInternalServerError struct { }
GetIpamHealthyInternalServerError Failed
swagger:response getIpamHealthyInternalServerError
func NewGetIpamHealthyInternalServerError ¶
func NewGetIpamHealthyInternalServerError() *GetIpamHealthyInternalServerError
NewGetIpamHealthyInternalServerError creates GetIpamHealthyInternalServerError with default headers values
func (*GetIpamHealthyInternalServerError) WriteResponse ¶
func (o *GetIpamHealthyInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetIpamHealthyOK ¶
type GetIpamHealthyOK struct { }
GetIpamHealthyOK Success
swagger:response getIpamHealthyOK
func NewGetIpamHealthyOK ¶
func NewGetIpamHealthyOK() *GetIpamHealthyOK
NewGetIpamHealthyOK creates GetIpamHealthyOK with default headers values
func (*GetIpamHealthyOK) WriteResponse ¶
func (o *GetIpamHealthyOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetIpamHealthyParams ¶
GetIpamHealthyParams contains all the bound params for the get ipam healthy operation typically these are obtained from a http.Request
swagger:parameters GetIpamHealthy
func NewGetIpamHealthyParams ¶
func NewGetIpamHealthyParams() GetIpamHealthyParams
NewGetIpamHealthyParams creates a new GetIpamHealthyParams object
There are no default values defined in the spec.
func (*GetIpamHealthyParams) BindRequest ¶
func (o *GetIpamHealthyParams) 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 NewGetIpamHealthyParams() beforehand.
type GetIpamHealthyURL ¶
type GetIpamHealthyURL struct {
// contains filtered or unexported fields
}
GetIpamHealthyURL generates an URL for the get ipam healthy operation
func (*GetIpamHealthyURL) Build ¶
func (o *GetIpamHealthyURL) Build() (*url.URL, error)
Build a url path and query string
func (*GetIpamHealthyURL) BuildFull ¶
func (o *GetIpamHealthyURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*GetIpamHealthyURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*GetIpamHealthyURL) SetBasePath ¶
func (o *GetIpamHealthyURL) 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 (*GetIpamHealthyURL) String ¶
func (o *GetIpamHealthyURL) String() string
String returns the string representation of the path with query string
func (*GetIpamHealthyURL) StringFull ¶
func (o *GetIpamHealthyURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*GetIpamHealthyURL) WithBasePath ¶
func (o *GetIpamHealthyURL) WithBasePath(bp string) *GetIpamHealthyURL
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