metadata

package
v0.3.2 Latest Latest
Warning

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

Go to latest
Published: Feb 21, 2023 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const ConfigurationOKCode int = 200

ConfigurationOKCode is the HTTP code returned for type ConfigurationOK

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 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 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 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.EnvironmentShares `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 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 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.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

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