ui

package
v0.0.0-...-b25b198 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 28, 2023 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const GetUIBadRequestCode int = 400

GetUIBadRequestCode is the HTTP code returned for type GetUIBadRequest

View Source
const GetUIFileBadRequestCode int = 400

GetUIFileBadRequestCode is the HTTP code returned for type GetUIFileBadRequest

View Source
const GetUIFileInternalServerErrorCode int = 500

GetUIFileInternalServerErrorCode is the HTTP code returned for type GetUIFileInternalServerError

View Source
const GetUIFileOKCode int = 200

GetUIFileOKCode is the HTTP code returned for type GetUIFileOK

View Source
const GetUIInternalServerErrorCode int = 500

GetUIInternalServerErrorCode is the HTTP code returned for type GetUIInternalServerError

View Source
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

func (*GetUI) ServeHTTP

func (o *GetUI) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type GetUIBadRequest

type GetUIBadRequest struct {

	/*
	  In: Body
	*/
	Payload *models.Error `json:"body,omitempty"`
}

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

func (*GetUIFile) ServeHTTP

func (o *GetUIFile) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type GetUIFileBadRequest

type GetUIFileBadRequest struct {

	/*
	  In: Body
	*/
	Payload *models.Error `json:"body,omitempty"`
}

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

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

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

func (o *GetUIFileURL) Must(u *url.URL, err error) *url.URL

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

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

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 NewGetUIOK

func NewGetUIOK() *GetUIOK

NewGetUIOK creates GetUIOK with default headers values

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

type GetUIParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`
}

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) Build

func (o *GetUIURL) Build() (*url.URL, error)

Build a url path and query string

func (*GetUIURL) BuildFull

func (o *GetUIURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*GetUIURL) Must

func (o *GetUIURL) Must(u *url.URL, err error) *url.URL

Must is a helper function to panic when the url builder returns an error

func (*GetUIURL) SetBasePath

func (o *GetUIURL) 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 (*GetUIURL) String

func (o *GetUIURL) String() string

String returns the string representation of the path with query string

func (*GetUIURL) StringFull

func (o *GetUIURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*GetUIURL) WithBasePath

func (o *GetUIURL) WithBasePath(bp string) *GetUIURL

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL