Documentation ¶
Index ¶
- Constants
- type DeleteSetSet
- type DeleteSetSetHandler
- type DeleteSetSetHandlerFunc
- type DeleteSetSetInternalServerError
- func (o *DeleteSetSetInternalServerError) SetPayload(payload *models.ErrorModel)
- func (o *DeleteSetSetInternalServerError) WithPayload(payload *models.ErrorModel) *DeleteSetSetInternalServerError
- func (o *DeleteSetSetInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type DeleteSetSetNotFound
- type DeleteSetSetOK
- type DeleteSetSetParams
- type DeleteSetSetURL
- func (o *DeleteSetSetURL) Build() (*url.URL, error)
- func (o *DeleteSetSetURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *DeleteSetSetURL) Must(u *url.URL, err error) *url.URL
- func (o *DeleteSetSetURL) SetBasePath(bp string)
- func (o *DeleteSetSetURL) String() string
- func (o *DeleteSetSetURL) StringFull(scheme, host string) string
- func (o *DeleteSetSetURL) WithBasePath(bp string) *DeleteSetSetURL
- type DiscoveryProxyAPI
- func (o *DiscoveryProxyAPI) AuthenticatorsFor(schemes map[string]spec.SecurityScheme) map[string]runtime.Authenticator
- func (o *DiscoveryProxyAPI) ConsumersFor(mediaTypes []string) map[string]runtime.Consumer
- func (o *DiscoveryProxyAPI) Context() *middleware.Context
- func (o *DiscoveryProxyAPI) DefaultConsumes() string
- func (o *DiscoveryProxyAPI) DefaultProduces() string
- func (o *DiscoveryProxyAPI) Formats() strfmt.Registry
- func (o *DiscoveryProxyAPI) HandlerFor(method, path string) (http.Handler, bool)
- func (o *DiscoveryProxyAPI) Init()
- func (o *DiscoveryProxyAPI) ProducersFor(mediaTypes []string) map[string]runtime.Producer
- func (o *DiscoveryProxyAPI) RegisterFormat(name string, format strfmt.Format, validator strfmt.Validator)
- func (o *DiscoveryProxyAPI) Serve(builder middleware.Builder) http.Handler
- func (o *DiscoveryProxyAPI) ServeErrorFor(operationID string) func(http.ResponseWriter, *http.Request, error)
- func (o *DiscoveryProxyAPI) SetDefaultConsumes(mediaType string)
- func (o *DiscoveryProxyAPI) SetDefaultProduces(mediaType string)
- func (o *DiscoveryProxyAPI) SetSpec(spec *loads.Document)
- func (o *DiscoveryProxyAPI) Validate() error
- type GetBackup
- type GetBackupHandler
- type GetBackupHandlerFunc
- type GetBackupInternalServerError
- type GetBackupOK
- type GetBackupParams
- type GetBackupURL
- func (o *GetBackupURL) Build() (*url.URL, error)
- func (o *GetBackupURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *GetBackupURL) Must(u *url.URL, err error) *url.URL
- func (o *GetBackupURL) SetBasePath(bp string)
- func (o *GetBackupURL) String() string
- func (o *GetBackupURL) StringFull(scheme, host string) string
- func (o *GetBackupURL) WithBasePath(bp string) *GetBackupURL
- type GetDiscover
- type GetDiscoverBadRequest
- type GetDiscoverHandler
- type GetDiscoverHandlerFunc
- type GetDiscoverOK
- type GetDiscoverParams
- type GetDiscoverURL
- func (o *GetDiscoverURL) Build() (*url.URL, error)
- func (o *GetDiscoverURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *GetDiscoverURL) Must(u *url.URL, err error) *url.URL
- func (o *GetDiscoverURL) SetBasePath(bp string)
- func (o *GetDiscoverURL) String() string
- func (o *GetDiscoverURL) StringFull(scheme, host string) string
- func (o *GetDiscoverURL) WithBasePath(bp string) *GetDiscoverURL
- type GetSetSet
- type GetSetSetHandler
- type GetSetSetHandlerFunc
- type GetSetSetInternalServerError
- type GetSetSetNotFound
- type GetSetSetOK
- type GetSetSetParams
- type GetSetSetURL
- func (o *GetSetSetURL) Build() (*url.URL, error)
- func (o *GetSetSetURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *GetSetSetURL) Must(u *url.URL, err error) *url.URL
- func (o *GetSetSetURL) SetBasePath(bp string)
- func (o *GetSetSetURL) String() string
- func (o *GetSetSetURL) StringFull(scheme, host string) string
- func (o *GetSetSetURL) WithBasePath(bp string) *GetSetSetURL
- type GetSets
- type GetSetsHandler
- type GetSetsHandlerFunc
- type GetSetsOK
- type GetSetsParams
- type GetSetsURL
- func (o *GetSetsURL) Build() (*url.URL, error)
- func (o *GetSetsURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *GetSetsURL) Must(u *url.URL, err error) *url.URL
- func (o *GetSetsURL) SetBasePath(bp string)
- func (o *GetSetsURL) String() string
- func (o *GetSetsURL) StringFull(scheme, host string) string
- func (o *GetSetsURL) WithBasePath(bp string) *GetSetsURL
- type PostSet
- type PostSetBadRequest
- type PostSetHandler
- type PostSetHandlerFunc
- type PostSetInternalServerError
- type PostSetOK
- type PostSetParams
- type PostSetURL
- func (o *PostSetURL) Build() (*url.URL, error)
- func (o *PostSetURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *PostSetURL) Must(u *url.URL, err error) *url.URL
- func (o *PostSetURL) SetBasePath(bp string)
- func (o *PostSetURL) String() string
- func (o *PostSetURL) StringFull(scheme, host string) string
- func (o *PostSetURL) WithBasePath(bp string) *PostSetURL
- type PutSetSet
- type PutSetSetHandler
- type PutSetSetHandlerFunc
- type PutSetSetInternalServerError
- type PutSetSetNotFound
- type PutSetSetOK
- type PutSetSetParams
- type PutSetSetURL
- func (o *PutSetSetURL) Build() (*url.URL, error)
- func (o *PutSetSetURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *PutSetSetURL) Must(u *url.URL, err error) *url.URL
- func (o *PutSetSetURL) SetBasePath(bp string)
- func (o *PutSetSetURL) String() string
- func (o *PutSetSetURL) StringFull(scheme, host string) string
- func (o *PutSetSetURL) WithBasePath(bp string) *PutSetSetURL
Constants ¶
const DeleteSetSetInternalServerErrorCode int = 500
DeleteSetSetInternalServerErrorCode is the HTTP code returned for type DeleteSetSetInternalServerError
const DeleteSetSetNotFoundCode int = 404
DeleteSetSetNotFoundCode is the HTTP code returned for type DeleteSetSetNotFound
const DeleteSetSetOKCode int = 200
DeleteSetSetOKCode is the HTTP code returned for type DeleteSetSetOK
const GetBackupInternalServerErrorCode int = 500
GetBackupInternalServerErrorCode is the HTTP code returned for type GetBackupInternalServerError
const GetBackupOKCode int = 200
GetBackupOKCode is the HTTP code returned for type GetBackupOK
const GetDiscoverBadRequestCode int = 400
GetDiscoverBadRequestCode is the HTTP code returned for type GetDiscoverBadRequest
const GetDiscoverOKCode int = 200
GetDiscoverOKCode is the HTTP code returned for type GetDiscoverOK
const GetSetSetInternalServerErrorCode int = 500
GetSetSetInternalServerErrorCode is the HTTP code returned for type GetSetSetInternalServerError
const GetSetSetNotFoundCode int = 404
GetSetSetNotFoundCode is the HTTP code returned for type GetSetSetNotFound
const GetSetSetOKCode int = 200
GetSetSetOKCode is the HTTP code returned for type GetSetSetOK
const GetSetsOKCode int = 200
GetSetsOKCode is the HTTP code returned for type GetSetsOK
const PostSetBadRequestCode int = 400
PostSetBadRequestCode is the HTTP code returned for type PostSetBadRequest
const PostSetInternalServerErrorCode int = 500
PostSetInternalServerErrorCode is the HTTP code returned for type PostSetInternalServerError
const PostSetOKCode int = 200
PostSetOKCode is the HTTP code returned for type PostSetOK
const PutSetSetInternalServerErrorCode int = 500
PutSetSetInternalServerErrorCode is the HTTP code returned for type PutSetSetInternalServerError
const PutSetSetNotFoundCode int = 404
PutSetSetNotFoundCode is the HTTP code returned for type PutSetSetNotFound
const PutSetSetOKCode int = 200
PutSetSetOKCode is the HTTP code returned for type PutSetSetOK
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DeleteSetSet ¶
type DeleteSetSet struct { Context *middleware.Context Handler DeleteSetSetHandler }
DeleteSetSet swagger:route DELETE /set/{set} deleteSetSet
Delete a set
func NewDeleteSetSet ¶
func NewDeleteSetSet(ctx *middleware.Context, handler DeleteSetSetHandler) *DeleteSetSet
NewDeleteSetSet creates a new http.Handler for the delete set set operation
func (*DeleteSetSet) ServeHTTP ¶
func (o *DeleteSetSet) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type DeleteSetSetHandler ¶
type DeleteSetSetHandler interface {
Handle(DeleteSetSetParams) middleware.Responder
}
DeleteSetSetHandler interface for that can handle valid delete set set params
type DeleteSetSetHandlerFunc ¶
type DeleteSetSetHandlerFunc func(DeleteSetSetParams) middleware.Responder
DeleteSetSetHandlerFunc turns a function with the right signature into a delete set set handler
func (DeleteSetSetHandlerFunc) Handle ¶
func (fn DeleteSetSetHandlerFunc) Handle(params DeleteSetSetParams) middleware.Responder
Handle executing the request and returning a response
type DeleteSetSetInternalServerError ¶
type DeleteSetSetInternalServerError struct { /* In: Body */ Payload *models.ErrorModel `json:"body,omitempty"` }
DeleteSetSetInternalServerError Standard Error Format
swagger:response deleteSetSetInternalServerError
func NewDeleteSetSetInternalServerError ¶
func NewDeleteSetSetInternalServerError() *DeleteSetSetInternalServerError
NewDeleteSetSetInternalServerError creates DeleteSetSetInternalServerError with default headers values
func (*DeleteSetSetInternalServerError) SetPayload ¶
func (o *DeleteSetSetInternalServerError) SetPayload(payload *models.ErrorModel)
SetPayload sets the payload to the delete set set internal server error response
func (*DeleteSetSetInternalServerError) WithPayload ¶
func (o *DeleteSetSetInternalServerError) WithPayload(payload *models.ErrorModel) *DeleteSetSetInternalServerError
WithPayload adds the payload to the delete set set internal server error response
func (*DeleteSetSetInternalServerError) WriteResponse ¶
func (o *DeleteSetSetInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DeleteSetSetNotFound ¶
type DeleteSetSetNotFound struct { }
DeleteSetSetNotFound Not found
swagger:response deleteSetSetNotFound
func NewDeleteSetSetNotFound ¶
func NewDeleteSetSetNotFound() *DeleteSetSetNotFound
NewDeleteSetSetNotFound creates DeleteSetSetNotFound with default headers values
func (*DeleteSetSetNotFound) WriteResponse ¶
func (o *DeleteSetSetNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DeleteSetSetOK ¶
type DeleteSetSetOK struct { /* In: Body */ Payload *models.SuccessModel `json:"body,omitempty"` }
DeleteSetSetOK Basic successful request
swagger:response deleteSetSetOK
func NewDeleteSetSetOK ¶
func NewDeleteSetSetOK() *DeleteSetSetOK
NewDeleteSetSetOK creates DeleteSetSetOK with default headers values
func (*DeleteSetSetOK) SetPayload ¶
func (o *DeleteSetSetOK) SetPayload(payload *models.SuccessModel)
SetPayload sets the payload to the delete set set o k response
func (*DeleteSetSetOK) WithPayload ¶
func (o *DeleteSetSetOK) WithPayload(payload *models.SuccessModel) *DeleteSetSetOK
WithPayload adds the payload to the delete set set o k response
func (*DeleteSetSetOK) WriteResponse ¶
func (o *DeleteSetSetOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DeleteSetSetParams ¶
type DeleteSetSetParams struct { // HTTP Request Object HTTPRequest *http.Request /*Node set to delete Required: true In: path */ Set string }
DeleteSetSetParams contains all the bound params for the delete set set operation typically these are obtained from a http.Request
swagger:parameters DeleteSetSet
func NewDeleteSetSetParams ¶
func NewDeleteSetSetParams() DeleteSetSetParams
NewDeleteSetSetParams creates a new DeleteSetSetParams object with the default values initialized.
func (*DeleteSetSetParams) BindRequest ¶
func (o *DeleteSetSetParams) 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
type DeleteSetSetURL ¶
type DeleteSetSetURL struct { Set string // contains filtered or unexported fields }
DeleteSetSetURL generates an URL for the delete set set operation
func (*DeleteSetSetURL) Build ¶
func (o *DeleteSetSetURL) Build() (*url.URL, error)
Build a url path and query string
func (*DeleteSetSetURL) BuildFull ¶
func (o *DeleteSetSetURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*DeleteSetSetURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*DeleteSetSetURL) SetBasePath ¶
func (o *DeleteSetSetURL) 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 (*DeleteSetSetURL) String ¶
func (o *DeleteSetSetURL) String() string
String returns the string representation of the path with query string
func (*DeleteSetSetURL) StringFull ¶
func (o *DeleteSetSetURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*DeleteSetSetURL) WithBasePath ¶
func (o *DeleteSetSetURL) WithBasePath(bp string) *DeleteSetSetURL
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 DiscoveryProxyAPI ¶
type DiscoveryProxyAPI struct { Middleware func(middleware.Builder) http.Handler // BasicAuthenticator generates a runtime.Authenticator from the supplied basic auth function. // It has a default implemention in the security package, however you can replace it for your particular usage. BasicAuthenticator func(security.UserPassAuthentication) runtime.Authenticator // APIKeyAuthenticator generates a runtime.Authenticator from the supplied token auth function. // It has a default implemention in the security package, however you can replace it for your particular usage. APIKeyAuthenticator func(string, string, security.TokenAuthentication) runtime.Authenticator // BearerAuthenticator generates a runtime.Authenticator from the supplied bearer token auth function. // It has a default implemention in the security package, however you can replace it for your particular usage. BearerAuthenticator func(string, security.ScopedTokenAuthentication) runtime.Authenticator // JSONConsumer registers a consumer for a "application/json" mime type JSONConsumer runtime.Consumer // JSONProducer registers a producer for a "application/json" mime type JSONProducer runtime.Producer // BinProducer registers a producer for a "application/octet-stream" mime type BinProducer runtime.Producer // DeleteSetSetHandler sets the operation handler for the delete set set operation DeleteSetSetHandler DeleteSetSetHandler // GetBackupHandler sets the operation handler for the get backup operation GetBackupHandler GetBackupHandler // GetDiscoverHandler sets the operation handler for the get discover operation GetDiscoverHandler GetDiscoverHandler // GetSetSetHandler sets the operation handler for the get set set operation GetSetSetHandler GetSetSetHandler // GetSetsHandler sets the operation handler for the get sets operation GetSetsHandler GetSetsHandler // PostSetHandler sets the operation handler for the post set operation PostSetHandler PostSetHandler // PutSetSetHandler sets the operation handler for the put set set operation PutSetSetHandler PutSetSetHandler // ServeError is called when an error is received, there is a default handler // but you can set your own with this ServeError func(http.ResponseWriter, *http.Request, error) // ServerShutdown is called when the HTTP(S) server is shut down and done // handling all active connections and does not accept connections any more ServerShutdown func() // Custom command line argument groups with their descriptions CommandLineOptionsGroups []swag.CommandLineOptionsGroup // User defined logger function. Logger func(string, ...interface{}) // contains filtered or unexported fields }
DiscoveryProxyAPI API to do Choria Discovery via REST services
func NewDiscoveryProxyAPI ¶
func NewDiscoveryProxyAPI(spec *loads.Document) *DiscoveryProxyAPI
NewDiscoveryProxyAPI creates a new DiscoveryProxy instance
func (*DiscoveryProxyAPI) AuthenticatorsFor ¶
func (o *DiscoveryProxyAPI) AuthenticatorsFor(schemes map[string]spec.SecurityScheme) map[string]runtime.Authenticator
AuthenticatorsFor gets the authenticators for the specified security schemes
func (*DiscoveryProxyAPI) ConsumersFor ¶
func (o *DiscoveryProxyAPI) ConsumersFor(mediaTypes []string) map[string]runtime.Consumer
ConsumersFor gets the consumers for the specified media types
func (*DiscoveryProxyAPI) Context ¶
func (o *DiscoveryProxyAPI) Context() *middleware.Context
Context returns the middleware context for the discovery proxy API
func (*DiscoveryProxyAPI) DefaultConsumes ¶
func (o *DiscoveryProxyAPI) DefaultConsumes() string
DefaultConsumes returns the default consumes media type
func (*DiscoveryProxyAPI) DefaultProduces ¶
func (o *DiscoveryProxyAPI) DefaultProduces() string
DefaultProduces returns the default produces media type
func (*DiscoveryProxyAPI) Formats ¶
func (o *DiscoveryProxyAPI) Formats() strfmt.Registry
Formats returns the registered string formats
func (*DiscoveryProxyAPI) HandlerFor ¶
func (o *DiscoveryProxyAPI) HandlerFor(method, path string) (http.Handler, bool)
HandlerFor gets a http.Handler for the provided operation method and path
func (*DiscoveryProxyAPI) Init ¶
func (o *DiscoveryProxyAPI) Init()
Init allows you to just initialize the handler cache, you can then recompose the middelware as you see fit
func (*DiscoveryProxyAPI) ProducersFor ¶
func (o *DiscoveryProxyAPI) ProducersFor(mediaTypes []string) map[string]runtime.Producer
ProducersFor gets the producers for the specified media types
func (*DiscoveryProxyAPI) RegisterFormat ¶
func (o *DiscoveryProxyAPI) RegisterFormat(name string, format strfmt.Format, validator strfmt.Validator)
RegisterFormat registers a custom format validator
func (*DiscoveryProxyAPI) Serve ¶
func (o *DiscoveryProxyAPI) Serve(builder middleware.Builder) http.Handler
Serve creates a http handler to serve the API over HTTP can be used directly in http.ListenAndServe(":8000", api.Serve(nil))
func (*DiscoveryProxyAPI) ServeErrorFor ¶
func (o *DiscoveryProxyAPI) ServeErrorFor(operationID string) func(http.ResponseWriter, *http.Request, error)
ServeErrorFor gets a error handler for a given operation id
func (*DiscoveryProxyAPI) SetDefaultConsumes ¶
func (o *DiscoveryProxyAPI) SetDefaultConsumes(mediaType string)
SetDefaultConsumes returns the default consumes media type
func (*DiscoveryProxyAPI) SetDefaultProduces ¶
func (o *DiscoveryProxyAPI) SetDefaultProduces(mediaType string)
SetDefaultProduces sets the default produces media type
func (*DiscoveryProxyAPI) SetSpec ¶
func (o *DiscoveryProxyAPI) SetSpec(spec *loads.Document)
SetSpec sets a spec that will be served for the clients.
func (*DiscoveryProxyAPI) Validate ¶
func (o *DiscoveryProxyAPI) Validate() error
Validate validates the registrations in the DiscoveryProxyAPI
type GetBackup ¶
type GetBackup struct { Context *middleware.Context Handler GetBackupHandler }
GetBackup swagger:route GET /backup getBackup
Produce a DB backup
func NewGetBackup ¶
func NewGetBackup(ctx *middleware.Context, handler GetBackupHandler) *GetBackup
NewGetBackup creates a new http.Handler for the get backup operation
type GetBackupHandler ¶
type GetBackupHandler interface {
Handle(GetBackupParams) middleware.Responder
}
GetBackupHandler interface for that can handle valid get backup params
type GetBackupHandlerFunc ¶
type GetBackupHandlerFunc func(GetBackupParams) middleware.Responder
GetBackupHandlerFunc turns a function with the right signature into a get backup handler
func (GetBackupHandlerFunc) Handle ¶
func (fn GetBackupHandlerFunc) Handle(params GetBackupParams) middleware.Responder
Handle executing the request and returning a response
type GetBackupInternalServerError ¶
type GetBackupInternalServerError struct { /* In: Body */ Payload *models.ErrorModel `json:"body,omitempty"` }
GetBackupInternalServerError Standard Error Format
swagger:response getBackupInternalServerError
func NewGetBackupInternalServerError ¶
func NewGetBackupInternalServerError() *GetBackupInternalServerError
NewGetBackupInternalServerError creates GetBackupInternalServerError with default headers values
func (*GetBackupInternalServerError) SetPayload ¶
func (o *GetBackupInternalServerError) SetPayload(payload *models.ErrorModel)
SetPayload sets the payload to the get backup internal server error response
func (*GetBackupInternalServerError) WithPayload ¶
func (o *GetBackupInternalServerError) WithPayload(payload *models.ErrorModel) *GetBackupInternalServerError
WithPayload adds the payload to the get backup internal server error response
func (*GetBackupInternalServerError) WriteResponse ¶
func (o *GetBackupInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetBackupOK ¶
type GetBackupOK struct { /* In: Body */ Payload *models.SuccessModel `json:"body,omitempty"` }
GetBackupOK Basic successful request
swagger:response getBackupOK
func NewGetBackupOK ¶
func NewGetBackupOK() *GetBackupOK
NewGetBackupOK creates GetBackupOK with default headers values
func (*GetBackupOK) SetPayload ¶
func (o *GetBackupOK) SetPayload(payload *models.SuccessModel)
SetPayload sets the payload to the get backup o k response
func (*GetBackupOK) WithPayload ¶
func (o *GetBackupOK) WithPayload(payload *models.SuccessModel) *GetBackupOK
WithPayload adds the payload to the get backup o k response
func (*GetBackupOK) WriteResponse ¶
func (o *GetBackupOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetBackupParams ¶
GetBackupParams contains all the bound params for the get backup operation typically these are obtained from a http.Request
swagger:parameters GetBackup
func NewGetBackupParams ¶
func NewGetBackupParams() GetBackupParams
NewGetBackupParams creates a new GetBackupParams object with the default values initialized.
func (*GetBackupParams) BindRequest ¶
func (o *GetBackupParams) 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
type GetBackupURL ¶
type GetBackupURL struct {
// contains filtered or unexported fields
}
GetBackupURL generates an URL for the get backup operation
func (*GetBackupURL) Build ¶
func (o *GetBackupURL) Build() (*url.URL, error)
Build a url path and query string
func (*GetBackupURL) BuildFull ¶
func (o *GetBackupURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*GetBackupURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*GetBackupURL) SetBasePath ¶
func (o *GetBackupURL) 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 (*GetBackupURL) String ¶
func (o *GetBackupURL) String() string
String returns the string representation of the path with query string
func (*GetBackupURL) StringFull ¶
func (o *GetBackupURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*GetBackupURL) WithBasePath ¶
func (o *GetBackupURL) WithBasePath(bp string) *GetBackupURL
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 GetDiscover ¶
type GetDiscover struct { Context *middleware.Context Handler GetDiscoverHandler }
GetDiscover swagger:route GET /discover getDiscover
Perform a discovery request
func NewGetDiscover ¶
func NewGetDiscover(ctx *middleware.Context, handler GetDiscoverHandler) *GetDiscover
NewGetDiscover creates a new http.Handler for the get discover operation
func (*GetDiscover) ServeHTTP ¶
func (o *GetDiscover) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type GetDiscoverBadRequest ¶
type GetDiscoverBadRequest struct { /* In: Body */ Payload *models.ErrorModel `json:"body,omitempty"` }
GetDiscoverBadRequest Standard Error Format
swagger:response getDiscoverBadRequest
func NewGetDiscoverBadRequest ¶
func NewGetDiscoverBadRequest() *GetDiscoverBadRequest
NewGetDiscoverBadRequest creates GetDiscoverBadRequest with default headers values
func (*GetDiscoverBadRequest) SetPayload ¶
func (o *GetDiscoverBadRequest) SetPayload(payload *models.ErrorModel)
SetPayload sets the payload to the get discover bad request response
func (*GetDiscoverBadRequest) WithPayload ¶
func (o *GetDiscoverBadRequest) WithPayload(payload *models.ErrorModel) *GetDiscoverBadRequest
WithPayload adds the payload to the get discover bad request response
func (*GetDiscoverBadRequest) WriteResponse ¶
func (o *GetDiscoverBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetDiscoverHandler ¶
type GetDiscoverHandler interface {
Handle(GetDiscoverParams) middleware.Responder
}
GetDiscoverHandler interface for that can handle valid get discover params
type GetDiscoverHandlerFunc ¶
type GetDiscoverHandlerFunc func(GetDiscoverParams) middleware.Responder
GetDiscoverHandlerFunc turns a function with the right signature into a get discover handler
func (GetDiscoverHandlerFunc) Handle ¶
func (fn GetDiscoverHandlerFunc) Handle(params GetDiscoverParams) middleware.Responder
Handle executing the request and returning a response
type GetDiscoverOK ¶
type GetDiscoverOK struct { /* In: Body */ Payload *models.DiscoverySuccessModel `json:"body,omitempty"` }
GetDiscoverOK Basic successful discovery request
swagger:response getDiscoverOK
func NewGetDiscoverOK ¶
func NewGetDiscoverOK() *GetDiscoverOK
NewGetDiscoverOK creates GetDiscoverOK with default headers values
func (*GetDiscoverOK) SetPayload ¶
func (o *GetDiscoverOK) SetPayload(payload *models.DiscoverySuccessModel)
SetPayload sets the payload to the get discover o k response
func (*GetDiscoverOK) WithPayload ¶
func (o *GetDiscoverOK) WithPayload(payload *models.DiscoverySuccessModel) *GetDiscoverOK
WithPayload adds the payload to the get discover o k response
func (*GetDiscoverOK) WriteResponse ¶
func (o *GetDiscoverOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetDiscoverParams ¶
type GetDiscoverParams struct { // HTTP Request Object HTTPRequest *http.Request /*Filter description Required: true In: body */ Request *models.DiscoveryRequest }
GetDiscoverParams contains all the bound params for the get discover operation typically these are obtained from a http.Request
swagger:parameters GetDiscover
func NewGetDiscoverParams ¶
func NewGetDiscoverParams() GetDiscoverParams
NewGetDiscoverParams creates a new GetDiscoverParams object with the default values initialized.
func (*GetDiscoverParams) BindRequest ¶
func (o *GetDiscoverParams) 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
type GetDiscoverURL ¶
type GetDiscoverURL struct {
// contains filtered or unexported fields
}
GetDiscoverURL generates an URL for the get discover operation
func (*GetDiscoverURL) Build ¶
func (o *GetDiscoverURL) Build() (*url.URL, error)
Build a url path and query string
func (*GetDiscoverURL) BuildFull ¶
func (o *GetDiscoverURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*GetDiscoverURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*GetDiscoverURL) SetBasePath ¶
func (o *GetDiscoverURL) 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 (*GetDiscoverURL) String ¶
func (o *GetDiscoverURL) String() string
String returns the string representation of the path with query string
func (*GetDiscoverURL) StringFull ¶
func (o *GetDiscoverURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*GetDiscoverURL) WithBasePath ¶
func (o *GetDiscoverURL) WithBasePath(bp string) *GetDiscoverURL
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 GetSetSet ¶
type GetSetSet struct { Context *middleware.Context Handler GetSetSetHandler }
GetSetSet swagger:route GET /set/{set} getSetSet
Retrieves the query or nodes for a set
func NewGetSetSet ¶
func NewGetSetSet(ctx *middleware.Context, handler GetSetSetHandler) *GetSetSet
NewGetSetSet creates a new http.Handler for the get set set operation
type GetSetSetHandler ¶
type GetSetSetHandler interface {
Handle(GetSetSetParams) middleware.Responder
}
GetSetSetHandler interface for that can handle valid get set set params
type GetSetSetHandlerFunc ¶
type GetSetSetHandlerFunc func(GetSetSetParams) middleware.Responder
GetSetSetHandlerFunc turns a function with the right signature into a get set set handler
func (GetSetSetHandlerFunc) Handle ¶
func (fn GetSetSetHandlerFunc) Handle(params GetSetSetParams) middleware.Responder
Handle executing the request and returning a response
type GetSetSetInternalServerError ¶
type GetSetSetInternalServerError struct { /* In: Body */ Payload *models.ErrorModel `json:"body,omitempty"` }
GetSetSetInternalServerError Standard Error Format
swagger:response getSetSetInternalServerError
func NewGetSetSetInternalServerError ¶
func NewGetSetSetInternalServerError() *GetSetSetInternalServerError
NewGetSetSetInternalServerError creates GetSetSetInternalServerError with default headers values
func (*GetSetSetInternalServerError) SetPayload ¶
func (o *GetSetSetInternalServerError) SetPayload(payload *models.ErrorModel)
SetPayload sets the payload to the get set set internal server error response
func (*GetSetSetInternalServerError) WithPayload ¶
func (o *GetSetSetInternalServerError) WithPayload(payload *models.ErrorModel) *GetSetSetInternalServerError
WithPayload adds the payload to the get set set internal server error response
func (*GetSetSetInternalServerError) WriteResponse ¶
func (o *GetSetSetInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetSetSetNotFound ¶
type GetSetSetNotFound struct { }
GetSetSetNotFound Not found
swagger:response getSetSetNotFound
func NewGetSetSetNotFound ¶
func NewGetSetSetNotFound() *GetSetSetNotFound
NewGetSetSetNotFound creates GetSetSetNotFound with default headers values
func (*GetSetSetNotFound) WriteResponse ¶
func (o *GetSetSetNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetSetSetOK ¶
GetSetSetOK Node Set
swagger:response getSetSetOK
func NewGetSetSetOK ¶
func NewGetSetSetOK() *GetSetSetOK
NewGetSetSetOK creates GetSetSetOK with default headers values
func (*GetSetSetOK) SetPayload ¶
func (o *GetSetSetOK) SetPayload(payload *models.Set)
SetPayload sets the payload to the get set set o k response
func (*GetSetSetOK) WithPayload ¶
func (o *GetSetSetOK) WithPayload(payload *models.Set) *GetSetSetOK
WithPayload adds the payload to the get set set o k response
func (*GetSetSetOK) WriteResponse ¶
func (o *GetSetSetOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetSetSetParams ¶
type GetSetSetParams struct { // HTTP Request Object HTTPRequest *http.Request /*Also include the matching nodes if the set is a PQL query In: query Default: false */ Discover *bool /*Node set to retrieve Required: true In: path */ Set string }
GetSetSetParams contains all the bound params for the get set set operation typically these are obtained from a http.Request
swagger:parameters GetSetSet
func NewGetSetSetParams ¶
func NewGetSetSetParams() GetSetSetParams
NewGetSetSetParams creates a new GetSetSetParams object with the default values initialized.
func (*GetSetSetParams) BindRequest ¶
func (o *GetSetSetParams) 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
type GetSetSetURL ¶
GetSetSetURL generates an URL for the get set set operation
func (*GetSetSetURL) Build ¶
func (o *GetSetSetURL) Build() (*url.URL, error)
Build a url path and query string
func (*GetSetSetURL) BuildFull ¶
func (o *GetSetSetURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*GetSetSetURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*GetSetSetURL) SetBasePath ¶
func (o *GetSetSetURL) 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 (*GetSetSetURL) String ¶
func (o *GetSetSetURL) String() string
String returns the string representation of the path with query string
func (*GetSetSetURL) StringFull ¶
func (o *GetSetSetURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*GetSetSetURL) WithBasePath ¶
func (o *GetSetSetURL) WithBasePath(bp string) *GetSetSetURL
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 GetSets ¶
type GetSets struct { Context *middleware.Context Handler GetSetsHandler }
GetSets swagger:route GET /sets getSets
Retrieve list of known sets
func NewGetSets ¶
func NewGetSets(ctx *middleware.Context, handler GetSetsHandler) *GetSets
NewGetSets creates a new http.Handler for the get sets operation
type GetSetsHandler ¶
type GetSetsHandler interface {
Handle(GetSetsParams) middleware.Responder
}
GetSetsHandler interface for that can handle valid get sets params
type GetSetsHandlerFunc ¶
type GetSetsHandlerFunc func(GetSetsParams) middleware.Responder
GetSetsHandlerFunc turns a function with the right signature into a get sets handler
func (GetSetsHandlerFunc) Handle ¶
func (fn GetSetsHandlerFunc) Handle(params GetSetsParams) middleware.Responder
Handle executing the request and returning a response
type GetSetsOK ¶
GetSetsOK Known Sets
swagger:response getSetsOK
func NewGetSetsOK ¶
func NewGetSetsOK() *GetSetsOK
NewGetSetsOK creates GetSetsOK with default headers values
func (*GetSetsOK) SetPayload ¶
SetPayload sets the payload to the get sets o k response
func (*GetSetsOK) WithPayload ¶
WithPayload adds the payload to the get sets o k response
func (*GetSetsOK) WriteResponse ¶
func (o *GetSetsOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetSetsParams ¶
GetSetsParams contains all the bound params for the get sets operation typically these are obtained from a http.Request
swagger:parameters GetSets
func NewGetSetsParams ¶
func NewGetSetsParams() GetSetsParams
NewGetSetsParams creates a new GetSetsParams object with the default values initialized.
func (*GetSetsParams) BindRequest ¶
func (o *GetSetsParams) 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
type GetSetsURL ¶
type GetSetsURL struct {
// contains filtered or unexported fields
}
GetSetsURL generates an URL for the get sets operation
func (*GetSetsURL) Build ¶
func (o *GetSetsURL) Build() (*url.URL, error)
Build a url path and query string
func (*GetSetsURL) BuildFull ¶
func (o *GetSetsURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*GetSetsURL) SetBasePath ¶
func (o *GetSetsURL) 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 (*GetSetsURL) String ¶
func (o *GetSetsURL) String() string
String returns the string representation of the path with query string
func (*GetSetsURL) StringFull ¶
func (o *GetSetsURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*GetSetsURL) WithBasePath ¶
func (o *GetSetsURL) WithBasePath(bp string) *GetSetsURL
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 PostSet ¶
type PostSet struct { Context *middleware.Context Handler PostSetHandler }
PostSet swagger:route POST /set postSet
Create a new set
func NewPostSet ¶
func NewPostSet(ctx *middleware.Context, handler PostSetHandler) *PostSet
NewPostSet creates a new http.Handler for the post set operation
type PostSetBadRequest ¶
type PostSetBadRequest struct { /* In: Body */ Payload *models.ErrorModel `json:"body,omitempty"` }
PostSetBadRequest Standard Error Format
swagger:response postSetBadRequest
func NewPostSetBadRequest ¶
func NewPostSetBadRequest() *PostSetBadRequest
NewPostSetBadRequest creates PostSetBadRequest with default headers values
func (*PostSetBadRequest) SetPayload ¶
func (o *PostSetBadRequest) SetPayload(payload *models.ErrorModel)
SetPayload sets the payload to the post set bad request response
func (*PostSetBadRequest) WithPayload ¶
func (o *PostSetBadRequest) WithPayload(payload *models.ErrorModel) *PostSetBadRequest
WithPayload adds the payload to the post set bad request response
func (*PostSetBadRequest) WriteResponse ¶
func (o *PostSetBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type PostSetHandler ¶
type PostSetHandler interface {
Handle(PostSetParams) middleware.Responder
}
PostSetHandler interface for that can handle valid post set params
type PostSetHandlerFunc ¶
type PostSetHandlerFunc func(PostSetParams) middleware.Responder
PostSetHandlerFunc turns a function with the right signature into a post set handler
func (PostSetHandlerFunc) Handle ¶
func (fn PostSetHandlerFunc) Handle(params PostSetParams) middleware.Responder
Handle executing the request and returning a response
type PostSetInternalServerError ¶
type PostSetInternalServerError struct { /* In: Body */ Payload *models.ErrorModel `json:"body,omitempty"` }
PostSetInternalServerError Standard Error Format
swagger:response postSetInternalServerError
func NewPostSetInternalServerError ¶
func NewPostSetInternalServerError() *PostSetInternalServerError
NewPostSetInternalServerError creates PostSetInternalServerError with default headers values
func (*PostSetInternalServerError) SetPayload ¶
func (o *PostSetInternalServerError) SetPayload(payload *models.ErrorModel)
SetPayload sets the payload to the post set internal server error response
func (*PostSetInternalServerError) WithPayload ¶
func (o *PostSetInternalServerError) WithPayload(payload *models.ErrorModel) *PostSetInternalServerError
WithPayload adds the payload to the post set internal server error response
func (*PostSetInternalServerError) WriteResponse ¶
func (o *PostSetInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type PostSetOK ¶
type PostSetOK struct { /* In: Body */ Payload *models.SuccessModel `json:"body,omitempty"` }
PostSetOK Basic successful request
swagger:response postSetOK
func NewPostSetOK ¶
func NewPostSetOK() *PostSetOK
NewPostSetOK creates PostSetOK with default headers values
func (*PostSetOK) SetPayload ¶
func (o *PostSetOK) SetPayload(payload *models.SuccessModel)
SetPayload sets the payload to the post set o k response
func (*PostSetOK) WithPayload ¶
func (o *PostSetOK) WithPayload(payload *models.SuccessModel) *PostSetOK
WithPayload adds the payload to the post set o k response
func (*PostSetOK) WriteResponse ¶
func (o *PostSetOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type PostSetParams ¶
type PostSetParams struct { // HTTP Request Object HTTPRequest *http.Request /*Node set to store Required: true In: body */ Set *models.Set }
PostSetParams contains all the bound params for the post set operation typically these are obtained from a http.Request
swagger:parameters PostSet
func NewPostSetParams ¶
func NewPostSetParams() PostSetParams
NewPostSetParams creates a new PostSetParams object with the default values initialized.
func (*PostSetParams) BindRequest ¶
func (o *PostSetParams) 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
type PostSetURL ¶
type PostSetURL struct {
// contains filtered or unexported fields
}
PostSetURL generates an URL for the post set operation
func (*PostSetURL) Build ¶
func (o *PostSetURL) Build() (*url.URL, error)
Build a url path and query string
func (*PostSetURL) BuildFull ¶
func (o *PostSetURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*PostSetURL) SetBasePath ¶
func (o *PostSetURL) 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 (*PostSetURL) String ¶
func (o *PostSetURL) String() string
String returns the string representation of the path with query string
func (*PostSetURL) StringFull ¶
func (o *PostSetURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*PostSetURL) WithBasePath ¶
func (o *PostSetURL) WithBasePath(bp string) *PostSetURL
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 PutSetSet ¶
type PutSetSet struct { Context *middleware.Context Handler PutSetSetHandler }
PutSetSet swagger:route PUT /set/{set} putSetSet
Update a set
func NewPutSetSet ¶
func NewPutSetSet(ctx *middleware.Context, handler PutSetSetHandler) *PutSetSet
NewPutSetSet creates a new http.Handler for the put set set operation
type PutSetSetHandler ¶
type PutSetSetHandler interface {
Handle(PutSetSetParams) middleware.Responder
}
PutSetSetHandler interface for that can handle valid put set set params
type PutSetSetHandlerFunc ¶
type PutSetSetHandlerFunc func(PutSetSetParams) middleware.Responder
PutSetSetHandlerFunc turns a function with the right signature into a put set set handler
func (PutSetSetHandlerFunc) Handle ¶
func (fn PutSetSetHandlerFunc) Handle(params PutSetSetParams) middleware.Responder
Handle executing the request and returning a response
type PutSetSetInternalServerError ¶
type PutSetSetInternalServerError struct { /* In: Body */ Payload *models.ErrorModel `json:"body,omitempty"` }
PutSetSetInternalServerError Standard Error Format
swagger:response putSetSetInternalServerError
func NewPutSetSetInternalServerError ¶
func NewPutSetSetInternalServerError() *PutSetSetInternalServerError
NewPutSetSetInternalServerError creates PutSetSetInternalServerError with default headers values
func (*PutSetSetInternalServerError) SetPayload ¶
func (o *PutSetSetInternalServerError) SetPayload(payload *models.ErrorModel)
SetPayload sets the payload to the put set set internal server error response
func (*PutSetSetInternalServerError) WithPayload ¶
func (o *PutSetSetInternalServerError) WithPayload(payload *models.ErrorModel) *PutSetSetInternalServerError
WithPayload adds the payload to the put set set internal server error response
func (*PutSetSetInternalServerError) WriteResponse ¶
func (o *PutSetSetInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type PutSetSetNotFound ¶
type PutSetSetNotFound struct { }
PutSetSetNotFound Not found
swagger:response putSetSetNotFound
func NewPutSetSetNotFound ¶
func NewPutSetSetNotFound() *PutSetSetNotFound
NewPutSetSetNotFound creates PutSetSetNotFound with default headers values
func (*PutSetSetNotFound) WriteResponse ¶
func (o *PutSetSetNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type PutSetSetOK ¶
type PutSetSetOK struct { /* In: Body */ Payload *models.SuccessModel `json:"body,omitempty"` }
PutSetSetOK Basic successful request
swagger:response putSetSetOK
func NewPutSetSetOK ¶
func NewPutSetSetOK() *PutSetSetOK
NewPutSetSetOK creates PutSetSetOK with default headers values
func (*PutSetSetOK) SetPayload ¶
func (o *PutSetSetOK) SetPayload(payload *models.SuccessModel)
SetPayload sets the payload to the put set set o k response
func (*PutSetSetOK) WithPayload ¶
func (o *PutSetSetOK) WithPayload(payload *models.SuccessModel) *PutSetSetOK
WithPayload adds the payload to the put set set o k response
func (*PutSetSetOK) WriteResponse ¶
func (o *PutSetSetOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type PutSetSetParams ¶
type PutSetSetParams struct { // HTTP Request Object HTTPRequest *http.Request /*Set Properties Required: true In: body */ NewSet *models.Set /*Node set to retrieve Required: true In: path */ Set string }
PutSetSetParams contains all the bound params for the put set set operation typically these are obtained from a http.Request
swagger:parameters PutSetSet
func NewPutSetSetParams ¶
func NewPutSetSetParams() PutSetSetParams
NewPutSetSetParams creates a new PutSetSetParams object with the default values initialized.
func (*PutSetSetParams) BindRequest ¶
func (o *PutSetSetParams) 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
type PutSetSetURL ¶
type PutSetSetURL struct { Set string // contains filtered or unexported fields }
PutSetSetURL generates an URL for the put set set operation
func (*PutSetSetURL) Build ¶
func (o *PutSetSetURL) Build() (*url.URL, error)
Build a url path and query string
func (*PutSetSetURL) BuildFull ¶
func (o *PutSetSetURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*PutSetSetURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*PutSetSetURL) SetBasePath ¶
func (o *PutSetSetURL) 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 (*PutSetSetURL) String ¶
func (o *PutSetSetURL) String() string
String returns the string representation of the path with query string
func (*PutSetSetURL) StringFull ¶
func (o *PutSetSetURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*PutSetSetURL) WithBasePath ¶
func (o *PutSetSetURL) WithBasePath(bp string) *PutSetSetURL
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 ¶
- delete_set_set.go
- delete_set_set_parameters.go
- delete_set_set_responses.go
- delete_set_set_urlbuilder.go
- discovery_proxy_api.go
- get_backup.go
- get_backup_parameters.go
- get_backup_responses.go
- get_backup_urlbuilder.go
- get_discover.go
- get_discover_parameters.go
- get_discover_responses.go
- get_discover_urlbuilder.go
- get_set_set.go
- get_set_set_parameters.go
- get_set_set_responses.go
- get_set_set_urlbuilder.go
- get_sets.go
- get_sets_parameters.go
- get_sets_responses.go
- get_sets_urlbuilder.go
- post_set.go
- post_set_parameters.go
- post_set_responses.go
- post_set_urlbuilder.go
- put_set_set.go
- put_set_set_parameters.go
- put_set_set_responses.go
- put_set_set_urlbuilder.go