Documentation ¶
Index ¶
- Constants
- type Configuration
- type ConfigurationHandler
- type ConfigurationHandlerFunc
- type ConfigurationOK
- type ConfigurationParams
- type ConfigurationURL
- func (o *ConfigurationURL) Build() (*url.URL, error)
- func (o *ConfigurationURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *ConfigurationURL) Must(u *url.URL, err error) *url.URL
- func (o *ConfigurationURL) SetBasePath(bp string)
- func (o *ConfigurationURL) String() string
- func (o *ConfigurationURL) StringFull(scheme, host string) string
- func (o *ConfigurationURL) WithBasePath(bp string) *ConfigurationURL
- type GetEnvironmentDetail
- type GetEnvironmentDetailHandler
- type GetEnvironmentDetailHandlerFunc
- type GetEnvironmentDetailInternalServerError
- type GetEnvironmentDetailNotFound
- type GetEnvironmentDetailOK
- type GetEnvironmentDetailParams
- type GetEnvironmentDetailURL
- func (o *GetEnvironmentDetailURL) Build() (*url.URL, error)
- func (o *GetEnvironmentDetailURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *GetEnvironmentDetailURL) Must(u *url.URL, err error) *url.URL
- func (o *GetEnvironmentDetailURL) SetBasePath(bp string)
- func (o *GetEnvironmentDetailURL) String() string
- func (o *GetEnvironmentDetailURL) StringFull(scheme, host string) string
- func (o *GetEnvironmentDetailURL) WithBasePath(bp string) *GetEnvironmentDetailURL
- type GetEnvironmentDetailUnauthorized
- type GetShareDetail
- type GetShareDetailHandler
- type GetShareDetailHandlerFunc
- type GetShareDetailInternalServerError
- type GetShareDetailNotFound
- type GetShareDetailOK
- type GetShareDetailParams
- type GetShareDetailURL
- func (o *GetShareDetailURL) Build() (*url.URL, error)
- func (o *GetShareDetailURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *GetShareDetailURL) Must(u *url.URL, err error) *url.URL
- func (o *GetShareDetailURL) SetBasePath(bp string)
- func (o *GetShareDetailURL) String() string
- func (o *GetShareDetailURL) StringFull(scheme, host string) string
- func (o *GetShareDetailURL) WithBasePath(bp string) *GetShareDetailURL
- type GetShareDetailUnauthorized
- type Overview
- type OverviewHandler
- type OverviewHandlerFunc
- type OverviewInternalServerError
- func (o *OverviewInternalServerError) SetPayload(payload rest_model_zrok.ErrorMessage)
- func (o *OverviewInternalServerError) WithPayload(payload rest_model_zrok.ErrorMessage) *OverviewInternalServerError
- func (o *OverviewInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type OverviewOK
- type OverviewParams
- type OverviewURL
- func (o *OverviewURL) Build() (*url.URL, error)
- func (o *OverviewURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *OverviewURL) Must(u *url.URL, err error) *url.URL
- func (o *OverviewURL) SetBasePath(bp string)
- func (o *OverviewURL) String() string
- func (o *OverviewURL) StringFull(scheme, host string) string
- func (o *OverviewURL) WithBasePath(bp string) *OverviewURL
- type Version
- type VersionHandler
- type VersionHandlerFunc
- type VersionOK
- type VersionParams
- type VersionURL
- func (o *VersionURL) Build() (*url.URL, error)
- func (o *VersionURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *VersionURL) Must(u *url.URL, err error) *url.URL
- func (o *VersionURL) SetBasePath(bp string)
- func (o *VersionURL) String() string
- func (o *VersionURL) StringFull(scheme, host string) string
- func (o *VersionURL) WithBasePath(bp string) *VersionURL
Constants ¶
const ConfigurationOKCode int = 200
ConfigurationOKCode is the HTTP code returned for type ConfigurationOK
const GetEnvironmentDetailInternalServerErrorCode int = 500
GetEnvironmentDetailInternalServerErrorCode is the HTTP code returned for type GetEnvironmentDetailInternalServerError
const GetEnvironmentDetailNotFoundCode int = 404
GetEnvironmentDetailNotFoundCode is the HTTP code returned for type GetEnvironmentDetailNotFound
const GetEnvironmentDetailOKCode int = 200
GetEnvironmentDetailOKCode is the HTTP code returned for type GetEnvironmentDetailOK
GetEnvironmentDetailUnauthorizedCode is the HTTP code returned for type GetEnvironmentDetailUnauthorized
GetShareDetailInternalServerErrorCode is the HTTP code returned for type GetShareDetailInternalServerError
GetShareDetailNotFoundCode is the HTTP code returned for type GetShareDetailNotFound
GetShareDetailOKCode is the HTTP code returned for type GetShareDetailOK
GetShareDetailUnauthorizedCode is the HTTP code returned for type GetShareDetailUnauthorized
const OverviewInternalServerErrorCode int = 500
OverviewInternalServerErrorCode is the HTTP code returned for type OverviewInternalServerError
const OverviewOKCode int = 200
OverviewOKCode is the HTTP code returned for type OverviewOK
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 ¶
func (fn ConfigurationHandlerFunc) Handle(params ConfigurationParams) middleware.Responder
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 ¶
func (o *ConfigurationOK) WithPayload(payload *rest_model_zrok.Configuration) *ConfigurationOK
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 ¶
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 ¶
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 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 ¶
func (fn GetEnvironmentDetailHandlerFunc) Handle(params GetEnvironmentDetailParams, principal *rest_model_zrok.Principal) middleware.Responder
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 ¶
func (o *GetEnvironmentDetailInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
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.EnvironmentShares `json:"body,omitempty"` }
GetEnvironmentDetailOK ok
swagger:response getEnvironmentDetailOK
func NewGetEnvironmentDetailOK ¶
func NewGetEnvironmentDetailOK() *GetEnvironmentDetailOK
NewGetEnvironmentDetailOK creates GetEnvironmentDetailOK with default headers values
func (*GetEnvironmentDetailOK) SetPayload ¶
func (o *GetEnvironmentDetailOK) SetPayload(payload *rest_model_zrok.EnvironmentShares)
SetPayload sets the payload to the get environment detail o k response
func (*GetEnvironmentDetailOK) WithPayload ¶
func (o *GetEnvironmentDetailOK) WithPayload(payload *rest_model_zrok.EnvironmentShares) *GetEnvironmentDetailOK
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 ¶
func (o *GetEnvironmentDetailParams) 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 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 ¶
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 ¶
func (o *GetEnvironmentDetailURL) WithBasePath(bp string) *GetEnvironmentDetailURL
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 GetShareDetail ¶
type GetShareDetail struct {}
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 {
}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 ¶
func (fn GetShareDetailHandlerFunc) Handle(params GetShareDetailParams, principal *rest_model_zrok.Principal) middleware.Responder
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 { rest_model_zrok.Share `json:"body,omitempty"` }Payload *
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 ¶
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 { // 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 ¶
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 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
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 ¶
func (fn OverviewHandlerFunc) Handle(params OverviewParams, principal *rest_model_zrok.Principal) middleware.Responder
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 ¶
func (o *OverviewInternalServerError) SetPayload(payload rest_model_zrok.ErrorMessage)
SetPayload sets the payload to the overview internal server error response
func (*OverviewInternalServerError) WithPayload ¶
func (o *OverviewInternalServerError) WithPayload(payload rest_model_zrok.ErrorMessage) *OverviewInternalServerError
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.EnvironmentSharesList `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.EnvironmentSharesList)
SetPayload sets the payload to the overview o k response
func (*OverviewOK) WithPayload ¶
func (o *OverviewOK) WithPayload(payload rest_model_zrok.EnvironmentSharesList) *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 ¶
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) 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
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 ¶
func (fn VersionHandlerFunc) Handle(params VersionParams) middleware.Responder
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 ¶
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) 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
Source Files ¶
- configuration.go
- configuration_parameters.go
- configuration_responses.go
- configuration_urlbuilder.go
- get_environment_detail.go
- get_environment_detail_parameters.go
- get_environment_detail_responses.go
- get_environment_detail_urlbuilder.go
- get_share_detail.go
- get_share_detail_parameters.go
- get_share_detail_responses.go
- get_share_detail_urlbuilder.go
- overview.go
- overview_parameters.go
- overview_responses.go
- overview_urlbuilder.go
- version.go
- version_parameters.go
- version_responses.go
- version_urlbuilder.go