Documentation ¶
Index ¶
- Constants
- type GetUI
- type GetUIBadRequest
- type GetUIFile
- type GetUIFileBadRequest
- type GetUIFileHandler
- type GetUIFileHandlerFunc
- type GetUIFileInternalServerError
- type GetUIFileOK
- type GetUIFileParams
- type GetUIFileURL
- func (o *GetUIFileURL) Build() (*url.URL, error)
- func (o *GetUIFileURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *GetUIFileURL) Must(u *url.URL, err error) *url.URL
- func (o *GetUIFileURL) SetBasePath(bp string)
- func (o *GetUIFileURL) String() string
- func (o *GetUIFileURL) StringFull(scheme, host string) string
- func (o *GetUIFileURL) WithBasePath(bp string) *GetUIFileURL
- type GetUIHandler
- type GetUIHandlerFunc
- type GetUIInternalServerError
- type GetUIOK
- type GetUIParams
- type GetUIURL
- func (o *GetUIURL) Build() (*url.URL, error)
- func (o *GetUIURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *GetUIURL) Must(u *url.URL, err error) *url.URL
- func (o *GetUIURL) SetBasePath(bp string)
- func (o *GetUIURL) String() string
- func (o *GetUIURL) StringFull(scheme, host string) string
- func (o *GetUIURL) WithBasePath(bp string) *GetUIURL
Constants ¶
const GetUIBadRequestCode int = 400
GetUIBadRequestCode is the HTTP code returned for type GetUIBadRequest
const GetUIFileBadRequestCode int = 400
GetUIFileBadRequestCode is the HTTP code returned for type GetUIFileBadRequest
const GetUIFileInternalServerErrorCode int = 500
GetUIFileInternalServerErrorCode is the HTTP code returned for type GetUIFileInternalServerError
const GetUIFileOKCode int = 200
GetUIFileOKCode is the HTTP code returned for type GetUIFileOK
const GetUIInternalServerErrorCode int = 500
GetUIInternalServerErrorCode is the HTTP code returned for type GetUIInternalServerError
const GetUIOKCode int = 200
GetUIOKCode is the HTTP code returned for type GetUIOK
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GetUI ¶
type GetUI struct { Context *middleware.Context Handler GetUIHandler }
GetUI swagger:route GET / ui getUi
Get the kickstart UI
func NewGetUI ¶
func NewGetUI(ctx *middleware.Context, handler GetUIHandler) *GetUI
NewGetUI creates a new http.Handler for the get UI operation
type GetUIBadRequest ¶
GetUIBadRequest Bad request
swagger:response getUiBadRequest
func NewGetUIBadRequest ¶
func NewGetUIBadRequest() *GetUIBadRequest
NewGetUIBadRequest creates GetUIBadRequest with default headers values
func (*GetUIBadRequest) SetPayload ¶
func (o *GetUIBadRequest) SetPayload(payload *models.Error)
SetPayload sets the payload to the get Ui bad request response
func (*GetUIBadRequest) WithPayload ¶
func (o *GetUIBadRequest) WithPayload(payload *models.Error) *GetUIBadRequest
WithPayload adds the payload to the get Ui bad request response
func (*GetUIBadRequest) WriteResponse ¶
func (o *GetUIBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetUIFile ¶
type GetUIFile struct { Context *middleware.Context Handler GetUIFileHandler }
GetUIFile swagger:route GET /{filename} ui getUiFile
Get the kickstart UI static resource file
func NewGetUIFile ¶
func NewGetUIFile(ctx *middleware.Context, handler GetUIFileHandler) *GetUIFile
NewGetUIFile creates a new http.Handler for the get UI file operation
type GetUIFileBadRequest ¶
GetUIFileBadRequest Bad request
swagger:response getUiFileBadRequest
func NewGetUIFileBadRequest ¶
func NewGetUIFileBadRequest() *GetUIFileBadRequest
NewGetUIFileBadRequest creates GetUIFileBadRequest with default headers values
func (*GetUIFileBadRequest) SetPayload ¶
func (o *GetUIFileBadRequest) SetPayload(payload *models.Error)
SetPayload sets the payload to the get Ui file bad request response
func (*GetUIFileBadRequest) WithPayload ¶
func (o *GetUIFileBadRequest) WithPayload(payload *models.Error) *GetUIFileBadRequest
WithPayload adds the payload to the get Ui file bad request response
func (*GetUIFileBadRequest) WriteResponse ¶
func (o *GetUIFileBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetUIFileHandler ¶
type GetUIFileHandler interface {
Handle(GetUIFileParams) middleware.Responder
}
GetUIFileHandler interface for that can handle valid get UI file params
type GetUIFileHandlerFunc ¶
type GetUIFileHandlerFunc func(GetUIFileParams) middleware.Responder
GetUIFileHandlerFunc turns a function with the right signature into a get UI file handler
func (GetUIFileHandlerFunc) Handle ¶
func (fn GetUIFileHandlerFunc) Handle(params GetUIFileParams) middleware.Responder
Handle executing the request and returning a response
type GetUIFileInternalServerError ¶
type GetUIFileInternalServerError struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` }
GetUIFileInternalServerError Internal server error
swagger:response getUiFileInternalServerError
func NewGetUIFileInternalServerError ¶
func NewGetUIFileInternalServerError() *GetUIFileInternalServerError
NewGetUIFileInternalServerError creates GetUIFileInternalServerError with default headers values
func (*GetUIFileInternalServerError) SetPayload ¶
func (o *GetUIFileInternalServerError) SetPayload(payload *models.Error)
SetPayload sets the payload to the get Ui file internal server error response
func (*GetUIFileInternalServerError) WithPayload ¶
func (o *GetUIFileInternalServerError) WithPayload(payload *models.Error) *GetUIFileInternalServerError
WithPayload adds the payload to the get Ui file internal server error response
func (*GetUIFileInternalServerError) WriteResponse ¶
func (o *GetUIFileInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetUIFileOK ¶
type GetUIFileOK struct { /* In: Body */ Payload io.ReadCloser `json:"body,omitempty"` }
GetUIFileOK Successful operation
swagger:response getUiFileOK
func NewGetUIFileOK ¶
func NewGetUIFileOK() *GetUIFileOK
NewGetUIFileOK creates GetUIFileOK with default headers values
func (*GetUIFileOK) SetPayload ¶
func (o *GetUIFileOK) SetPayload(payload io.ReadCloser)
SetPayload sets the payload to the get Ui file o k response
func (*GetUIFileOK) WithPayload ¶
func (o *GetUIFileOK) WithPayload(payload io.ReadCloser) *GetUIFileOK
WithPayload adds the payload to the get Ui file o k response
func (*GetUIFileOK) WriteResponse ¶
func (o *GetUIFileOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetUIFileParams ¶
type GetUIFileParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*UI file name Required: true In: path */ Filename string }
GetUIFileParams contains all the bound params for the get UI file operation typically these are obtained from a http.Request
swagger:parameters getUIFile
func NewGetUIFileParams ¶
func NewGetUIFileParams() GetUIFileParams
NewGetUIFileParams creates a new GetUIFileParams object no default values defined in spec.
func (*GetUIFileParams) BindRequest ¶
func (o *GetUIFileParams) 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 NewGetUIFileParams() beforehand.
type GetUIFileURL ¶
type GetUIFileURL struct { Filename string // contains filtered or unexported fields }
GetUIFileURL generates an URL for the get UI file operation
func (*GetUIFileURL) Build ¶
func (o *GetUIFileURL) Build() (*url.URL, error)
Build a url path and query string
func (*GetUIFileURL) BuildFull ¶
func (o *GetUIFileURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*GetUIFileURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*GetUIFileURL) SetBasePath ¶
func (o *GetUIFileURL) 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 (*GetUIFileURL) String ¶
func (o *GetUIFileURL) String() string
String returns the string representation of the path with query string
func (*GetUIFileURL) StringFull ¶
func (o *GetUIFileURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*GetUIFileURL) WithBasePath ¶
func (o *GetUIFileURL) WithBasePath(bp string) *GetUIFileURL
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 GetUIHandler ¶
type GetUIHandler interface {
Handle(GetUIParams) middleware.Responder
}
GetUIHandler interface for that can handle valid get UI params
type GetUIHandlerFunc ¶
type GetUIHandlerFunc func(GetUIParams) middleware.Responder
GetUIHandlerFunc turns a function with the right signature into a get UI handler
func (GetUIHandlerFunc) Handle ¶
func (fn GetUIHandlerFunc) Handle(params GetUIParams) middleware.Responder
Handle executing the request and returning a response
type GetUIInternalServerError ¶
type GetUIInternalServerError struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` }
GetUIInternalServerError Internal server error
swagger:response getUiInternalServerError
func NewGetUIInternalServerError ¶
func NewGetUIInternalServerError() *GetUIInternalServerError
NewGetUIInternalServerError creates GetUIInternalServerError with default headers values
func (*GetUIInternalServerError) SetPayload ¶
func (o *GetUIInternalServerError) SetPayload(payload *models.Error)
SetPayload sets the payload to the get Ui internal server error response
func (*GetUIInternalServerError) WithPayload ¶
func (o *GetUIInternalServerError) WithPayload(payload *models.Error) *GetUIInternalServerError
WithPayload adds the payload to the get Ui internal server error response
func (*GetUIInternalServerError) WriteResponse ¶
func (o *GetUIInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetUIOK ¶
type GetUIOK struct { /* In: Body */ Payload io.ReadCloser `json:"body,omitempty"` }
GetUIOK Successful operation
swagger:response getUiOK
func (*GetUIOK) SetPayload ¶
func (o *GetUIOK) SetPayload(payload io.ReadCloser)
SetPayload sets the payload to the get Ui o k response
func (*GetUIOK) WithPayload ¶
func (o *GetUIOK) WithPayload(payload io.ReadCloser) *GetUIOK
WithPayload adds the payload to the get Ui o k response
func (*GetUIOK) WriteResponse ¶
func (o *GetUIOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetUIParams ¶
GetUIParams contains all the bound params for the get UI operation typically these are obtained from a http.Request
swagger:parameters getUI
func NewGetUIParams ¶
func NewGetUIParams() GetUIParams
NewGetUIParams creates a new GetUIParams object no default values defined in spec.
func (*GetUIParams) BindRequest ¶
func (o *GetUIParams) 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 NewGetUIParams() beforehand.
type GetUIURL ¶
type GetUIURL struct {
// contains filtered or unexported fields
}
GetUIURL generates an URL for the get UI operation
func (*GetUIURL) SetBasePath ¶
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 (*GetUIURL) StringFull ¶
StringFull returns the string representation of a complete url
func (*GetUIURL) WithBasePath ¶
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