Documentation ¶
Index ¶
- Constants
- type GetHaproxyProcessInfo
- type GetHaproxyProcessInfoDefault
- func (o *GetHaproxyProcessInfoDefault) SetConfigurationVersion(configurationVersion int64)
- func (o *GetHaproxyProcessInfoDefault) SetPayload(payload *models.Error)
- func (o *GetHaproxyProcessInfoDefault) SetStatusCode(code int)
- func (o *GetHaproxyProcessInfoDefault) WithConfigurationVersion(configurationVersion int64) *GetHaproxyProcessInfoDefault
- 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
- type GetInfo
- type GetInfoDefault
- func (o *GetInfoDefault) SetConfigurationVersion(configurationVersion int64)
- func (o *GetInfoDefault) SetPayload(payload *models.Error)
- func (o *GetInfoDefault) SetStatusCode(code int)
- func (o *GetInfoDefault) WithConfigurationVersion(configurationVersion int64) *GetInfoDefault
- func (o *GetInfoDefault) WithPayload(payload *models.Error) *GetInfoDefault
- func (o *GetInfoDefault) WithStatusCode(code int) *GetInfoDefault
- func (o *GetInfoDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetInfoHandler
- type GetInfoHandlerFunc
- type GetInfoOK
- type GetInfoParams
- type GetInfoURL
- func (o *GetInfoURL) Build() (*url.URL, error)
- func (o *GetInfoURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *GetInfoURL) Must(u *url.URL, err error) *url.URL
- func (o *GetInfoURL) SetBasePath(bp string)
- func (o *GetInfoURL) String() string
- func (o *GetInfoURL) StringFull(scheme, host string) string
- func (o *GetInfoURL) WithBasePath(bp string) *GetInfoURL
Constants ¶
const GetHaproxyProcessInfoOKCode int = 200
GetHaproxyProcessInfoOKCode is the HTTP code returned for type GetHaproxyProcessInfoOK
const GetInfoOKCode int = 200
GetInfoOKCode is the HTTP code returned for type GetInfoOK
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 { /*Configuration file version */ ConfigurationVersion int64 `json:"Configuration-Version"` /* 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) SetConfigurationVersion ¶ added in v1.2.2
func (o *GetHaproxyProcessInfoDefault) SetConfigurationVersion(configurationVersion int64)
SetConfigurationVersion sets the configurationVersion to the get haproxy process info default response
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) WithConfigurationVersion ¶ added in v1.2.2
func (o *GetHaproxyProcessInfoDefault) WithConfigurationVersion(configurationVersion int64) *GetHaproxyProcessInfoDefault
WithConfigurationVersion adds the configurationVersion 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
type GetInfo ¶ added in v1.2.2
type GetInfo struct { Context *middleware.Context Handler GetInfoHandler }
GetInfo swagger:route GET /info Information getInfo
Return API, hardware and OS information ¶
Return API, hardware and OS information
func NewGetInfo ¶ added in v1.2.2
func NewGetInfo(ctx *middleware.Context, handler GetInfoHandler) *GetInfo
NewGetInfo creates a new http.Handler for the get info operation
type GetInfoDefault ¶ added in v1.2.2
type GetInfoDefault struct { /*Configuration file version */ ConfigurationVersion int64 `json:"Configuration-Version"` /* In: Body */ Payload *models.Error `json:"body,omitempty"` // contains filtered or unexported fields }
GetInfoDefault General Error
swagger:response getInfoDefault
func NewGetInfoDefault ¶ added in v1.2.2
func NewGetInfoDefault(code int) *GetInfoDefault
NewGetInfoDefault creates GetInfoDefault with default headers values
func (*GetInfoDefault) SetConfigurationVersion ¶ added in v1.2.2
func (o *GetInfoDefault) SetConfigurationVersion(configurationVersion int64)
SetConfigurationVersion sets the configurationVersion to the get info default response
func (*GetInfoDefault) SetPayload ¶ added in v1.2.2
func (o *GetInfoDefault) SetPayload(payload *models.Error)
SetPayload sets the payload to the get info default response
func (*GetInfoDefault) SetStatusCode ¶ added in v1.2.2
func (o *GetInfoDefault) SetStatusCode(code int)
SetStatusCode sets the status to the get info default response
func (*GetInfoDefault) WithConfigurationVersion ¶ added in v1.2.2
func (o *GetInfoDefault) WithConfigurationVersion(configurationVersion int64) *GetInfoDefault
WithConfigurationVersion adds the configurationVersion to the get info default response
func (*GetInfoDefault) WithPayload ¶ added in v1.2.2
func (o *GetInfoDefault) WithPayload(payload *models.Error) *GetInfoDefault
WithPayload adds the payload to the get info default response
func (*GetInfoDefault) WithStatusCode ¶ added in v1.2.2
func (o *GetInfoDefault) WithStatusCode(code int) *GetInfoDefault
WithStatusCode adds the status to the get info default response
func (*GetInfoDefault) WriteResponse ¶ added in v1.2.2
func (o *GetInfoDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetInfoHandler ¶ added in v1.2.2
type GetInfoHandler interface {
Handle(GetInfoParams, interface{}) middleware.Responder
}
GetInfoHandler interface for that can handle valid get info params
type GetInfoHandlerFunc ¶ added in v1.2.2
type GetInfoHandlerFunc func(GetInfoParams, interface{}) middleware.Responder
GetInfoHandlerFunc turns a function with the right signature into a get info handler
func (GetInfoHandlerFunc) Handle ¶ added in v1.2.2
func (fn GetInfoHandlerFunc) Handle(params GetInfoParams, principal interface{}) middleware.Responder
Handle executing the request and returning a response
type GetInfoOK ¶ added in v1.2.2
GetInfoOK Success
swagger:response getInfoOK
func NewGetInfoOK ¶ added in v1.2.2
func NewGetInfoOK() *GetInfoOK
NewGetInfoOK creates GetInfoOK with default headers values
func (*GetInfoOK) SetPayload ¶ added in v1.2.2
SetPayload sets the payload to the get info o k response
func (*GetInfoOK) WithPayload ¶ added in v1.2.2
WithPayload adds the payload to the get info o k response
func (*GetInfoOK) WriteResponse ¶ added in v1.2.2
func (o *GetInfoOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetInfoParams ¶ added in v1.2.2
GetInfoParams contains all the bound params for the get info operation typically these are obtained from a http.Request
swagger:parameters getInfo
func NewGetInfoParams ¶ added in v1.2.2
func NewGetInfoParams() GetInfoParams
NewGetInfoParams creates a new GetInfoParams object no default values defined in spec.
func (*GetInfoParams) BindRequest ¶ added in v1.2.2
func (o *GetInfoParams) 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 NewGetInfoParams() beforehand.
type GetInfoURL ¶ added in v1.2.2
type GetInfoURL struct {
// contains filtered or unexported fields
}
GetInfoURL generates an URL for the get info operation
func (*GetInfoURL) Build ¶ added in v1.2.2
func (o *GetInfoURL) Build() (*url.URL, error)
Build a url path and query string
func (*GetInfoURL) BuildFull ¶ added in v1.2.2
func (o *GetInfoURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*GetInfoURL) Must ¶ added in v1.2.2
Must is a helper function to panic when the url builder returns an error
func (*GetInfoURL) SetBasePath ¶ added in v1.2.2
func (o *GetInfoURL) 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 (*GetInfoURL) String ¶ added in v1.2.2
func (o *GetInfoURL) String() string
String returns the string representation of the path with query string
func (*GetInfoURL) StringFull ¶ added in v1.2.2
func (o *GetInfoURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*GetInfoURL) WithBasePath ¶ added in v1.2.2
func (o *GetInfoURL) WithBasePath(bp string) *GetInfoURL
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