Documentation
¶
Index ¶
- Constants
- type LogFileHandler
- type LogFileHandlerHandler
- type LogFileHandlerHandlerFunc
- type LogFileHandlerParams
- type LogFileHandlerUnauthorized
- type LogFileListHandler
- type LogFileListHandlerHandler
- type LogFileListHandlerHandlerFunc
- type LogFileListHandlerParams
- type LogFileListHandlerUnauthorized
Constants ¶
LogFileHandlerUnauthorizedCode is the HTTP code returned for type LogFileHandlerUnauthorized
LogFileListHandlerUnauthorizedCode is the HTTP code returned for type LogFileListHandlerUnauthorized
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LogFileHandler ¶
type LogFileHandler struct { Context *middleware.Context Handler LogFileHandlerHandler }
LogFileHandler swagger:route GET /logs/{logpath} logs logFileHandler
LogFileHandler log file handler API
func NewLogFileHandler ¶
func NewLogFileHandler(ctx *middleware.Context, handler LogFileHandlerHandler) *LogFileHandler
NewLogFileHandler creates a new http.Handler for the log file handler operation
func (*LogFileHandler) ServeHTTP ¶
func (o *LogFileHandler) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type LogFileHandlerHandler ¶
type LogFileHandlerHandler interface {
Handle(LogFileHandlerParams) middleware.Responder
}
LogFileHandlerHandler interface for that can handle valid log file handler params
type LogFileHandlerHandlerFunc ¶
type LogFileHandlerHandlerFunc func(LogFileHandlerParams) middleware.Responder
LogFileHandlerHandlerFunc turns a function with the right signature into a log file handler handler
func (LogFileHandlerHandlerFunc) Handle ¶
func (fn LogFileHandlerHandlerFunc) Handle(params LogFileHandlerParams) middleware.Responder
Handle executing the request and returning a response
type LogFileHandlerParams ¶
type LogFileHandlerParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*path to the log Required: true Unique: true In: path */ Logpath string }
LogFileHandlerParams contains all the bound params for the log file handler operation typically these are obtained from a http.Request
swagger:parameters logFileHandler
func NewLogFileHandlerParams ¶
func NewLogFileHandlerParams() LogFileHandlerParams
NewLogFileHandlerParams creates a new LogFileHandlerParams object no default values defined in spec.
func (*LogFileHandlerParams) BindRequest ¶
func (o *LogFileHandlerParams) 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 NewLogFileHandlerParams() beforehand.
type LogFileHandlerUnauthorized ¶
type LogFileHandlerUnauthorized struct { }
LogFileHandlerUnauthorized Unauthorized
swagger:response logFileHandlerUnauthorized
func NewLogFileHandlerUnauthorized ¶
func NewLogFileHandlerUnauthorized() *LogFileHandlerUnauthorized
NewLogFileHandlerUnauthorized creates LogFileHandlerUnauthorized with default headers values
func (*LogFileHandlerUnauthorized) WriteResponse ¶
func (o *LogFileHandlerUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type LogFileListHandler ¶
type LogFileListHandler struct { Context *middleware.Context Handler LogFileListHandlerHandler }
LogFileListHandler swagger:route GET /logs/ logs logFileListHandler
LogFileListHandler log file list handler API
func NewLogFileListHandler ¶
func NewLogFileListHandler(ctx *middleware.Context, handler LogFileListHandlerHandler) *LogFileListHandler
NewLogFileListHandler creates a new http.Handler for the log file list handler operation
func (*LogFileListHandler) ServeHTTP ¶
func (o *LogFileListHandler) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type LogFileListHandlerHandler ¶
type LogFileListHandlerHandler interface {
Handle(LogFileListHandlerParams) middleware.Responder
}
LogFileListHandlerHandler interface for that can handle valid log file list handler params
type LogFileListHandlerHandlerFunc ¶
type LogFileListHandlerHandlerFunc func(LogFileListHandlerParams) middleware.Responder
LogFileListHandlerHandlerFunc turns a function with the right signature into a log file list handler handler
func (LogFileListHandlerHandlerFunc) Handle ¶
func (fn LogFileListHandlerHandlerFunc) Handle(params LogFileListHandlerParams) middleware.Responder
Handle executing the request and returning a response
type LogFileListHandlerParams ¶
type LogFileListHandlerParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` }
LogFileListHandlerParams contains all the bound params for the log file list handler operation typically these are obtained from a http.Request
swagger:parameters logFileListHandler
func NewLogFileListHandlerParams ¶
func NewLogFileListHandlerParams() LogFileListHandlerParams
NewLogFileListHandlerParams creates a new LogFileListHandlerParams object no default values defined in spec.
func (*LogFileListHandlerParams) BindRequest ¶
func (o *LogFileListHandlerParams) 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 NewLogFileListHandlerParams() beforehand.
type LogFileListHandlerUnauthorized ¶
type LogFileListHandlerUnauthorized struct { }
LogFileListHandlerUnauthorized Unauthorized
swagger:response logFileListHandlerUnauthorized
func NewLogFileListHandlerUnauthorized ¶
func NewLogFileListHandlerUnauthorized() *LogFileListHandlerUnauthorized
NewLogFileListHandlerUnauthorized creates LogFileListHandlerUnauthorized with default headers values
func (*LogFileListHandlerUnauthorized) WriteResponse ¶
func (o *LogFileListHandlerUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client