Documentation ¶
Index ¶
- Constants
- type GetHAProxyConfiguration
- type GetHAProxyConfigurationDefault
- func (o *GetHAProxyConfigurationDefault) SetConfigurationVersion(configurationVersion int64)
- func (o *GetHAProxyConfigurationDefault) SetPayload(payload *models.Error)
- func (o *GetHAProxyConfigurationDefault) SetStatusCode(code int)
- func (o *GetHAProxyConfigurationDefault) WithConfigurationVersion(configurationVersion int64) *GetHAProxyConfigurationDefault
- func (o *GetHAProxyConfigurationDefault) WithPayload(payload *models.Error) *GetHAProxyConfigurationDefault
- func (o *GetHAProxyConfigurationDefault) WithStatusCode(code int) *GetHAProxyConfigurationDefault
- func (o *GetHAProxyConfigurationDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetHAProxyConfigurationHandler
- type GetHAProxyConfigurationHandlerFunc
- type GetHAProxyConfigurationOK
- func (o *GetHAProxyConfigurationOK) SetConfigurationVersion(configurationVersion int64)
- func (o *GetHAProxyConfigurationOK) SetPayload(payload *GetHAProxyConfigurationOKBody)
- func (o *GetHAProxyConfigurationOK) WithConfigurationVersion(configurationVersion int64) *GetHAProxyConfigurationOK
- func (o *GetHAProxyConfigurationOK) WithPayload(payload *GetHAProxyConfigurationOKBody) *GetHAProxyConfigurationOK
- func (o *GetHAProxyConfigurationOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetHAProxyConfigurationOKBody
- type GetHAProxyConfigurationParams
- type GetHAProxyConfigurationURL
- func (o *GetHAProxyConfigurationURL) Build() (*url.URL, error)
- func (o *GetHAProxyConfigurationURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *GetHAProxyConfigurationURL) Must(u *url.URL, err error) *url.URL
- func (o *GetHAProxyConfigurationURL) SetBasePath(bp string)
- func (o *GetHAProxyConfigurationURL) String() string
- func (o *GetHAProxyConfigurationURL) StringFull(scheme, host string) string
- func (o *GetHAProxyConfigurationURL) WithBasePath(bp string) *GetHAProxyConfigurationURL
- type PostHAProxyConfiguration
- type PostHAProxyConfigurationAccepted
- func (o *PostHAProxyConfigurationAccepted) SetPayload(payload string)
- func (o *PostHAProxyConfigurationAccepted) SetReloadID(reloadID string)
- func (o *PostHAProxyConfigurationAccepted) WithPayload(payload string) *PostHAProxyConfigurationAccepted
- func (o *PostHAProxyConfigurationAccepted) WithReloadID(reloadID string) *PostHAProxyConfigurationAccepted
- func (o *PostHAProxyConfigurationAccepted) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type PostHAProxyConfigurationBadRequest
- func (o *PostHAProxyConfigurationBadRequest) SetConfigurationVersion(configurationVersion int64)
- func (o *PostHAProxyConfigurationBadRequest) SetPayload(payload *models.Error)
- func (o *PostHAProxyConfigurationBadRequest) WithConfigurationVersion(configurationVersion int64) *PostHAProxyConfigurationBadRequest
- func (o *PostHAProxyConfigurationBadRequest) WithPayload(payload *models.Error) *PostHAProxyConfigurationBadRequest
- func (o *PostHAProxyConfigurationBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type PostHAProxyConfigurationCreated
- type PostHAProxyConfigurationDefault
- func (o *PostHAProxyConfigurationDefault) SetConfigurationVersion(configurationVersion int64)
- func (o *PostHAProxyConfigurationDefault) SetPayload(payload *models.Error)
- func (o *PostHAProxyConfigurationDefault) SetStatusCode(code int)
- func (o *PostHAProxyConfigurationDefault) WithConfigurationVersion(configurationVersion int64) *PostHAProxyConfigurationDefault
- func (o *PostHAProxyConfigurationDefault) WithPayload(payload *models.Error) *PostHAProxyConfigurationDefault
- func (o *PostHAProxyConfigurationDefault) WithStatusCode(code int) *PostHAProxyConfigurationDefault
- func (o *PostHAProxyConfigurationDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type PostHAProxyConfigurationHandler
- type PostHAProxyConfigurationHandlerFunc
- type PostHAProxyConfigurationParams
- type PostHAProxyConfigurationURL
- func (o *PostHAProxyConfigurationURL) Build() (*url.URL, error)
- func (o *PostHAProxyConfigurationURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *PostHAProxyConfigurationURL) Must(u *url.URL, err error) *url.URL
- func (o *PostHAProxyConfigurationURL) SetBasePath(bp string)
- func (o *PostHAProxyConfigurationURL) String() string
- func (o *PostHAProxyConfigurationURL) StringFull(scheme, host string) string
- func (o *PostHAProxyConfigurationURL) WithBasePath(bp string) *PostHAProxyConfigurationURL
Constants ¶
const GetHAProxyConfigurationOKCode int = 200
GetHAProxyConfigurationOKCode is the HTTP code returned for type GetHAProxyConfigurationOK
const PostHAProxyConfigurationAcceptedCode int = 202
PostHAProxyConfigurationAcceptedCode is the HTTP code returned for type PostHAProxyConfigurationAccepted
const PostHAProxyConfigurationBadRequestCode int = 400
PostHAProxyConfigurationBadRequestCode is the HTTP code returned for type PostHAProxyConfigurationBadRequest
const PostHAProxyConfigurationCreatedCode int = 201
PostHAProxyConfigurationCreatedCode is the HTTP code returned for type PostHAProxyConfigurationCreated
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GetHAProxyConfiguration ¶
type GetHAProxyConfiguration struct { Context *middleware.Context Handler GetHAProxyConfigurationHandler }
GetHAProxyConfiguration swagger:route GET /services/haproxy/configuration/raw Configuration getHAProxyConfiguration
Return HAProxy configuration ¶
Returns HAProxy configuration file in plain text
func NewGetHAProxyConfiguration ¶
func NewGetHAProxyConfiguration(ctx *middleware.Context, handler GetHAProxyConfigurationHandler) *GetHAProxyConfiguration
NewGetHAProxyConfiguration creates a new http.Handler for the get h a proxy configuration operation
func (*GetHAProxyConfiguration) ServeHTTP ¶
func (o *GetHAProxyConfiguration) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type GetHAProxyConfigurationDefault ¶
type GetHAProxyConfigurationDefault struct { /*Configuration file version */ ConfigurationVersion int64 `json:"Configuration-Version"` /* In: Body */ Payload *models.Error `json:"body,omitempty"` // contains filtered or unexported fields }
GetHAProxyConfigurationDefault General Error
swagger:response getHAProxyConfigurationDefault
func NewGetHAProxyConfigurationDefault ¶
func NewGetHAProxyConfigurationDefault(code int) *GetHAProxyConfigurationDefault
NewGetHAProxyConfigurationDefault creates GetHAProxyConfigurationDefault with default headers values
func (*GetHAProxyConfigurationDefault) SetConfigurationVersion ¶ added in v1.2.2
func (o *GetHAProxyConfigurationDefault) SetConfigurationVersion(configurationVersion int64)
SetConfigurationVersion sets the configurationVersion to the get h a proxy configuration default response
func (*GetHAProxyConfigurationDefault) SetPayload ¶
func (o *GetHAProxyConfigurationDefault) SetPayload(payload *models.Error)
SetPayload sets the payload to the get h a proxy configuration default response
func (*GetHAProxyConfigurationDefault) SetStatusCode ¶
func (o *GetHAProxyConfigurationDefault) SetStatusCode(code int)
SetStatusCode sets the status to the get h a proxy configuration default response
func (*GetHAProxyConfigurationDefault) WithConfigurationVersion ¶ added in v1.2.2
func (o *GetHAProxyConfigurationDefault) WithConfigurationVersion(configurationVersion int64) *GetHAProxyConfigurationDefault
WithConfigurationVersion adds the configurationVersion to the get h a proxy configuration default response
func (*GetHAProxyConfigurationDefault) WithPayload ¶
func (o *GetHAProxyConfigurationDefault) WithPayload(payload *models.Error) *GetHAProxyConfigurationDefault
WithPayload adds the payload to the get h a proxy configuration default response
func (*GetHAProxyConfigurationDefault) WithStatusCode ¶
func (o *GetHAProxyConfigurationDefault) WithStatusCode(code int) *GetHAProxyConfigurationDefault
WithStatusCode adds the status to the get h a proxy configuration default response
func (*GetHAProxyConfigurationDefault) WriteResponse ¶
func (o *GetHAProxyConfigurationDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetHAProxyConfigurationHandler ¶
type GetHAProxyConfigurationHandler interface {
Handle(GetHAProxyConfigurationParams, interface{}) middleware.Responder
}
GetHAProxyConfigurationHandler interface for that can handle valid get h a proxy configuration params
type GetHAProxyConfigurationHandlerFunc ¶
type GetHAProxyConfigurationHandlerFunc func(GetHAProxyConfigurationParams, interface{}) middleware.Responder
GetHAProxyConfigurationHandlerFunc turns a function with the right signature into a get h a proxy configuration handler
func (GetHAProxyConfigurationHandlerFunc) Handle ¶
func (fn GetHAProxyConfigurationHandlerFunc) Handle(params GetHAProxyConfigurationParams, principal interface{}) middleware.Responder
Handle executing the request and returning a response
type GetHAProxyConfigurationOK ¶
type GetHAProxyConfigurationOK struct { /*Configuration file version */ ConfigurationVersion int64 `json:"Configuration-Version"` /* In: Body */ Payload *GetHAProxyConfigurationOKBody `json:"body,omitempty"` }
GetHAProxyConfigurationOK Operation successful
swagger:response getHAProxyConfigurationOK
func NewGetHAProxyConfigurationOK ¶
func NewGetHAProxyConfigurationOK() *GetHAProxyConfigurationOK
NewGetHAProxyConfigurationOK creates GetHAProxyConfigurationOK with default headers values
func (*GetHAProxyConfigurationOK) SetConfigurationVersion ¶ added in v1.2.2
func (o *GetHAProxyConfigurationOK) SetConfigurationVersion(configurationVersion int64)
SetConfigurationVersion sets the configurationVersion to the get h a proxy configuration o k response
func (*GetHAProxyConfigurationOK) SetPayload ¶
func (o *GetHAProxyConfigurationOK) SetPayload(payload *GetHAProxyConfigurationOKBody)
SetPayload sets the payload to the get h a proxy configuration o k response
func (*GetHAProxyConfigurationOK) WithConfigurationVersion ¶ added in v1.2.2
func (o *GetHAProxyConfigurationOK) WithConfigurationVersion(configurationVersion int64) *GetHAProxyConfigurationOK
WithConfigurationVersion adds the configurationVersion to the get h a proxy configuration o k response
func (*GetHAProxyConfigurationOK) WithPayload ¶
func (o *GetHAProxyConfigurationOK) WithPayload(payload *GetHAProxyConfigurationOKBody) *GetHAProxyConfigurationOK
WithPayload adds the payload to the get h a proxy configuration o k response
func (*GetHAProxyConfigurationOK) WriteResponse ¶
func (o *GetHAProxyConfigurationOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetHAProxyConfigurationOKBody ¶
type GetHAProxyConfigurationOKBody struct { // version Version int64 `json:"_version,omitempty"` // data // Required: true Data *string `json:"data"` }
GetHAProxyConfigurationOKBody get h a proxy configuration o k body swagger:model GetHAProxyConfigurationOKBody
func (*GetHAProxyConfigurationOKBody) MarshalBinary ¶
func (o *GetHAProxyConfigurationOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetHAProxyConfigurationOKBody) UnmarshalBinary ¶
func (o *GetHAProxyConfigurationOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetHAProxyConfigurationParams ¶
type GetHAProxyConfigurationParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*ID of the transaction where we want to add the operation. Cannot be used when version is specified. In: query */ TransactionID *string /*Version used for checking configuration version. Cannot be used when transaction is specified, transaction has it's own version. In: query */ Version *int64 }
GetHAProxyConfigurationParams contains all the bound params for the get h a proxy configuration operation typically these are obtained from a http.Request
swagger:parameters getHAProxyConfiguration
func NewGetHAProxyConfigurationParams ¶
func NewGetHAProxyConfigurationParams() GetHAProxyConfigurationParams
NewGetHAProxyConfigurationParams creates a new GetHAProxyConfigurationParams object no default values defined in spec.
func (*GetHAProxyConfigurationParams) BindRequest ¶
func (o *GetHAProxyConfigurationParams) 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 NewGetHAProxyConfigurationParams() beforehand.
type GetHAProxyConfigurationURL ¶
type GetHAProxyConfigurationURL struct { TransactionID *string Version *int64 // contains filtered or unexported fields }
GetHAProxyConfigurationURL generates an URL for the get h a proxy configuration operation
func (*GetHAProxyConfigurationURL) Build ¶
func (o *GetHAProxyConfigurationURL) Build() (*url.URL, error)
Build a url path and query string
func (*GetHAProxyConfigurationURL) BuildFull ¶
func (o *GetHAProxyConfigurationURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*GetHAProxyConfigurationURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*GetHAProxyConfigurationURL) SetBasePath ¶
func (o *GetHAProxyConfigurationURL) 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 (*GetHAProxyConfigurationURL) String ¶
func (o *GetHAProxyConfigurationURL) String() string
String returns the string representation of the path with query string
func (*GetHAProxyConfigurationURL) StringFull ¶
func (o *GetHAProxyConfigurationURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*GetHAProxyConfigurationURL) WithBasePath ¶
func (o *GetHAProxyConfigurationURL) WithBasePath(bp string) *GetHAProxyConfigurationURL
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 PostHAProxyConfiguration ¶
type PostHAProxyConfiguration struct { Context *middleware.Context Handler PostHAProxyConfigurationHandler }
PostHAProxyConfiguration swagger:route POST /services/haproxy/configuration/raw Configuration postHAProxyConfiguration
Push new haproxy configuration ¶
Push a new haproxy configuration file in plain text
func NewPostHAProxyConfiguration ¶
func NewPostHAProxyConfiguration(ctx *middleware.Context, handler PostHAProxyConfigurationHandler) *PostHAProxyConfiguration
NewPostHAProxyConfiguration creates a new http.Handler for the post h a proxy configuration operation
func (*PostHAProxyConfiguration) ServeHTTP ¶
func (o *PostHAProxyConfiguration) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type PostHAProxyConfigurationAccepted ¶
type PostHAProxyConfigurationAccepted struct { /*ID of the requested reload */ ReloadID string `json:"Reload-ID"` /* In: Body */ Payload string `json:"body,omitempty"` }
PostHAProxyConfigurationAccepted Configuration change accepted and reload requested
swagger:response postHAProxyConfigurationAccepted
func NewPostHAProxyConfigurationAccepted ¶
func NewPostHAProxyConfigurationAccepted() *PostHAProxyConfigurationAccepted
NewPostHAProxyConfigurationAccepted creates PostHAProxyConfigurationAccepted with default headers values
func (*PostHAProxyConfigurationAccepted) SetPayload ¶
func (o *PostHAProxyConfigurationAccepted) SetPayload(payload string)
SetPayload sets the payload to the post h a proxy configuration accepted response
func (*PostHAProxyConfigurationAccepted) SetReloadID ¶
func (o *PostHAProxyConfigurationAccepted) SetReloadID(reloadID string)
SetReloadID sets the reloadId to the post h a proxy configuration accepted response
func (*PostHAProxyConfigurationAccepted) WithPayload ¶
func (o *PostHAProxyConfigurationAccepted) WithPayload(payload string) *PostHAProxyConfigurationAccepted
WithPayload adds the payload to the post h a proxy configuration accepted response
func (*PostHAProxyConfigurationAccepted) WithReloadID ¶
func (o *PostHAProxyConfigurationAccepted) WithReloadID(reloadID string) *PostHAProxyConfigurationAccepted
WithReloadID adds the reloadId to the post h a proxy configuration accepted response
func (*PostHAProxyConfigurationAccepted) WriteResponse ¶
func (o *PostHAProxyConfigurationAccepted) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type PostHAProxyConfigurationBadRequest ¶
type PostHAProxyConfigurationBadRequest struct { /*Configuration file version */ ConfigurationVersion int64 `json:"Configuration-Version"` /* In: Body */ Payload *models.Error `json:"body,omitempty"` }
PostHAProxyConfigurationBadRequest Bad request
swagger:response postHAProxyConfigurationBadRequest
func NewPostHAProxyConfigurationBadRequest ¶
func NewPostHAProxyConfigurationBadRequest() *PostHAProxyConfigurationBadRequest
NewPostHAProxyConfigurationBadRequest creates PostHAProxyConfigurationBadRequest with default headers values
func (*PostHAProxyConfigurationBadRequest) SetConfigurationVersion ¶ added in v1.2.2
func (o *PostHAProxyConfigurationBadRequest) SetConfigurationVersion(configurationVersion int64)
SetConfigurationVersion sets the configurationVersion to the post h a proxy configuration bad request response
func (*PostHAProxyConfigurationBadRequest) SetPayload ¶
func (o *PostHAProxyConfigurationBadRequest) SetPayload(payload *models.Error)
SetPayload sets the payload to the post h a proxy configuration bad request response
func (*PostHAProxyConfigurationBadRequest) WithConfigurationVersion ¶ added in v1.2.2
func (o *PostHAProxyConfigurationBadRequest) WithConfigurationVersion(configurationVersion int64) *PostHAProxyConfigurationBadRequest
WithConfigurationVersion adds the configurationVersion to the post h a proxy configuration bad request response
func (*PostHAProxyConfigurationBadRequest) WithPayload ¶
func (o *PostHAProxyConfigurationBadRequest) WithPayload(payload *models.Error) *PostHAProxyConfigurationBadRequest
WithPayload adds the payload to the post h a proxy configuration bad request response
func (*PostHAProxyConfigurationBadRequest) WriteResponse ¶
func (o *PostHAProxyConfigurationBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type PostHAProxyConfigurationCreated ¶
type PostHAProxyConfigurationCreated struct { /* In: Body */ Payload string `json:"body,omitempty"` }
PostHAProxyConfigurationCreated New HAProxy configuration pushed
swagger:response postHAProxyConfigurationCreated
func NewPostHAProxyConfigurationCreated ¶
func NewPostHAProxyConfigurationCreated() *PostHAProxyConfigurationCreated
NewPostHAProxyConfigurationCreated creates PostHAProxyConfigurationCreated with default headers values
func (*PostHAProxyConfigurationCreated) SetPayload ¶
func (o *PostHAProxyConfigurationCreated) SetPayload(payload string)
SetPayload sets the payload to the post h a proxy configuration created response
func (*PostHAProxyConfigurationCreated) WithPayload ¶
func (o *PostHAProxyConfigurationCreated) WithPayload(payload string) *PostHAProxyConfigurationCreated
WithPayload adds the payload to the post h a proxy configuration created response
func (*PostHAProxyConfigurationCreated) WriteResponse ¶
func (o *PostHAProxyConfigurationCreated) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type PostHAProxyConfigurationDefault ¶
type PostHAProxyConfigurationDefault struct { /*Configuration file version */ ConfigurationVersion int64 `json:"Configuration-Version"` /* In: Body */ Payload *models.Error `json:"body,omitempty"` // contains filtered or unexported fields }
PostHAProxyConfigurationDefault General Error
swagger:response postHAProxyConfigurationDefault
func NewPostHAProxyConfigurationDefault ¶
func NewPostHAProxyConfigurationDefault(code int) *PostHAProxyConfigurationDefault
NewPostHAProxyConfigurationDefault creates PostHAProxyConfigurationDefault with default headers values
func (*PostHAProxyConfigurationDefault) SetConfigurationVersion ¶ added in v1.2.2
func (o *PostHAProxyConfigurationDefault) SetConfigurationVersion(configurationVersion int64)
SetConfigurationVersion sets the configurationVersion to the post h a proxy configuration default response
func (*PostHAProxyConfigurationDefault) SetPayload ¶
func (o *PostHAProxyConfigurationDefault) SetPayload(payload *models.Error)
SetPayload sets the payload to the post h a proxy configuration default response
func (*PostHAProxyConfigurationDefault) SetStatusCode ¶
func (o *PostHAProxyConfigurationDefault) SetStatusCode(code int)
SetStatusCode sets the status to the post h a proxy configuration default response
func (*PostHAProxyConfigurationDefault) WithConfigurationVersion ¶ added in v1.2.2
func (o *PostHAProxyConfigurationDefault) WithConfigurationVersion(configurationVersion int64) *PostHAProxyConfigurationDefault
WithConfigurationVersion adds the configurationVersion to the post h a proxy configuration default response
func (*PostHAProxyConfigurationDefault) WithPayload ¶
func (o *PostHAProxyConfigurationDefault) WithPayload(payload *models.Error) *PostHAProxyConfigurationDefault
WithPayload adds the payload to the post h a proxy configuration default response
func (*PostHAProxyConfigurationDefault) WithStatusCode ¶
func (o *PostHAProxyConfigurationDefault) WithStatusCode(code int) *PostHAProxyConfigurationDefault
WithStatusCode adds the status to the post h a proxy configuration default response
func (*PostHAProxyConfigurationDefault) WriteResponse ¶
func (o *PostHAProxyConfigurationDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type PostHAProxyConfigurationHandler ¶
type PostHAProxyConfigurationHandler interface {
Handle(PostHAProxyConfigurationParams, interface{}) middleware.Responder
}
PostHAProxyConfigurationHandler interface for that can handle valid post h a proxy configuration params
type PostHAProxyConfigurationHandlerFunc ¶
type PostHAProxyConfigurationHandlerFunc func(PostHAProxyConfigurationParams, interface{}) middleware.Responder
PostHAProxyConfigurationHandlerFunc turns a function with the right signature into a post h a proxy configuration handler
func (PostHAProxyConfigurationHandlerFunc) Handle ¶
func (fn PostHAProxyConfigurationHandlerFunc) Handle(params PostHAProxyConfigurationParams, principal interface{}) middleware.Responder
Handle executing the request and returning a response
type PostHAProxyConfigurationParams ¶
type PostHAProxyConfigurationParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* Required: true In: body */ Data string /*If set, do a force reload, do not wait for the configured reload-delay. Cannot be used when transaction is specified, as changes in transaction are not applied directly to configuration. In: query Default: false */ ForceReload *bool /*Version used for checking configuration version. Cannot be used when transaction is specified, transaction has it's own version. In: query */ Version *int64 }
PostHAProxyConfigurationParams contains all the bound params for the post h a proxy configuration operation typically these are obtained from a http.Request
swagger:parameters postHAProxyConfiguration
func NewPostHAProxyConfigurationParams ¶
func NewPostHAProxyConfigurationParams() PostHAProxyConfigurationParams
NewPostHAProxyConfigurationParams creates a new PostHAProxyConfigurationParams object with the default values initialized.
func (*PostHAProxyConfigurationParams) BindRequest ¶
func (o *PostHAProxyConfigurationParams) 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 NewPostHAProxyConfigurationParams() beforehand.
type PostHAProxyConfigurationURL ¶
type PostHAProxyConfigurationURL struct { ForceReload *bool Version *int64 // contains filtered or unexported fields }
PostHAProxyConfigurationURL generates an URL for the post h a proxy configuration operation
func (*PostHAProxyConfigurationURL) Build ¶
func (o *PostHAProxyConfigurationURL) Build() (*url.URL, error)
Build a url path and query string
func (*PostHAProxyConfigurationURL) BuildFull ¶
func (o *PostHAProxyConfigurationURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*PostHAProxyConfigurationURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*PostHAProxyConfigurationURL) SetBasePath ¶
func (o *PostHAProxyConfigurationURL) 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 (*PostHAProxyConfigurationURL) String ¶
func (o *PostHAProxyConfigurationURL) String() string
String returns the string representation of the path with query string
func (*PostHAProxyConfigurationURL) StringFull ¶
func (o *PostHAProxyConfigurationURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*PostHAProxyConfigurationURL) WithBasePath ¶
func (o *PostHAProxyConfigurationURL) WithBasePath(bp string) *PostHAProxyConfigurationURL
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 ¶
- get_h_a_proxy_configuration.go
- get_h_a_proxy_configuration_parameters.go
- get_h_a_proxy_configuration_responses.go
- get_h_a_proxy_configuration_urlbuilder.go
- post_h_a_proxy_configuration.go
- post_h_a_proxy_configuration_parameters.go
- post_h_a_proxy_configuration_responses.go
- post_h_a_proxy_configuration_urlbuilder.go