metadata

package
v0.4.13 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const ConfigurationOKCode int = 200

ConfigurationOKCode is the HTTP code returned for type ConfigurationOK

View Source
const GetAccountDetailInternalServerErrorCode int = 500

GetAccountDetailInternalServerErrorCode is the HTTP code returned for type GetAccountDetailInternalServerError

View Source
const GetAccountDetailOKCode int = 200

GetAccountDetailOKCode is the HTTP code returned for type GetAccountDetailOK

View Source
const GetAccountMetricsBadRequestCode int = 400

GetAccountMetricsBadRequestCode is the HTTP code returned for type GetAccountMetricsBadRequest

View Source
const GetAccountMetricsInternalServerErrorCode int = 500

GetAccountMetricsInternalServerErrorCode is the HTTP code returned for type GetAccountMetricsInternalServerError

View Source
const GetAccountMetricsOKCode int = 200

GetAccountMetricsOKCode is the HTTP code returned for type GetAccountMetricsOK

View Source
const GetEnvironmentDetailInternalServerErrorCode int = 500

GetEnvironmentDetailInternalServerErrorCode is the HTTP code returned for type GetEnvironmentDetailInternalServerError

View Source
const GetEnvironmentDetailNotFoundCode int = 404

GetEnvironmentDetailNotFoundCode is the HTTP code returned for type GetEnvironmentDetailNotFound

View Source
const GetEnvironmentDetailOKCode int = 200

GetEnvironmentDetailOKCode is the HTTP code returned for type GetEnvironmentDetailOK

View Source
const GetEnvironmentDetailUnauthorizedCode int = 401

GetEnvironmentDetailUnauthorizedCode is the HTTP code returned for type GetEnvironmentDetailUnauthorized

View Source
const GetEnvironmentMetricsBadRequestCode int = 400

GetEnvironmentMetricsBadRequestCode is the HTTP code returned for type GetEnvironmentMetricsBadRequest

View Source
const GetEnvironmentMetricsInternalServerErrorCode int = 500

GetEnvironmentMetricsInternalServerErrorCode is the HTTP code returned for type GetEnvironmentMetricsInternalServerError

View Source
const GetEnvironmentMetricsOKCode int = 200

GetEnvironmentMetricsOKCode is the HTTP code returned for type GetEnvironmentMetricsOK

View Source
const GetEnvironmentMetricsUnauthorizedCode int = 401

GetEnvironmentMetricsUnauthorizedCode is the HTTP code returned for type GetEnvironmentMetricsUnauthorized

View Source
const GetFrontendDetailInternalServerErrorCode int = 500

GetFrontendDetailInternalServerErrorCode is the HTTP code returned for type GetFrontendDetailInternalServerError

View Source
const GetFrontendDetailNotFoundCode int = 404

GetFrontendDetailNotFoundCode is the HTTP code returned for type GetFrontendDetailNotFound

View Source
const GetFrontendDetailOKCode int = 200

GetFrontendDetailOKCode is the HTTP code returned for type GetFrontendDetailOK

View Source
const GetFrontendDetailUnauthorizedCode int = 401

GetFrontendDetailUnauthorizedCode is the HTTP code returned for type GetFrontendDetailUnauthorized

View Source
const GetShareDetailInternalServerErrorCode int = 500

GetShareDetailInternalServerErrorCode is the HTTP code returned for type GetShareDetailInternalServerError

View Source
const GetShareDetailNotFoundCode int = 404

GetShareDetailNotFoundCode is the HTTP code returned for type GetShareDetailNotFound

View Source
const GetShareDetailOKCode int = 200

GetShareDetailOKCode is the HTTP code returned for type GetShareDetailOK

View Source
const GetShareDetailUnauthorizedCode int = 401

GetShareDetailUnauthorizedCode is the HTTP code returned for type GetShareDetailUnauthorized

View Source
const GetShareMetricsBadRequestCode int = 400

GetShareMetricsBadRequestCode is the HTTP code returned for type GetShareMetricsBadRequest

View Source
const GetShareMetricsInternalServerErrorCode int = 500

GetShareMetricsInternalServerErrorCode is the HTTP code returned for type GetShareMetricsInternalServerError

View Source
const GetShareMetricsOKCode int = 200

GetShareMetricsOKCode is the HTTP code returned for type GetShareMetricsOK

View Source
const GetShareMetricsUnauthorizedCode int = 401

GetShareMetricsUnauthorizedCode is the HTTP code returned for type GetShareMetricsUnauthorized

View Source
const OverviewInternalServerErrorCode int = 500

OverviewInternalServerErrorCode is the HTTP code returned for type OverviewInternalServerError

View Source
const OverviewOKCode int = 200

OverviewOKCode is the HTTP code returned for type OverviewOK

View Source
const VersionOKCode int = 200

VersionOKCode is the HTTP code returned for type VersionOK

Variables

This section is empty.

Functions

This section is empty.

Types

type Configuration

type Configuration struct {
	Context *middleware.Context
	Handler ConfigurationHandler
}
Configuration swagger:route GET /configuration metadata configuration

Configuration configuration API

func NewConfiguration

func NewConfiguration(ctx *middleware.Context, handler ConfigurationHandler) *Configuration

NewConfiguration creates a new http.Handler for the configuration operation

func (*Configuration) ServeHTTP

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

type ConfigurationHandler

type ConfigurationHandler interface {
	Handle(ConfigurationParams) middleware.Responder
}

ConfigurationHandler interface for that can handle valid configuration params

type ConfigurationHandlerFunc

type ConfigurationHandlerFunc func(ConfigurationParams) middleware.Responder

ConfigurationHandlerFunc turns a function with the right signature into a configuration handler

func (ConfigurationHandlerFunc) Handle

Handle executing the request and returning a response

type ConfigurationOK

type ConfigurationOK struct {

	/*
	  In: Body
	*/
	Payload *rest_model_zrok.Configuration `json:"body,omitempty"`
}

