Documentation ¶
Overview ¶
Package restapi provides primitives to interact with the openapi HTTP API.
Code generated by github.com/deepmap/oapi-codegen version v1.8.1 DO NOT EDIT.
restapi package provides the restful api interface based on openapi standard.
Index ¶
- Constants
- func CreateAuthValidator(v JWSValidator) (echo.MiddlewareFunc, error)
- func CreateTestAuthToken() ([]byte, error)
- func GetSwagger() (swagger *openapi3.T, err error)
- func NewDeleteIdBasevaluesBasevalueidRequest(server string, id int64, basevalueid int64) (*http.Request, error)
- func NewDeleteIdReportsReportidRequest(server string, id int64, reportid int64) (*http.Request, error)
- func NewDeleteIdRequest(server string, id int64) (*http.Request, error)
- func NewDeleteIdTaTauuidTabasevaluesTabasevalueidRequest(server string, id int64, tauuid string, tabasevalueid int64) (*http.Request, error)
- func NewDeleteIdTaTauuidTareportsTareportidRequest(server string, id int64, tauuid string, tareportid int64) (*http.Request, error)
- func NewGetConfigRequest(server string) (*http.Request, error)
- func NewGetFromToRequest(server string, from int64, to int64) (*http.Request, error)
- func NewGetIdBasevaluesBasevalueidRequest(server string, id int64, basevalueid int64) (*http.Request, error)
- func NewGetIdBasevaluesRequest(server string, id int64) (*http.Request, error)
- func NewGetIdContainerStatusRequest(server string, id int64) (*http.Request, error)
- func NewGetIdDeviceStatusRequest(server string, id int64) (*http.Request, error)
- func NewGetIdNewbasevalueRequest(server string, id int64) (*http.Request, error)
- func NewGetIdReportsReportidRequest(server string, id int64, reportid int64) (*http.Request, error)
- func NewGetIdReportsRequest(server string, id int64) (*http.Request, error)
- func NewGetIdRequest(server string, id int64) (*http.Request, error)
- func NewGetIdTaTauuidNewtabasevalueRequest(server string, id int64, tauuid string) (*http.Request, error)
- func NewGetIdTaTauuidStatusRequest(server string, id int64, tauuid string) (*http.Request, error)
- func NewGetIdTaTauuidTabasevaluesRequest(server string, id int64, tauuid string) (*http.Request, error)
- func NewGetIdTaTauuidTabasevaluesTabasevalueidRequest(server string, id int64, tauuid string, tabasevalueid int64) (*http.Request, error)
- func NewGetIdTaTauuidTareportsRequest(server string, id int64, tauuid string) (*http.Request, error)
- func NewGetIdTaTauuidTareportsTareportidRequest(server string, id int64, tauuid string, tareportid int64) (*http.Request, error)
- func NewGetLoginRequest(server string) (*http.Request, error)
- func NewGetRequest(server string) (*http.Request, error)
- func NewGetVersionRequest(server string) (*http.Request, error)
- func NewPostConfigRequest(server string) (*http.Request, error)
- func NewPostIdBasevaluesBasevalueidRequest(server string, id int64, basevalueid int64) (*http.Request, error)
- func NewPostIdNewbasevalueRequest(server string, id int64) (*http.Request, error)
- func NewPostIdRequest(server string, id int64) (*http.Request, error)
- func NewPostIdTaTauuidNewtabasevalueRequest(server string, id int64, tauuid string) (*http.Request, error)
- func NewPostIdTaTauuidTabasevaluesTabasevalueidRequest(server string, id int64, tauuid string, tabasevalueid int64) (*http.Request, error)
- func PathToRawSpec(pathToFile string) map[string]func() ([]byte, error)
- func RegisterHandlers(router EchoRouter, si ServerInterface)
- func RegisterHandlersWithBaseURL(router EchoRouter, si ServerInterface, baseURL string)
- func StartServer(https bool)
- func StartServerHttp(port string)
- func StartServerHttps(httpsPort string)
- func StopServer()
- type BaseValueInfo
- type Client
- func (c *Client) DeleteId(ctx context.Context, id int64, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) DeleteIdBasevaluesBasevalueid(ctx context.Context, id int64, basevalueid int64, ...) (*http.Response, error)
- func (c *Client) DeleteIdReportsReportid(ctx context.Context, id int64, reportid int64, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) DeleteIdTaTauuidTabasevaluesTabasevalueid(ctx context.Context, id int64, tauuid string, tabasevalueid int64, ...) (*http.Response, error)
- func (c *Client) DeleteIdTaTauuidTareportsTareportid(ctx context.Context, id int64, tauuid string, tareportid int64, ...) (*http.Response, error)
- func (c *Client) Get(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetConfig(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetFromTo(ctx context.Context, from int64, to int64, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetId(ctx context.Context, id int64, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetIdBasevalues(ctx context.Context, id int64, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetIdBasevaluesBasevalueid(ctx context.Context, id int64, basevalueid int64, ...) (*http.Response, error)
- func (c *Client) GetIdContainerStatus(ctx context.Context, id int64, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetIdDeviceStatus(ctx context.Context, id int64, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetIdNewbasevalue(ctx context.Context, id int64, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetIdReports(ctx context.Context, id int64, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetIdReportsReportid(ctx context.Context, id int64, reportid int64, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetIdTaTauuidNewtabasevalue(ctx context.Context, id int64, tauuid string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetIdTaTauuidStatus(ctx context.Context, id int64, tauuid string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetIdTaTauuidTabasevalues(ctx context.Context, id int64, tauuid string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetIdTaTauuidTabasevaluesTabasevalueid(ctx context.Context, id int64, tauuid string, tabasevalueid int64, ...) (*http.Response, error)
- func (c *Client) GetIdTaTauuidTareports(ctx context.Context, id int64, tauuid string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetIdTaTauuidTareportsTareportid(ctx context.Context, id int64, tauuid string, tareportid int64, ...) (*http.Response, error)
- func (c *Client) GetLogin(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetVersion(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) PostConfig(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) PostId(ctx context.Context, id int64, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) PostIdBasevaluesBasevalueid(ctx context.Context, id int64, basevalueid int64, ...) (*http.Response, error)
- func (c *Client) PostIdNewbasevalue(ctx context.Context, id int64, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) PostIdTaTauuidNewtabasevalue(ctx context.Context, id int64, tauuid string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) PostIdTaTauuidTabasevaluesTabasevalueid(ctx context.Context, id int64, tauuid string, tabasevalueid int64, ...) (*http.Response, error)
- type ClientInterface
- type ClientOption
- type ClientWithResponses
- func (c *ClientWithResponses) DeleteIdBasevaluesBasevalueidWithResponse(ctx context.Context, id int64, basevalueid int64, ...) (*DeleteIdBasevaluesBasevalueidResponse, error)
- func (c *ClientWithResponses) DeleteIdReportsReportidWithResponse(ctx context.Context, id int64, reportid int64, reqEditors ...RequestEditorFn) (*DeleteIdReportsReportidResponse, error)
- func (c *ClientWithResponses) DeleteIdTaTauuidTabasevaluesTabasevalueidWithResponse(ctx context.Context, id int64, tauuid string, tabasevalueid int64, ...) (*DeleteIdTaTauuidTabasevaluesTabasevalueidResponse, error)
- func (c *ClientWithResponses) DeleteIdTaTauuidTareportsTareportidWithResponse(ctx context.Context, id int64, tauuid string, tareportid int64, ...) (*DeleteIdTaTauuidTareportsTareportidResponse, error)
- func (c *ClientWithResponses) DeleteIdWithResponse(ctx context.Context, id int64, reqEditors ...RequestEditorFn) (*DeleteIdResponse, error)
- func (c *ClientWithResponses) GetConfigWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetConfigResponse, error)
- func (c *ClientWithResponses) GetFromToWithResponse(ctx context.Context, from int64, to int64, reqEditors ...RequestEditorFn) (*GetFromToResponse, error)
- func (c *ClientWithResponses) GetIdBasevaluesBasevalueidWithResponse(ctx context.Context, id int64, basevalueid int64, ...) (*GetIdBasevaluesBasevalueidResponse, error)
- func (c *ClientWithResponses) GetIdBasevaluesWithResponse(ctx context.Context, id int64, reqEditors ...RequestEditorFn) (*GetIdBasevaluesResponse, error)
- func (c *ClientWithResponses) GetIdContainerStatusWithResponse(ctx context.Context, id int64, reqEditors ...RequestEditorFn) (*GetIdContainerStatusResponse, error)
- func (c *ClientWithResponses) GetIdDeviceStatusWithResponse(ctx context.Context, id int64, reqEditors ...RequestEditorFn) (*GetIdDeviceStatusResponse, error)
- func (c *ClientWithResponses) GetIdNewbasevalueWithResponse(ctx context.Context, id int64, reqEditors ...RequestEditorFn) (*GetIdNewbasevalueResponse, error)
- func (c *ClientWithResponses) GetIdReportsReportidWithResponse(ctx context.Context, id int64, reportid int64, reqEditors ...RequestEditorFn) (*GetIdReportsReportidResponse, error)
- func (c *ClientWithResponses) GetIdReportsWithResponse(ctx context.Context, id int64, reqEditors ...RequestEditorFn) (*GetIdReportsResponse, error)
- func (c *ClientWithResponses) GetIdTaTauuidNewtabasevalueWithResponse(ctx context.Context, id int64, tauuid string, reqEditors ...RequestEditorFn) (*GetIdTaTauuidNewtabasevalueResponse, error)
- func (c *ClientWithResponses) GetIdTaTauuidStatusWithResponse(ctx context.Context, id int64, tauuid string, reqEditors ...RequestEditorFn) (*GetIdTaTauuidStatusResponse, error)
- func (c *ClientWithResponses) GetIdTaTauuidTabasevaluesTabasevalueidWithResponse(ctx context.Context, id int64, tauuid string, tabasevalueid int64, ...) (*GetIdTaTauuidTabasevaluesTabasevalueidResponse, error)
- func (c *ClientWithResponses) GetIdTaTauuidTabasevaluesWithResponse(ctx context.Context, id int64, tauuid string, reqEditors ...RequestEditorFn) (*GetIdTaTauuidTabasevaluesResponse, error)
- func (c *ClientWithResponses) GetIdTaTauuidTareportsTareportidWithResponse(ctx context.Context, id int64, tauuid string, tareportid int64, ...) (*GetIdTaTauuidTareportsTareportidResponse, error)
- func (c *ClientWithResponses) GetIdTaTauuidTareportsWithResponse(ctx context.Context, id int64, tauuid string, reqEditors ...RequestEditorFn) (*GetIdTaTauuidTareportsResponse, error)
- func (c *ClientWithResponses) GetIdWithResponse(ctx context.Context, id int64, reqEditors ...RequestEditorFn) (*GetIdResponse, error)
- func (c *ClientWithResponses) GetLoginWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetLoginResponse, error)
- func (c *ClientWithResponses) GetVersionWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetVersionResponse, error)
- func (c *ClientWithResponses) GetWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetResponse, error)
- func (c *ClientWithResponses) PostConfigWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*PostConfigResponse, error)
- func (c *ClientWithResponses) PostIdBasevaluesBasevalueidWithResponse(ctx context.Context, id int64, basevalueid int64, ...) (*PostIdBasevaluesBasevalueidResponse, error)
- func (c *ClientWithResponses) PostIdNewbasevalueWithResponse(ctx context.Context, id int64, reqEditors ...RequestEditorFn) (*PostIdNewbasevalueResponse, error)
- func (c *ClientWithResponses) PostIdTaTauuidNewtabasevalueWithResponse(ctx context.Context, id int64, tauuid string, reqEditors ...RequestEditorFn) (*PostIdTaTauuidNewtabasevalueResponse, error)
- func (c *ClientWithResponses) PostIdTaTauuidTabasevaluesTabasevalueidWithResponse(ctx context.Context, id int64, tauuid string, tabasevalueid int64, ...) (*PostIdTaTauuidTabasevaluesTabasevalueidResponse, error)
- func (c *ClientWithResponses) PostIdWithResponse(ctx context.Context, id int64, reqEditors ...RequestEditorFn) (*PostIdResponse, error)
- type ClientWithResponsesInterface
- type DeleteIdBasevaluesBasevalueidResponse
- type DeleteIdReportsReportidResponse
- type DeleteIdResponse
- type DeleteIdTaTauuidTabasevaluesTabasevalueidResponse
- type DeleteIdTaTauuidTareportsTareportidResponse
- type EchoRouter
- type GetConfigResponse
- type GetFromToResponse
- type GetIdBasevaluesBasevalueidResponse
- type GetIdBasevaluesResponse
- type GetIdContainerStatusResponse
- type GetIdDeviceStatusResponse
- type GetIdNewbasevalueResponse
- type GetIdReportsReportidResponse
- type GetIdReportsResponse
- type GetIdResponse
- type GetIdTaTauuidNewtabasevalueResponse
- type GetIdTaTauuidStatusResponse
- type GetIdTaTauuidTabasevaluesResponse
- type GetIdTaTauuidTabasevaluesTabasevalueidResponse
- type GetIdTaTauuidTareportsResponse
- type GetIdTaTauuidTareportsTareportidResponse
- type GetLoginResponse
- type GetResponse
- type GetVersionResponse
- type HttpRequestDoer
- type JWSValidator
- type JsonResult
- type MyRestAPIServer
- func (s *MyRestAPIServer) DeleteId(ctx echo.Context, id int64) error
- func (s *MyRestAPIServer) DeleteIdBasevaluesBasevalueid(ctx echo.Context, id int64, basevalueid int64) error
- func (s *MyRestAPIServer) DeleteIdReportsReportid(ctx echo.Context, id int64, reportid int64) error
- func (s *MyRestAPIServer) DeleteIdTaTauuidTabasevaluesTabasevalueid(ctx echo.Context, id int64, tauuid string, tabasevalueid int64) error
- func (s *MyRestAPIServer) DeleteIdTaTauuidTareportsTareportid(ctx echo.Context, id int64, tauuid string, tareportid int64) error
- func (s *MyRestAPIServer) Get(ctx echo.Context) error
- func (s *MyRestAPIServer) GetConfig(ctx echo.Context) error
- func (s *MyRestAPIServer) GetFromTo(ctx echo.Context, from int64, to int64) error
- func (s *MyRestAPIServer) GetId(ctx echo.Context, id int64) error
- func (s *MyRestAPIServer) GetIdBasevalues(ctx echo.Context, id int64) error
- func (s *MyRestAPIServer) GetIdBasevaluesBasevalueid(ctx echo.Context, id int64, basevalueid int64) error
- func (s *MyRestAPIServer) GetIdContainerStatus(ctx echo.Context, cid int64) error
- func (s *MyRestAPIServer) GetIdDeviceStatus(ctx echo.Context, cid int64) error
- func (s *MyRestAPIServer) GetIdNewbasevalue(ctx echo.Context, id int64) error
- func (s *MyRestAPIServer) GetIdReports(ctx echo.Context, id int64) error
- func (s *MyRestAPIServer) GetIdReportsReportid(ctx echo.Context, id int64, reportid int64) error
- func (s *MyRestAPIServer) GetIdTaTauuidNewtabasevalue(ctx echo.Context, id int64, tauuid string) error
- func (s *MyRestAPIServer) GetIdTaTauuidStatus(ctx echo.Context, id int64, tauuid string) error
- func (s *MyRestAPIServer) GetIdTaTauuidTabasevalues(ctx echo.Context, id int64, tauuid string) error
- func (s *MyRestAPIServer) GetIdTaTauuidTabasevaluesTabasevalueid(ctx echo.Context, id int64, tauuid string, tabasevalueid int64) error
- func (s *MyRestAPIServer) GetIdTaTauuidTareports(ctx echo.Context, id int64, tauuid string) error
- func (s *MyRestAPIServer) GetIdTaTauuidTareportsTareportid(ctx echo.Context, id int64, tauuid string, tareportid int64) error
- func (s *MyRestAPIServer) GetLogin(ctx echo.Context) error
- func (s *MyRestAPIServer) GetVersion(ctx echo.Context) error
- func (s *MyRestAPIServer) PostConfig(ctx echo.Context) error
- func (s *MyRestAPIServer) PostId(ctx echo.Context, id int64) error
- func (s *MyRestAPIServer) PostIdBasevaluesBasevalueid(ctx echo.Context, cid, bid int64) error
- func (s *MyRestAPIServer) PostIdNewbasevalue(ctx echo.Context, id int64) error
- func (s *MyRestAPIServer) PostIdTaTauuidNewtabasevalue(ctx echo.Context, id int64, tauuid string) error
- func (s *MyRestAPIServer) PostIdTaTauuidTabasevaluesTabasevalueid(ctx echo.Context, id int64, tauuid string, tabasevalueid int64) error
- type PostConfigResponse
- type PostIdBasevaluesBasevalueidResponse
- type PostIdNewbasevalueResponse
- type PostIdResponse
- type PostIdTaTauuidNewtabasevalueResponse
- type PostIdTaTauuidTabasevaluesTabasevalueidResponse
- type ReportInfo
- type RequestEditorFn
- type ServerInfo
- type ServerInterface
- type ServerInterfaceWrapper
- func (w *ServerInterfaceWrapper) DeleteId(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) DeleteIdBasevaluesBasevalueid(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) DeleteIdReportsReportid(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) DeleteIdTaTauuidTabasevaluesTabasevalueid(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) DeleteIdTaTauuidTareportsTareportid(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) Get(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) GetConfig(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) GetFromTo(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) GetId(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) GetIdBasevalues(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) GetIdBasevaluesBasevalueid(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) GetIdContainerStatus(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) GetIdDeviceStatus(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) GetIdNewbasevalue(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) GetIdReports(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) GetIdReportsReportid(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) GetIdTaTauuidNewtabasevalue(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) GetIdTaTauuidStatus(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) GetIdTaTauuidTabasevalues(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) GetIdTaTauuidTabasevaluesTabasevalueid(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) GetIdTaTauuidTareports(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) GetIdTaTauuidTareportsTareportid(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) GetLogin(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) GetVersion(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) PostConfig(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) PostId(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) PostIdBasevaluesBasevalueid(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) PostIdNewbasevalue(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) PostIdTaTauuidNewtabasevalue(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) PostIdTaTauuidTabasevaluesTabasevalueid(ctx echo.Context) error
- type TaBaseValueInfo
- type TaReportInfo
Constants ¶
const (
Servermgt_oauth2Scopes = "servermgt_oauth2.Scopes"
)
Variables ¶
This section is empty.
Functions ¶
func CreateAuthValidator ¶
func CreateAuthValidator(v JWSValidator) (echo.MiddlewareFunc, error)
CreateAuthValidator creates auth validator in order to start the server smoothly.
func CreateTestAuthToken ¶
CreateTestAuthToken creates test auth token and returns token.
func GetSwagger ¶
GetSwagger returns the Swagger specification corresponding to the generated code in this file. The external references of Swagger specification are resolved. The logic of resolving external references is tightly connected to "import-mapping" feature. Externally referenced files must be embedded in the corresponding golang packages. Urls can be supported but this task was out of the scope.
func NewDeleteIdBasevaluesBasevalueidRequest ¶
func NewDeleteIdBasevaluesBasevalueidRequest(server string, id int64, basevalueid int64) (*http.Request, error)
NewDeleteIdBasevaluesBasevalueidRequest generates requests for DeleteIdBasevaluesBasevalueid
func NewDeleteIdReportsReportidRequest ¶
func NewDeleteIdReportsReportidRequest(server string, id int64, reportid int64) (*http.Request, error)
NewDeleteIdReportsReportidRequest generates requests for DeleteIdReportsReportid
func NewDeleteIdRequest ¶
NewDeleteIdRequest generates requests for DeleteId
func NewDeleteIdTaTauuidTabasevaluesTabasevalueidRequest ¶
func NewDeleteIdTaTauuidTabasevaluesTabasevalueidRequest(server string, id int64, tauuid string, tabasevalueid int64) (*http.Request, error)
NewDeleteIdTaTauuidTabasevaluesTabasevalueidRequest generates requests for DeleteIdTaTauuidTabasevaluesTabasevalueid
func NewDeleteIdTaTauuidTareportsTareportidRequest ¶
func NewDeleteIdTaTauuidTareportsTareportidRequest(server string, id int64, tauuid string, tareportid int64) (*http.Request, error)
NewDeleteIdTaTauuidTareportsTareportidRequest generates requests for DeleteIdTaTauuidTareportsTareportid
func NewGetConfigRequest ¶
NewGetConfigRequest generates requests for GetConfig
func NewGetFromToRequest ¶
NewGetFromToRequest generates requests for GetFromTo
func NewGetIdBasevaluesBasevalueidRequest ¶
func NewGetIdBasevaluesBasevalueidRequest(server string, id int64, basevalueid int64) (*http.Request, error)
NewGetIdBasevaluesBasevalueidRequest generates requests for GetIdBasevaluesBasevalueid
func NewGetIdBasevaluesRequest ¶
NewGetIdBasevaluesRequest generates requests for GetIdBasevalues
func NewGetIdContainerStatusRequest ¶
NewGetIdContainerStatusRequest generates requests for GetIdContainerStatus
func NewGetIdDeviceStatusRequest ¶
NewGetIdDeviceStatusRequest generates requests for GetIdDeviceStatus
func NewGetIdNewbasevalueRequest ¶
NewGetIdNewbasevalueRequest generates requests for GetIdNewbasevalue
func NewGetIdReportsReportidRequest ¶
NewGetIdReportsReportidRequest generates requests for GetIdReportsReportid
func NewGetIdReportsRequest ¶
NewGetIdReportsRequest generates requests for GetIdReports
func NewGetIdRequest ¶
NewGetIdRequest generates requests for GetId
func NewGetIdTaTauuidNewtabasevalueRequest ¶
func NewGetIdTaTauuidNewtabasevalueRequest(server string, id int64, tauuid string) (*http.Request, error)
NewGetIdTaTauuidNewtabasevalueRequest generates requests for GetIdTaTauuidNewtabasevalue
func NewGetIdTaTauuidStatusRequest ¶
NewGetIdTaTauuidStatusRequest generates requests for GetIdTaTauuidStatus
func NewGetIdTaTauuidTabasevaluesRequest ¶
func NewGetIdTaTauuidTabasevaluesRequest(server string, id int64, tauuid string) (*http.Request, error)
NewGetIdTaTauuidTabasevaluesRequest generates requests for GetIdTaTauuidTabasevalues
func NewGetIdTaTauuidTabasevaluesTabasevalueidRequest ¶
func NewGetIdTaTauuidTabasevaluesTabasevalueidRequest(server string, id int64, tauuid string, tabasevalueid int64) (*http.Request, error)
NewGetIdTaTauuidTabasevaluesTabasevalueidRequest generates requests for GetIdTaTauuidTabasevaluesTabasevalueid
func NewGetIdTaTauuidTareportsRequest ¶
func NewGetIdTaTauuidTareportsRequest(server string, id int64, tauuid string) (*http.Request, error)
NewGetIdTaTauuidTareportsRequest generates requests for GetIdTaTauuidTareports
func NewGetIdTaTauuidTareportsTareportidRequest ¶
func NewGetIdTaTauuidTareportsTareportidRequest(server string, id int64, tauuid string, tareportid int64) (*http.Request, error)
NewGetIdTaTauuidTareportsTareportidRequest generates requests for GetIdTaTauuidTareportsTareportid
func NewGetLoginRequest ¶
NewGetLoginRequest generates requests for GetLogin
func NewGetRequest ¶
NewGetRequest generates requests for Get
func NewGetVersionRequest ¶
NewGetVersionRequest generates requests for GetVersion
func NewPostConfigRequest ¶
NewPostConfigRequest generates requests for PostConfig
func NewPostIdBasevaluesBasevalueidRequest ¶
func NewPostIdBasevaluesBasevalueidRequest(server string, id int64, basevalueid int64) (*http.Request, error)
NewPostIdBasevaluesBasevalueidRequest generates requests for PostIdBasevaluesBasevalueid
func NewPostIdNewbasevalueRequest ¶
NewPostIdNewbasevalueRequest generates requests for PostIdNewbasevalue
func NewPostIdRequest ¶
NewPostIdRequest generates requests for PostId
func NewPostIdTaTauuidNewtabasevalueRequest ¶
func NewPostIdTaTauuidNewtabasevalueRequest(server string, id int64, tauuid string) (*http.Request, error)
NewPostIdTaTauuidNewtabasevalueRequest generates requests for PostIdTaTauuidNewtabasevalue
func NewPostIdTaTauuidTabasevaluesTabasevalueidRequest ¶
func NewPostIdTaTauuidTabasevaluesTabasevalueidRequest(server string, id int64, tauuid string, tabasevalueid int64) (*http.Request, error)
NewPostIdTaTauuidTabasevaluesTabasevalueidRequest generates requests for PostIdTaTauuidTabasevaluesTabasevalueid
func PathToRawSpec ¶
Constructs a synthetic filesystem for resolving external references when loading openapi specifications.
func RegisterHandlers ¶
func RegisterHandlers(router EchoRouter, si ServerInterface)
RegisterHandlers adds each server route to the EchoRouter.
func RegisterHandlersWithBaseURL ¶
func RegisterHandlersWithBaseURL(router EchoRouter, si ServerInterface, baseURL string)
Registers handlers, and prepends BaseURL to the paths, so that the paths can be served under a prefix.
func StartServerHttp ¶
func StartServerHttp(port string)
StartServerHttp starts a http server to provide reat api services.
func StartServerHttps ¶
func StartServerHttps(httpsPort string)
StartServerHttps starts a https server to provide reat api services.
Types ¶
type BaseValueInfo ¶
type BaseValueInfo struct { Basetype string `json:"basetype"` Bios string `json:"bios"` Clientid int64 `json:"clientid"` Createtime string `json:"createtime"` Enabled bool `json:"enabled"` Id int64 `json:"id"` Ima string `json:"ima"` Name string `json:"name"` Pcr string `json:"pcr"` Uuid string `json:"uuid"` }
BaseValueInfo defines model for BaseValueInfo.
type Client ¶
type Client struct { // The endpoint of the server conforming to this interface, with scheme, // https://api.deepmap.com for example. This can contain a path relative // to the server, such as https://api.deepmap.com/dev-test, and all the // paths in the swagger spec will be appended to the server. Server string // Doer for performing requests, typically a *http.Client with any // customized settings, such as certificate chains. Client HttpRequestDoer // A list of callbacks for modifying requests which are generated before sending over // the network. RequestEditors []RequestEditorFn }
Client which conforms to the OpenAPI3 specification for this service.
func NewClient ¶
func NewClient(server string, opts ...ClientOption) (*Client, error)
Creates a new Client, with reasonable defaults
func (*Client) DeleteIdBasevaluesBasevalueid ¶
func (*Client) DeleteIdReportsReportid ¶
func (*Client) DeleteIdTaTauuidTabasevaluesTabasevalueid ¶
func (*Client) DeleteIdTaTauuidTareportsTareportid ¶
func (*Client) GetIdBasevalues ¶
func (*Client) GetIdBasevaluesBasevalueid ¶
func (*Client) GetIdContainerStatus ¶
func (*Client) GetIdDeviceStatus ¶
func (*Client) GetIdNewbasevalue ¶
func (*Client) GetIdReports ¶
func (*Client) GetIdReportsReportid ¶
func (*Client) GetIdTaTauuidNewtabasevalue ¶
func (*Client) GetIdTaTauuidStatus ¶
func (*Client) GetIdTaTauuidTabasevalues ¶
func (*Client) GetIdTaTauuidTabasevaluesTabasevalueid ¶
func (*Client) GetIdTaTauuidTareports ¶
func (*Client) GetIdTaTauuidTareportsTareportid ¶
func (*Client) GetVersion ¶
func (*Client) PostConfig ¶
func (*Client) PostIdBasevaluesBasevalueid ¶
func (*Client) PostIdNewbasevalue ¶
func (*Client) PostIdTaTauuidNewtabasevalue ¶
type ClientInterface ¶
type ClientInterface interface { // Get request Get(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) // GetConfig request GetConfig(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) // PostConfig request PostConfig(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) // GetLogin request GetLogin(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) // GetVersion request GetVersion(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) // GetFromTo request GetFromTo(ctx context.Context, from int64, to int64, reqEditors ...RequestEditorFn) (*http.Response, error) // DeleteId request DeleteId(ctx context.Context, id int64, reqEditors ...RequestEditorFn) (*http.Response, error) // GetId request GetId(ctx context.Context, id int64, reqEditors ...RequestEditorFn) (*http.Response, error) // PostId request PostId(ctx context.Context, id int64, reqEditors ...RequestEditorFn) (*http.Response, error) // GetIdBasevalues request GetIdBasevalues(ctx context.Context, id int64, reqEditors ...RequestEditorFn) (*http.Response, error) // DeleteIdBasevaluesBasevalueid request DeleteIdBasevaluesBasevalueid(ctx context.Context, id int64, basevalueid int64, reqEditors ...RequestEditorFn) (*http.Response, error) // GetIdBasevaluesBasevalueid request GetIdBasevaluesBasevalueid(ctx context.Context, id int64, basevalueid int64, reqEditors ...RequestEditorFn) (*http.Response, error) // PostIdBasevaluesBasevalueid request PostIdBasevaluesBasevalueid(ctx context.Context, id int64, basevalueid int64, reqEditors ...RequestEditorFn) (*http.Response, error) // GetIdContainerStatus request GetIdContainerStatus(ctx context.Context, id int64, reqEditors ...RequestEditorFn) (*http.Response, error) // GetIdDeviceStatus request GetIdDeviceStatus(ctx context.Context, id int64, reqEditors ...RequestEditorFn) (*http.Response, error) // GetIdNewbasevalue request GetIdNewbasevalue(ctx context.Context, id int64, reqEditors ...RequestEditorFn) (*http.Response, error) // PostIdNewbasevalue request PostIdNewbasevalue(ctx context.Context, id int64, reqEditors ...RequestEditorFn) (*http.Response, error) // GetIdReports request GetIdReports(ctx context.Context, id int64, reqEditors ...RequestEditorFn) (*http.Response, error) // DeleteIdReportsReportid request DeleteIdReportsReportid(ctx context.Context, id int64, reportid int64, reqEditors ...RequestEditorFn) (*http.Response, error) // GetIdReportsReportid request GetIdReportsReportid(ctx context.Context, id int64, reportid int64, reqEditors ...RequestEditorFn) (*http.Response, error) // GetIdTaTauuidNewtabasevalue request GetIdTaTauuidNewtabasevalue(ctx context.Context, id int64, tauuid string, reqEditors ...RequestEditorFn) (*http.Response, error) // PostIdTaTauuidNewtabasevalue request PostIdTaTauuidNewtabasevalue(ctx context.Context, id int64, tauuid string, reqEditors ...RequestEditorFn) (*http.Response, error) // GetIdTaTauuidStatus request GetIdTaTauuidStatus(ctx context.Context, id int64, tauuid string, reqEditors ...RequestEditorFn) (*http.Response, error) // GetIdTaTauuidTabasevalues request GetIdTaTauuidTabasevalues(ctx context.Context, id int64, tauuid string, reqEditors ...RequestEditorFn) (*http.Response, error) // DeleteIdTaTauuidTabasevaluesTabasevalueid request DeleteIdTaTauuidTabasevaluesTabasevalueid(ctx context.Context, id int64, tauuid string, tabasevalueid int64, reqEditors ...RequestEditorFn) (*http.Response, error) // GetIdTaTauuidTabasevaluesTabasevalueid request GetIdTaTauuidTabasevaluesTabasevalueid(ctx context.Context, id int64, tauuid string, tabasevalueid int64, reqEditors ...RequestEditorFn) (*http.Response, error) // PostIdTaTauuidTabasevaluesTabasevalueid request PostIdTaTauuidTabasevaluesTabasevalueid(ctx context.Context, id int64, tauuid string, tabasevalueid int64, reqEditors ...RequestEditorFn) (*http.Response, error) // GetIdTaTauuidTareports request GetIdTaTauuidTareports(ctx context.Context, id int64, tauuid string, reqEditors ...RequestEditorFn) (*http.Response, error) // DeleteIdTaTauuidTareportsTareportid request DeleteIdTaTauuidTareportsTareportid(ctx context.Context, id int64, tauuid string, tareportid int64, reqEditors ...RequestEditorFn) (*http.Response, error) // GetIdTaTauuidTareportsTareportid request GetIdTaTauuidTareportsTareportid(ctx context.Context, id int64, tauuid string, tareportid int64, reqEditors ...RequestEditorFn) (*http.Response, error) }
The interface specification for the client above.
type ClientOption ¶
ClientOption allows setting custom parameters during construction
func WithHTTPClient ¶
func WithHTTPClient(doer HttpRequestDoer) ClientOption
WithHTTPClient allows overriding the default Doer, which is automatically created using http.Client. This is useful for tests.
func WithRequestEditorFn ¶
func WithRequestEditorFn(fn RequestEditorFn) ClientOption
WithRequestEditorFn allows setting up a callback function, which will be called right before sending the request. This can be used to mutate the request.
type ClientWithResponses ¶
type ClientWithResponses struct {
ClientInterface
}
ClientWithResponses builds on ClientInterface to offer response payloads
func NewClientWithResponses ¶
func NewClientWithResponses(server string, opts ...ClientOption) (*ClientWithResponses, error)
NewClientWithResponses creates a new ClientWithResponses, which wraps Client with return type handling
func (*ClientWithResponses) DeleteIdBasevaluesBasevalueidWithResponse ¶
func (c *ClientWithResponses) DeleteIdBasevaluesBasevalueidWithResponse(ctx context.Context, id int64, basevalueid int64, reqEditors ...RequestEditorFn) (*DeleteIdBasevaluesBasevalueidResponse, error)
DeleteIdBasevaluesBasevalueidWithResponse request returning *DeleteIdBasevaluesBasevalueidResponse
func (*ClientWithResponses) DeleteIdReportsReportidWithResponse ¶
func (c *ClientWithResponses) DeleteIdReportsReportidWithResponse(ctx context.Context, id int64, reportid int64, reqEditors ...RequestEditorFn) (*DeleteIdReportsReportidResponse, error)
DeleteIdReportsReportidWithResponse request returning *DeleteIdReportsReportidResponse
func (*ClientWithResponses) DeleteIdTaTauuidTabasevaluesTabasevalueidWithResponse ¶
func (c *ClientWithResponses) DeleteIdTaTauuidTabasevaluesTabasevalueidWithResponse(ctx context.Context, id int64, tauuid string, tabasevalueid int64, reqEditors ...RequestEditorFn) (*DeleteIdTaTauuidTabasevaluesTabasevalueidResponse, error)
DeleteIdTaTauuidTabasevaluesTabasevalueidWithResponse request returning *DeleteIdTaTauuidTabasevaluesTabasevalueidResponse
func (*ClientWithResponses) DeleteIdTaTauuidTareportsTareportidWithResponse ¶
func (c *ClientWithResponses) DeleteIdTaTauuidTareportsTareportidWithResponse(ctx context.Context, id int64, tauuid string, tareportid int64, reqEditors ...RequestEditorFn) (*DeleteIdTaTauuidTareportsTareportidResponse, error)
DeleteIdTaTauuidTareportsTareportidWithResponse request returning *DeleteIdTaTauuidTareportsTareportidResponse
func (*ClientWithResponses) DeleteIdWithResponse ¶
func (c *ClientWithResponses) DeleteIdWithResponse(ctx context.Context, id int64, reqEditors ...RequestEditorFn) (*DeleteIdResponse, error)
DeleteIdWithResponse request returning *DeleteIdResponse
func (*ClientWithResponses) GetConfigWithResponse ¶
func (c *ClientWithResponses) GetConfigWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetConfigResponse, error)
GetConfigWithResponse request returning *GetConfigResponse
func (*ClientWithResponses) GetFromToWithResponse ¶
func (c *ClientWithResponses) GetFromToWithResponse(ctx context.Context, from int64, to int64, reqEditors ...RequestEditorFn) (*GetFromToResponse, error)
GetFromToWithResponse request returning *GetFromToResponse
func (*ClientWithResponses) GetIdBasevaluesBasevalueidWithResponse ¶
func (c *ClientWithResponses) GetIdBasevaluesBasevalueidWithResponse(ctx context.Context, id int64, basevalueid int64, reqEditors ...RequestEditorFn) (*GetIdBasevaluesBasevalueidResponse, error)
GetIdBasevaluesBasevalueidWithResponse request returning *GetIdBasevaluesBasevalueidResponse
func (*ClientWithResponses) GetIdBasevaluesWithResponse ¶
func (c *ClientWithResponses) GetIdBasevaluesWithResponse(ctx context.Context, id int64, reqEditors ...RequestEditorFn) (*GetIdBasevaluesResponse, error)
GetIdBasevaluesWithResponse request returning *GetIdBasevaluesResponse
func (*ClientWithResponses) GetIdContainerStatusWithResponse ¶
func (c *ClientWithResponses) GetIdContainerStatusWithResponse(ctx context.Context, id int64, reqEditors ...RequestEditorFn) (*GetIdContainerStatusResponse, error)
GetIdContainerStatusWithResponse request returning *GetIdContainerStatusResponse
func (*ClientWithResponses) GetIdDeviceStatusWithResponse ¶
func (c *ClientWithResponses) GetIdDeviceStatusWithResponse(ctx context.Context, id int64, reqEditors ...RequestEditorFn) (*GetIdDeviceStatusResponse, error)
GetIdDeviceStatusWithResponse request returning *GetIdDeviceStatusResponse
func (*ClientWithResponses) GetIdNewbasevalueWithResponse ¶
func (c *ClientWithResponses) GetIdNewbasevalueWithResponse(ctx context.Context, id int64, reqEditors ...RequestEditorFn) (*GetIdNewbasevalueResponse, error)
GetIdNewbasevalueWithResponse request returning *GetIdNewbasevalueResponse
func (*ClientWithResponses) GetIdReportsReportidWithResponse ¶
func (c *ClientWithResponses) GetIdReportsReportidWithResponse(ctx context.Context, id int64, reportid int64, reqEditors ...RequestEditorFn) (*GetIdReportsReportidResponse, error)
GetIdReportsReportidWithResponse request returning *GetIdReportsReportidResponse
func (*ClientWithResponses) GetIdReportsWithResponse ¶
func (c *ClientWithResponses) GetIdReportsWithResponse(ctx context.Context, id int64, reqEditors ...RequestEditorFn) (*GetIdReportsResponse, error)
GetIdReportsWithResponse request returning *GetIdReportsResponse
func (*ClientWithResponses) GetIdTaTauuidNewtabasevalueWithResponse ¶
func (c *ClientWithResponses) GetIdTaTauuidNewtabasevalueWithResponse(ctx context.Context, id int64, tauuid string, reqEditors ...RequestEditorFn) (*GetIdTaTauuidNewtabasevalueResponse, error)
GetIdTaTauuidNewtabasevalueWithResponse request returning *GetIdTaTauuidNewtabasevalueResponse
func (*ClientWithResponses) GetIdTaTauuidStatusWithResponse ¶
func (c *ClientWithResponses) GetIdTaTauuidStatusWithResponse(ctx context.Context, id int64, tauuid string, reqEditors ...RequestEditorFn) (*GetIdTaTauuidStatusResponse, error)
GetIdTaTauuidStatusWithResponse request returning *GetIdTaTauuidStatusResponse
func (*ClientWithResponses) GetIdTaTauuidTabasevaluesTabasevalueidWithResponse ¶
func (c *ClientWithResponses) GetIdTaTauuidTabasevaluesTabasevalueidWithResponse(ctx context.Context, id int64, tauuid string, tabasevalueid int64, reqEditors ...RequestEditorFn) (*GetIdTaTauuidTabasevaluesTabasevalueidResponse, error)
GetIdTaTauuidTabasevaluesTabasevalueidWithResponse request returning *GetIdTaTauuidTabasevaluesTabasevalueidResponse
func (*ClientWithResponses) GetIdTaTauuidTabasevaluesWithResponse ¶
func (c *ClientWithResponses) GetIdTaTauuidTabasevaluesWithResponse(ctx context.Context, id int64, tauuid string, reqEditors ...RequestEditorFn) (*GetIdTaTauuidTabasevaluesResponse, error)
GetIdTaTauuidTabasevaluesWithResponse request returning *GetIdTaTauuidTabasevaluesResponse
func (*ClientWithResponses) GetIdTaTauuidTareportsTareportidWithResponse ¶
func (c *ClientWithResponses) GetIdTaTauuidTareportsTareportidWithResponse(ctx context.Context, id int64, tauuid string, tareportid int64, reqEditors ...RequestEditorFn) (*GetIdTaTauuidTareportsTareportidResponse, error)
GetIdTaTauuidTareportsTareportidWithResponse request returning *GetIdTaTauuidTareportsTareportidResponse
func (*ClientWithResponses) GetIdTaTauuidTareportsWithResponse ¶
func (c *ClientWithResponses) GetIdTaTauuidTareportsWithResponse(ctx context.Context, id int64, tauuid string, reqEditors ...RequestEditorFn) (*GetIdTaTauuidTareportsResponse, error)
GetIdTaTauuidTareportsWithResponse request returning *GetIdTaTauuidTareportsResponse
func (*ClientWithResponses) GetIdWithResponse ¶
func (c *ClientWithResponses) GetIdWithResponse(ctx context.Context, id int64, reqEditors ...RequestEditorFn) (*GetIdResponse, error)
GetIdWithResponse request returning *GetIdResponse
func (*ClientWithResponses) GetLoginWithResponse ¶
func (c *ClientWithResponses) GetLoginWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetLoginResponse, error)
GetLoginWithResponse request returning *GetLoginResponse
func (*ClientWithResponses) GetVersionWithResponse ¶
func (c *ClientWithResponses) GetVersionWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetVersionResponse, error)
GetVersionWithResponse request returning *GetVersionResponse
func (*ClientWithResponses) GetWithResponse ¶
func (c *ClientWithResponses) GetWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetResponse, error)
GetWithResponse request returning *GetResponse
func (*ClientWithResponses) PostConfigWithResponse ¶
func (c *ClientWithResponses) PostConfigWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*PostConfigResponse, error)
PostConfigWithResponse request returning *PostConfigResponse
func (*ClientWithResponses) PostIdBasevaluesBasevalueidWithResponse ¶
func (c *ClientWithResponses) PostIdBasevaluesBasevalueidWithResponse(ctx context.Context, id int64, basevalueid int64, reqEditors ...RequestEditorFn) (*PostIdBasevaluesBasevalueidResponse, error)
PostIdBasevaluesBasevalueidWithResponse request returning *PostIdBasevaluesBasevalueidResponse
func (*ClientWithResponses) PostIdNewbasevalueWithResponse ¶
func (c *ClientWithResponses) PostIdNewbasevalueWithResponse(ctx context.Context, id int64, reqEditors ...RequestEditorFn) (*PostIdNewbasevalueResponse, error)
PostIdNewbasevalueWithResponse request returning *PostIdNewbasevalueResponse
func (*ClientWithResponses) PostIdTaTauuidNewtabasevalueWithResponse ¶
func (c *ClientWithResponses) PostIdTaTauuidNewtabasevalueWithResponse(ctx context.Context, id int64, tauuid string, reqEditors ...RequestEditorFn) (*PostIdTaTauuidNewtabasevalueResponse, error)
PostIdTaTauuidNewtabasevalueWithResponse request returning *PostIdTaTauuidNewtabasevalueResponse
func (*ClientWithResponses) PostIdTaTauuidTabasevaluesTabasevalueidWithResponse ¶
func (c *ClientWithResponses) PostIdTaTauuidTabasevaluesTabasevalueidWithResponse(ctx context.Context, id int64, tauuid string, tabasevalueid int64, reqEditors ...RequestEditorFn) (*PostIdTaTauuidTabasevaluesTabasevalueidResponse, error)
PostIdTaTauuidTabasevaluesTabasevalueidWithResponse request returning *PostIdTaTauuidTabasevaluesTabasevalueidResponse
func (*ClientWithResponses) PostIdWithResponse ¶
func (c *ClientWithResponses) PostIdWithResponse(ctx context.Context, id int64, reqEditors ...RequestEditorFn) (*PostIdResponse, error)
PostIdWithResponse request returning *PostIdResponse
type ClientWithResponsesInterface ¶
type ClientWithResponsesInterface interface { // Get request GetWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetResponse, error) // GetConfig request GetConfigWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetConfigResponse, error) // PostConfig request PostConfigWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*PostConfigResponse, error) // GetLogin request GetLoginWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetLoginResponse, error) // GetVersion request GetVersionWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetVersionResponse, error) // GetFromTo request GetFromToWithResponse(ctx context.Context, from int64, to int64, reqEditors ...RequestEditorFn) (*GetFromToResponse, error) // DeleteId request DeleteIdWithResponse(ctx context.Context, id int64, reqEditors ...RequestEditorFn) (*DeleteIdResponse, error) // GetId request GetIdWithResponse(ctx context.Context, id int64, reqEditors ...RequestEditorFn) (*GetIdResponse, error) // PostId request PostIdWithResponse(ctx context.Context, id int64, reqEditors ...RequestEditorFn) (*PostIdResponse, error) // GetIdBasevalues request GetIdBasevaluesWithResponse(ctx context.Context, id int64, reqEditors ...RequestEditorFn) (*GetIdBasevaluesResponse, error) // DeleteIdBasevaluesBasevalueid request DeleteIdBasevaluesBasevalueidWithResponse(ctx context.Context, id int64, basevalueid int64, reqEditors ...RequestEditorFn) (*DeleteIdBasevaluesBasevalueidResponse, error) // GetIdBasevaluesBasevalueid request GetIdBasevaluesBasevalueidWithResponse(ctx context.Context, id int64, basevalueid int64, reqEditors ...RequestEditorFn) (*GetIdBasevaluesBasevalueidResponse, error) // PostIdBasevaluesBasevalueid request PostIdBasevaluesBasevalueidWithResponse(ctx context.Context, id int64, basevalueid int64, reqEditors ...RequestEditorFn) (*PostIdBasevaluesBasevalueidResponse, error) // GetIdContainerStatus request GetIdContainerStatusWithResponse(ctx context.Context, id int64, reqEditors ...RequestEditorFn) (*GetIdContainerStatusResponse, error) // GetIdDeviceStatus request GetIdDeviceStatusWithResponse(ctx context.Context, id int64, reqEditors ...RequestEditorFn) (*GetIdDeviceStatusResponse, error) // GetIdNewbasevalue request GetIdNewbasevalueWithResponse(ctx context.Context, id int64, reqEditors ...RequestEditorFn) (*GetIdNewbasevalueResponse, error) // PostIdNewbasevalue request PostIdNewbasevalueWithResponse(ctx context.Context, id int64, reqEditors ...RequestEditorFn) (*PostIdNewbasevalueResponse, error) // GetIdReports request GetIdReportsWithResponse(ctx context.Context, id int64, reqEditors ...RequestEditorFn) (*GetIdReportsResponse, error) // DeleteIdReportsReportid request DeleteIdReportsReportidWithResponse(ctx context.Context, id int64, reportid int64, reqEditors ...RequestEditorFn) (*DeleteIdReportsReportidResponse, error) // GetIdReportsReportid request GetIdReportsReportidWithResponse(ctx context.Context, id int64, reportid int64, reqEditors ...RequestEditorFn) (*GetIdReportsReportidResponse, error) // GetIdTaTauuidNewtabasevalue request GetIdTaTauuidNewtabasevalueWithResponse(ctx context.Context, id int64, tauuid string, reqEditors ...RequestEditorFn) (*GetIdTaTauuidNewtabasevalueResponse, error) // PostIdTaTauuidNewtabasevalue request PostIdTaTauuidNewtabasevalueWithResponse(ctx context.Context, id int64, tauuid string, reqEditors ...RequestEditorFn) (*PostIdTaTauuidNewtabasevalueResponse, error) // GetIdTaTauuidStatus request GetIdTaTauuidStatusWithResponse(ctx context.Context, id int64, tauuid string, reqEditors ...RequestEditorFn) (*GetIdTaTauuidStatusResponse, error) // GetIdTaTauuidTabasevalues request GetIdTaTauuidTabasevaluesWithResponse(ctx context.Context, id int64, tauuid string, reqEditors ...RequestEditorFn) (*GetIdTaTauuidTabasevaluesResponse, error) // DeleteIdTaTauuidTabasevaluesTabasevalueid request DeleteIdTaTauuidTabasevaluesTabasevalueidWithResponse(ctx context.Context, id int64, tauuid string, tabasevalueid int64, reqEditors ...RequestEditorFn) (*DeleteIdTaTauuidTabasevaluesTabasevalueidResponse, error) // GetIdTaTauuidTabasevaluesTabasevalueid request GetIdTaTauuidTabasevaluesTabasevalueidWithResponse(ctx context.Context, id int64, tauuid string, tabasevalueid int64, reqEditors ...RequestEditorFn) (*GetIdTaTauuidTabasevaluesTabasevalueidResponse, error) // PostIdTaTauuidTabasevaluesTabasevalueid request PostIdTaTauuidTabasevaluesTabasevalueidWithResponse(ctx context.Context, id int64, tauuid string, tabasevalueid int64, reqEditors ...RequestEditorFn) (*PostIdTaTauuidTabasevaluesTabasevalueidResponse, error) // GetIdTaTauuidTareports request GetIdTaTauuidTareportsWithResponse(ctx context.Context, id int64, tauuid string, reqEditors ...RequestEditorFn) (*GetIdTaTauuidTareportsResponse, error) // DeleteIdTaTauuidTareportsTareportid request DeleteIdTaTauuidTareportsTareportidWithResponse(ctx context.Context, id int64, tauuid string, tareportid int64, reqEditors ...RequestEditorFn) (*DeleteIdTaTauuidTareportsTareportidResponse, error) // GetIdTaTauuidTareportsTareportid request GetIdTaTauuidTareportsTareportidWithResponse(ctx context.Context, id int64, tauuid string, tareportid int64, reqEditors ...RequestEditorFn) (*GetIdTaTauuidTareportsTareportidResponse, error) }
ClientWithResponsesInterface is the interface specification for the client with responses above.
type DeleteIdBasevaluesBasevalueidResponse ¶
func ParseDeleteIdBasevaluesBasevalueidResponse ¶
func ParseDeleteIdBasevaluesBasevalueidResponse(rsp *http.Response) (*DeleteIdBasevaluesBasevalueidResponse, error)
ParseDeleteIdBasevaluesBasevalueidResponse parses an HTTP response from a DeleteIdBasevaluesBasevalueidWithResponse call
func (DeleteIdBasevaluesBasevalueidResponse) Status ¶
func (r DeleteIdBasevaluesBasevalueidResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteIdBasevaluesBasevalueidResponse) StatusCode ¶
func (r DeleteIdBasevaluesBasevalueidResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteIdReportsReportidResponse ¶
func ParseDeleteIdReportsReportidResponse ¶
func ParseDeleteIdReportsReportidResponse(rsp *http.Response) (*DeleteIdReportsReportidResponse, error)
ParseDeleteIdReportsReportidResponse parses an HTTP response from a DeleteIdReportsReportidWithResponse call
func (DeleteIdReportsReportidResponse) Status ¶
func (r DeleteIdReportsReportidResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteIdReportsReportidResponse) StatusCode ¶
func (r DeleteIdReportsReportidResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteIdResponse ¶
func ParseDeleteIdResponse ¶
func ParseDeleteIdResponse(rsp *http.Response) (*DeleteIdResponse, error)
ParseDeleteIdResponse parses an HTTP response from a DeleteIdWithResponse call
func (DeleteIdResponse) Status ¶
func (r DeleteIdResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteIdResponse) StatusCode ¶
func (r DeleteIdResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteIdTaTauuidTabasevaluesTabasevalueidResponse ¶
type DeleteIdTaTauuidTabasevaluesTabasevalueidResponse struct { Body []byte HTTPResponse *http.Response }
func ParseDeleteIdTaTauuidTabasevaluesTabasevalueidResponse ¶
func ParseDeleteIdTaTauuidTabasevaluesTabasevalueidResponse(rsp *http.Response) (*DeleteIdTaTauuidTabasevaluesTabasevalueidResponse, error)
ParseDeleteIdTaTauuidTabasevaluesTabasevalueidResponse parses an HTTP response from a DeleteIdTaTauuidTabasevaluesTabasevalueidWithResponse call
func (DeleteIdTaTauuidTabasevaluesTabasevalueidResponse) Status ¶
func (r DeleteIdTaTauuidTabasevaluesTabasevalueidResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteIdTaTauuidTabasevaluesTabasevalueidResponse) StatusCode ¶
func (r DeleteIdTaTauuidTabasevaluesTabasevalueidResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteIdTaTauuidTareportsTareportidResponse ¶
func ParseDeleteIdTaTauuidTareportsTareportidResponse ¶
func ParseDeleteIdTaTauuidTareportsTareportidResponse(rsp *http.Response) (*DeleteIdTaTauuidTareportsTareportidResponse, error)
ParseDeleteIdTaTauuidTareportsTareportidResponse parses an HTTP response from a DeleteIdTaTauuidTareportsTareportidWithResponse call
func (DeleteIdTaTauuidTareportsTareportidResponse) Status ¶
func (r DeleteIdTaTauuidTareportsTareportidResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteIdTaTauuidTareportsTareportidResponse) StatusCode ¶
func (r DeleteIdTaTauuidTareportsTareportidResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type EchoRouter ¶
type EchoRouter interface { CONNECT(path string, h echo.HandlerFunc, m ...echo.MiddlewareFunc) *echo.Route DELETE(path string, h echo.HandlerFunc, m ...echo.MiddlewareFunc) *echo.Route GET(path string, h echo.HandlerFunc, m ...echo.MiddlewareFunc) *echo.Route HEAD(path string, h echo.HandlerFunc, m ...echo.MiddlewareFunc) *echo.Route OPTIONS(path string, h echo.HandlerFunc, m ...echo.MiddlewareFunc) *echo.Route PATCH(path string, h echo.HandlerFunc, m ...echo.MiddlewareFunc) *echo.Route POST(path string, h echo.HandlerFunc, m ...echo.MiddlewareFunc) *echo.Route PUT(path string, h echo.HandlerFunc, m ...echo.MiddlewareFunc) *echo.Route TRACE(path string, h echo.HandlerFunc, m ...echo.MiddlewareFunc) *echo.Route }
This is a simple interface which specifies echo.Route addition functions which are present on both echo.Echo and echo.Group, since we want to allow using either of them for path registration
type GetConfigResponse ¶
func ParseGetConfigResponse ¶
func ParseGetConfigResponse(rsp *http.Response) (*GetConfigResponse, error)
ParseGetConfigResponse parses an HTTP response from a GetConfigWithResponse call
func (GetConfigResponse) Status ¶
func (r GetConfigResponse) Status() string
Status returns HTTPResponse.Status
func (GetConfigResponse) StatusCode ¶
func (r GetConfigResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetFromToResponse ¶
type GetFromToResponse struct { Body []byte HTTPResponse *http.Response JSON200 *[]ServerInfo }
func ParseGetFromToResponse ¶
func ParseGetFromToResponse(rsp *http.Response) (*GetFromToResponse, error)
ParseGetFromToResponse parses an HTTP response from a GetFromToWithResponse call
func (GetFromToResponse) Status ¶
func (r GetFromToResponse) Status() string
Status returns HTTPResponse.Status
func (GetFromToResponse) StatusCode ¶
func (r GetFromToResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetIdBasevaluesBasevalueidResponse ¶
type GetIdBasevaluesBasevalueidResponse struct { Body []byte HTTPResponse *http.Response JSON200 *map[string]interface{} }
func ParseGetIdBasevaluesBasevalueidResponse ¶
func ParseGetIdBasevaluesBasevalueidResponse(rsp *http.Response) (*GetIdBasevaluesBasevalueidResponse, error)
ParseGetIdBasevaluesBasevalueidResponse parses an HTTP response from a GetIdBasevaluesBasevalueidWithResponse call
func (GetIdBasevaluesBasevalueidResponse) Status ¶
func (r GetIdBasevaluesBasevalueidResponse) Status() string
Status returns HTTPResponse.Status
func (GetIdBasevaluesBasevalueidResponse) StatusCode ¶
func (r GetIdBasevaluesBasevalueidResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetIdBasevaluesResponse ¶
type GetIdBasevaluesResponse struct { Body []byte HTTPResponse *http.Response JSON200 *[]BaseValueInfo }
func ParseGetIdBasevaluesResponse ¶
func ParseGetIdBasevaluesResponse(rsp *http.Response) (*GetIdBasevaluesResponse, error)
ParseGetIdBasevaluesResponse parses an HTTP response from a GetIdBasevaluesWithResponse call
func (GetIdBasevaluesResponse) Status ¶
func (r GetIdBasevaluesResponse) Status() string
Status returns HTTPResponse.Status
func (GetIdBasevaluesResponse) StatusCode ¶
func (r GetIdBasevaluesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetIdContainerStatusResponse ¶
func ParseGetIdContainerStatusResponse ¶
func ParseGetIdContainerStatusResponse(rsp *http.Response) (*GetIdContainerStatusResponse, error)
ParseGetIdContainerStatusResponse parses an HTTP response from a GetIdContainerStatusWithResponse call
func (GetIdContainerStatusResponse) Status ¶
func (r GetIdContainerStatusResponse) Status() string
Status returns HTTPResponse.Status
func (GetIdContainerStatusResponse) StatusCode ¶
func (r GetIdContainerStatusResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetIdDeviceStatusResponse ¶
func ParseGetIdDeviceStatusResponse ¶
func ParseGetIdDeviceStatusResponse(rsp *http.Response) (*GetIdDeviceStatusResponse, error)
ParseGetIdDeviceStatusResponse parses an HTTP response from a GetIdDeviceStatusWithResponse call
func (GetIdDeviceStatusResponse) Status ¶
func (r GetIdDeviceStatusResponse) Status() string
Status returns HTTPResponse.Status
func (GetIdDeviceStatusResponse) StatusCode ¶
func (r GetIdDeviceStatusResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetIdNewbasevalueResponse ¶
type GetIdNewbasevalueResponse struct { Body []byte HTTPResponse *http.Response JSON200 *[]BaseValueInfo }
func ParseGetIdNewbasevalueResponse ¶
func ParseGetIdNewbasevalueResponse(rsp *http.Response) (*GetIdNewbasevalueResponse, error)
ParseGetIdNewbasevalueResponse parses an HTTP response from a GetIdNewbasevalueWithResponse call
func (GetIdNewbasevalueResponse) Status ¶
func (r GetIdNewbasevalueResponse) Status() string
Status returns HTTPResponse.Status
func (GetIdNewbasevalueResponse) StatusCode ¶
func (r GetIdNewbasevalueResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetIdReportsReportidResponse ¶
type GetIdReportsReportidResponse struct { Body []byte HTTPResponse *http.Response JSON200 *map[string]interface{} }
func ParseGetIdReportsReportidResponse ¶
func ParseGetIdReportsReportidResponse(rsp *http.Response) (*GetIdReportsReportidResponse, error)
ParseGetIdReportsReportidResponse parses an HTTP response from a GetIdReportsReportidWithResponse call
func (GetIdReportsReportidResponse) Status ¶
func (r GetIdReportsReportidResponse) Status() string
Status returns HTTPResponse.Status
func (GetIdReportsReportidResponse) StatusCode ¶
func (r GetIdReportsReportidResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetIdReportsResponse ¶
type GetIdReportsResponse struct { Body []byte HTTPResponse *http.Response JSON200 *[]ReportInfo }
func ParseGetIdReportsResponse ¶
func ParseGetIdReportsResponse(rsp *http.Response) (*GetIdReportsResponse, error)
ParseGetIdReportsResponse parses an HTTP response from a GetIdReportsWithResponse call
func (GetIdReportsResponse) Status ¶
func (r GetIdReportsResponse) Status() string
Status returns HTTPResponse.Status
func (GetIdReportsResponse) StatusCode ¶
func (r GetIdReportsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetIdResponse ¶
type GetIdResponse struct { Body []byte HTTPResponse *http.Response JSON200 *map[string]interface{} }
func ParseGetIdResponse ¶
func ParseGetIdResponse(rsp *http.Response) (*GetIdResponse, error)
ParseGetIdResponse parses an HTTP response from a GetIdWithResponse call
func (GetIdResponse) Status ¶
func (r GetIdResponse) Status() string
Status returns HTTPResponse.Status
func (GetIdResponse) StatusCode ¶
func (r GetIdResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetIdTaTauuidNewtabasevalueResponse ¶
type GetIdTaTauuidNewtabasevalueResponse struct { Body []byte HTTPResponse *http.Response JSON200 *[]TaBaseValueInfo }
func ParseGetIdTaTauuidNewtabasevalueResponse ¶
func ParseGetIdTaTauuidNewtabasevalueResponse(rsp *http.Response) (*GetIdTaTauuidNewtabasevalueResponse, error)
ParseGetIdTaTauuidNewtabasevalueResponse parses an HTTP response from a GetIdTaTauuidNewtabasevalueWithResponse call
func (GetIdTaTauuidNewtabasevalueResponse) Status ¶
func (r GetIdTaTauuidNewtabasevalueResponse) Status() string
Status returns HTTPResponse.Status
func (GetIdTaTauuidNewtabasevalueResponse) StatusCode ¶
func (r GetIdTaTauuidNewtabasevalueResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetIdTaTauuidStatusResponse ¶
func ParseGetIdTaTauuidStatusResponse ¶
func ParseGetIdTaTauuidStatusResponse(rsp *http.Response) (*GetIdTaTauuidStatusResponse, error)
ParseGetIdTaTauuidStatusResponse parses an HTTP response from a GetIdTaTauuidStatusWithResponse call
func (GetIdTaTauuidStatusResponse) Status ¶
func (r GetIdTaTauuidStatusResponse) Status() string
Status returns HTTPResponse.Status
func (GetIdTaTauuidStatusResponse) StatusCode ¶
func (r GetIdTaTauuidStatusResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetIdTaTauuidTabasevaluesResponse ¶
type GetIdTaTauuidTabasevaluesResponse struct { Body []byte HTTPResponse *http.Response JSON200 *[]TaBaseValueInfo }
func ParseGetIdTaTauuidTabasevaluesResponse ¶
func ParseGetIdTaTauuidTabasevaluesResponse(rsp *http.Response) (*GetIdTaTauuidTabasevaluesResponse, error)
ParseGetIdTaTauuidTabasevaluesResponse parses an HTTP response from a GetIdTaTauuidTabasevaluesWithResponse call
func (GetIdTaTauuidTabasevaluesResponse) Status ¶
func (r GetIdTaTauuidTabasevaluesResponse) Status() string
Status returns HTTPResponse.Status
func (GetIdTaTauuidTabasevaluesResponse) StatusCode ¶
func (r GetIdTaTauuidTabasevaluesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetIdTaTauuidTabasevaluesTabasevalueidResponse ¶
type GetIdTaTauuidTabasevaluesTabasevalueidResponse struct { Body []byte HTTPResponse *http.Response JSON200 *map[string]interface{} }
func ParseGetIdTaTauuidTabasevaluesTabasevalueidResponse ¶
func ParseGetIdTaTauuidTabasevaluesTabasevalueidResponse(rsp *http.Response) (*GetIdTaTauuidTabasevaluesTabasevalueidResponse, error)
ParseGetIdTaTauuidTabasevaluesTabasevalueidResponse parses an HTTP response from a GetIdTaTauuidTabasevaluesTabasevalueidWithResponse call
func (GetIdTaTauuidTabasevaluesTabasevalueidResponse) Status ¶
func (r GetIdTaTauuidTabasevaluesTabasevalueidResponse) Status() string
Status returns HTTPResponse.Status
func (GetIdTaTauuidTabasevaluesTabasevalueidResponse) StatusCode ¶
func (r GetIdTaTauuidTabasevaluesTabasevalueidResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetIdTaTauuidTareportsResponse ¶
type GetIdTaTauuidTareportsResponse struct { Body []byte HTTPResponse *http.Response JSON200 *[]TaReportInfo }
func ParseGetIdTaTauuidTareportsResponse ¶
func ParseGetIdTaTauuidTareportsResponse(rsp *http.Response) (*GetIdTaTauuidTareportsResponse, error)
ParseGetIdTaTauuidTareportsResponse parses an HTTP response from a GetIdTaTauuidTareportsWithResponse call
func (GetIdTaTauuidTareportsResponse) Status ¶
func (r GetIdTaTauuidTareportsResponse) Status() string
Status returns HTTPResponse.Status
func (GetIdTaTauuidTareportsResponse) StatusCode ¶
func (r GetIdTaTauuidTareportsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetIdTaTauuidTareportsTareportidResponse ¶
type GetIdTaTauuidTareportsTareportidResponse struct { Body []byte HTTPResponse *http.Response JSON200 *map[string]interface{} }
func ParseGetIdTaTauuidTareportsTareportidResponse ¶
func ParseGetIdTaTauuidTareportsTareportidResponse(rsp *http.Response) (*GetIdTaTauuidTareportsTareportidResponse, error)
ParseGetIdTaTauuidTareportsTareportidResponse parses an HTTP response from a GetIdTaTauuidTareportsTareportidWithResponse call
func (GetIdTaTauuidTareportsTareportidResponse) Status ¶
func (r GetIdTaTauuidTareportsTareportidResponse) Status() string
Status returns HTTPResponse.Status
func (GetIdTaTauuidTareportsTareportidResponse) StatusCode ¶
func (r GetIdTaTauuidTareportsTareportidResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetLoginResponse ¶
func ParseGetLoginResponse ¶
func ParseGetLoginResponse(rsp *http.Response) (*GetLoginResponse, error)
ParseGetLoginResponse parses an HTTP response from a GetLoginWithResponse call
func (GetLoginResponse) Status ¶
func (r GetLoginResponse) Status() string
Status returns HTTPResponse.Status
func (GetLoginResponse) StatusCode ¶
func (r GetLoginResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetResponse ¶
type GetResponse struct { Body []byte HTTPResponse *http.Response JSON200 *[]ServerInfo }
func ParseGetResponse ¶
func ParseGetResponse(rsp *http.Response) (*GetResponse, error)
ParseGetResponse parses an HTTP response from a GetWithResponse call
func (GetResponse) StatusCode ¶
func (r GetResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetVersionResponse ¶
func ParseGetVersionResponse ¶
func ParseGetVersionResponse(rsp *http.Response) (*GetVersionResponse, error)
ParseGetVersionResponse parses an HTTP response from a GetVersionWithResponse call
func (GetVersionResponse) Status ¶
func (r GetVersionResponse) Status() string
Status returns HTTPResponse.Status
func (GetVersionResponse) StatusCode ¶
func (r GetVersionResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type HttpRequestDoer ¶
Doer performs HTTP requests.
The standard http.Client implements this interface.
type JWSValidator ¶
JWSValidator is used to validate JWS payloads and return a JWT if they're valid
type MyRestAPIServer ¶
type MyRestAPIServer struct { }
MyRestAPIServer means rest api server
func (*MyRestAPIServer) DeleteId ¶
func (s *MyRestAPIServer) DeleteId(ctx echo.Context, id int64) error
(DELETE /{id}) DeleteId delete node {id}
delete a node by html curl -X DELETE http://localhost:40002/{id} delete a node by json curl -X DELETE -H "Content-type: application/json" http://localhost:40002/{id}
func (*MyRestAPIServer) DeleteIdBasevaluesBasevalueid ¶
func (s *MyRestAPIServer) DeleteIdBasevaluesBasevalueid(ctx echo.Context, id int64, basevalueid int64) error
(DELETE /{id}/basevalues/{basevalueid}) DeleteIdBasevaluesBasevalueid deletes node {id} one base value {basevalueid}.
func (*MyRestAPIServer) DeleteIdReportsReportid ¶
func (s *MyRestAPIServer) DeleteIdReportsReportid(ctx echo.Context, id int64, reportid int64) error
(DELETE /{id}/reports/{reportid}) DeleteIdReportsReportid delete node {id} one report {reportid}
delete node {id} report {reportid} by html curl -X DELETE http://localhost:40002/{id}/reports/{reportid} delete node {id} report {reportid} by json curl -X DELETE -H "Content-type: application/json" http://localhost:40002/{id}/reports/{reportid}
func (*MyRestAPIServer) DeleteIdTaTauuidTabasevaluesTabasevalueid ¶
func (s *MyRestAPIServer) DeleteIdTaTauuidTabasevaluesTabasevalueid( ctx echo.Context, id int64, tauuid string, tabasevalueid int64) error
DeleteIdTaTauuidTabasevaluesTabasevalueid deletes ta basevalue. (DELETE /{id}/ta/{tauuid}/tabasevalues/{tabasevalueid}) curl -X DELETE -H "Content-type: application/json" -H "Authorization: $AUTHTOKEN" -k http://localhost:40003/{id}/ta/{tauuid}/tabasevalues/{tabasevalueid} test pass
func (*MyRestAPIServer) DeleteIdTaTauuidTareportsTareportid ¶
func (s *MyRestAPIServer) DeleteIdTaTauuidTareportsTareportid( ctx echo.Context, id int64, tauuid string, tareportid int64) error
(DELETE /{id}/ta/{tauuid}/tareports/{tareportid}) DeleteIdTaTauuidTareportsTareportid deletes ta report by ta report id. curl -X DELETE -H "Content-type: application/json" http://localhost:40002/{id}/ta/{tauuid}/tareports/{tareportid} curl -k -X GET -H "Content-type: application/json" https://localhost:40003/28/ta/test/tareports/2 test pass
func (*MyRestAPIServer) Get ¶
func (s *MyRestAPIServer) Get(ctx echo.Context) error
(GET /) Get gets all nodes information
read all nodes information as html curl -X GET http://localhost:40002 read all nodes information as json curl -X GET -H "Content-type: application/json" http://localhost:40002
func (*MyRestAPIServer) GetConfig ¶
func (s *MyRestAPIServer) GetConfig(ctx echo.Context) error
(GET /config) GetConfig gets ras server configuration
read config as html curl -X GET http://localhost:40002/config read config as json curl -k -X GET -H "Content-type: application/json" -H "Authorization: $AUTHTOKEN" https://localhost:40003/config
func (*MyRestAPIServer) GetFromTo ¶
func (s *MyRestAPIServer) GetFromTo(ctx echo.Context, from int64, to int64) error
(GET /{from}/{to}) GetFromTo gets information from {from} node to {to} node in order.
read a range nodes info as html curl -X GET http://localhost:40002/{from}/{to} read a range nodes info as json curl -X GET -H "Content-type: application/json" http://localhost:40002/{from}/{to}
func (*MyRestAPIServer) GetId ¶
func (s *MyRestAPIServer) GetId(ctx echo.Context, id int64) error
GetId gets node {id} information
read node {id} info as html curl -X GET http://localhost:40002/{id} read node {id} info as json curl -X GET -H "Content-type: application/json" http://localhost:40002/{id}
func (*MyRestAPIServer) GetIdBasevalues ¶
func (s *MyRestAPIServer) GetIdBasevalues(ctx echo.Context, id int64) error
(GET /{id}/basevalues) GetIdBasevalues gets node {id} all base values
func (*MyRestAPIServer) GetIdBasevaluesBasevalueid ¶
func (s *MyRestAPIServer) GetIdBasevaluesBasevalueid(ctx echo.Context, id int64, basevalueid int64) error
(GET /{id}/basevalues/{basevalueid}) GetIdBasevaluesBasevalueid gets node {id} one base value {basevalueid}
func (*MyRestAPIServer) GetIdContainerStatus ¶
func (s *MyRestAPIServer) GetIdContainerStatus(ctx echo.Context, cid int64) error
GetIdContainerStatus return a list of trust status for all containers of a given client (GET /{id}/container/status)
func (*MyRestAPIServer) GetIdDeviceStatus ¶
func (s *MyRestAPIServer) GetIdDeviceStatus(ctx echo.Context, cid int64) error
GetIdDeviceStatus return a list of trust status for all devices of a given client (GET /{id}/device/status)
func (*MyRestAPIServer) GetIdNewbasevalue ¶
func (s *MyRestAPIServer) GetIdNewbasevalue(ctx echo.Context, id int64) error
GetIdNewbasevalue gets a empty page as html for new base value, no need for json!!!
curl -X GET http://localhost:40002/{id}/newbasevalue
func (*MyRestAPIServer) GetIdReports ¶
func (s *MyRestAPIServer) GetIdReports(ctx echo.Context, id int64) error
(GET /{id}/reports) GetIdReports get node {id} all reports
get node {id} all reports as html curl -X GET http://localhost:40002/{id}/reports get node {id} all reports as json curl -X GET -H "Content-type: application/json" http://localhost:40002/{id}/reports curl -k -X GET -H "Content-type: application/json" https://localhost:40003/{id}/reports
func (*MyRestAPIServer) GetIdReportsReportid ¶
func (s *MyRestAPIServer) GetIdReportsReportid(ctx echo.Context, id int64, reportid int64) error
(GET /{id}/reports/{reportid}) GetIdReportsReportid get node {id} one report {reportid}
get node {id} report {reportid} as html curl -X GET http://localhost:40002/{id}/reports/{reportid} get node {id} report {reportid} as json curl -X GET -H "Content-type: application/json" http://localhost:40002/{id}/reports/{reportid}
func (*MyRestAPIServer) GetIdTaTauuidNewtabasevalue ¶
func (s *MyRestAPIServer) GetIdTaTauuidNewtabasevalue(ctx echo.Context, id int64, tauuid string) error
(GET /{id}/ta/{tauuid}/newtabasevalue) GetIdTaTauuidNewtabasevalue gets ta basevalue. curl -k -X GET -H "Content-type: application/json" https://localhost:40003/30/ta/test/newtabasevalue
func (*MyRestAPIServer) GetIdTaTauuidStatus ¶
func (s *MyRestAPIServer) GetIdTaTauuidStatus(ctx echo.Context, id int64, tauuid string) error
GetIdTaTauuidStatus returns the trust status for a specific TA of a given client (GET /{id}/ta/{tauuid}/status) curl -k -X GET -H "Content-type: application/json" -H "Authorization: $AUTHTOKEN" https://localhost:40003/{id}/ta/{tauuid}/status test pass
func (*MyRestAPIServer) GetIdTaTauuidTabasevalues ¶
func (s *MyRestAPIServer) GetIdTaTauuidTabasevalues(ctx echo.Context, id int64, tauuid string) error
GetIdTaTauuidTabasevalues returns ta basevalues qureied by tauuid. (GET /{id}/ta/{tauuid}/tabasevalues) curl -k -X GET -H "Content-type: application/json" https://localhost:40003/{id}/ta/{tauuid}/tabasevalues test pass
func (*MyRestAPIServer) GetIdTaTauuidTabasevaluesTabasevalueid ¶
func (s *MyRestAPIServer) GetIdTaTauuidTabasevaluesTabasevalueid( ctx echo.Context, id int64, tauuid string, tabasevalueid int64) error
GetIdTaTauuidTabasevaluesTabasevalueid gets ta basevalues by ta basevalue id. (GET /{id}/ta/{tauuid}/tabasevalues/{tabasevalueid}) curl -k -X GET -H "Content-type: application/json" https://localhost:40003/{id}/ta/{tauuid}/tabasevalues{tabasevalueid} test pass
func (*MyRestAPIServer) GetIdTaTauuidTareports ¶
func (s *MyRestAPIServer) GetIdTaTauuidTareports(ctx echo.Context, id int64, tauuid string) error
(GET /{id}/ta/{tauuid}/tareports) GetIdTaTauuidTareports gets node {id} all reports as json
curl -X GET -H "Content-type: application/json" http://localhost:40002/{id}/ta/test/tareports curl -k -X GET -H "Content-type: application/json" https://localhost:40003/{id}/ta/test/tareports
test pass
func (*MyRestAPIServer) GetIdTaTauuidTareportsTareportid ¶
func (s *MyRestAPIServer) GetIdTaTauuidTareportsTareportid( ctx echo.Context, id int64, tauuid string, tareportid int64) error
GetIdTaTauuidTareportsTareportid gets ta reports according to ta report id. (GET /{id}/ta/{tauuid}/tareports/{tareportid}) curl -k -X GET -H "Content-type: application/json" https://localhost:40003/28/ta/test/tareports/2 test pass
func (*MyRestAPIServer) GetLogin ¶
func (s *MyRestAPIServer) GetLogin(ctx echo.Context) error
(GET /login) GetLogin gets login/logout ras server as admin information.
func (*MyRestAPIServer) GetVersion ¶
func (s *MyRestAPIServer) GetVersion(ctx echo.Context) error
(GET /version) GetVersion gets ras server version information
read version as html curl -X GET http://localhost:40002/version read version as json curl -X GET -H "Content-type: application/json" http://localhost:40002/version
func (*MyRestAPIServer) PostConfig ¶
func (s *MyRestAPIServer) PostConfig(ctx echo.Context) error
(POST /config) PostConfig modifies ras server configuration
write config as html/form curl -X POST -d "hbduration=10s" -d "trustduration=2m0s" -d"isallupdate=true" http://localhost:40002/config write config as json curl -X POST -k -H "Content-type: application/json" -H "Authorization: $AUTHTOKEN" -d '{"hbduration":"10s", "trustduration":"2m0s", "isallupdate": true}' https://localhost:40003/config
Notice: key name must be enclosed by "" in json format!!!
func (*MyRestAPIServer) PostId ¶
func (s *MyRestAPIServer) PostId(ctx echo.Context, id int64) error
(POST /{id}) PostId modifies node {id} information
modify node {id} information by json curl -X POST -H "Content-type: multipart/form-data" -F "IsAutoUpdate=true;type=application/json" http://localhost:40002/{id}
func (*MyRestAPIServer) PostIdBasevaluesBasevalueid ¶
func (s *MyRestAPIServer) PostIdBasevaluesBasevalueid(ctx echo.Context, cid, bid int64) error
(POST /{id}/basevalues/{basevalueid}) PostIdBasevaluesBasevalueid modifies node {id} one base value {basevalueid}
curl -X POST -H "Content-type: multipart/form-data" -F "ClientID=XX" -F "BaseType=XX" -F "Name=XX" -F "Enabled=true" -F "Pcr=@./filename" -F "Bios=@./filename" -F "Ima=@./filename" http://localhost:40002/{uuid}/device/basevalue save node {id} a new base value by json curl -X POST -k -H "Content-type: application/json" -H "Authorization: $AUTHTOKEN" https://localhost:40003/{id}/basevalues/{basevalueid} --data '{"enabled":true}'
因为这里只需要传enabled一个参数,所以不需要检查其是否为空,默认为false
func (*MyRestAPIServer) PostIdNewbasevalue ¶
func (s *MyRestAPIServer) PostIdNewbasevalue(ctx echo.Context, id int64) error
(POST /{id}/newbasevalue) PostIdNewbasevalue save node {id} a new base value by html
curl -X POST -H "Content-type: multipart/form-data" -F "Name=XX" -F "Enabled=true" -F "Pcr=@./filename" -F "Bios=@./filename" -F "Ima=@./filename" http://localhost:40002/1/newbasevalue save node {id} a new base value by json
(pcr,bios,ima的赋值要经过安全检查,不满足的会发出解析错误,可以参考attestation\test\integration\manual_mode_test.sh的测试样例)
curl -X POST -H "Content-Type: application/json" -H "Authorization: $AUTHTOKEN" -k https://localhost:40003/{id}/newbasevalue -d '{"name":"test", "enabled":true,"isnewgroup":false}' save node {id} a new base value by xml (a simple base RIM file according to TCG Reference Integrity Manifest (RIM) Information Model https://trustedcomputinggroup.org/wp-content/uploads/TCG_RIM_Model_v1p01_r0p16_pub.pdf) curl -X POST -H "Content-Type: text/xml" -k https://localhost:40003/{id}/newbasevalue -d [Signed base RIM according to TCG RIM spec]
func (*MyRestAPIServer) PostIdTaTauuidNewtabasevalue ¶
func (s *MyRestAPIServer) PostIdTaTauuidNewtabasevalue(ctx echo.Context, id int64, tauuid string) error
(POST /{id}/ta/{tauuid}/newtabasevalue) PostIdTaTauuidNewtabasevalue saves node {id} a new base value by json
curl -X POST -H "Content-Type: application/json" -k https://localhost:40003/{id}/ta/{tauuid}/newtabasevalue -d '{"name":"testname", "enabled":true, "valueinfo":"test info", "isnewgroup":false}' curl -X POST -H "Content-Type: application/json" -H "Authorization: $AUTHTOKEN" -k https://localhost:40003/24/ta/test/newtabasevalue -d '{"name":"testname", "enabled":true, "valueinfo":"test info", "isnewgroup":false}'
func (*MyRestAPIServer) PostIdTaTauuidTabasevaluesTabasevalueid ¶
func (s *MyRestAPIServer) PostIdTaTauuidTabasevaluesTabasevalueid( ctx echo.Context, id int64, tauuid string, tabasevalueid int64) error
PostIdTaTauuidTabasevaluesTabasevalueid modifies ta basevalues by ta basevalue id. (POST /{id}/ta/{tauuid}/tabasevalues/{tabasevalueid}) curl -k -X POST -H "Content-type: application/json" -H "Authorization: $AUTHTOKEN" https://localhost:40003/{id}/ta/{tauuid}/tabasevalues/{tabasevalueid} --data '{"enabled":true}' test pass
type PostConfigResponse ¶
func ParsePostConfigResponse ¶
func ParsePostConfigResponse(rsp *http.Response) (*PostConfigResponse, error)
ParsePostConfigResponse parses an HTTP response from a PostConfigWithResponse call
func (PostConfigResponse) Status ¶
func (r PostConfigResponse) Status() string
Status returns HTTPResponse.Status
func (PostConfigResponse) StatusCode ¶
func (r PostConfigResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PostIdBasevaluesBasevalueidResponse ¶
func ParsePostIdBasevaluesBasevalueidResponse ¶
func ParsePostIdBasevaluesBasevalueidResponse(rsp *http.Response) (*PostIdBasevaluesBasevalueidResponse, error)
ParsePostIdBasevaluesBasevalueidResponse parses an HTTP response from a PostIdBasevaluesBasevalueidWithResponse call
func (PostIdBasevaluesBasevalueidResponse) Status ¶
func (r PostIdBasevaluesBasevalueidResponse) Status() string
Status returns HTTPResponse.Status
func (PostIdBasevaluesBasevalueidResponse) StatusCode ¶
func (r PostIdBasevaluesBasevalueidResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PostIdNewbasevalueResponse ¶
func ParsePostIdNewbasevalueResponse ¶
func ParsePostIdNewbasevalueResponse(rsp *http.Response) (*PostIdNewbasevalueResponse, error)
ParsePostIdNewbasevalueResponse parses an HTTP response from a PostIdNewbasevalueWithResponse call
func (PostIdNewbasevalueResponse) Status ¶
func (r PostIdNewbasevalueResponse) Status() string
Status returns HTTPResponse.Status
func (PostIdNewbasevalueResponse) StatusCode ¶
func (r PostIdNewbasevalueResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PostIdResponse ¶
func ParsePostIdResponse ¶
func ParsePostIdResponse(rsp *http.Response) (*PostIdResponse, error)
ParsePostIdResponse parses an HTTP response from a PostIdWithResponse call
func (PostIdResponse) Status ¶
func (r PostIdResponse) Status() string
Status returns HTTPResponse.Status
func (PostIdResponse) StatusCode ¶
func (r PostIdResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PostIdTaTauuidNewtabasevalueResponse ¶
func ParsePostIdTaTauuidNewtabasevalueResponse ¶
func ParsePostIdTaTauuidNewtabasevalueResponse(rsp *http.Response) (*PostIdTaTauuidNewtabasevalueResponse, error)
ParsePostIdTaTauuidNewtabasevalueResponse parses an HTTP response from a PostIdTaTauuidNewtabasevalueWithResponse call
func (PostIdTaTauuidNewtabasevalueResponse) Status ¶
func (r PostIdTaTauuidNewtabasevalueResponse) Status() string
Status returns HTTPResponse.Status
func (PostIdTaTauuidNewtabasevalueResponse) StatusCode ¶
func (r PostIdTaTauuidNewtabasevalueResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PostIdTaTauuidTabasevaluesTabasevalueidResponse ¶
type PostIdTaTauuidTabasevaluesTabasevalueidResponse struct { Body []byte HTTPResponse *http.Response }
func ParsePostIdTaTauuidTabasevaluesTabasevalueidResponse ¶
func ParsePostIdTaTauuidTabasevaluesTabasevalueidResponse(rsp *http.Response) (*PostIdTaTauuidTabasevaluesTabasevalueidResponse, error)
ParsePostIdTaTauuidTabasevaluesTabasevalueidResponse parses an HTTP response from a PostIdTaTauuidTabasevaluesTabasevalueidWithResponse call
func (PostIdTaTauuidTabasevaluesTabasevalueidResponse) Status ¶
func (r PostIdTaTauuidTabasevaluesTabasevalueidResponse) Status() string
Status returns HTTPResponse.Status
func (PostIdTaTauuidTabasevaluesTabasevalueidResponse) StatusCode ¶
func (r PostIdTaTauuidTabasevaluesTabasevalueidResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ReportInfo ¶
type ReportInfo struct { Bioslog string `json:"bioslog"` Createtime string `json:"createtime"` Id int64 `json:"id"` Imalog string `json:"imalog"` Pcrlog string `json:"pcrlog"` Quoted string `json:"quoted"` Signature string `json:"signature"` Trusted bool `json:"trusted"` Validated bool `json:"validated"` }
ReportInfo defines model for ReportInfo.
type RequestEditorFn ¶
RequestEditorFn is the function signature for the RequestEditor callback function
type ServerInfo ¶
type ServerInfo struct { Id int64 `json:"id"` Isautoupdate bool `json:"isautoupdate"` Online bool `json:"online"` Registered bool `json:"registered"` Regtime string `json:"regtime"` Trusted bool `json:"trusted"` }
ServerInfo defines model for ServerInfo.
type ServerInterface ¶
type ServerInterface interface { // (GET /) Get(ctx echo.Context) error // (GET /config) GetConfig(ctx echo.Context) error // (POST /config) PostConfig(ctx echo.Context) error // (GET /login) GetLogin(ctx echo.Context) error // (GET /version) GetVersion(ctx echo.Context) error // (GET /{from}/{to}) GetFromTo(ctx echo.Context, from int64, to int64) error // (DELETE /{id}) DeleteId(ctx echo.Context, id int64) error // (GET /{id}) GetId(ctx echo.Context, id int64) error // (POST /{id}) PostId(ctx echo.Context, id int64) error // (GET /{id}/basevalues) GetIdBasevalues(ctx echo.Context, id int64) error // (DELETE /{id}/basevalues/{basevalueid}) DeleteIdBasevaluesBasevalueid(ctx echo.Context, id int64, basevalueid int64) error // (GET /{id}/basevalues/{basevalueid}) GetIdBasevaluesBasevalueid(ctx echo.Context, id int64, basevalueid int64) error // (POST /{id}/basevalues/{basevalueid}) PostIdBasevaluesBasevalueid(ctx echo.Context, id int64, basevalueid int64) error // Return a list of trust status for all containers of a given client // (GET /{id}/container/status) GetIdContainerStatus(ctx echo.Context, id int64) error // Return a list of trust status for all devices of a given client // (GET /{id}/device/status) GetIdDeviceStatus(ctx echo.Context, id int64) error // (GET /{id}/newbasevalue) GetIdNewbasevalue(ctx echo.Context, id int64) error // (POST /{id}/newbasevalue) PostIdNewbasevalue(ctx echo.Context, id int64) error // (GET /{id}/reports) GetIdReports(ctx echo.Context, id int64) error // (DELETE /{id}/reports/{reportid}) DeleteIdReportsReportid(ctx echo.Context, id int64, reportid int64) error // (GET /{id}/reports/{reportid}) GetIdReportsReportid(ctx echo.Context, id int64, reportid int64) error // (GET /{id}/ta/{tauuid}/newtabasevalue) GetIdTaTauuidNewtabasevalue(ctx echo.Context, id int64, tauuid string) error // (POST /{id}/ta/{tauuid}/newtabasevalue) PostIdTaTauuidNewtabasevalue(ctx echo.Context, id int64, tauuid string) error // Return the trust status for a specific TA of a given client // (GET /{id}/ta/{tauuid}/status) GetIdTaTauuidStatus(ctx echo.Context, id int64, tauuid string) error // (GET /{id}/ta/{tauuid}/tabasevalues) GetIdTaTauuidTabasevalues(ctx echo.Context, id int64, tauuid string) error // (DELETE /{id}/ta/{tauuid}/tabasevalues/{tabasevalueid}) DeleteIdTaTauuidTabasevaluesTabasevalueid(ctx echo.Context, id int64, tauuid string, tabasevalueid int64) error // (GET /{id}/ta/{tauuid}/tabasevalues/{tabasevalueid}) GetIdTaTauuidTabasevaluesTabasevalueid(ctx echo.Context, id int64, tauuid string, tabasevalueid int64) error // (POST /{id}/ta/{tauuid}/tabasevalues/{tabasevalueid}) PostIdTaTauuidTabasevaluesTabasevalueid(ctx echo.Context, id int64, tauuid string, tabasevalueid int64) error // (GET /{id}/ta/{tauuid}/tareports) GetIdTaTauuidTareports(ctx echo.Context, id int64, tauuid string) error // (DELETE /{id}/ta/{tauuid}/tareports/{tareportid}) DeleteIdTaTauuidTareportsTareportid(ctx echo.Context, id int64, tauuid string, tareportid int64) error // (GET /{id}/ta/{tauuid}/tareports/{tareportid}) GetIdTaTauuidTareportsTareportid(ctx echo.Context, id int64, tauuid string, tareportid int64) error }
ServerInterface represents all server handlers.
type ServerInterfaceWrapper ¶
type ServerInterfaceWrapper struct {
Handler ServerInterface
}
ServerInterfaceWrapper converts echo contexts to parameters.
func (*ServerInterfaceWrapper) DeleteId ¶
func (w *ServerInterfaceWrapper) DeleteId(ctx echo.Context) error
DeleteId converts echo context to params.
func (*ServerInterfaceWrapper) DeleteIdBasevaluesBasevalueid ¶
func (w *ServerInterfaceWrapper) DeleteIdBasevaluesBasevalueid(ctx echo.Context) error
DeleteIdBasevaluesBasevalueid converts echo context to params.
func (*ServerInterfaceWrapper) DeleteIdReportsReportid ¶
func (w *ServerInterfaceWrapper) DeleteIdReportsReportid(ctx echo.Context) error
DeleteIdReportsReportid converts echo context to params.
func (*ServerInterfaceWrapper) DeleteIdTaTauuidTabasevaluesTabasevalueid ¶
func (w *ServerInterfaceWrapper) DeleteIdTaTauuidTabasevaluesTabasevalueid(ctx echo.Context) error
DeleteIdTaTauuidTabasevaluesTabasevalueid converts echo context to params.
func (*ServerInterfaceWrapper) DeleteIdTaTauuidTareportsTareportid ¶
func (w *ServerInterfaceWrapper) DeleteIdTaTauuidTareportsTareportid(ctx echo.Context) error
DeleteIdTaTauuidTareportsTareportid converts echo context to params.
func (*ServerInterfaceWrapper) Get ¶
func (w *ServerInterfaceWrapper) Get(ctx echo.Context) error
Get converts echo context to params.
func (*ServerInterfaceWrapper) GetConfig ¶
func (w *ServerInterfaceWrapper) GetConfig(ctx echo.Context) error
GetConfig converts echo context to params.
func (*ServerInterfaceWrapper) GetFromTo ¶
func (w *ServerInterfaceWrapper) GetFromTo(ctx echo.Context) error
GetFromTo converts echo context to params.
func (*ServerInterfaceWrapper) GetId ¶
func (w *ServerInterfaceWrapper) GetId(ctx echo.Context) error
GetId converts echo context to params.
func (*ServerInterfaceWrapper) GetIdBasevalues ¶
func (w *ServerInterfaceWrapper) GetIdBasevalues(ctx echo.Context) error
GetIdBasevalues converts echo context to params.
func (*ServerInterfaceWrapper) GetIdBasevaluesBasevalueid ¶
func (w *ServerInterfaceWrapper) GetIdBasevaluesBasevalueid(ctx echo.Context) error
GetIdBasevaluesBasevalueid converts echo context to params.
func (*ServerInterfaceWrapper) GetIdContainerStatus ¶
func (w *ServerInterfaceWrapper) GetIdContainerStatus(ctx echo.Context) error
GetIdContainerStatus converts echo context to params.
func (*ServerInterfaceWrapper) GetIdDeviceStatus ¶
func (w *ServerInterfaceWrapper) GetIdDeviceStatus(ctx echo.Context) error
GetIdDeviceStatus converts echo context to params.
func (*ServerInterfaceWrapper) GetIdNewbasevalue ¶
func (w *ServerInterfaceWrapper) GetIdNewbasevalue(ctx echo.Context) error
GetIdNewbasevalue converts echo context to params.
func (*ServerInterfaceWrapper) GetIdReports ¶
func (w *ServerInterfaceWrapper) GetIdReports(ctx echo.Context) error
GetIdReports converts echo context to params.
func (*ServerInterfaceWrapper) GetIdReportsReportid ¶
func (w *ServerInterfaceWrapper) GetIdReportsReportid(ctx echo.Context) error
GetIdReportsReportid converts echo context to params.
func (*ServerInterfaceWrapper) GetIdTaTauuidNewtabasevalue ¶
func (w *ServerInterfaceWrapper) GetIdTaTauuidNewtabasevalue(ctx echo.Context) error
GetIdTaTauuidNewtabasevalue converts echo context to params.
func (*ServerInterfaceWrapper) GetIdTaTauuidStatus ¶
func (w *ServerInterfaceWrapper) GetIdTaTauuidStatus(ctx echo.Context) error
GetIdTaTauuidStatus converts echo context to params.
func (*ServerInterfaceWrapper) GetIdTaTauuidTabasevalues ¶
func (w *ServerInterfaceWrapper) GetIdTaTauuidTabasevalues(ctx echo.Context) error
GetIdTaTauuidTabasevalues converts echo context to params.
func (*ServerInterfaceWrapper) GetIdTaTauuidTabasevaluesTabasevalueid ¶
func (w *ServerInterfaceWrapper) GetIdTaTauuidTabasevaluesTabasevalueid(ctx echo.Context) error
GetIdTaTauuidTabasevaluesTabasevalueid converts echo context to params.
func (*ServerInterfaceWrapper) GetIdTaTauuidTareports ¶
func (w *ServerInterfaceWrapper) GetIdTaTauuidTareports(ctx echo.Context) error
GetIdTaTauuidTareports converts echo context to params.
func (*ServerInterfaceWrapper) GetIdTaTauuidTareportsTareportid ¶
func (w *ServerInterfaceWrapper) GetIdTaTauuidTareportsTareportid(ctx echo.Context) error
GetIdTaTauuidTareportsTareportid converts echo context to params.
func (*ServerInterfaceWrapper) GetLogin ¶
func (w *ServerInterfaceWrapper) GetLogin(ctx echo.Context) error
GetLogin converts echo context to params.
func (*ServerInterfaceWrapper) GetVersion ¶
func (w *ServerInterfaceWrapper) GetVersion(ctx echo.Context) error
GetVersion converts echo context to params.
func (*ServerInterfaceWrapper) PostConfig ¶
func (w *ServerInterfaceWrapper) PostConfig(ctx echo.Context) error
PostConfig converts echo context to params.
func (*ServerInterfaceWrapper) PostId ¶
func (w *ServerInterfaceWrapper) PostId(ctx echo.Context) error
PostId converts echo context to params.
func (*ServerInterfaceWrapper) PostIdBasevaluesBasevalueid ¶
func (w *ServerInterfaceWrapper) PostIdBasevaluesBasevalueid(ctx echo.Context) error
PostIdBasevaluesBasevalueid converts echo context to params.
func (*ServerInterfaceWrapper) PostIdNewbasevalue ¶
func (w *ServerInterfaceWrapper) PostIdNewbasevalue(ctx echo.Context) error
PostIdNewbasevalue converts echo context to params.
func (*ServerInterfaceWrapper) PostIdTaTauuidNewtabasevalue ¶
func (w *ServerInterfaceWrapper) PostIdTaTauuidNewtabasevalue(ctx echo.Context) error
PostIdTaTauuidNewtabasevalue converts echo context to params.
func (*ServerInterfaceWrapper) PostIdTaTauuidTabasevaluesTabasevalueid ¶
func (w *ServerInterfaceWrapper) PostIdTaTauuidTabasevaluesTabasevalueid(ctx echo.Context) error
PostIdTaTauuidTabasevaluesTabasevalueid converts echo context to params.
type TaBaseValueInfo ¶
type TaBaseValueInfo struct { Clientid int64 `json:"clientid"` Createtime string `json:"createtime"` Enabled bool `json:"enabled"` Id int64 `json:"id"` Name string `json:"name"` Uuid string `json:"uuid"` Valueinfo string `json:"valueinfo"` }
TaBaseValueInfo defines model for TaBaseValueInfo.