Documentation
¶
Index ¶
- Constants
- type GetHaproxyProcessInfo
- type GetHaproxyProcessInfoDefault
- func (o *GetHaproxyProcessInfoDefault) SetPayload(payload *models.Error)
- func (o *GetHaproxyProcessInfoDefault) SetStatusCode(code int)
- func (o *GetHaproxyProcessInfoDefault) WithPayload(payload *models.Error) *GetHaproxyProcessInfoDefault
- func (o *GetHaproxyProcessInfoDefault) WithStatusCode(code int) *GetHaproxyProcessInfoDefault
- func (o *GetHaproxyProcessInfoDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetHaproxyProcessInfoHandler
- type GetHaproxyProcessInfoHandlerFunc
- type GetHaproxyProcessInfoOK
- type GetHaproxyProcessInfoParams
- type GetHaproxyProcessInfoURL
- func (o *GetHaproxyProcessInfoURL) Build() (*url.URL, error)
- func (o *GetHaproxyProcessInfoURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *GetHaproxyProcessInfoURL) Must(u *url.URL, err error) *url.URL
- func (o *GetHaproxyProcessInfoURL) SetBasePath(bp string)
- func (o *GetHaproxyProcessInfoURL) String() string
- func (o *GetHaproxyProcessInfoURL) StringFull(scheme, host string) string
- func (o *GetHaproxyProcessInfoURL) WithBasePath(bp string) *GetHaproxyProcessInfoURL
Constants ¶
const GetHaproxyProcessInfoOKCode int = 200
GetHaproxyProcessInfoOKCode is the HTTP code returned for type GetHaproxyProcessInfoOK
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GetHaproxyProcessInfo ¶
type GetHaproxyProcessInfo struct { Context *middleware.Context Handler GetHaproxyProcessInfoHandler }
GetHaproxyProcessInfo swagger:route GET /services/haproxy/info Information getHaproxyProcessInfo
Return HAProxy process information ¶
Return HAProxy process information
func NewGetHaproxyProcessInfo ¶
func NewGetHaproxyProcessInfo(ctx *middleware.Context, handler GetHaproxyProcessInfoHandler) *GetHaproxyProcessInfo
NewGetHaproxyProcessInfo creates a new http.Handler for the get haproxy process info operation
func (*GetHaproxyProcessInfo) ServeHTTP ¶
func (o *GetHaproxyProcessInfo) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type GetHaproxyProcessInfoDefault ¶
type GetHaproxyProcessInfoDefault struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` // contains filtered or unexported fields }
GetHaproxyProcessInfoDefault General Error
swagger:response getHaproxyProcessInfoDefault
func NewGetHaproxyProcessInfoDefault ¶
func NewGetHaproxyProcessInfoDefault(code int) *GetHaproxyProcessInfoDefault
NewGetHaproxyProcessInfoDefault creates GetHaproxyProcessInfoDefault with default headers values
func (*GetHaproxyProcessInfoDefault) SetPayload ¶
func (o *GetHaproxyProcessInfoDefault) SetPayload(payload *models.Error)
SetPayload sets the payload to the get haproxy process info default response
func (*GetHaproxyProcessInfoDefault) SetStatusCode ¶
func (o *GetHaproxyProcessInfoDefault) SetStatusCode(code int)
SetStatusCode sets the status to the get haproxy process info default response
func (*GetHaproxyProcessInfoDefault) WithPayload ¶
func (o *GetHaproxyProcessInfoDefault) WithPayload(payload *models.Error) *GetHaproxyProcessInfoDefault
WithPayload adds the payload to the get haproxy process info default response
func (*GetHaproxyProcessInfoDefault) WithStatusCode ¶
func (o *GetHaproxyProcessInfoDefault) WithStatusCode(code int) *GetHaproxyProcessInfoDefault
WithStatusCode adds the status to the get haproxy process info default response
func (*GetHaproxyProcessInfoDefault) WriteResponse ¶
func (o *GetHaproxyProcessInfoDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetHaproxyProcessInfoHandler ¶
type GetHaproxyProcessInfoHandler interface {
Handle(GetHaproxyProcessInfoParams, interface{}) middleware.Responder
}
GetHaproxyProcessInfoHandler interface for that can handle valid get haproxy process info params
type GetHaproxyProcessInfoHandlerFunc ¶
type GetHaproxyProcessInfoHandlerFunc func(GetHaproxyProcessInfoParams, interface{}) middleware.Responder
GetHaproxyProcessInfoHandlerFunc turns a function with the right signature into a get haproxy process info handler
func (GetHaproxyProcessInfoHandlerFunc) Handle ¶
func (fn GetHaproxyProcessInfoHandlerFunc) Handle(params GetHaproxyProcessInfoParams, principal interface{}) middleware.Responder
Handle executing the request and returning a response
type GetHaproxyProcessInfoOK ¶
type GetHaproxyProcessInfoOK struct { /* In: Body */ Payload *models.ProcessInfo `json:"body,omitempty"` }
GetHaproxyProcessInfoOK Success
swagger:response getHaproxyProcessInfoOK
func NewGetHaproxyProcessInfoOK ¶
func NewGetHaproxyProcessInfoOK() *GetHaproxyProcessInfoOK
NewGetHaproxyProcessInfoOK creates GetHaproxyProcessInfoOK with default headers values
func (*GetHaproxyProcessInfoOK) SetPayload ¶
func (o *GetHaproxyProcessInfoOK) SetPayload(payload *models.ProcessInfo)
SetPayload sets the payload to the get haproxy process info o k response
func (*GetHaproxyProcessInfoOK) WithPayload ¶
func (o *GetHaproxyProcessInfoOK) WithPayload(payload *models.ProcessInfo) *GetHaproxyProcessInfoOK
WithPayload adds the payload to the get haproxy process info o k response
func (*GetHaproxyProcessInfoOK) WriteResponse ¶
func (o *GetHaproxyProcessInfoOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetHaproxyProcessInfoParams ¶
type GetHaproxyProcessInfoParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` }
GetHaproxyProcessInfoParams contains all the bound params for the get haproxy process info operation typically these are obtained from a http.Request
swagger:parameters getHaproxyProcessInfo
func NewGetHaproxyProcessInfoParams ¶
func NewGetHaproxyProcessInfoParams() GetHaproxyProcessInfoParams
NewGetHaproxyProcessInfoParams creates a new GetHaproxyProcessInfoParams object no default values defined in spec.
func (*GetHaproxyProcessInfoParams) BindRequest ¶
func (o *GetHaproxyProcessInfoParams) 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 NewGetHaproxyProcessInfoParams() beforehand.
type GetHaproxyProcessInfoURL ¶
type GetHaproxyProcessInfoURL struct {
// contains filtered or unexported fields
}
GetHaproxyProcessInfoURL generates an URL for the get haproxy process info operation
func (*GetHaproxyProcessInfoURL) Build ¶
func (o *GetHaproxyProcessInfoURL) Build() (*url.URL, error)
Build a url path and query string
func (*GetHaproxyProcessInfoURL) BuildFull ¶
func (o *GetHaproxyProcessInfoURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*GetHaproxyProcessInfoURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*GetHaproxyProcessInfoURL) SetBasePath ¶
func (o *GetHaproxyProcessInfoURL) 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 (*GetHaproxyProcessInfoURL) String ¶
func (o *GetHaproxyProcessInfoURL) String() string
String returns the string representation of the path with query string
func (*GetHaproxyProcessInfoURL) StringFull ¶
func (o *GetHaproxyProcessInfoURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*GetHaproxyProcessInfoURL) WithBasePath ¶
func (o *GetHaproxyProcessInfoURL) WithBasePath(bp string) *GetHaproxyProcessInfoURL
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