Documentation ¶
Index ¶
- type GetServerInfo
- type GetServerInfoDefault
- func (o *GetServerInfoDefault) SetPayload(payload *models.ErrorResponse)
- func (o *GetServerInfoDefault) SetStatusCode(code int)
- func (o *GetServerInfoDefault) WithPayload(payload *models.ErrorResponse) *GetServerInfoDefault
- func (o *GetServerInfoDefault) WithStatusCode(code int) *GetServerInfoDefault
- func (o *GetServerInfoDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetServerInfoHandler
- type GetServerInfoHandlerFunc
- type GetServerInfoOK
- type GetServerInfoOKBodyApplication
- type GetServerInfoOKBodyBody
- type GetServerInfoParams
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GetServerInfo ¶
type GetServerInfo struct { Context *middleware.Context Handler GetServerInfoHandler }
GetServerInfo swagger:route GET / server getServerInfo
Returns information about the server version
func NewGetServerInfo ¶
func NewGetServerInfo(ctx *middleware.Context, handler GetServerInfoHandler) *GetServerInfo
NewGetServerInfo creates a new http.Handler for the get server info operation
func (*GetServerInfo) ServeHTTP ¶
func (o *GetServerInfo) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type GetServerInfoDefault ¶
type GetServerInfoDefault struct { // In: body Payload *models.ErrorResponse `json:"body,omitempty"` // contains filtered or unexported fields }
GetServerInfoDefault Unexpected error
swagger:response getServerInfoDefault
func NewGetServerInfoDefault ¶
func NewGetServerInfoDefault(code int) *GetServerInfoDefault
NewGetServerInfoDefault creates GetServerInfoDefault with default headers values
func (*GetServerInfoDefault) SetPayload ¶
func (o *GetServerInfoDefault) SetPayload(payload *models.ErrorResponse)
SetPayload sets the payload to the get server info default response
func (*GetServerInfoDefault) SetStatusCode ¶
func (o *GetServerInfoDefault) SetStatusCode(code int)
SetStatusCode sets the status to the get server info default response
func (*GetServerInfoDefault) WithPayload ¶
func (o *GetServerInfoDefault) WithPayload(payload *models.ErrorResponse) *GetServerInfoDefault
WithPayload adds the payload to the get server info default response
func (*GetServerInfoDefault) WithStatusCode ¶
func (o *GetServerInfoDefault) WithStatusCode(code int) *GetServerInfoDefault
WithStatusCode adds the status to the get server info default response
func (*GetServerInfoDefault) WriteResponse ¶
func (o *GetServerInfoDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetServerInfoHandler ¶
type GetServerInfoHandler interface {
Handle(GetServerInfoParams) middleware.Responder
}
GetServerInfoHandler interface for that can handle valid get server info params
type GetServerInfoHandlerFunc ¶
type GetServerInfoHandlerFunc func(GetServerInfoParams) middleware.Responder
GetServerInfoHandlerFunc turns a function with the right signature into a get server info handler
func (GetServerInfoHandlerFunc) Handle ¶
func (fn GetServerInfoHandlerFunc) Handle(params GetServerInfoParams) middleware.Responder
Handle executing the request and returning a response
type GetServerInfoOK ¶
type GetServerInfoOK struct { // In: body Payload GetServerInfoOKBodyBody `json:"body,omitempty"` }
GetServerInfoOK Server info response
swagger:response getServerInfoOK
func NewGetServerInfoOK ¶
func NewGetServerInfoOK() *GetServerInfoOK
NewGetServerInfoOK creates GetServerInfoOK with default headers values
func (*GetServerInfoOK) SetPayload ¶
func (o *GetServerInfoOK) SetPayload(payload GetServerInfoOKBodyBody)
SetPayload sets the payload to the get server info o k response
func (*GetServerInfoOK) WithPayload ¶
func (o *GetServerInfoOK) WithPayload(payload GetServerInfoOKBodyBody) *GetServerInfoOK
WithPayload adds the payload to the get server info o k response
func (*GetServerInfoOK) WriteResponse ¶
func (o *GetServerInfoOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetServerInfoOKBodyApplication ¶
type GetServerInfoOKBodyApplication struct { /* Default Cluster Image Required: true */ DefaultClusterImage *string `json:"default-cluster-image"` /* Application name Required: true */ Name *string `json:"name"` /* Application version Required: true */ Version *string `json:"version"` /* Oshinko Web Service Name Required: true */ WebServiceName *string `json:"web-service-name"` /* Oshinko Web URL Required: true */ WebURL *string `json:"web-url"` }
GetServerInfoOKBodyApplication get server info o k body application
swagger:model GetServerInfoOKBodyApplication
type GetServerInfoOKBodyBody ¶
type GetServerInfoOKBodyBody struct { /* application Required: true */ Application *GetServerInfoOKBodyApplication `json:"application"` }
GetServerInfoOKBodyBody get server info o k body body
swagger:model GetServerInfoOKBodyBody
type GetServerInfoParams ¶
GetServerInfoParams contains all the bound params for the get server info operation typically these are obtained from a http.Request
swagger:parameters getServerInfo
func NewGetServerInfoParams ¶
func NewGetServerInfoParams() GetServerInfoParams
NewGetServerInfoParams creates a new GetServerInfoParams object with the default values initialized.
func (*GetServerInfoParams) BindRequest ¶
func (o *GetServerInfoParams) 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