ConfigurationOK current configuration

swagger:response configurationOK

func NewConfigurationOK

func NewConfigurationOK() *ConfigurationOK

NewConfigurationOK creates ConfigurationOK with default headers values

func (*ConfigurationOK) SetPayload

func (o *ConfigurationOK) SetPayload(payload *rest_model_zrok.Configuration)

SetPayload sets the payload to the configuration o k response

func (*ConfigurationOK) WithPayload

WithPayload adds the payload to the configuration o k response

func (*ConfigurationOK) WriteResponse

func (o *ConfigurationOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type ConfigurationParams

type ConfigurationParams struct {

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

ConfigurationParams contains all the bound params for the configuration operation typically these are obtained from a http.Request

swagger:parameters configuration

func NewConfigurationParams

func NewConfigurationParams() ConfigurationParams

NewConfigurationParams creates a new ConfigurationParams object

There are no default values defined in the spec.

func (*ConfigurationParams) BindRequest

func (o *ConfigurationParams) 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 NewConfigurationParams() beforehand.

type ConfigurationURL

type ConfigurationURL struct {
	// contains filtered or unexported fields
}

ConfigurationURL generates an URL for the configuration operation

func (*ConfigurationURL) Build

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

Build a url path and query string

func (*ConfigurationURL) BuildFull

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

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

func (*ConfigurationURL) Must

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

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

func (*ConfigurationURL) SetBasePath

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

func (o *ConfigurationURL) String() string

String returns the string representation of the path with query string

func (*ConfigurationURL) StringFull

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

StringFull returns the string representation of a complete url

func (*ConfigurationURL) WithBasePath

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

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 GetAccountDetail added in v0.4.0

type GetAccountDetail struct {
	Context *middleware.Context
	Handler GetAccountDetailHandler
}
GetAccountDetail swagger:route GET /detail/account metadata getAccountDetail

GetAccountDetail get account detail API

func NewGetAccountDetail added in v0.4.0

func NewGetAccountDetail(ctx *middleware.Context, handler GetAccountDetailHandler) *GetAccountDetail

NewGetAccountDetail creates a new http.Handler for the get account detail operation

func (*GetAccountDetail) ServeHTTP added in v0.4.0

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

type GetAccountDetailHandler added in v0.4.0

type GetAccountDetailHandler interface {
	Handle(GetAccountDetailParams, *rest_model_zrok.Principal) middleware.Responder
}

GetAccountDetailHandler interface for that can handle valid get account detail params

type GetAccountDetailHandlerFunc added in v0.4.0

type GetAccountDetailHandlerFunc func(GetAccountDetailParams, *rest_model_zrok.Principal) middleware.Responder

GetAccountDetailHandlerFunc turns a function with the right signature into a get account detail handler

func (GetAccountDetailHandlerFunc) Handle added in v0.4.0

Handle executing the request and returning a response

type GetAccountDetailInternalServerError added in v0.4.0

type GetAccountDetailInternalServerError struct {
}

GetAccountDetailInternalServerError internal server error

swagger:response getAccountDetailInternalServerError

func NewGetAccountDetailInternalServerError added in v0.4.0

func NewGetAccountDetailInternalServerError() *GetAccountDetailInternalServerError

NewGetAccountDetailInternalServerError creates GetAccountDetailInternalServerError with default headers values

func (*GetAccountDetailInternalServerError) WriteResponse added in v0.4.0

WriteResponse to the client

type GetAccountDetailOK added in v0.4.0

type GetAccountDetailOK struct {

	/*
	  In: Body
	*/
	Payload rest_model_zrok.Environments `json:"body,omitempty"`
}

GetAccountDetailOK ok

swagger:response getAccountDetailOK

func NewGetAccountDetailOK added in v0.4.0

func NewGetAccountDetailOK() *GetAccountDetailOK

NewGetAccountDetailOK creates GetAccountDetailOK with default headers values

func (*GetAccountDetailOK) SetPayload added in v0.4.0

func (o *GetAccountDetailOK) SetPayload(payload rest_model_zrok.Environments)

SetPayload sets the payload to the get account detail o k response

func (*GetAccountDetailOK) WithPayload added in v0.4.0

WithPayload adds the payload to the get account detail o k response

func (*GetAccountDetailOK) WriteResponse added in v0.4.0

func (o *GetAccountDetailOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type GetAccountDetailParams added in v0.4.0

type GetAccountDetailParams struct {

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

GetAccountDetailParams contains all the bound params for the get account detail operation typically these are obtained from a http.Request

swagger:parameters getAccountDetail

func NewGetAccountDetailParams added in v0.4.0

func NewGetAccountDetailParams() GetAccountDetailParams

NewGetAccountDetailParams creates a new GetAccountDetailParams object

There are no default values defined in the spec.

func (*GetAccountDetailParams) BindRequest added in v0.4.0

func (o *GetAccountDetailParams) 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 NewGetAccountDetailParams() beforehand.

type GetAccountDetailURL added in v0.4.0

type GetAccountDetailURL struct {
	// contains filtered or unexported fields
}

GetAccountDetailURL generates an URL for the get account detail operation

func (*GetAccountDetailURL) Build added in v0.4.0

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

Build a url path and query string

func (*GetAccountDetailURL) BuildFull added in v0.4.0

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

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

func (*GetAccountDetailURL) Must added in v0.4.0

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

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

func (*GetAccountDetailURL) SetBasePath added in v0.4.0

func (o *GetAccountDetailURL) 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 (*GetAccountDetailURL) String added in v0.4.0

func (o *GetAccountDetailURL) String() string

String returns the string representation of the path with query string

func (*GetAccountDetailURL) StringFull added in v0.4.0

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

StringFull returns the string representation of a complete url

func (*GetAccountDetailURL) WithBasePath added in v0.4.0

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

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 GetAccountMetrics added in v0.4.0

type GetAccountMetrics struct {
	Context *middleware.Context
	Handler GetAccountMetricsHandler
}
GetAccountMetrics swagger:route GET /metrics/account metadata getAccountMetrics

GetAccountMetrics get account metrics API

func NewGetAccountMetrics added in v0.4.0

func NewGetAccountMetrics(ctx *middleware.Context, handler GetAccountMetricsHandler) *GetAccountMetrics

NewGetAccountMetrics creates a new http.Handler for the get account metrics operation

func (*GetAccountMetrics) ServeHTTP added in v0.4.0

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

type GetAccountMetricsBadRequest added in v0.4.0

type GetAccountMetricsBadRequest struct {
}

GetAccountMetricsBadRequest bad request

swagger:response getAccountMetricsBadRequest

func NewGetAccountMetricsBadRequest added in v0.4.0

func NewGetAccountMetricsBadRequest() *GetAccountMetricsBadRequest

NewGetAccountMetricsBadRequest creates GetAccountMetricsBadRequest with default headers values

func (*GetAccountMetricsBadRequest) WriteResponse added in v0.4.0

func (o *GetAccountMetricsBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type GetAccountMetricsHandler added in v0.4.0

type GetAccountMetricsHandler interface {
	Handle(GetAccountMetricsParams, *rest_model_zrok.Principal) middleware.Responder
}

GetAccountMetricsHandler interface for that can handle valid get account metrics params

type GetAccountMetricsHandlerFunc added in v0.4.0

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 added in v0.4.0

Handle executing the request and returning a response

type GetAccountMetricsInternalServerError added in v0.4.0

type GetAccountMetricsInternalServerError struct {
}

GetAccountMetricsInternalServerError internal server error

swagger:response getAccountMetricsInternalServerError

func NewGetAccountMetricsInternalServerError added in v0.4.0

func NewGetAccountMetricsInternalServerError() *GetAccountMetricsInternalServerError

NewGetAccountMetricsInternalServerError creates GetAccountMetricsInternalServerError with default headers values

func (*GetAccountMetricsInternalServerError) WriteResponse added in v0.4.0

WriteResponse to the client

type GetAccountMetricsOK added in v0.4.0

type GetAccountMetricsOK struct {

	/*
	  In: Body
	*/
	Payload *rest_model_zrok.Metrics `json:"body,omitempty"`
}

GetAccountMetricsOK account metrics

swagger:response getAccountMetricsOK

func NewGetAccountMetricsOK added in v0.4.0

func NewGetAccountMetricsOK() *GetAccountMetricsOK

NewGetAccountMetricsOK creates GetAccountMetricsOK with default headers values

func (*GetAccountMetricsOK) SetPayload added in v0.4.0

func (o *GetAccountMetricsOK) SetPayload(payload *rest_model_zrok.Metrics)

SetPayload sets the payload to the get account metrics o k response

func (*GetAccountMetricsOK) WithPayload added in v0.4.0

WithPayload adds the payload to the get account metrics o k response

func (*GetAccountMetricsOK) WriteResponse added in v0.4.0

func (o *GetAccountMetricsOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type GetAccountMetricsParams added in v0.4.0

type GetAccountMetricsParams struct {

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

	/*
	  In: query
	*/
	Duration *string
}

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 added in v0.4.0

func NewGetAccountMetricsParams() GetAccountMetricsParams

NewGetAccountMetricsParams creates a new GetAccountMetricsParams object

There are no default values defined in the spec.

func (*GetAccountMetricsParams) BindRequest added in v0.4.0

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 added in v0.4.0

type GetAccountMetricsURL struct {
	Duration *string
	// contains filtered or unexported fields
}

GetAccountMetricsURL generates an URL for the get account metrics operation

func (*GetAccountMetricsURL) Build added in v0.4.0

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

Build a url path and query string

func (*GetAccountMetricsURL) BuildFull added in v0.4.0

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 added in v0.4.0

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

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

func (*GetAccountMetricsURL) SetBasePath added in v0.4.0

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 added in v0.4.0

func (o *GetAccountMetricsURL) String() string

String returns the string representation of the path with query string

func (*GetAccountMetricsURL) StringFull added in v0.4.0

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

StringFull returns the string representation of a complete url

func (*GetAccountMetricsURL) WithBasePath added in v0.4.0

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 GetEnvironmentDetail

type GetEnvironmentDetail struct {
	Context *middleware.Context
	Handler GetEnvironmentDetailHandler
}
GetEnvironmentDetail swagger:route GET /detail/environment/{envZId} metadata getEnvironmentDetail

GetEnvironmentDetail get environment detail API

func NewGetEnvironmentDetail

func NewGetEnvironmentDetail(ctx *middleware.Context, handler GetEnvironmentDetailHandler) *GetEnvironmentDetail

NewGetEnvironmentDetail creates a new http.Handler for the get environment detail operation

func (*GetEnvironmentDetail) ServeHTTP

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

type GetEnvironmentDetailHandler

type GetEnvironmentDetailHandler interface {
	Handle(GetEnvironmentDetailParams, *rest_model_zrok.Principal) middleware.Responder
}

GetEnvironmentDetailHandler interface for that can handle valid get environment detail params

type GetEnvironmentDetailHandlerFunc

type GetEnvironmentDetailHandlerFunc func(GetEnvironmentDetailParams, *rest_model_zrok.Principal) middleware.Responder

GetEnvironmentDetailHandlerFunc turns a function with the right signature into a get environment detail handler

func (GetEnvironmentDetailHandlerFunc) Handle

Handle executing the request and returning a response

type GetEnvironmentDetailInternalServerError

type GetEnvironmentDetailInternalServerError struct {
}

GetEnvironmentDetailInternalServerError internal server error

swagger:response getEnvironmentDetailInternalServerError

func NewGetEnvironmentDetailInternalServerError

func NewGetEnvironmentDetailInternalServerError() *GetEnvironmentDetailInternalServerError

NewGetEnvironmentDetailInternalServerError creates GetEnvironmentDetailInternalServerError with default headers values

func (*GetEnvironmentDetailInternalServerError) WriteResponse

WriteResponse to the client

type GetEnvironmentDetailNotFound

type GetEnvironmentDetailNotFound struct {
}

GetEnvironmentDetailNotFound not found

swagger:response getEnvironmentDetailNotFound

func NewGetEnvironmentDetailNotFound

func NewGetEnvironmentDetailNotFound() *GetEnvironmentDetailNotFound

NewGetEnvironmentDetailNotFound creates GetEnvironmentDetailNotFound with default headers values

func (*GetEnvironmentDetailNotFound) WriteResponse

func (o *GetEnvironmentDetailNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type GetEnvironmentDetailOK

type GetEnvironmentDetailOK struct {

	/*
	  In: Body
	*/
	Payload *rest_model_zrok.EnvironmentAndResources `json:"body,omitempty"`
}

GetEnvironmentDetailOK ok

swagger:response getEnvironmentDetailOK

func NewGetEnvironmentDetailOK

func NewGetEnvironmentDetailOK() *GetEnvironmentDetailOK

NewGetEnvironmentDetailOK creates GetEnvironmentDetailOK with default headers values

func (*GetEnvironmentDetailOK) SetPayload

SetPayload sets the payload to the get environment detail o k response

func (*GetEnvironmentDetailOK) WithPayload

WithPayload adds the payload to the get environment detail o k response

func (*GetEnvironmentDetailOK) WriteResponse

func (o *GetEnvironmentDetailOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type GetEnvironmentDetailParams

type GetEnvironmentDetailParams struct {

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

	/*
	  Required: true
	  In: path
	*/
	EnvZID string
}

GetEnvironmentDetailParams contains all the bound params for the get environment detail operation typically these are obtained from a http.Request

swagger:parameters getEnvironmentDetail

func NewGetEnvironmentDetailParams

func NewGetEnvironmentDetailParams() GetEnvironmentDetailParams

NewGetEnvironmentDetailParams creates a new GetEnvironmentDetailParams object

There are no default values defined in the spec.

func (*GetEnvironmentDetailParams) BindRequest

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 NewGetEnvironmentDetailParams() beforehand.

type GetEnvironmentDetailURL

type GetEnvironmentDetailURL struct {
	EnvZID string
	// contains filtered or unexported fields
}

GetEnvironmentDetailURL generates an URL for the get environment detail operation

func (*GetEnvironmentDetailURL) Build

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

Build a url path and query string

func (*GetEnvironmentDetailURL) BuildFull

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

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

func (*GetEnvironmentDetailURL) Must

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

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

func (*GetEnvironmentDetailURL) SetBasePath

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

func (o *GetEnvironmentDetailURL) String() string

String returns the string representation of the path with query string

func (*GetEnvironmentDetailURL) StringFull

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

StringFull returns the string representation of a complete url

func (*GetEnvironmentDetailURL) WithBasePath

WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

type GetEnvironmentDetailUnauthorized

type GetEnvironmentDetailUnauthorized struct {
}

GetEnvironmentDetailUnauthorized unauthorized

swagger:response getEnvironmentDetailUnauthorized

func NewGetEnvironmentDetailUnauthorized

func NewGetEnvironmentDetailUnauthorized() *GetEnvironmentDetailUnauthorized

NewGetEnvironmentDetailUnauthorized creates GetEnvironmentDetailUnauthorized with default headers values

func (*GetEnvironmentDetailUnauthorized) WriteResponse

func (o *GetEnvironmentDetailUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type GetEnvironmentMetrics added in v0.4.0

type GetEnvironmentMetrics struct {
	Context *middleware.Context
	Handler GetEnvironmentMetricsHandler
}
GetEnvironmentMetrics swagger:route GET /metrics/environment/{envId} metadata getEnvironmentMetrics

GetEnvironmentMetrics get environment metrics API

func NewGetEnvironmentMetrics added in v0.4.0

func NewGetEnvironmentMetrics(ctx *middleware.Context, handler GetEnvironmentMetricsHandler) *GetEnvironmentMetrics

NewGetEnvironmentMetrics creates a new http.Handler for the get environment metrics operation

func (*GetEnvironmentMetrics) ServeHTTP added in v0.4.0

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

type GetEnvironmentMetricsBadRequest added in v0.4.0

type GetEnvironmentMetricsBadRequest struct {
}

GetEnvironmentMetricsBadRequest bad request

swagger:response getEnvironmentMetricsBadRequest

func NewGetEnvironmentMetricsBadRequest added in v0.4.0

func NewGetEnvironmentMetricsBadRequest() *GetEnvironmentMetricsBadRequest

NewGetEnvironmentMetricsBadRequest creates GetEnvironmentMetricsBadRequest with default headers values

func (*GetEnvironmentMetricsBadRequest) WriteResponse added in v0.4.0

func (o *GetEnvironmentMetricsBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type GetEnvironmentMetricsHandler added in v0.4.0

type GetEnvironmentMetricsHandler interface {
	Handle(GetEnvironmentMetricsParams, *rest_model_zrok.Principal) middleware.Responder
}

GetEnvironmentMetricsHandler interface for that can handle valid get environment metrics params

type GetEnvironmentMetricsHandlerFunc added in v0.4.0

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 added in v0.4.0

Handle executing the request and returning a response

type GetEnvironmentMetricsInternalServerError added in v0.4.0

type GetEnvironmentMetricsInternalServerError struct {
}

GetEnvironmentMetricsInternalServerError internal server error

swagger:response getEnvironmentMetricsInternalServerError

func NewGetEnvironmentMetricsInternalServerError added in v0.4.0

func NewGetEnvironmentMetricsInternalServerError() *GetEnvironmentMetricsInternalServerError

NewGetEnvironmentMetricsInternalServerError creates GetEnvironmentMetricsInternalServerError with default headers values

func (*GetEnvironmentMetricsInternalServerError) WriteResponse added in v0.4.0

WriteResponse to the client

type GetEnvironmentMetricsOK added in v0.4.0

type GetEnvironmentMetricsOK struct {

	/*
	  In: Body
	*/
	Payload *rest_model_zrok.Metrics `json:"body,omitempty"`
}

GetEnvironmentMetricsOK environment metrics

swagger:response getEnvironmentMetricsOK

func NewGetEnvironmentMetricsOK added in v0.4.0

func NewGetEnvironmentMetricsOK() *GetEnvironmentMetricsOK

NewGetEnvironmentMetricsOK creates GetEnvironmentMetricsOK with default headers values

func (*GetEnvironmentMetricsOK) SetPayload added in v0.4.0

func (o *GetEnvironmentMetricsOK) SetPayload(payload *rest_model_zrok.Metrics)

SetPayload sets the payload to the get environment metrics o k response

func (*GetEnvironmentMetricsOK) WithPayload added in v0.4.0

WithPayload adds the payload to the get environment metrics o k response

func (*GetEnvironmentMetricsOK) WriteResponse added in v0.4.0

func (o *GetEnvironmentMetricsOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type GetEnvironmentMetricsParams added in v0.4.0

type GetEnvironmentMetricsParams struct {

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

	/*
	  In: query
	*/
	Duration *string
	/*
	  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 added in v0.4.0

func NewGetEnvironmentMetricsParams() GetEnvironmentMetricsParams

NewGetEnvironmentMetricsParams creates a new GetEnvironmentMetricsParams object

There are no default values defined in the spec.

func (*GetEnvironmentMetricsParams) BindRequest added in v0.4.0

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 added in v0.4.0

type GetEnvironmentMetricsURL struct {
	EnvID string

	Duration *string
	// contains filtered or unexported fields
}

GetEnvironmentMetricsURL generates an URL for the get environment metrics operation

func (*GetEnvironmentMetricsURL) Build added in v0.4.0

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

Build a url path and query string

func (*GetEnvironmentMetricsURL) BuildFull added in v0.4.0

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 added in v0.4.0

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

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

func (*GetEnvironmentMetricsURL) SetBasePath added in v0.4.0

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 added in v0.4.0

func (o *GetEnvironmentMetricsURL) String() string

String returns the string representation of the path with query string

func (*GetEnvironmentMetricsURL) StringFull added in v0.4.0

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

StringFull returns the string representation of a complete url

func (*GetEnvironmentMetricsURL) WithBasePath added in v0.4.0

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 added in v0.4.0

type GetEnvironmentMetricsUnauthorized struct {
}

GetEnvironmentMetricsUnauthorized unauthorized

swagger:response getEnvironmentMetricsUnauthorized

func NewGetEnvironmentMetricsUnauthorized added in v0.4.0

func NewGetEnvironmentMetricsUnauthorized() *GetEnvironmentMetricsUnauthorized

NewGetEnvironmentMetricsUnauthorized creates GetEnvironmentMetricsUnauthorized with default headers values

func (*GetEnvironmentMetricsUnauthorized) WriteResponse added in v0.4.0

func (o *GetEnvironmentMetricsUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type GetFrontendDetail added in v0.4.0

type GetFrontendDetail struct {
	Context *middleware.Context
	Handler GetFrontendDetailHandler
}
GetFrontendDetail swagger:route GET /detail/frontend/{feId} metadata getFrontendDetail

GetFrontendDetail get frontend detail API

func NewGetFrontendDetail added in v0.4.0

func NewGetFrontendDetail(ctx *middleware.Context, handler GetFrontendDetailHandler) *GetFrontendDetail

NewGetFrontendDetail creates a new http.Handler for the get frontend detail operation

func (*GetFrontendDetail) ServeHTTP added in v0.4.0

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

type GetFrontendDetailHandler added in v0.4.0

type GetFrontendDetailHandler interface {
	Handle(GetFrontendDetailParams, *rest_model_zrok.Principal) middleware.Responder
}

GetFrontendDetailHandler interface for that can handle valid get frontend detail params

type GetFrontendDetailHandlerFunc added in v0.4.0

type GetFrontendDetailHandlerFunc func(GetFrontendDetailParams, *rest_model_zrok.Principal) middleware.Responder

GetFrontendDetailHandlerFunc turns a function with the right signature into a get frontend detail handler

func (GetFrontendDetailHandlerFunc) Handle added in v0.4.0

Handle executing the request and returning a response

type GetFrontendDetailInternalServerError added in v0.4.0

type GetFrontendDetailInternalServerError struct {
}

GetFrontendDetailInternalServerError internal server error

swagger:response getFrontendDetailInternalServerError

func NewGetFrontendDetailInternalServerError added in v0.4.0

func NewGetFrontendDetailInternalServerError() *GetFrontendDetailInternalServerError

NewGetFrontendDetailInternalServerError creates GetFrontendDetailInternalServerError with default headers values

func (*GetFrontendDetailInternalServerError) WriteResponse added in v0.4.0

WriteResponse to the client

type GetFrontendDetailNotFound added in v0.4.0

type GetFrontendDetailNotFound struct {
}

GetFrontendDetailNotFound not found

swagger:response getFrontendDetailNotFound

func NewGetFrontendDetailNotFound added in v0.4.0

func NewGetFrontendDetailNotFound() *GetFrontendDetailNotFound

NewGetFrontendDetailNotFound creates GetFrontendDetailNotFound with default headers values

func (*GetFrontendDetailNotFound) WriteResponse added in v0.4.0

func (o *GetFrontendDetailNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type GetFrontendDetailOK added in v0.4.0

type GetFrontendDetailOK struct {

	/*
	  In: Body
	*/
	Payload *rest_model_zrok.Frontend `json:"body,omitempty"`
}

GetFrontendDetailOK ok

swagger:response getFrontendDetailOK

func NewGetFrontendDetailOK added in v0.4.0

func NewGetFrontendDetailOK() *GetFrontendDetailOK

NewGetFrontendDetailOK creates GetFrontendDetailOK with default headers values

func (*GetFrontendDetailOK) SetPayload added in v0.4.0

func (o *GetFrontendDetailOK) SetPayload(payload *rest_model_zrok.Frontend)

SetPayload sets the payload to the get frontend detail o k response

func (*GetFrontendDetailOK) WithPayload added in v0.4.0

WithPayload adds the payload to the get frontend detail o k response

func (*GetFrontendDetailOK) WriteResponse added in v0.4.0

func (o *GetFrontendDetailOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type GetFrontendDetailParams added in v0.4.0

type GetFrontendDetailParams struct {

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

	/*
	  Required: true
	  In: path
	*/
	FeID int64
}

GetFrontendDetailParams contains all the bound params for the get frontend detail operation typically these are obtained from a http.Request

swagger:parameters getFrontendDetail

func NewGetFrontendDetailParams added in v0.4.0

func NewGetFrontendDetailParams() GetFrontendDetailParams

NewGetFrontendDetailParams creates a new GetFrontendDetailParams object

There are no default values defined in the spec.

func (*GetFrontendDetailParams) BindRequest added in v0.4.0

func (o *GetFrontendDetailParams) 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 NewGetFrontendDetailParams() beforehand.

type GetFrontendDetailURL added in v0.4.0

type GetFrontendDetailURL struct {
	FeID int64
	// contains filtered or unexported fields
}

GetFrontendDetailURL generates an URL for the get frontend detail operation

func (*GetFrontendDetailURL) Build added in v0.4.0

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

Build a url path and query string

func (*GetFrontendDetailURL) BuildFull added in v0.4.0

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

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

func (*GetFrontendDetailURL) Must added in v0.4.0

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

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

func (*GetFrontendDetailURL) SetBasePath added in v0.4.0

func (o *GetFrontendDetailURL) 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 (*GetFrontendDetailURL) String added in v0.4.0

func (o *GetFrontendDetailURL) String() string

String returns the string representation of the path with query string

func (*GetFrontendDetailURL) StringFull added in v0.4.0

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

StringFull returns the string representation of a complete url

func (*GetFrontendDetailURL) WithBasePath added in v0.4.0

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

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 GetFrontendDetailUnauthorized added in v0.4.0

type GetFrontendDetailUnauthorized struct {
}

GetFrontendDetailUnauthorized unauthorized

swagger:response getFrontendDetailUnauthorized

func NewGetFrontendDetailUnauthorized added in v0.4.0

func NewGetFrontendDetailUnauthorized() *GetFrontendDetailUnauthorized

NewGetFrontendDetailUnauthorized creates GetFrontendDetailUnauthorized with default headers values

func (*GetFrontendDetailUnauthorized) WriteResponse added in v0.4.0

func (o *GetFrontendDetailUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type GetShareDetail

type GetShareDetail struct {
	Context *middleware.Context
	Handler GetShareDetailHandler
}
GetShareDetail swagger:route GET /detail/share/{shrToken} metadata getShareDetail

GetShareDetail get share detail API

func NewGetShareDetail

func NewGetShareDetail(ctx *middleware.Context, handler GetShareDetailHandler) *GetShareDetail

NewGetShareDetail creates a new http.Handler for the get share detail operation

func (*GetShareDetail) ServeHTTP

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

type GetShareDetailHandler

type GetShareDetailHandler interface {
	Handle(GetShareDetailParams, *rest_model_zrok.Principal) middleware.Responder
}

GetShareDetailHandler interface for that can handle valid get share detail params

type GetShareDetailHandlerFunc

type GetShareDetailHandlerFunc func(GetShareDetailParams, *rest_model_zrok.Principal) middleware.Responder

GetShareDetailHandlerFunc turns a function with the right signature into a get share detail handler

func (GetShareDetailHandlerFunc) Handle

Handle executing the request and returning a response

type GetShareDetailInternalServerError

type GetShareDetailInternalServerError struct {
}

GetShareDetailInternalServerError internal server error

swagger:response getShareDetailInternalServerError

func NewGetShareDetailInternalServerError

func NewGetShareDetailInternalServerError() *GetShareDetailInternalServerError

NewGetShareDetailInternalServerError creates GetShareDetailInternalServerError with default headers values

func (*GetShareDetailInternalServerError) WriteResponse

func (o *GetShareDetailInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type GetShareDetailNotFound

type GetShareDetailNotFound struct {
}

GetShareDetailNotFound not found

swagger:response getShareDetailNotFound

func NewGetShareDetailNotFound

func NewGetShareDetailNotFound() *GetShareDetailNotFound

NewGetShareDetailNotFound creates GetShareDetailNotFound with default headers values

func (*GetShareDetailNotFound) WriteResponse

func (o *GetShareDetailNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type GetShareDetailOK

type GetShareDetailOK struct {

	/*
	  In: Body
	*/
	Payload *rest_model_zrok.Share `json:"body,omitempty"`
}

GetShareDetailOK ok

swagger:response getShareDetailOK

func NewGetShareDetailOK

func NewGetShareDetailOK() *GetShareDetailOK

NewGetShareDetailOK creates GetShareDetailOK with default headers values

func (*GetShareDetailOK) SetPayload

func (o *GetShareDetailOK) SetPayload(payload *rest_model_zrok.Share)

SetPayload sets the payload to the get share detail o k response

func (*GetShareDetailOK) WithPayload

func (o *GetShareDetailOK) WithPayload(payload *rest_model_zrok.Share) *GetShareDetailOK

WithPayload adds the payload to the get share detail o k response

func (*GetShareDetailOK) WriteResponse

func (o *GetShareDetailOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type GetShareDetailParams

type GetShareDetailParams struct {

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

	/*
	  Required: true
	  In: path
	*/
	ShrToken string
}

GetShareDetailParams contains all the bound params for the get share detail operation typically these are obtained from a http.Request

swagger:parameters getShareDetail

func NewGetShareDetailParams

func NewGetShareDetailParams() GetShareDetailParams

NewGetShareDetailParams creates a new GetShareDetailParams object

There are no default values defined in the spec.

func (*GetShareDetailParams) BindRequest

func (o *GetShareDetailParams) 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 NewGetShareDetailParams() beforehand.

type GetShareDetailURL

type GetShareDetailURL struct {
	ShrToken string
	// contains filtered or unexported fields
}

GetShareDetailURL generates an URL for the get share detail operation

func (*GetShareDetailURL) Build

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

Build a url path and query string

func (*GetShareDetailURL) BuildFull

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

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

func (*GetShareDetailURL) Must

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

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

func (*GetShareDetailURL) SetBasePath

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

func (o *GetShareDetailURL) String() string

String returns the string representation of the path with query string

func (*GetShareDetailURL) StringFull

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

StringFull returns the string representation of a complete url

func (*GetShareDetailURL) WithBasePath

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

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 GetShareDetailUnauthorized

type GetShareDetailUnauthorized struct {
}

GetShareDetailUnauthorized unauthorized

swagger:response getShareDetailUnauthorized

func NewGetShareDetailUnauthorized

func NewGetShareDetailUnauthorized() *GetShareDetailUnauthorized

NewGetShareDetailUnauthorized creates GetShareDetailUnauthorized with default headers values

func (*GetShareDetailUnauthorized) WriteResponse

func (o *GetShareDetailUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type GetShareMetrics added in v0.4.0

type GetShareMetrics struct {
	Context *middleware.Context
	Handler GetShareMetricsHandler
}
GetShareMetrics swagger:route GET /metrics/share/{shrToken} metadata getShareMetrics

GetShareMetrics get share metrics API

func NewGetShareMetrics added in v0.4.0

func NewGetShareMetrics(ctx *middleware.Context, handler GetShareMetricsHandler) *GetShareMetrics

NewGetShareMetrics creates a new http.Handler for the get share metrics operation

func (*GetShareMetrics) ServeHTTP added in v0.4.0

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

type GetShareMetricsBadRequest added in v0.4.0

type GetShareMetricsBadRequest struct {
}

GetShareMetricsBadRequest bad request

swagger:response getShareMetricsBadRequest

func NewGetShareMetricsBadRequest added in v0.4.0

func NewGetShareMetricsBadRequest() *GetShareMetricsBadRequest

NewGetShareMetricsBadRequest creates GetShareMetricsBadRequest with default headers values

func (*GetShareMetricsBadRequest) WriteResponse added in v0.4.0

func (o *GetShareMetricsBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type GetShareMetricsHandler added in v0.4.0

type GetShareMetricsHandler interface {
	Handle(GetShareMetricsParams, *rest_model_zrok.Principal) middleware.Responder
}

GetShareMetricsHandler interface for that can handle valid get share metrics params

type GetShareMetricsHandlerFunc added in v0.4.0

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 added in v0.4.0

Handle executing the request and returning a response

type GetShareMetricsInternalServerError added in v0.4.0

type GetShareMetricsInternalServerError struct {
}

GetShareMetricsInternalServerError internal server error

swagger:response getShareMetricsInternalServerError

func NewGetShareMetricsInternalServerError added in v0.4.0

func NewGetShareMetricsInternalServerError() *GetShareMetricsInternalServerError

NewGetShareMetricsInternalServerError creates GetShareMetricsInternalServerError with default headers values

func (*GetShareMetricsInternalServerError) WriteResponse added in v0.4.0

WriteResponse to the client

type GetShareMetricsOK added in v0.4.0

type GetShareMetricsOK struct {

	/*
	  In: Body
	*/
	Payload *rest_model_zrok.Metrics `json:"body,omitempty"`
}

GetShareMetricsOK share metrics

swagger:response getShareMetricsOK

func NewGetShareMetricsOK added in v0.4.0

func NewGetShareMetricsOK() *GetShareMetricsOK

NewGetShareMetricsOK creates GetShareMetricsOK with default headers values

func (*GetShareMetricsOK) SetPayload added in v0.4.0

func (o *GetShareMetricsOK) SetPayload(payload *rest_model_zrok.Metrics)

SetPayload sets the payload to the get share metrics o k response

func (*GetShareMetricsOK) WithPayload added in v0.4.0

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 added in v0.4.0

func (o *GetShareMetricsOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type GetShareMetricsParams added in v0.4.0

type GetShareMetricsParams struct {

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

	/*
	  In: query
	*/
	Duration *string
	/*
	  Required: true
	  In: path
	*/
	ShrToken string
}

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 added in v0.4.0

func NewGetShareMetricsParams() GetShareMetricsParams

NewGetShareMetricsParams creates a new GetShareMetricsParams object

There are no default values defined in the spec.

func (*GetShareMetricsParams) BindRequest added in v0.4.0

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 added in v0.4.0

type GetShareMetricsURL struct {
	ShrToken string

	Duration *string
	// contains filtered or unexported fields
}

GetShareMetricsURL generates an URL for the get share metrics operation

func (*GetShareMetricsURL) Build added in v0.4.0

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

Build a url path and query string

func (*GetShareMetricsURL) BuildFull added in v0.4.0

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 added in v0.4.0

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

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

func (*GetShareMetricsURL) SetBasePath added in v0.4.0

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 added in v0.4.0

func (o *GetShareMetricsURL) String() string

String returns the string representation of the path with query string

func (*GetShareMetricsURL) StringFull added in v0.4.0

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

StringFull returns the string representation of a complete url

func (*GetShareMetricsURL) WithBasePath added in v0.4.0

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 added in v0.4.0

type GetShareMetricsUnauthorized struct {
}

GetShareMetricsUnauthorized unauthorized

swagger:response getShareMetricsUnauthorized

func NewGetShareMetricsUnauthorized added in v0.4.0

func NewGetShareMetricsUnauthorized() *GetShareMetricsUnauthorized

NewGetShareMetricsUnauthorized creates GetShareMetricsUnauthorized with default headers values

func (*GetShareMetricsUnauthorized) WriteResponse added in v0.4.0

func (o *GetShareMetricsUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type Overview

type Overview struct {
	Context *middleware.Context
	Handler OverviewHandler
}
Overview swagger:route GET /overview metadata overview

Overview overview API

func NewOverview

func NewOverview(ctx *middleware.Context, handler OverviewHandler) *Overview

NewOverview creates a new http.Handler for the overview operation

func (*Overview) ServeHTTP

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

type OverviewHandler

type OverviewHandler interface {
	Handle(OverviewParams, *rest_model_zrok.Principal) middleware.Responder
}

OverviewHandler interface for that can handle valid overview params

type OverviewHandlerFunc

type OverviewHandlerFunc func(OverviewParams, *rest_model_zrok.Principal) middleware.Responder

OverviewHandlerFunc turns a function with the right signature into a overview handler

func (OverviewHandlerFunc) Handle

Handle executing the request and returning a response

type OverviewInternalServerError

type OverviewInternalServerError struct {

	/*
	  In: Body
	*/
	Payload rest_model_zrok.ErrorMessage `json:"body,omitempty"`
}

OverviewInternalServerError internal server error

swagger:response overviewInternalServerError

func NewOverviewInternalServerError

func NewOverviewInternalServerError() *OverviewInternalServerError

NewOverviewInternalServerError creates OverviewInternalServerError with default headers values

func (*OverviewInternalServerError) SetPayload

SetPayload sets the payload to the overview internal server error response

func (*OverviewInternalServerError) WithPayload

WithPayload adds the payload to the overview internal server error response

func (*OverviewInternalServerError) WriteResponse

func (o *OverviewInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type OverviewOK

type OverviewOK struct {

	/*
	  In: Body
	*/
	Payload *rest_model_zrok.Overview `json:"body,omitempty"`
}

OverviewOK overview returned

swagger:response overviewOK

func NewOverviewOK

func NewOverviewOK() *OverviewOK

NewOverviewOK creates OverviewOK with default headers values

func (*OverviewOK) SetPayload

func (o *OverviewOK) SetPayload(payload *rest_model_zrok.Overview)

SetPayload sets the payload to the overview o k response

func (*OverviewOK) WithPayload

func (o *OverviewOK) WithPayload(payload *rest_model_zrok.Overview) *OverviewOK

WithPayload adds the payload to the overview o k response

func (*OverviewOK) WriteResponse

func (o *OverviewOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type OverviewParams

type OverviewParams struct {

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

OverviewParams contains all the bound params for the overview operation typically these are obtained from a http.Request

swagger:parameters overview

func NewOverviewParams

func NewOverviewParams() OverviewParams

NewOverviewParams creates a new OverviewParams object

There are no default values defined in the spec.

func (*OverviewParams) BindRequest

func (o *OverviewParams) 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 NewOverviewParams() beforehand.

type OverviewURL

type OverviewURL struct {
	// contains filtered or unexported fields
}

OverviewURL generates an URL for the overview operation

func (*OverviewURL) Build

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

Build a url path and query string

func (*OverviewURL) BuildFull

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

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

func (*OverviewURL) Must

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

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

func (*OverviewURL) SetBasePath

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

func (o *OverviewURL) String() string

String returns the string representation of the path with query string

func (*OverviewURL) StringFull

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

StringFull returns the string representation of a complete url

func (*OverviewURL) WithBasePath

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

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 Version

type Version struct {
	Context *middleware.Context
	Handler VersionHandler
}
Version swagger:route GET /version metadata version

Version version API

func NewVersion

func NewVersion(ctx *middleware.Context, handler VersionHandler) *Version

NewVersion creates a new http.Handler for the version operation

func (*Version) ServeHTTP

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

type VersionHandler

type VersionHandler interface {
	Handle(VersionParams) middleware.Responder
}

VersionHandler interface for that can handle valid version params

type VersionHandlerFunc

type VersionHandlerFunc func(VersionParams) middleware.Responder

VersionHandlerFunc turns a function with the right signature into a version handler

func (VersionHandlerFunc) Handle

Handle executing the request and returning a response

type VersionOK

type VersionOK struct {

	/*
	  In: Body
	*/
	Payload rest_model_zrok.Version `json:"body,omitempty"`
}

VersionOK current server version

swagger:response versionOK

func NewVersionOK

func NewVersionOK() *VersionOK

NewVersionOK creates VersionOK with default headers values

func (*VersionOK) SetPayload

func (o *VersionOK) SetPayload(payload rest_model_zrok.Version)

SetPayload sets the payload to the version o k response

func (*VersionOK) WithPayload

func (o *VersionOK) WithPayload(payload rest_model_zrok.Version) *VersionOK

WithPayload adds the payload to the version o k response

func (*VersionOK) WriteResponse

func (o *VersionOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type VersionParams

type VersionParams struct {

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

VersionParams contains all the bound params for the version operation typically these are obtained from a http.Request

swagger:parameters version

func NewVersionParams

func NewVersionParams() VersionParams

NewVersionParams creates a new VersionParams object

There are no default values defined in the spec.

func (*VersionParams) BindRequest

func (o *VersionParams) 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 NewVersionParams() beforehand.

type VersionURL

type VersionURL struct {
	// contains filtered or unexported fields
}

VersionURL generates an URL for the version operation

func (*VersionURL) Build

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

Build a url path and query string

func (*VersionURL) BuildFull

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

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

func (*VersionURL) Must

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

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

func (*VersionURL) SetBasePath

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

func (o *VersionURL) String() string

String returns the string representation of the path with query string

func (*VersionURL) StringFull

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

StringFull returns the string representation of a complete url

func (*VersionURL) WithBasePath

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

WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

Jump to

Keyboard shortcuts

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