Documentation ¶
Index ¶
- Constants
- type DeleteServiceID
- type DeleteServiceIDFailure
- type DeleteServiceIDHandler
- type DeleteServiceIDHandlerFunc
- type DeleteServiceIDNotFound
- type DeleteServiceIDOK
- type DeleteServiceIDParams
- type DeleteServiceIDURL
- func (o *DeleteServiceIDURL) Build() (*url.URL, error)
- func (o *DeleteServiceIDURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *DeleteServiceIDURL) Must(u *url.URL, err error) *url.URL
- func (o *DeleteServiceIDURL) SetBasePath(bp string)
- func (o *DeleteServiceIDURL) String() string
- func (o *DeleteServiceIDURL) StringFull(scheme, host string) string
- func (o *DeleteServiceIDURL) WithBasePath(bp string) *DeleteServiceIDURL
- type GetService
- type GetServiceHandler
- type GetServiceHandlerFunc
- type GetServiceID
- type GetServiceIDHandler
- type GetServiceIDHandlerFunc
- type GetServiceIDNotFound
- type GetServiceIDOK
- type GetServiceIDParams
- type GetServiceIDURL
- func (o *GetServiceIDURL) Build() (*url.URL, error)
- func (o *GetServiceIDURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *GetServiceIDURL) Must(u *url.URL, err error) *url.URL
- func (o *GetServiceIDURL) SetBasePath(bp string)
- func (o *GetServiceIDURL) String() string
- func (o *GetServiceIDURL) StringFull(scheme, host string) string
- func (o *GetServiceIDURL) WithBasePath(bp string) *GetServiceIDURL
- type GetServiceOK
- type GetServiceParams
- type GetServiceURL
- func (o *GetServiceURL) Build() (*url.URL, error)
- func (o *GetServiceURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *GetServiceURL) Must(u *url.URL, err error) *url.URL
- func (o *GetServiceURL) SetBasePath(bp string)
- func (o *GetServiceURL) String() string
- func (o *GetServiceURL) StringFull(scheme, host string) string
- func (o *GetServiceURL) WithBasePath(bp string) *GetServiceURL
- type PutServiceID
- type PutServiceIDCreated
- type PutServiceIDFailure
- type PutServiceIDHandler
- type PutServiceIDHandlerFunc
- type PutServiceIDInvalidBackend
- type PutServiceIDInvalidFrontend
- type PutServiceIDOK
- type PutServiceIDParams
- type PutServiceIDURL
- func (o *PutServiceIDURL) Build() (*url.URL, error)
- func (o *PutServiceIDURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *PutServiceIDURL) Must(u *url.URL, err error) *url.URL
- func (o *PutServiceIDURL) SetBasePath(bp string)
- func (o *PutServiceIDURL) String() string
- func (o *PutServiceIDURL) StringFull(scheme, host string) string
- func (o *PutServiceIDURL) WithBasePath(bp string) *PutServiceIDURL
Constants ¶
const DeleteServiceIDFailureCode int = 500
DeleteServiceIDFailureCode is the HTTP code returned for type DeleteServiceIDFailure
const DeleteServiceIDNotFoundCode int = 404
DeleteServiceIDNotFoundCode is the HTTP code returned for type DeleteServiceIDNotFound
const DeleteServiceIDOKCode int = 200
DeleteServiceIDOKCode is the HTTP code returned for type DeleteServiceIDOK
const GetServiceIDNotFoundCode int = 404
GetServiceIDNotFoundCode is the HTTP code returned for type GetServiceIDNotFound
const GetServiceIDOKCode int = 200
GetServiceIDOKCode is the HTTP code returned for type GetServiceIDOK
const GetServiceOKCode int = 200
GetServiceOKCode is the HTTP code returned for type GetServiceOK
const PutServiceIDCreatedCode int = 201
PutServiceIDCreatedCode is the HTTP code returned for type PutServiceIDCreated
const PutServiceIDFailureCode int = 500
PutServiceIDFailureCode is the HTTP code returned for type PutServiceIDFailure
const PutServiceIDInvalidBackendCode int = 461
PutServiceIDInvalidBackendCode is the HTTP code returned for type PutServiceIDInvalidBackend
const PutServiceIDInvalidFrontendCode int = 460
PutServiceIDInvalidFrontendCode is the HTTP code returned for type PutServiceIDInvalidFrontend
const PutServiceIDOKCode int = 200
PutServiceIDOKCode is the HTTP code returned for type PutServiceIDOK
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DeleteServiceID ¶
type DeleteServiceID struct { Context *middleware.Context Handler DeleteServiceIDHandler }
DeleteServiceID swagger:route DELETE /service/{id} service deleteServiceId
Delete a service
func NewDeleteServiceID ¶
func NewDeleteServiceID(ctx *middleware.Context, handler DeleteServiceIDHandler) *DeleteServiceID
NewDeleteServiceID creates a new http.Handler for the delete service ID operation
func (*DeleteServiceID) ServeHTTP ¶
func (o *DeleteServiceID) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type DeleteServiceIDFailure ¶
DeleteServiceIDFailure Service deletion failed
swagger:response deleteServiceIdFailure
func NewDeleteServiceIDFailure ¶
func NewDeleteServiceIDFailure() *DeleteServiceIDFailure
NewDeleteServiceIDFailure creates DeleteServiceIDFailure with default headers values
func (*DeleteServiceIDFailure) SetPayload ¶
func (o *DeleteServiceIDFailure) SetPayload(payload models.Error)
SetPayload sets the payload to the delete service Id failure response
func (*DeleteServiceIDFailure) WithPayload ¶
func (o *DeleteServiceIDFailure) WithPayload(payload models.Error) *DeleteServiceIDFailure
WithPayload adds the payload to the delete service Id failure response
func (*DeleteServiceIDFailure) WriteResponse ¶
func (o *DeleteServiceIDFailure) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DeleteServiceIDHandler ¶
type DeleteServiceIDHandler interface {
Handle(DeleteServiceIDParams) middleware.Responder
}
DeleteServiceIDHandler interface for that can handle valid delete service ID params
type DeleteServiceIDHandlerFunc ¶
type DeleteServiceIDHandlerFunc func(DeleteServiceIDParams) middleware.Responder
DeleteServiceIDHandlerFunc turns a function with the right signature into a delete service ID handler
func (DeleteServiceIDHandlerFunc) Handle ¶
func (fn DeleteServiceIDHandlerFunc) Handle(params DeleteServiceIDParams) middleware.Responder
Handle executing the request and returning a response
type DeleteServiceIDNotFound ¶
type DeleteServiceIDNotFound struct { }
DeleteServiceIDNotFound Service not found
swagger:response deleteServiceIdNotFound
func NewDeleteServiceIDNotFound ¶
func NewDeleteServiceIDNotFound() *DeleteServiceIDNotFound
NewDeleteServiceIDNotFound creates DeleteServiceIDNotFound with default headers values
func (*DeleteServiceIDNotFound) WriteResponse ¶
func (o *DeleteServiceIDNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DeleteServiceIDOK ¶
type DeleteServiceIDOK struct { }
DeleteServiceIDOK Success
swagger:response deleteServiceIdOK
func NewDeleteServiceIDOK ¶
func NewDeleteServiceIDOK() *DeleteServiceIDOK
NewDeleteServiceIDOK creates DeleteServiceIDOK with default headers values
func (*DeleteServiceIDOK) WriteResponse ¶
func (o *DeleteServiceIDOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DeleteServiceIDParams ¶
type DeleteServiceIDParams struct { // HTTP Request Object HTTPRequest *http.Request /*ID of service Required: true In: path */ ID int64 }
DeleteServiceIDParams contains all the bound params for the delete service ID operation typically these are obtained from a http.Request
swagger:parameters DeleteServiceID
func NewDeleteServiceIDParams ¶
func NewDeleteServiceIDParams() DeleteServiceIDParams
NewDeleteServiceIDParams creates a new DeleteServiceIDParams object with the default values initialized.
func (*DeleteServiceIDParams) BindRequest ¶
func (o *DeleteServiceIDParams) 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 DeleteServiceIDURL ¶
type DeleteServiceIDURL struct { ID int64 // contains filtered or unexported fields }
DeleteServiceIDURL generates an URL for the delete service ID operation
func (*DeleteServiceIDURL) Build ¶
func (o *DeleteServiceIDURL) Build() (*url.URL, error)
Build a url path and query string
func (*DeleteServiceIDURL) BuildFull ¶
func (o *DeleteServiceIDURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*DeleteServiceIDURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*DeleteServiceIDURL) SetBasePath ¶
func (o *DeleteServiceIDURL) 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 (*DeleteServiceIDURL) String ¶
func (o *DeleteServiceIDURL) String() string
String returns the string representation of the path with query string
func (*DeleteServiceIDURL) StringFull ¶
func (o *DeleteServiceIDURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*DeleteServiceIDURL) WithBasePath ¶
func (o *DeleteServiceIDURL) WithBasePath(bp string) *DeleteServiceIDURL
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 GetService ¶
type GetService struct { Context *middleware.Context Handler GetServiceHandler }
GetService swagger:route GET /service service getService
Retrieve list of all services
func NewGetService ¶
func NewGetService(ctx *middleware.Context, handler GetServiceHandler) *GetService
NewGetService creates a new http.Handler for the get service operation
func (*GetService) ServeHTTP ¶
func (o *GetService) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type GetServiceHandler ¶
type GetServiceHandler interface {
Handle(GetServiceParams) middleware.Responder
}
GetServiceHandler interface for that can handle valid get service params
type GetServiceHandlerFunc ¶
type GetServiceHandlerFunc func(GetServiceParams) middleware.Responder
GetServiceHandlerFunc turns a function with the right signature into a get service handler
func (GetServiceHandlerFunc) Handle ¶
func (fn GetServiceHandlerFunc) Handle(params GetServiceParams) middleware.Responder
Handle executing the request and returning a response
type GetServiceID ¶
type GetServiceID struct { Context *middleware.Context Handler GetServiceIDHandler }
GetServiceID swagger:route GET /service/{id} service getServiceId
Retrieve configuration of a service
func NewGetServiceID ¶
func NewGetServiceID(ctx *middleware.Context, handler GetServiceIDHandler) *GetServiceID
NewGetServiceID creates a new http.Handler for the get service ID operation
func (*GetServiceID) ServeHTTP ¶
func (o *GetServiceID) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type GetServiceIDHandler ¶
type GetServiceIDHandler interface {
Handle(GetServiceIDParams) middleware.Responder
}
GetServiceIDHandler interface for that can handle valid get service ID params
type GetServiceIDHandlerFunc ¶
type GetServiceIDHandlerFunc func(GetServiceIDParams) middleware.Responder
GetServiceIDHandlerFunc turns a function with the right signature into a get service ID handler
func (GetServiceIDHandlerFunc) Handle ¶
func (fn GetServiceIDHandlerFunc) Handle(params GetServiceIDParams) middleware.Responder
Handle executing the request and returning a response
type GetServiceIDNotFound ¶
type GetServiceIDNotFound struct { }
GetServiceIDNotFound Service not found
swagger:response getServiceIdNotFound
func NewGetServiceIDNotFound ¶
func NewGetServiceIDNotFound() *GetServiceIDNotFound
NewGetServiceIDNotFound creates GetServiceIDNotFound with default headers values
func (*GetServiceIDNotFound) WriteResponse ¶
func (o *GetServiceIDNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetServiceIDOK ¶
GetServiceIDOK Success
swagger:response getServiceIdOK
func NewGetServiceIDOK ¶
func NewGetServiceIDOK() *GetServiceIDOK
NewGetServiceIDOK creates GetServiceIDOK with default headers values
func (*GetServiceIDOK) SetPayload ¶
func (o *GetServiceIDOK) SetPayload(payload *models.Service)
SetPayload sets the payload to the get service Id o k response
func (*GetServiceIDOK) WithPayload ¶
func (o *GetServiceIDOK) WithPayload(payload *models.Service) *GetServiceIDOK
WithPayload adds the payload to the get service Id o k response
func (*GetServiceIDOK) WriteResponse ¶
func (o *GetServiceIDOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetServiceIDParams ¶
type GetServiceIDParams struct { // HTTP Request Object HTTPRequest *http.Request /*ID of service Required: true In: path */ ID int64 }
GetServiceIDParams contains all the bound params for the get service ID operation typically these are obtained from a http.Request
swagger:parameters GetServiceID
func NewGetServiceIDParams ¶
func NewGetServiceIDParams() GetServiceIDParams
NewGetServiceIDParams creates a new GetServiceIDParams object with the default values initialized.
func (*GetServiceIDParams) BindRequest ¶
func (o *GetServiceIDParams) 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 GetServiceIDURL ¶
type GetServiceIDURL struct { ID int64 // contains filtered or unexported fields }
GetServiceIDURL generates an URL for the get service ID operation
func (*GetServiceIDURL) Build ¶
func (o *GetServiceIDURL) Build() (*url.URL, error)
Build a url path and query string
func (*GetServiceIDURL) BuildFull ¶
func (o *GetServiceIDURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*GetServiceIDURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*GetServiceIDURL) SetBasePath ¶
func (o *GetServiceIDURL) 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 (*GetServiceIDURL) String ¶
func (o *GetServiceIDURL) String() string
String returns the string representation of the path with query string
func (*GetServiceIDURL) StringFull ¶
func (o *GetServiceIDURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*GetServiceIDURL) WithBasePath ¶
func (o *GetServiceIDURL) WithBasePath(bp string) *GetServiceIDURL
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 GetServiceOK ¶
GetServiceOK Success
swagger:response getServiceOK
func NewGetServiceOK ¶
func NewGetServiceOK() *GetServiceOK
NewGetServiceOK creates GetServiceOK with default headers values
func (*GetServiceOK) SetPayload ¶
func (o *GetServiceOK) SetPayload(payload []*models.Service)
SetPayload sets the payload to the get service o k response
func (*GetServiceOK) WithPayload ¶
func (o *GetServiceOK) WithPayload(payload []*models.Service) *GetServiceOK
WithPayload adds the payload to the get service o k response
func (*GetServiceOK) WriteResponse ¶
func (o *GetServiceOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetServiceParams ¶
GetServiceParams contains all the bound params for the get service operation typically these are obtained from a http.Request
swagger:parameters GetService
func NewGetServiceParams ¶
func NewGetServiceParams() GetServiceParams
NewGetServiceParams creates a new GetServiceParams object with the default values initialized.
func (*GetServiceParams) BindRequest ¶
func (o *GetServiceParams) 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 GetServiceURL ¶
type GetServiceURL struct {
// contains filtered or unexported fields
}
GetServiceURL generates an URL for the get service operation
func (*GetServiceURL) Build ¶
func (o *GetServiceURL) Build() (*url.URL, error)
Build a url path and query string
func (*GetServiceURL) BuildFull ¶
func (o *GetServiceURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*GetServiceURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*GetServiceURL) SetBasePath ¶
func (o *GetServiceURL) 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 (*GetServiceURL) String ¶
func (o *GetServiceURL) String() string
String returns the string representation of the path with query string
func (*GetServiceURL) StringFull ¶
func (o *GetServiceURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*GetServiceURL) WithBasePath ¶
func (o *GetServiceURL) WithBasePath(bp string) *GetServiceURL
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 PutServiceID ¶
type PutServiceID struct { Context *middleware.Context Handler PutServiceIDHandler }
PutServiceID swagger:route PUT /service/{id} service putServiceId
Create or update service
func NewPutServiceID ¶
func NewPutServiceID(ctx *middleware.Context, handler PutServiceIDHandler) *PutServiceID
NewPutServiceID creates a new http.Handler for the put service ID operation
func (*PutServiceID) ServeHTTP ¶
func (o *PutServiceID) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type PutServiceIDCreated ¶
type PutServiceIDCreated struct { }
PutServiceIDCreated Created
swagger:response putServiceIdCreated
func NewPutServiceIDCreated ¶
func NewPutServiceIDCreated() *PutServiceIDCreated
NewPutServiceIDCreated creates PutServiceIDCreated with default headers values
func (*PutServiceIDCreated) WriteResponse ¶
func (o *PutServiceIDCreated) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type PutServiceIDFailure ¶
PutServiceIDFailure Error while creating service
swagger:response putServiceIdFailure
func NewPutServiceIDFailure ¶
func NewPutServiceIDFailure() *PutServiceIDFailure
NewPutServiceIDFailure creates PutServiceIDFailure with default headers values
func (*PutServiceIDFailure) SetPayload ¶
func (o *PutServiceIDFailure) SetPayload(payload models.Error)
SetPayload sets the payload to the put service Id failure response
func (*PutServiceIDFailure) WithPayload ¶
func (o *PutServiceIDFailure) WithPayload(payload models.Error) *PutServiceIDFailure
WithPayload adds the payload to the put service Id failure response
func (*PutServiceIDFailure) WriteResponse ¶
func (o *PutServiceIDFailure) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type PutServiceIDHandler ¶
type PutServiceIDHandler interface {
Handle(PutServiceIDParams) middleware.Responder
}
PutServiceIDHandler interface for that can handle valid put service ID params
type PutServiceIDHandlerFunc ¶
type PutServiceIDHandlerFunc func(PutServiceIDParams) middleware.Responder
PutServiceIDHandlerFunc turns a function with the right signature into a put service ID handler
func (PutServiceIDHandlerFunc) Handle ¶
func (fn PutServiceIDHandlerFunc) Handle(params PutServiceIDParams) middleware.Responder
Handle executing the request and returning a response
type PutServiceIDInvalidBackend ¶
type PutServiceIDInvalidBackend struct { /* In: Body */ Payload models.Error `json:"body,omitempty"` }
PutServiceIDInvalidBackend Invalid backend in service configuration
swagger:response putServiceIdInvalidBackend
func NewPutServiceIDInvalidBackend ¶
func NewPutServiceIDInvalidBackend() *PutServiceIDInvalidBackend
NewPutServiceIDInvalidBackend creates PutServiceIDInvalidBackend with default headers values
func (*PutServiceIDInvalidBackend) SetPayload ¶
func (o *PutServiceIDInvalidBackend) SetPayload(payload models.Error)
SetPayload sets the payload to the put service Id invalid backend response
func (*PutServiceIDInvalidBackend) WithPayload ¶
func (o *PutServiceIDInvalidBackend) WithPayload(payload models.Error) *PutServiceIDInvalidBackend
WithPayload adds the payload to the put service Id invalid backend response
func (*PutServiceIDInvalidBackend) WriteResponse ¶
func (o *PutServiceIDInvalidBackend) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type PutServiceIDInvalidFrontend ¶
type PutServiceIDInvalidFrontend struct { /* In: Body */ Payload models.Error `json:"body,omitempty"` }
PutServiceIDInvalidFrontend Invalid frontend in service configuration
swagger:response putServiceIdInvalidFrontend
func NewPutServiceIDInvalidFrontend ¶
func NewPutServiceIDInvalidFrontend() *PutServiceIDInvalidFrontend
NewPutServiceIDInvalidFrontend creates PutServiceIDInvalidFrontend with default headers values
func (*PutServiceIDInvalidFrontend) SetPayload ¶
func (o *PutServiceIDInvalidFrontend) SetPayload(payload models.Error)
SetPayload sets the payload to the put service Id invalid frontend response
func (*PutServiceIDInvalidFrontend) WithPayload ¶
func (o *PutServiceIDInvalidFrontend) WithPayload(payload models.Error) *PutServiceIDInvalidFrontend
WithPayload adds the payload to the put service Id invalid frontend response
func (*PutServiceIDInvalidFrontend) WriteResponse ¶
func (o *PutServiceIDInvalidFrontend) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type PutServiceIDOK ¶
type PutServiceIDOK struct { }
PutServiceIDOK Updated
swagger:response putServiceIdOK
func NewPutServiceIDOK ¶
func NewPutServiceIDOK() *PutServiceIDOK
NewPutServiceIDOK creates PutServiceIDOK with default headers values
func (*PutServiceIDOK) WriteResponse ¶
func (o *PutServiceIDOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type PutServiceIDParams ¶
type PutServiceIDParams struct { // HTTP Request Object HTTPRequest *http.Request /*Service configuration Required: true In: body */ Config *models.Service /*ID of service Required: true In: path */ ID int64 }
PutServiceIDParams contains all the bound params for the put service ID operation typically these are obtained from a http.Request
swagger:parameters PutServiceID
func NewPutServiceIDParams ¶
func NewPutServiceIDParams() PutServiceIDParams
NewPutServiceIDParams creates a new PutServiceIDParams object with the default values initialized.
func (*PutServiceIDParams) BindRequest ¶
func (o *PutServiceIDParams) 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 PutServiceIDURL ¶
type PutServiceIDURL struct { ID int64 // contains filtered or unexported fields }
PutServiceIDURL generates an URL for the put service ID operation
func (*PutServiceIDURL) Build ¶
func (o *PutServiceIDURL) Build() (*url.URL, error)
Build a url path and query string
func (*PutServiceIDURL) BuildFull ¶
func (o *PutServiceIDURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*PutServiceIDURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*PutServiceIDURL) SetBasePath ¶
func (o *PutServiceIDURL) 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 (*PutServiceIDURL) String ¶
func (o *PutServiceIDURL) String() string
String returns the string representation of the path with query string
func (*PutServiceIDURL) StringFull ¶
func (o *PutServiceIDURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*PutServiceIDURL) WithBasePath ¶
func (o *PutServiceIDURL) WithBasePath(bp string) *PutServiceIDURL
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_service_id.go
- delete_service_id_parameters.go
- delete_service_id_responses.go
- delete_service_id_urlbuilder.go
- get_service.go
- get_service_id.go
- get_service_id_parameters.go
- get_service_id_responses.go
- get_service_id_urlbuilder.go
- get_service_parameters.go
- get_service_responses.go
- get_service_urlbuilder.go
- put_service_id.go
- put_service_id_parameters.go
- put_service_id_responses.go
- put_service_id_urlbuilder.go