Documentation ¶
Index ¶
- Constants
- type GetAccountMetrics
- type GetAccountMetricsHandler
- type GetAccountMetricsHandlerFunc
- type GetAccountMetricsOK
- type GetAccountMetricsParams
- type GetAccountMetricsURL
- func (o *GetAccountMetricsURL) Build() (*url.URL, error)
- func (o *GetAccountMetricsURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *GetAccountMetricsURL) Must(u *url.URL, err error) *url.URL
- func (o *GetAccountMetricsURL) SetBasePath(bp string)
- func (o *GetAccountMetricsURL) String() string
- func (o *GetAccountMetricsURL) StringFull(scheme, host string) string
- func (o *GetAccountMetricsURL) WithBasePath(bp string) *GetAccountMetricsURL
- type GetEnvironmentMetrics
- type GetEnvironmentMetricsHandler
- type GetEnvironmentMetricsHandlerFunc
- type GetEnvironmentMetricsOK
- type GetEnvironmentMetricsParams
- type GetEnvironmentMetricsURL
- func (o *GetEnvironmentMetricsURL) Build() (*url.URL, error)
- func (o *GetEnvironmentMetricsURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *GetEnvironmentMetricsURL) Must(u *url.URL, err error) *url.URL
- func (o *GetEnvironmentMetricsURL) SetBasePath(bp string)
- func (o *GetEnvironmentMetricsURL) String() string
- func (o *GetEnvironmentMetricsURL) StringFull(scheme, host string) string
- func (o *GetEnvironmentMetricsURL) WithBasePath(bp string) *GetEnvironmentMetricsURL
- type GetEnvironmentMetricsUnauthorized
- type GetShareMetrics
- type GetShareMetricsHandler
- type GetShareMetricsHandlerFunc
- type GetShareMetricsOK
- type GetShareMetricsParams
- type GetShareMetricsURL
- func (o *GetShareMetricsURL) Build() (*url.URL, error)
- func (o *GetShareMetricsURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *GetShareMetricsURL) Must(u *url.URL, err error) *url.URL
- func (o *GetShareMetricsURL) SetBasePath(bp string)
- func (o *GetShareMetricsURL) String() string
- func (o *GetShareMetricsURL) StringFull(scheme, host string) string
- func (o *GetShareMetricsURL) WithBasePath(bp string) *GetShareMetricsURL
- type GetShareMetricsUnauthorized
Constants ¶
const GetAccountMetricsOKCode int = 200
GetAccountMetricsOKCode is the HTTP code returned for type GetAccountMetricsOK
const GetEnvironmentMetricsOKCode int = 200
GetEnvironmentMetricsOKCode is the HTTP code returned for type GetEnvironmentMetricsOK
GetEnvironmentMetricsUnauthorizedCode is the HTTP code returned for type GetEnvironmentMetricsUnauthorized
GetShareMetricsOKCode is the HTTP code returned for type GetShareMetricsOK
GetShareMetricsUnauthorizedCode is the HTTP code returned for type GetShareMetricsUnauthorized
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GetAccountMetrics ¶
type GetAccountMetrics struct { Context *middleware.Context Handler GetAccountMetricsHandler }
GetAccountMetrics swagger:route GET /metrics/account metrics getAccountMetrics
GetAccountMetrics get account metrics API
func NewGetAccountMetrics ¶
func NewGetAccountMetrics(ctx *middleware.Context, handler GetAccountMetricsHandler) *GetAccountMetrics
NewGetAccountMetrics creates a new http.Handler for the get account metrics operation
func (*GetAccountMetrics) ServeHTTP ¶
func (o *GetAccountMetrics) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type GetAccountMetricsHandler ¶
type GetAccountMetricsHandler interface {
Handle(GetAccountMetricsParams, *rest_model_zrok.Principal) middleware.Responder
}
GetAccountMetricsHandler interface for that can handle valid get account metrics params
type GetAccountMetricsHandlerFunc ¶
type GetAccountMetricsHandlerFunc func(GetAccountMetricsParams, *rest_model_zrok.Principal) middleware.Responder
GetAccountMetricsHandlerFunc turns a function with the right signature into a get account metrics handler
func (GetAccountMetricsHandlerFunc) Handle ¶
func (fn GetAccountMetricsHandlerFunc) Handle(params GetAccountMetricsParams, principal *rest_model_zrok.Principal) middleware.Responder
Handle executing the request and returning a response
type GetAccountMetricsOK ¶
type GetAccountMetricsOK struct { /* In: Body */ Payload *rest_model_zrok.Metrics `json:"body,omitempty"` }
GetAccountMetricsOK account metrics
swagger:response getAccountMetricsOK
func NewGetAccountMetricsOK ¶
func NewGetAccountMetricsOK() *GetAccountMetricsOK
NewGetAccountMetricsOK creates GetAccountMetricsOK with default headers values
func (*GetAccountMetricsOK) SetPayload ¶
func (o *GetAccountMetricsOK) SetPayload(payload *rest_model_zrok.Metrics)
SetPayload sets the payload to the get account metrics o k response
func (*GetAccountMetricsOK) WithPayload ¶
func (o *GetAccountMetricsOK) WithPayload(payload *rest_model_zrok.Metrics) *GetAccountMetricsOK
WithPayload adds the payload to the get account metrics o k response
func (*GetAccountMetricsOK) WriteResponse ¶
func (o *GetAccountMetricsOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetAccountMetricsParams ¶
type GetAccountMetricsParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* In: query */ Duration *float64 }
GetAccountMetricsParams contains all the bound params for the get account metrics operation typically these are obtained from a http.Request
swagger:parameters getAccountMetrics
func NewGetAccountMetricsParams ¶
func NewGetAccountMetricsParams() GetAccountMetricsParams
NewGetAccountMetricsParams creates a new GetAccountMetricsParams object
There are no default values defined in the spec.
func (*GetAccountMetricsParams) BindRequest ¶
func (o *GetAccountMetricsParams) 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 NewGetAccountMetricsParams() beforehand.
type GetAccountMetricsURL ¶
type GetAccountMetricsURL struct { Duration *float64 // contains filtered or unexported fields }
GetAccountMetricsURL generates an URL for the get account metrics operation
func (*GetAccountMetricsURL) Build ¶
func (o *GetAccountMetricsURL) Build() (*url.URL, error)
Build a url path and query string
func (*GetAccountMetricsURL) BuildFull ¶
func (o *GetAccountMetricsURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*GetAccountMetricsURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*GetAccountMetricsURL) SetBasePath ¶
func (o *GetAccountMetricsURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*GetAccountMetricsURL) String ¶
func (o *GetAccountMetricsURL) String() string
String returns the string representation of the path with query string
func (*GetAccountMetricsURL) StringFull ¶
func (o *GetAccountMetricsURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*GetAccountMetricsURL) WithBasePath ¶
func (o *GetAccountMetricsURL) WithBasePath(bp string) *GetAccountMetricsURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type GetEnvironmentMetrics ¶
type GetEnvironmentMetrics struct { Context *middleware.Context Handler GetEnvironmentMetricsHandler }
GetEnvironmentMetrics swagger:route GET /metrics/environment/{envId} metrics getEnvironmentMetrics
GetEnvironmentMetrics get environment metrics API
func NewGetEnvironmentMetrics ¶
func NewGetEnvironmentMetrics(ctx *middleware.Context, handler GetEnvironmentMetricsHandler) *GetEnvironmentMetrics
NewGetEnvironmentMetrics creates a new http.Handler for the get environment metrics operation
func (*GetEnvironmentMetrics) ServeHTTP ¶
func (o *GetEnvironmentMetrics) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type GetEnvironmentMetricsHandler ¶
type GetEnvironmentMetricsHandler interface {
Handle(GetEnvironmentMetricsParams, *rest_model_zrok.Principal) middleware.Responder
}
GetEnvironmentMetricsHandler interface for that can handle valid get environment metrics params
type GetEnvironmentMetricsHandlerFunc ¶
type GetEnvironmentMetricsHandlerFunc func(GetEnvironmentMetricsParams, *rest_model_zrok.Principal) middleware.Responder
GetEnvironmentMetricsHandlerFunc turns a function with the right signature into a get environment metrics handler
func (GetEnvironmentMetricsHandlerFunc) Handle ¶
func (fn GetEnvironmentMetricsHandlerFunc) Handle(params GetEnvironmentMetricsParams, principal *rest_model_zrok.Principal) middleware.Responder
Handle executing the request and returning a response
type GetEnvironmentMetricsOK ¶
type GetEnvironmentMetricsOK struct { /* In: Body */ Payload *rest_model_zrok.Metrics `json:"body,omitempty"` }
GetEnvironmentMetricsOK environment metrics
swagger:response getEnvironmentMetricsOK
func NewGetEnvironmentMetricsOK ¶
func NewGetEnvironmentMetricsOK() *GetEnvironmentMetricsOK
NewGetEnvironmentMetricsOK creates GetEnvironmentMetricsOK with default headers values
func (*GetEnvironmentMetricsOK) SetPayload ¶
func (o *GetEnvironmentMetricsOK) SetPayload(payload *rest_model_zrok.Metrics)
SetPayload sets the payload to the get environment metrics o k response
func (*GetEnvironmentMetricsOK) WithPayload ¶
func (o *GetEnvironmentMetricsOK) WithPayload(payload *rest_model_zrok.Metrics) *GetEnvironmentMetricsOK
WithPayload adds the payload to the get environment metrics o k response
func (*GetEnvironmentMetricsOK) WriteResponse ¶
func (o *GetEnvironmentMetricsOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetEnvironmentMetricsParams ¶
type GetEnvironmentMetricsParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* In: query */ Duration *float64 /* Required: true In: path */ EnvID string }
GetEnvironmentMetricsParams contains all the bound params for the get environment metrics operation typically these are obtained from a http.Request
swagger:parameters getEnvironmentMetrics
func NewGetEnvironmentMetricsParams ¶
func NewGetEnvironmentMetricsParams() GetEnvironmentMetricsParams
NewGetEnvironmentMetricsParams creates a new GetEnvironmentMetricsParams object
There are no default values defined in the spec.
func (*GetEnvironmentMetricsParams) BindRequest ¶
func (o *GetEnvironmentMetricsParams) 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 NewGetEnvironmentMetricsParams() beforehand.
type GetEnvironmentMetricsURL ¶
type GetEnvironmentMetricsURL struct { EnvID string Duration *float64 // contains filtered or unexported fields }
GetEnvironmentMetricsURL generates an URL for the get environment metrics operation
func (*GetEnvironmentMetricsURL) Build ¶
func (o *GetEnvironmentMetricsURL) Build() (*url.URL, error)
Build a url path and query string
func (*GetEnvironmentMetricsURL) BuildFull ¶
func (o *GetEnvironmentMetricsURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*GetEnvironmentMetricsURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*GetEnvironmentMetricsURL) SetBasePath ¶
func (o *GetEnvironmentMetricsURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*GetEnvironmentMetricsURL) String ¶
func (o *GetEnvironmentMetricsURL) String() string
String returns the string representation of the path with query string
func (*GetEnvironmentMetricsURL) StringFull ¶
func (o *GetEnvironmentMetricsURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*GetEnvironmentMetricsURL) WithBasePath ¶
func (o *GetEnvironmentMetricsURL) WithBasePath(bp string) *GetEnvironmentMetricsURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type GetEnvironmentMetricsUnauthorized ¶
type GetEnvironmentMetricsUnauthorized struct { }
GetEnvironmentMetricsUnauthorized unauthorized
swagger:response getEnvironmentMetricsUnauthorized
func NewGetEnvironmentMetricsUnauthorized ¶
func NewGetEnvironmentMetricsUnauthorized() *GetEnvironmentMetricsUnauthorized
NewGetEnvironmentMetricsUnauthorized creates GetEnvironmentMetricsUnauthorized with default headers values
func (*GetEnvironmentMetricsUnauthorized) WriteResponse ¶
func (o *GetEnvironmentMetricsUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetShareMetrics ¶
type GetShareMetrics struct {}
GetShareMetrics swagger:route GET /metrics/share/{shrToken} metrics getShareMetrics
GetShareMetrics get share metrics API
func NewGetShareMetrics ¶
func NewGetShareMetrics(ctx *middleware.Context, handler GetShareMetricsHandler) *GetShareMetrics
NewGetShareMetrics creates a new http.Handler for the get share metrics operation
func (*GetShareMetrics) ServeHTTP ¶
func (o *GetShareMetrics) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type GetShareMetricsHandler ¶
type GetShareMetricsHandler interface {
}GetShareMetricsHandler interface for that can handle valid get share metrics params
type GetShareMetricsHandlerFunc ¶
type GetShareMetricsHandlerFunc func(GetShareMetricsParams, *rest_model_zrok.Principal) middleware.Responder
GetShareMetricsHandlerFunc turns a function with the right signature into a get share metrics handler
func (GetShareMetricsHandlerFunc) Handle ¶
func (fn GetShareMetricsHandlerFunc) Handle(params GetShareMetricsParams, principal *rest_model_zrok.Principal) middleware.Responder
Handle executing the request and returning a response
type GetShareMetricsOK ¶
type GetShareMetricsOK struct { rest_model_zrok.Metrics `json:"body,omitempty"` }Payload *
GetShareMetricsOK share metrics
swagger:response getShareMetricsOK
func NewGetShareMetricsOK ¶
func NewGetShareMetricsOK() *GetShareMetricsOK
NewGetShareMetricsOK creates GetShareMetricsOK with default headers values
func (*GetShareMetricsOK) SetPayload ¶
func (o *GetShareMetricsOK) SetPayload(payload *rest_model_zrok.Metrics)
SetPayload sets the payload to the get share metrics o k response
func (*GetShareMetricsOK) WithPayload ¶
func (o *GetShareMetricsOK) WithPayload(payload *rest_model_zrok.Metrics) *GetShareMetricsOK
WithPayload adds the payload to the get share metrics o k response
func (*GetShareMetricsOK) WriteResponse ¶
func (o *GetShareMetricsOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetShareMetricsParams ¶
type GetShareMetricsParams struct { http.Request `json:"-"` Duration *float64 ShrToken string }HTTPRequest *
GetShareMetricsParams contains all the bound params for the get share metrics operation typically these are obtained from a http.Request
swagger:parameters getShareMetrics
func NewGetShareMetricsParams ¶
func NewGetShareMetricsParams() GetShareMetricsParams
NewGetShareMetricsParams creates a new GetShareMetricsParams object
There are no default values defined in the spec.
func (*GetShareMetricsParams) BindRequest ¶
func (o *GetShareMetricsParams) 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 NewGetShareMetricsParams() beforehand.
type GetShareMetricsURL ¶
type GetShareMetricsURL struct { // contains filtered or unexported fields }
GetShareMetricsURL generates an URL for the get share metrics operation
func (*GetShareMetricsURL) Build ¶
func (o *GetShareMetricsURL) Build() (*url.URL, error)
Build a url path and query string
func (*GetShareMetricsURL) BuildFull ¶
func (o *GetShareMetricsURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*GetShareMetricsURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*GetShareMetricsURL) SetBasePath ¶
func (o *GetShareMetricsURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*GetShareMetricsURL) String ¶
func (o *GetShareMetricsURL) String() string
String returns the string representation of the path with query string
func (*GetShareMetricsURL) StringFull ¶
func (o *GetShareMetricsURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*GetShareMetricsURL) WithBasePath ¶
func (o *GetShareMetricsURL) WithBasePath(bp string) *GetShareMetricsURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type GetShareMetricsUnauthorized ¶
type GetShareMetricsUnauthorized struct { }
GetShareMetricsUnauthorized unauthorized
swagger:response getShareMetricsUnauthorized
func NewGetShareMetricsUnauthorized ¶
func NewGetShareMetricsUnauthorized() *GetShareMetricsUnauthorized
NewGetShareMetricsUnauthorized creates GetShareMetricsUnauthorized with default headers values
func (*GetShareMetricsUnauthorized) WriteResponse ¶
func (o *GetShareMetricsUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
Source Files ¶
- get_account_metrics.go
- get_account_metrics_parameters.go
- get_account_metrics_responses.go
- get_account_metrics_urlbuilder.go
- get_environment_metrics.go
- get_environment_metrics_parameters.go
- get_environment_metrics_responses.go
- get_environment_metrics_urlbuilder.go
- get_share_metrics.go
- get_share_metrics_parameters.go
- get_share_metrics_responses.go
- get_share_metrics_urlbuilder.go