Documentation ¶
Index ¶
- Constants
- type GetConfigurations
- type GetConfigurationsDefault
- func (o *GetConfigurationsDefault) SetPayload(payload *models.Error)
- func (o *GetConfigurationsDefault) SetStatusCode(code int)
- func (o *GetConfigurationsDefault) WithPayload(payload *models.Error) *GetConfigurationsDefault
- func (o *GetConfigurationsDefault) WithStatusCode(code int) *GetConfigurationsDefault
- func (o *GetConfigurationsDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetConfigurationsHandler
- type GetConfigurationsHandlerFunc
- type GetConfigurationsOK
- type GetConfigurationsParams
- type GetConfigurationsURL
- func (o *GetConfigurationsURL) Build() (*url.URL, error)
- func (o *GetConfigurationsURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *GetConfigurationsURL) Must(u *url.URL, err error) *url.URL
- func (o *GetConfigurationsURL) SetBasePath(bp string)
- func (o *GetConfigurationsURL) String() string
- func (o *GetConfigurationsURL) StringFull(scheme, host string) string
- func (o *GetConfigurationsURL) WithBasePath(bp string) *GetConfigurationsURL
- type GetEndpoints
- type GetEndpointsDefault
- func (o *GetEndpointsDefault) SetPayload(payload *models.Error)
- func (o *GetEndpointsDefault) SetStatusCode(code int)
- func (o *GetEndpointsDefault) WithPayload(payload *models.Error) *GetEndpointsDefault
- func (o *GetEndpointsDefault) WithStatusCode(code int) *GetEndpointsDefault
- func (o *GetEndpointsDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetEndpointsHandler
- type GetEndpointsHandlerFunc
- type GetEndpointsOK
- type GetEndpointsParams
- type GetEndpointsURL
- func (o *GetEndpointsURL) Build() (*url.URL, error)
- func (o *GetEndpointsURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *GetEndpointsURL) Must(u *url.URL, err error) *url.URL
- func (o *GetEndpointsURL) SetBasePath(bp string)
- func (o *GetEndpointsURL) String() string
- func (o *GetEndpointsURL) StringFull(scheme, host string) string
- func (o *GetEndpointsURL) WithBasePath(bp string) *GetEndpointsURL
- type GetVersions
- type GetVersionsDefault
- func (o *GetVersionsDefault) SetPayload(payload *models.Error)
- func (o *GetVersionsDefault) SetStatusCode(code int)
- func (o *GetVersionsDefault) WithPayload(payload *models.Error) *GetVersionsDefault
- func (o *GetVersionsDefault) WithStatusCode(code int) *GetVersionsDefault
- func (o *GetVersionsDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetVersionsHandler
- type GetVersionsHandlerFunc
- type GetVersionsOK
- type GetVersionsParams
- type GetVersionsURL
- func (o *GetVersionsURL) Build() (*url.URL, error)
- func (o *GetVersionsURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *GetVersionsURL) Must(u *url.URL, err error) *url.URL
- func (o *GetVersionsURL) SetBasePath(bp string)
- func (o *GetVersionsURL) String() string
- func (o *GetVersionsURL) StringFull(scheme, host string) string
- func (o *GetVersionsURL) WithBasePath(bp string) *GetVersionsURL
- type PostConfigurations
- type PostConfigurationsCreated
- type PostConfigurationsDefault
- func (o *PostConfigurationsDefault) SetPayload(payload *models.Error)
- func (o *PostConfigurationsDefault) SetStatusCode(code int)
- func (o *PostConfigurationsDefault) WithPayload(payload *models.Error) *PostConfigurationsDefault
- func (o *PostConfigurationsDefault) WithStatusCode(code int) *PostConfigurationsDefault
- func (o *PostConfigurationsDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type PostConfigurationsHandler
- type PostConfigurationsHandlerFunc
- type PostConfigurationsParams
- type PostConfigurationsURL
- func (o *PostConfigurationsURL) Build() (*url.URL, error)
- func (o *PostConfigurationsURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *PostConfigurationsURL) Must(u *url.URL, err error) *url.URL
- func (o *PostConfigurationsURL) SetBasePath(bp string)
- func (o *PostConfigurationsURL) String() string
- func (o *PostConfigurationsURL) StringFull(scheme, host string) string
- func (o *PostConfigurationsURL) WithBasePath(bp string) *PostConfigurationsURL
- type PostNewSession
- type PostNewSessionCreated
- type PostNewSessionDefault
- func (o *PostNewSessionDefault) SetPayload(payload *models.Error)
- func (o *PostNewSessionDefault) SetStatusCode(code int)
- func (o *PostNewSessionDefault) WithPayload(payload *models.Error) *PostNewSessionDefault
- func (o *PostNewSessionDefault) WithStatusCode(code int) *PostNewSessionDefault
- func (o *PostNewSessionDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type PostNewSessionHandler
- type PostNewSessionHandlerFunc
- type PostNewSessionParams
- type PostNewSessionURL
- func (o *PostNewSessionURL) Build() (*url.URL, error)
- func (o *PostNewSessionURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *PostNewSessionURL) Must(u *url.URL, err error) *url.URL
- func (o *PostNewSessionURL) SetBasePath(bp string)
- func (o *PostNewSessionURL) String() string
- func (o *PostNewSessionURL) StringFull(scheme, host string) string
- func (o *PostNewSessionURL) WithBasePath(bp string) *PostNewSessionURL
Constants ¶
const GetConfigurationsOKCode int = 200
GetConfigurationsOKCode is the HTTP code returned for type GetConfigurationsOK
const GetEndpointsOKCode int = 200
GetEndpointsOKCode is the HTTP code returned for type GetEndpointsOK
const GetVersionsOKCode int = 200
GetVersionsOKCode is the HTTP code returned for type GetVersionsOK
const PostConfigurationsCreatedCode int = 201
PostConfigurationsCreatedCode is the HTTP code returned for type PostConfigurationsCreated
const PostNewSessionCreatedCode int = 201
PostNewSessionCreatedCode is the HTTP code returned for type PostNewSessionCreated
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GetConfigurations ¶
type GetConfigurations struct { Context *middleware.Context Handler GetConfigurationsHandler }
GetConfigurations swagger:route GET /configurations app getConfigurations
returns app configurations
func NewGetConfigurations ¶
func NewGetConfigurations(ctx *middleware.Context, handler GetConfigurationsHandler) *GetConfigurations
NewGetConfigurations creates a new http.Handler for the get configurations operation
func (*GetConfigurations) ServeHTTP ¶
func (o *GetConfigurations) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type GetConfigurationsDefault ¶
type GetConfigurationsDefault struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` // contains filtered or unexported fields }
GetConfigurationsDefault Unexpected error
swagger:response getConfigurationsDefault
func NewGetConfigurationsDefault ¶
func NewGetConfigurationsDefault(code int) *GetConfigurationsDefault
NewGetConfigurationsDefault creates GetConfigurationsDefault with default headers values
func (*GetConfigurationsDefault) SetPayload ¶
func (o *GetConfigurationsDefault) SetPayload(payload *models.Error)
SetPayload sets the payload to the get configurations default response
func (*GetConfigurationsDefault) SetStatusCode ¶
func (o *GetConfigurationsDefault) SetStatusCode(code int)
SetStatusCode sets the status to the get configurations default response
func (*GetConfigurationsDefault) WithPayload ¶
func (o *GetConfigurationsDefault) WithPayload(payload *models.Error) *GetConfigurationsDefault
WithPayload adds the payload to the get configurations default response
func (*GetConfigurationsDefault) WithStatusCode ¶
func (o *GetConfigurationsDefault) WithStatusCode(code int) *GetConfigurationsDefault
WithStatusCode adds the status to the get configurations default response
func (*GetConfigurationsDefault) WriteResponse ¶
func (o *GetConfigurationsDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetConfigurationsHandler ¶
type GetConfigurationsHandler interface {
Handle(GetConfigurationsParams) middleware.Responder
}
GetConfigurationsHandler interface for that can handle valid get configurations params
type GetConfigurationsHandlerFunc ¶
type GetConfigurationsHandlerFunc func(GetConfigurationsParams) middleware.Responder
GetConfigurationsHandlerFunc turns a function with the right signature into a get configurations handler
func (GetConfigurationsHandlerFunc) Handle ¶
func (fn GetConfigurationsHandlerFunc) Handle(params GetConfigurationsParams) middleware.Responder
Handle executing the request and returning a response
type GetConfigurationsOK ¶
type GetConfigurationsOK struct { /* In: Body */ Payload *models.Configuration `json:"body,omitempty"` }
GetConfigurationsOK OK
swagger:response getConfigurationsOK
func NewGetConfigurationsOK ¶
func NewGetConfigurationsOK() *GetConfigurationsOK
NewGetConfigurationsOK creates GetConfigurationsOK with default headers values
func (*GetConfigurationsOK) SetPayload ¶
func (o *GetConfigurationsOK) SetPayload(payload *models.Configuration)
SetPayload sets the payload to the get configurations o k response
func (*GetConfigurationsOK) WithPayload ¶
func (o *GetConfigurationsOK) WithPayload(payload *models.Configuration) *GetConfigurationsOK
WithPayload adds the payload to the get configurations o k response
func (*GetConfigurationsOK) WriteResponse ¶
func (o *GetConfigurationsOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetConfigurationsParams ¶
GetConfigurationsParams contains all the bound params for the get configurations operation typically these are obtained from a http.Request
swagger:parameters getConfigurations
func NewGetConfigurationsParams ¶
func NewGetConfigurationsParams() GetConfigurationsParams
NewGetConfigurationsParams creates a new GetConfigurationsParams object no default values defined in spec.
func (*GetConfigurationsParams) BindRequest ¶
func (o *GetConfigurationsParams) 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 NewGetConfigurationsParams() beforehand.
type GetConfigurationsURL ¶
type GetConfigurationsURL struct {
// contains filtered or unexported fields
}
GetConfigurationsURL generates an URL for the get configurations operation
func (*GetConfigurationsURL) Build ¶
func (o *GetConfigurationsURL) Build() (*url.URL, error)
Build a url path and query string
func (*GetConfigurationsURL) BuildFull ¶
func (o *GetConfigurationsURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*GetConfigurationsURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*GetConfigurationsURL) SetBasePath ¶
func (o *GetConfigurationsURL) 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 (*GetConfigurationsURL) String ¶
func (o *GetConfigurationsURL) String() string
String returns the string representation of the path with query string
func (*GetConfigurationsURL) StringFull ¶
func (o *GetConfigurationsURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*GetConfigurationsURL) WithBasePath ¶
func (o *GetConfigurationsURL) WithBasePath(bp string) *GetConfigurationsURL
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 GetEndpoints ¶
type GetEndpoints struct { Context *middleware.Context Handler GetEndpointsHandler }
GetEndpoints swagger:route GET /endpoints app getEndpoints
returns third-party endpoints
func NewGetEndpoints ¶
func NewGetEndpoints(ctx *middleware.Context, handler GetEndpointsHandler) *GetEndpoints
NewGetEndpoints creates a new http.Handler for the get endpoints operation
func (*GetEndpoints) ServeHTTP ¶
func (o *GetEndpoints) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type GetEndpointsDefault ¶
type GetEndpointsDefault struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` // contains filtered or unexported fields }
GetEndpointsDefault Unexpected error
swagger:response getEndpointsDefault
func NewGetEndpointsDefault ¶
func NewGetEndpointsDefault(code int) *GetEndpointsDefault
NewGetEndpointsDefault creates GetEndpointsDefault with default headers values
func (*GetEndpointsDefault) SetPayload ¶
func (o *GetEndpointsDefault) SetPayload(payload *models.Error)
SetPayload sets the payload to the get endpoints default response
func (*GetEndpointsDefault) SetStatusCode ¶
func (o *GetEndpointsDefault) SetStatusCode(code int)
SetStatusCode sets the status to the get endpoints default response
func (*GetEndpointsDefault) WithPayload ¶
func (o *GetEndpointsDefault) WithPayload(payload *models.Error) *GetEndpointsDefault
WithPayload adds the payload to the get endpoints default response
func (*GetEndpointsDefault) WithStatusCode ¶
func (o *GetEndpointsDefault) WithStatusCode(code int) *GetEndpointsDefault
WithStatusCode adds the status to the get endpoints default response
func (*GetEndpointsDefault) WriteResponse ¶
func (o *GetEndpointsDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetEndpointsHandler ¶
type GetEndpointsHandler interface {
Handle(GetEndpointsParams) middleware.Responder
}
GetEndpointsHandler interface for that can handle valid get endpoints params
type GetEndpointsHandlerFunc ¶
type GetEndpointsHandlerFunc func(GetEndpointsParams) middleware.Responder
GetEndpointsHandlerFunc turns a function with the right signature into a get endpoints handler
func (GetEndpointsHandlerFunc) Handle ¶
func (fn GetEndpointsHandlerFunc) Handle(params GetEndpointsParams) middleware.Responder
Handle executing the request and returning a response
type GetEndpointsOK ¶
GetEndpointsOK OK
swagger:response getEndpointsOK
func NewGetEndpointsOK ¶
func NewGetEndpointsOK() *GetEndpointsOK
NewGetEndpointsOK creates GetEndpointsOK with default headers values
func (*GetEndpointsOK) SetPayload ¶
func (o *GetEndpointsOK) SetPayload(payload *models.Endpoints)
SetPayload sets the payload to the get endpoints o k response
func (*GetEndpointsOK) WithPayload ¶
func (o *GetEndpointsOK) WithPayload(payload *models.Endpoints) *GetEndpointsOK
WithPayload adds the payload to the get endpoints o k response
func (*GetEndpointsOK) WriteResponse ¶
func (o *GetEndpointsOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetEndpointsParams ¶
GetEndpointsParams contains all the bound params for the get endpoints operation typically these are obtained from a http.Request
swagger:parameters getEndpoints
func NewGetEndpointsParams ¶
func NewGetEndpointsParams() GetEndpointsParams
NewGetEndpointsParams creates a new GetEndpointsParams object no default values defined in spec.
func (*GetEndpointsParams) BindRequest ¶
func (o *GetEndpointsParams) 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 NewGetEndpointsParams() beforehand.
type GetEndpointsURL ¶
type GetEndpointsURL struct {
// contains filtered or unexported fields
}
GetEndpointsURL generates an URL for the get endpoints operation
func (*GetEndpointsURL) Build ¶
func (o *GetEndpointsURL) Build() (*url.URL, error)
Build a url path and query string
func (*GetEndpointsURL) BuildFull ¶
func (o *GetEndpointsURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*GetEndpointsURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*GetEndpointsURL) SetBasePath ¶
func (o *GetEndpointsURL) 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 (*GetEndpointsURL) String ¶
func (o *GetEndpointsURL) String() string
String returns the string representation of the path with query string
func (*GetEndpointsURL) StringFull ¶
func (o *GetEndpointsURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*GetEndpointsURL) WithBasePath ¶
func (o *GetEndpointsURL) WithBasePath(bp string) *GetEndpointsURL
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 GetVersions ¶
type GetVersions struct { Context *middleware.Context Handler GetVersionsHandler }
GetVersions swagger:route GET /versions app getVersions
returns application versions
func NewGetVersions ¶
func NewGetVersions(ctx *middleware.Context, handler GetVersionsHandler) *GetVersions
NewGetVersions creates a new http.Handler for the get versions operation
func (*GetVersions) ServeHTTP ¶
func (o *GetVersions) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type GetVersionsDefault ¶
type GetVersionsDefault struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` // contains filtered or unexported fields }
GetVersionsDefault Unexpected error
swagger:response getVersionsDefault
func NewGetVersionsDefault ¶
func NewGetVersionsDefault(code int) *GetVersionsDefault
NewGetVersionsDefault creates GetVersionsDefault with default headers values
func (*GetVersionsDefault) SetPayload ¶
func (o *GetVersionsDefault) SetPayload(payload *models.Error)
SetPayload sets the payload to the get versions default response
func (*GetVersionsDefault) SetStatusCode ¶
func (o *GetVersionsDefault) SetStatusCode(code int)
SetStatusCode sets the status to the get versions default response
func (*GetVersionsDefault) WithPayload ¶
func (o *GetVersionsDefault) WithPayload(payload *models.Error) *GetVersionsDefault
WithPayload adds the payload to the get versions default response
func (*GetVersionsDefault) WithStatusCode ¶
func (o *GetVersionsDefault) WithStatusCode(code int) *GetVersionsDefault
WithStatusCode adds the status to the get versions default response
func (*GetVersionsDefault) WriteResponse ¶
func (o *GetVersionsDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetVersionsHandler ¶
type GetVersionsHandler interface {
Handle(GetVersionsParams) middleware.Responder
}
GetVersionsHandler interface for that can handle valid get versions params
type GetVersionsHandlerFunc ¶
type GetVersionsHandlerFunc func(GetVersionsParams) middleware.Responder
GetVersionsHandlerFunc turns a function with the right signature into a get versions handler
func (GetVersionsHandlerFunc) Handle ¶
func (fn GetVersionsHandlerFunc) Handle(params GetVersionsParams) middleware.Responder
Handle executing the request and returning a response
type GetVersionsOK ¶
GetVersionsOK OK
swagger:response getVersionsOK
func NewGetVersionsOK ¶
func NewGetVersionsOK() *GetVersionsOK
NewGetVersionsOK creates GetVersionsOK with default headers values
func (*GetVersionsOK) SetPayload ¶
func (o *GetVersionsOK) SetPayload(payload *models.Versions)
SetPayload sets the payload to the get versions o k response
func (*GetVersionsOK) WithPayload ¶
func (o *GetVersionsOK) WithPayload(payload *models.Versions) *GetVersionsOK
WithPayload adds the payload to the get versions o k response
func (*GetVersionsOK) WriteResponse ¶
func (o *GetVersionsOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetVersionsParams ¶
GetVersionsParams contains all the bound params for the get versions operation typically these are obtained from a http.Request
swagger:parameters getVersions
func NewGetVersionsParams ¶
func NewGetVersionsParams() GetVersionsParams
NewGetVersionsParams creates a new GetVersionsParams object no default values defined in spec.
func (*GetVersionsParams) BindRequest ¶
func (o *GetVersionsParams) 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 NewGetVersionsParams() beforehand.
type GetVersionsURL ¶
type GetVersionsURL struct {
// contains filtered or unexported fields
}
GetVersionsURL generates an URL for the get versions operation
func (*GetVersionsURL) Build ¶
func (o *GetVersionsURL) Build() (*url.URL, error)
Build a url path and query string
func (*GetVersionsURL) BuildFull ¶
func (o *GetVersionsURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*GetVersionsURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*GetVersionsURL) SetBasePath ¶
func (o *GetVersionsURL) 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 (*GetVersionsURL) String ¶
func (o *GetVersionsURL) String() string
String returns the string representation of the path with query string
func (*GetVersionsURL) StringFull ¶
func (o *GetVersionsURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*GetVersionsURL) WithBasePath ¶
func (o *GetVersionsURL) WithBasePath(bp string) *GetVersionsURL
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 PostConfigurations ¶
type PostConfigurations struct { Context *middleware.Context Handler PostConfigurationsHandler }
PostConfigurations swagger:route POST /configurations app postConfigurations
set app configurations
func NewPostConfigurations ¶
func NewPostConfigurations(ctx *middleware.Context, handler PostConfigurationsHandler) *PostConfigurations
NewPostConfigurations creates a new http.Handler for the post configurations operation
func (*PostConfigurations) ServeHTTP ¶
func (o *PostConfigurations) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type PostConfigurationsCreated ¶
type PostConfigurationsCreated struct { /* In: Body */ Payload *models.Session `json:"body,omitempty"` }
PostConfigurationsCreated OK
swagger:response postConfigurationsCreated
func NewPostConfigurationsCreated ¶
func NewPostConfigurationsCreated() *PostConfigurationsCreated
NewPostConfigurationsCreated creates PostConfigurationsCreated with default headers values
func (*PostConfigurationsCreated) SetPayload ¶
func (o *PostConfigurationsCreated) SetPayload(payload *models.Session)
SetPayload sets the payload to the post configurations created response
func (*PostConfigurationsCreated) WithPayload ¶
func (o *PostConfigurationsCreated) WithPayload(payload *models.Session) *PostConfigurationsCreated
WithPayload adds the payload to the post configurations created response
func (*PostConfigurationsCreated) WriteResponse ¶
func (o *PostConfigurationsCreated) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type PostConfigurationsDefault ¶
type PostConfigurationsDefault struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` // contains filtered or unexported fields }
PostConfigurationsDefault Unexpected error
swagger:response postConfigurationsDefault
func NewPostConfigurationsDefault ¶
func NewPostConfigurationsDefault(code int) *PostConfigurationsDefault
NewPostConfigurationsDefault creates PostConfigurationsDefault with default headers values
func (*PostConfigurationsDefault) SetPayload ¶
func (o *PostConfigurationsDefault) SetPayload(payload *models.Error)
SetPayload sets the payload to the post configurations default response
func (*PostConfigurationsDefault) SetStatusCode ¶
func (o *PostConfigurationsDefault) SetStatusCode(code int)
SetStatusCode sets the status to the post configurations default response
func (*PostConfigurationsDefault) WithPayload ¶
func (o *PostConfigurationsDefault) WithPayload(payload *models.Error) *PostConfigurationsDefault
WithPayload adds the payload to the post configurations default response
func (*PostConfigurationsDefault) WithStatusCode ¶
func (o *PostConfigurationsDefault) WithStatusCode(code int) *PostConfigurationsDefault
WithStatusCode adds the status to the post configurations default response
func (*PostConfigurationsDefault) WriteResponse ¶
func (o *PostConfigurationsDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type PostConfigurationsHandler ¶
type PostConfigurationsHandler interface {
Handle(PostConfigurationsParams) middleware.Responder
}
PostConfigurationsHandler interface for that can handle valid post configurations params
type PostConfigurationsHandlerFunc ¶
type PostConfigurationsHandlerFunc func(PostConfigurationsParams) middleware.Responder
PostConfigurationsHandlerFunc turns a function with the right signature into a post configurations handler
func (PostConfigurationsHandlerFunc) Handle ¶
func (fn PostConfigurationsHandlerFunc) Handle(params PostConfigurationsParams) middleware.Responder
Handle executing the request and returning a response
type PostConfigurationsParams ¶
type PostConfigurationsParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* Required: true In: body */ Body *models.PostConfigurationsParamsBody }
PostConfigurationsParams contains all the bound params for the post configurations operation typically these are obtained from a http.Request
swagger:parameters postConfigurations
func NewPostConfigurationsParams ¶
func NewPostConfigurationsParams() PostConfigurationsParams
NewPostConfigurationsParams creates a new PostConfigurationsParams object no default values defined in spec.
func (*PostConfigurationsParams) BindRequest ¶
func (o *PostConfigurationsParams) 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 NewPostConfigurationsParams() beforehand.
type PostConfigurationsURL ¶
type PostConfigurationsURL struct {
// contains filtered or unexported fields
}
PostConfigurationsURL generates an URL for the post configurations operation
func (*PostConfigurationsURL) Build ¶
func (o *PostConfigurationsURL) Build() (*url.URL, error)
Build a url path and query string
func (*PostConfigurationsURL) BuildFull ¶
func (o *PostConfigurationsURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*PostConfigurationsURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*PostConfigurationsURL) SetBasePath ¶
func (o *PostConfigurationsURL) 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 (*PostConfigurationsURL) String ¶
func (o *PostConfigurationsURL) String() string
String returns the string representation of the path with query string
func (*PostConfigurationsURL) StringFull ¶
func (o *PostConfigurationsURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*PostConfigurationsURL) WithBasePath ¶
func (o *PostConfigurationsURL) WithBasePath(bp string) *PostConfigurationsURL
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 PostNewSession ¶
type PostNewSession struct { Context *middleware.Context Handler PostNewSessionHandler }
PostNewSession swagger:route POST /sessions app postNewSession
login
func NewPostNewSession ¶
func NewPostNewSession(ctx *middleware.Context, handler PostNewSessionHandler) *PostNewSession
NewPostNewSession creates a new http.Handler for the post new session operation
func (*PostNewSession) ServeHTTP ¶
func (o *PostNewSession) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type PostNewSessionCreated ¶
type PostNewSessionCreated struct { /* In: Body */ Payload *models.Session `json:"body,omitempty"` }
PostNewSessionCreated OK
swagger:response postNewSessionCreated
func NewPostNewSessionCreated ¶
func NewPostNewSessionCreated() *PostNewSessionCreated
NewPostNewSessionCreated creates PostNewSessionCreated with default headers values
func (*PostNewSessionCreated) SetPayload ¶
func (o *PostNewSessionCreated) SetPayload(payload *models.Session)
SetPayload sets the payload to the post new session created response
func (*PostNewSessionCreated) WithPayload ¶
func (o *PostNewSessionCreated) WithPayload(payload *models.Session) *PostNewSessionCreated
WithPayload adds the payload to the post new session created response
func (*PostNewSessionCreated) WriteResponse ¶
func (o *PostNewSessionCreated) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type PostNewSessionDefault ¶
type PostNewSessionDefault struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` // contains filtered or unexported fields }
PostNewSessionDefault Unexpected error
swagger:response postNewSessionDefault
func NewPostNewSessionDefault ¶
func NewPostNewSessionDefault(code int) *PostNewSessionDefault
NewPostNewSessionDefault creates PostNewSessionDefault with default headers values
func (*PostNewSessionDefault) SetPayload ¶
func (o *PostNewSessionDefault) SetPayload(payload *models.Error)
SetPayload sets the payload to the post new session default response
func (*PostNewSessionDefault) SetStatusCode ¶
func (o *PostNewSessionDefault) SetStatusCode(code int)
SetStatusCode sets the status to the post new session default response
func (*PostNewSessionDefault) WithPayload ¶
func (o *PostNewSessionDefault) WithPayload(payload *models.Error) *PostNewSessionDefault
WithPayload adds the payload to the post new session default response
func (*PostNewSessionDefault) WithStatusCode ¶
func (o *PostNewSessionDefault) WithStatusCode(code int) *PostNewSessionDefault
WithStatusCode adds the status to the post new session default response
func (*PostNewSessionDefault) WriteResponse ¶
func (o *PostNewSessionDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type PostNewSessionHandler ¶
type PostNewSessionHandler interface {
Handle(PostNewSessionParams) middleware.Responder
}
PostNewSessionHandler interface for that can handle valid post new session params
type PostNewSessionHandlerFunc ¶
type PostNewSessionHandlerFunc func(PostNewSessionParams) middleware.Responder
PostNewSessionHandlerFunc turns a function with the right signature into a post new session handler
func (PostNewSessionHandlerFunc) Handle ¶
func (fn PostNewSessionHandlerFunc) Handle(params PostNewSessionParams) middleware.Responder
Handle executing the request and returning a response
type PostNewSessionParams ¶
type PostNewSessionParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* Required: true In: body */ Body *models.PostNewSessionParamsBody }
PostNewSessionParams contains all the bound params for the post new session operation typically these are obtained from a http.Request
swagger:parameters postNewSession
func NewPostNewSessionParams ¶
func NewPostNewSessionParams() PostNewSessionParams
NewPostNewSessionParams creates a new PostNewSessionParams object no default values defined in spec.
func (*PostNewSessionParams) BindRequest ¶
func (o *PostNewSessionParams) 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 NewPostNewSessionParams() beforehand.
type PostNewSessionURL ¶
type PostNewSessionURL struct {
// contains filtered or unexported fields
}
PostNewSessionURL generates an URL for the post new session operation
func (*PostNewSessionURL) Build ¶
func (o *PostNewSessionURL) Build() (*url.URL, error)
Build a url path and query string
func (*PostNewSessionURL) BuildFull ¶
func (o *PostNewSessionURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*PostNewSessionURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*PostNewSessionURL) SetBasePath ¶
func (o *PostNewSessionURL) 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 (*PostNewSessionURL) String ¶
func (o *PostNewSessionURL) String() string
String returns the string representation of the path with query string
func (*PostNewSessionURL) StringFull ¶
func (o *PostNewSessionURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*PostNewSessionURL) WithBasePath ¶
func (o *PostNewSessionURL) WithBasePath(bp string) *PostNewSessionURL
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
Source Files ¶
- get_configurations.go
- get_configurations_parameters.go
- get_configurations_responses.go
- get_configurations_urlbuilder.go
- get_endpoints.go
- get_endpoints_parameters.go
- get_endpoints_responses.go
- get_endpoints_urlbuilder.go
- get_versions.go
- get_versions_parameters.go
- get_versions_responses.go
- get_versions_urlbuilder.go
- post_configurations.go
- post_configurations_parameters.go
- post_configurations_responses.go
- post_configurations_urlbuilder.go
- post_new_session.go
- post_new_session_parameters.go
- post_new_session_responses.go
- post_new_session_urlbuilder.go