bind

package
v1.2.5 Latest Latest
Warning

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

Go to latest
Published: Apr 15, 2020 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

View Source
const CreateBindAcceptedCode int = 202

CreateBindAcceptedCode is the HTTP code returned for type CreateBindAccepted

View Source
const CreateBindBadRequestCode int = 400

CreateBindBadRequestCode is the HTTP code returned for type CreateBindBadRequest

View Source
const CreateBindConflictCode int = 409

CreateBindConflictCode is the HTTP code returned for type CreateBindConflict

View Source
const CreateBindCreatedCode int = 201

CreateBindCreatedCode is the HTTP code returned for type CreateBindCreated

View Source
const DeleteBindAcceptedCode int = 202

DeleteBindAcceptedCode is the HTTP code returned for type DeleteBindAccepted

View Source
const DeleteBindNoContentCode int = 204

DeleteBindNoContentCode is the HTTP code returned for type DeleteBindNoContent

View Source
const DeleteBindNotFoundCode int = 404

DeleteBindNotFoundCode is the HTTP code returned for type DeleteBindNotFound

View Source
const GetBindNotFoundCode int = 404

GetBindNotFoundCode is the HTTP code returned for type GetBindNotFound

View Source
const GetBindOKCode int = 200

GetBindOKCode is the HTTP code returned for type GetBindOK

View Source
const GetBindsOKCode int = 200

GetBindsOKCode is the HTTP code returned for type GetBindsOK

View Source
const ReplaceBindAcceptedCode int = 202

ReplaceBindAcceptedCode is the HTTP code returned for type ReplaceBindAccepted

View Source
const ReplaceBindBadRequestCode int = 400

ReplaceBindBadRequestCode is the HTTP code returned for type ReplaceBindBadRequest

View Source
const ReplaceBindNotFoundCode int = 404

ReplaceBindNotFoundCode is the HTTP code returned for type ReplaceBindNotFound

View Source
const ReplaceBindOKCode int = 200

ReplaceBindOKCode is the HTTP code returned for type ReplaceBindOK

Variables

This section is empty.

Functions

This section is empty.

Types

type CreateBind

type CreateBind struct {
	Context *middleware.Context
	Handler CreateBindHandler
}

CreateBind swagger:route POST /services/haproxy/configuration/binds Bind createBind

Add a new bind

Adds a new bind in the specified frontend in the configuration file.

func NewCreateBind

func NewCreateBind(ctx *middleware.Context, handler CreateBindHandler) *CreateBind

NewCreateBind creates a new http.Handler for the create bind operation

func (*CreateBind) ServeHTTP

func (o *CreateBind) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type CreateBindAccepted

type CreateBindAccepted struct {
	/*ID of the requested reload

	 */
	ReloadID string `json:"Reload-ID"`

	/*
	  In: Body
	*/
	Payload *models.Bind `json:"body,omitempty"`
}

CreateBindAccepted Configuration change accepted and reload requested

swagger:response createBindAccepted

func NewCreateBindAccepted

func NewCreateBindAccepted() *CreateBindAccepted

NewCreateBindAccepted creates CreateBindAccepted with default headers values

func (*CreateBindAccepted) SetPayload

func (o *CreateBindAccepted) SetPayload(payload *models.Bind)

SetPayload sets the payload to the create bind accepted response

func (*CreateBindAccepted) SetReloadID

func (o *CreateBindAccepted) SetReloadID(reloadID string)

SetReloadID sets the reloadId to the create bind accepted response

func (*CreateBindAccepted) WithPayload

func (o *CreateBindAccepted) WithPayload(payload *models.Bind) *CreateBindAccepted

WithPayload adds the payload to the create bind accepted response

func (*CreateBindAccepted) WithReloadID

func (o *CreateBindAccepted) WithReloadID(reloadID string) *CreateBindAccepted

WithReloadID adds the reloadId to the create bind accepted response

func (*CreateBindAccepted) WriteResponse

func (o *CreateBindAccepted) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type CreateBindBadRequest

type CreateBindBadRequest struct {
	/*Configuration file version

	 */
	ConfigurationVersion int64 `json:"Configuration-Version"`

	/*
	  In: Body
	*/
	Payload *models.Error `json:"body,omitempty"`
}

CreateBindBadRequest Bad request

swagger:response createBindBadRequest

func NewCreateBindBadRequest

func NewCreateBindBadRequest() *CreateBindBadRequest

NewCreateBindBadRequest creates CreateBindBadRequest with default headers values

func (*CreateBindBadRequest) SetConfigurationVersion added in v1.2.2

func (o *CreateBindBadRequest) SetConfigurationVersion(configurationVersion int64)

SetConfigurationVersion sets the configurationVersion to the create bind bad request response

func (*CreateBindBadRequest) SetPayload

func (o *CreateBindBadRequest) SetPayload(payload *models.Error)

SetPayload sets the payload to the create bind bad request response

func (*CreateBindBadRequest) WithConfigurationVersion added in v1.2.2

func (o *CreateBindBadRequest) WithConfigurationVersion(configurationVersion int64) *CreateBindBadRequest

WithConfigurationVersion adds the configurationVersion to the create bind bad request response

func (*CreateBindBadRequest) WithPayload

func (o *CreateBindBadRequest) WithPayload(payload *models.Error) *CreateBindBadRequest

WithPayload adds the payload to the create bind bad request response

func (*CreateBindBadRequest) WriteResponse

func (o *CreateBindBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type CreateBindConflict

type CreateBindConflict struct {
	/*Configuration file version

	 */
	ConfigurationVersion int64 `json:"Configuration-Version"`

	/*
	  In: Body
	*/
	Payload *models.Error `json:"body,omitempty"`
}

CreateBindConflict The specified resource already exists

swagger:response createBindConflict

func NewCreateBindConflict

func NewCreateBindConflict() *CreateBindConflict

NewCreateBindConflict creates CreateBindConflict with default headers values

func (*CreateBindConflict) SetConfigurationVersion added in v1.2.2

func (o *CreateBindConflict) SetConfigurationVersion(configurationVersion int64)

SetConfigurationVersion sets the configurationVersion to the create bind conflict response

func (*CreateBindConflict) SetPayload

func (o *CreateBindConflict) SetPayload(payload *models.Error)

SetPayload sets the payload to the create bind conflict response

func (*CreateBindConflict) WithConfigurationVersion added in v1.2.2

func (o *CreateBindConflict) WithConfigurationVersion(configurationVersion int64) *CreateBindConflict

WithConfigurationVersion adds the configurationVersion to the create bind conflict response

func (*CreateBindConflict) WithPayload

func (o *CreateBindConflict) WithPayload(payload *models.Error) *CreateBindConflict

WithPayload adds the payload to the create bind conflict response

func (*CreateBindConflict) WriteResponse

func (o *CreateBindConflict) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type CreateBindCreated

type CreateBindCreated struct {

	/*
	  In: Body
	*/
	Payload *models.Bind `json:"body,omitempty"`
}

CreateBindCreated Bind created

swagger:response createBindCreated

func NewCreateBindCreated

func NewCreateBindCreated() *CreateBindCreated

NewCreateBindCreated creates CreateBindCreated with default headers values

func (*CreateBindCreated) SetPayload

func (o *CreateBindCreated) SetPayload(payload *models.Bind)

SetPayload sets the payload to the create bind created response

func (*CreateBindCreated) WithPayload

func (o *CreateBindCreated) WithPayload(payload *models.Bind) *CreateBindCreated

WithPayload adds the payload to the create bind created response

func (*CreateBindCreated) WriteResponse

func (o *CreateBindCreated) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type CreateBindDefault

type CreateBindDefault struct {

	/*Configuration file version

	 */
	ConfigurationVersion int64 `json:"Configuration-Version"`

	/*
	  In: Body
	*/
	Payload *models.Error `json:"body,omitempty"`
	// contains filtered or unexported fields
}

CreateBindDefault General Error

swagger:response createBindDefault

func NewCreateBindDefault

func NewCreateBindDefault(code int) *CreateBindDefault

NewCreateBindDefault creates CreateBindDefault with default headers values

func (*CreateBindDefault) SetConfigurationVersion added in v1.2.2

func (o *CreateBindDefault) SetConfigurationVersion(configurationVersion int64)

SetConfigurationVersion sets the configurationVersion to the create bind default response

func (*CreateBindDefault) SetPayload

func (o *CreateBindDefault) SetPayload(payload *models.Error)

SetPayload sets the payload to the create bind default response

func (*CreateBindDefault) SetStatusCode

func (o *CreateBindDefault) SetStatusCode(code int)

SetStatusCode sets the status to the create bind default response

func (*CreateBindDefault) WithConfigurationVersion added in v1.2.2

func (o *CreateBindDefault) WithConfigurationVersion(configurationVersion int64) *CreateBindDefault

WithConfigurationVersion adds the configurationVersion to the create bind default response

func (*CreateBindDefault) WithPayload

func (o *CreateBindDefault) WithPayload(payload *models.Error) *CreateBindDefault

WithPayload adds the payload to the create bind default response

func (*CreateBindDefault) WithStatusCode

func (o *CreateBindDefault) WithStatusCode(code int) *CreateBindDefault

WithStatusCode adds the status to the create bind default response

func (*CreateBindDefault) WriteResponse

func (o *CreateBindDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type CreateBindHandler

type CreateBindHandler interface {
	Handle(CreateBindParams, interface{}) middleware.Responder
}

CreateBindHandler interface for that can handle valid create bind params

type CreateBindHandlerFunc

type CreateBindHandlerFunc func(CreateBindParams, interface{}) middleware.Responder

CreateBindHandlerFunc turns a function with the right signature into a create bind handler

func (CreateBindHandlerFunc) Handle

func (fn CreateBindHandlerFunc) Handle(params CreateBindParams, principal interface{}) middleware.Responder

Handle executing the request and returning a response

type CreateBindParams

type CreateBindParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*
	  Required: true
	  In: body
	*/
	Data *models.Bind
	/*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
	/*Parent frontend name
	  Required: true
	  In: query
	*/
	Frontend string
	/*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
}

CreateBindParams contains all the bound params for the create bind operation typically these are obtained from a http.Request

swagger:parameters createBind

func NewCreateBindParams

func NewCreateBindParams() CreateBindParams

NewCreateBindParams creates a new CreateBindParams object with the default values initialized.

func (*CreateBindParams) BindRequest

func (o *CreateBindParams) 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 NewCreateBindParams() beforehand.

type CreateBindURL

type CreateBindURL struct {
	ForceReload   *bool
	Frontend      string
	TransactionID *string
	Version       *int64
	// contains filtered or unexported fields
}

CreateBindURL generates an URL for the create bind operation

func (*CreateBindURL) Build

func (o *CreateBindURL) Build() (*url.URL, error)

Build a url path and query string

func (*CreateBindURL) BuildFull

func (o *CreateBindURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*CreateBindURL) Must

func (o *CreateBindURL) Must(u *url.URL, err error) *url.URL

Must is a helper function to panic when the url builder returns an error

func (*CreateBindURL) SetBasePath

func (o *CreateBindURL) 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 (*CreateBindURL) String

func (o *CreateBindURL) String() string

String returns the string representation of the path with query string

func (*CreateBindURL) StringFull

func (o *CreateBindURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*CreateBindURL) WithBasePath

func (o *CreateBindURL) WithBasePath(bp string) *CreateBindURL

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 DeleteBind

type DeleteBind struct {
	Context *middleware.Context
	Handler DeleteBindHandler
}

DeleteBind swagger:route DELETE /services/haproxy/configuration/binds/{name} Bind deleteBind

Delete a bind

Deletes a bind configuration by it's name in the specified frontend.

func NewDeleteBind

func NewDeleteBind(ctx *middleware.Context, handler DeleteBindHandler) *DeleteBind

NewDeleteBind creates a new http.Handler for the delete bind operation

func (*DeleteBind) ServeHTTP

func (o *DeleteBind) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type DeleteBindAccepted

type DeleteBindAccepted struct {
	/*ID of the requested reload

	 */
	ReloadID string `json:"Reload-ID"`
}

DeleteBindAccepted Configuration change accepted and reload requested

swagger:response deleteBindAccepted

func NewDeleteBindAccepted

func NewDeleteBindAccepted() *DeleteBindAccepted

NewDeleteBindAccepted creates DeleteBindAccepted with default headers values

func (*DeleteBindAccepted) SetReloadID

func (o *DeleteBindAccepted) SetReloadID(reloadID string)

SetReloadID sets the reloadId to the delete bind accepted response

func (*DeleteBindAccepted) WithReloadID

func (o *DeleteBindAccepted) WithReloadID(reloadID string) *DeleteBindAccepted

WithReloadID adds the reloadId to the delete bind accepted response

func (*DeleteBindAccepted) WriteResponse

func (o *DeleteBindAccepted) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type DeleteBindDefault

type DeleteBindDefault struct {

	/*Configuration file version

	 */
	ConfigurationVersion int64 `json:"Configuration-Version"`

	/*
	  In: Body
	*/
	Payload *models.Error `json:"body,omitempty"`
	// contains filtered or unexported fields
}

DeleteBindDefault General Error

swagger:response deleteBindDefault

func NewDeleteBindDefault

func NewDeleteBindDefault(code int) *DeleteBindDefault

NewDeleteBindDefault creates DeleteBindDefault with default headers values

func (*DeleteBindDefault) SetConfigurationVersion added in v1.2.2

func (o *DeleteBindDefault) SetConfigurationVersion(configurationVersion int64)

SetConfigurationVersion sets the configurationVersion to the delete bind default response

func (*DeleteBindDefault) SetPayload

func (o *DeleteBindDefault) SetPayload(payload *models.Error)

SetPayload sets the payload to the delete bind default response

func (*DeleteBindDefault) SetStatusCode

func (o *DeleteBindDefault) SetStatusCode(code int)

SetStatusCode sets the status to the delete bind default response

func (*DeleteBindDefault) WithConfigurationVersion added in v1.2.2

func (o *DeleteBindDefault) WithConfigurationVersion(configurationVersion int64) *DeleteBindDefault

WithConfigurationVersion adds the configurationVersion to the delete bind default response

func (*DeleteBindDefault) WithPayload

func (o *DeleteBindDefault) WithPayload(payload *models.Error) *DeleteBindDefault

WithPayload adds the payload to the delete bind default response

func (*DeleteBindDefault) WithStatusCode

func (o *DeleteBindDefault) WithStatusCode(code int) *DeleteBindDefault

WithStatusCode adds the status to the delete bind default response

func (*DeleteBindDefault) WriteResponse

func (o *DeleteBindDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type DeleteBindHandler

type DeleteBindHandler interface {
	Handle(DeleteBindParams, interface{}) middleware.Responder
}

DeleteBindHandler interface for that can handle valid delete bind params

type DeleteBindHandlerFunc

type DeleteBindHandlerFunc func(DeleteBindParams, interface{}) middleware.Responder

DeleteBindHandlerFunc turns a function with the right signature into a delete bind handler

func (DeleteBindHandlerFunc) Handle

func (fn DeleteBindHandlerFunc) Handle(params DeleteBindParams, principal interface{}) middleware.Responder

Handle executing the request and returning a response

type DeleteBindNoContent

type DeleteBindNoContent struct {
}

DeleteBindNoContent Bind deleted

swagger:response deleteBindNoContent

func NewDeleteBindNoContent

func NewDeleteBindNoContent() *DeleteBindNoContent

NewDeleteBindNoContent creates DeleteBindNoContent with default headers values

func (*DeleteBindNoContent) WriteResponse

func (o *DeleteBindNoContent) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type DeleteBindNotFound

type DeleteBindNotFound struct {
	/*Configuration file version

	 */
	ConfigurationVersion int64 `json:"Configuration-Version"`

	/*
	  In: Body
	*/
	Payload *models.Error `json:"body,omitempty"`
}

DeleteBindNotFound The specified resource was not found

swagger:response deleteBindNotFound

func NewDeleteBindNotFound

func NewDeleteBindNotFound() *DeleteBindNotFound

NewDeleteBindNotFound creates DeleteBindNotFound with default headers values

func (*DeleteBindNotFound) SetConfigurationVersion added in v1.2.2

func (o *DeleteBindNotFound) SetConfigurationVersion(configurationVersion int64)

SetConfigurationVersion sets the configurationVersion to the delete bind not found response

func (*DeleteBindNotFound) SetPayload

func (o *DeleteBindNotFound) SetPayload(payload *models.Error)

SetPayload sets the payload to the delete bind not found response

func (*DeleteBindNotFound) WithConfigurationVersion added in v1.2.2

func (o *DeleteBindNotFound) WithConfigurationVersion(configurationVersion int64) *DeleteBindNotFound

WithConfigurationVersion adds the configurationVersion to the delete bind not found response

func (*DeleteBindNotFound) WithPayload

func (o *DeleteBindNotFound) WithPayload(payload *models.Error) *DeleteBindNotFound

WithPayload adds the payload to the delete bind not found response

func (*DeleteBindNotFound) WriteResponse

func (o *DeleteBindNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type DeleteBindParams

type DeleteBindParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*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
	/*Parent frontend name
	  Required: true
	  In: query
	*/
	Frontend string
	/*Bind name
	  Required: true
	  In: path
	*/
	Name string
	/*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
}

DeleteBindParams contains all the bound params for the delete bind operation typically these are obtained from a http.Request

swagger:parameters deleteBind

func NewDeleteBindParams

func NewDeleteBindParams() DeleteBindParams

NewDeleteBindParams creates a new DeleteBindParams object with the default values initialized.

func (*DeleteBindParams) BindRequest

func (o *DeleteBindParams) 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 NewDeleteBindParams() beforehand.

type DeleteBindURL

type DeleteBindURL struct {
	Name string

	ForceReload   *bool
	Frontend      string
	TransactionID *string
	Version       *int64
	// contains filtered or unexported fields
}

DeleteBindURL generates an URL for the delete bind operation

func (*DeleteBindURL) Build

func (o *DeleteBindURL) Build() (*url.URL, error)

Build a url path and query string

func (*DeleteBindURL) BuildFull

func (o *DeleteBindURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*DeleteBindURL) Must

func (o *DeleteBindURL) Must(u *url.URL, err error) *url.URL

Must is a helper function to panic when the url builder returns an error

func (*DeleteBindURL) SetBasePath

func (o *DeleteBindURL) 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 (*DeleteBindURL) String

func (o *DeleteBindURL) String() string

String returns the string representation of the path with query string

func (*DeleteBindURL) StringFull

func (o *DeleteBindURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*DeleteBindURL) WithBasePath

func (o *DeleteBindURL) WithBasePath(bp string) *DeleteBindURL

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 GetBind

type GetBind struct {
	Context *middleware.Context
	Handler GetBindHandler
}

GetBind swagger:route GET /services/haproxy/configuration/binds/{name} Bind getBind

Return one bind

Returns one bind configuration by it's name in the specified frontend.

func NewGetBind

func NewGetBind(ctx *middleware.Context, handler GetBindHandler) *GetBind

NewGetBind creates a new http.Handler for the get bind operation

func (*GetBind) ServeHTTP

func (o *GetBind) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type GetBindDefault

type GetBindDefault struct {

	/*Configuration file version

	 */
	ConfigurationVersion int64 `json:"Configuration-Version"`

	/*
	  In: Body
	*/
	Payload *models.Error `json:"body,omitempty"`
	// contains filtered or unexported fields
}

GetBindDefault General Error

swagger:response getBindDefault

func NewGetBindDefault

func NewGetBindDefault(code int) *GetBindDefault

NewGetBindDefault creates GetBindDefault with default headers values

func (*GetBindDefault) SetConfigurationVersion added in v1.2.2

func (o *GetBindDefault) SetConfigurationVersion(configurationVersion int64)

SetConfigurationVersion sets the configurationVersion to the get bind default response

func (*GetBindDefault) SetPayload

func (o *GetBindDefault) SetPayload(payload *models.Error)

SetPayload sets the payload to the get bind default response

func (*GetBindDefault) SetStatusCode

func (o *GetBindDefault) SetStatusCode(code int)

SetStatusCode sets the status to the get bind default response

func (*GetBindDefault) WithConfigurationVersion added in v1.2.2

func (o *GetBindDefault) WithConfigurationVersion(configurationVersion int64) *GetBindDefault

WithConfigurationVersion adds the configurationVersion to the get bind default response

func (*GetBindDefault) WithPayload

func (o *GetBindDefault) WithPayload(payload *models.Error) *GetBindDefault

WithPayload adds the payload to the get bind default response

func (*GetBindDefault) WithStatusCode

func (o *GetBindDefault) WithStatusCode(code int) *GetBindDefault

WithStatusCode adds the status to the get bind default response

func (*GetBindDefault) WriteResponse

func (o *GetBindDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type GetBindHandler

type GetBindHandler interface {
	Handle(GetBindParams, interface{}) middleware.Responder
}

GetBindHandler interface for that can handle valid get bind params

type GetBindHandlerFunc

type GetBindHandlerFunc func(GetBindParams, interface{}) middleware.Responder

GetBindHandlerFunc turns a function with the right signature into a get bind handler

func (GetBindHandlerFunc) Handle

func (fn GetBindHandlerFunc) Handle(params GetBindParams, principal interface{}) middleware.Responder

Handle executing the request and returning a response

type GetBindNotFound

type GetBindNotFound struct {
	/*Configuration file version

	 */
	ConfigurationVersion int64 `json:"Configuration-Version"`

	/*
	  In: Body
	*/
	Payload *models.Error `json:"body,omitempty"`
}

GetBindNotFound The specified resource already exists

swagger:response getBindNotFound

func NewGetBindNotFound

func NewGetBindNotFound() *GetBindNotFound

NewGetBindNotFound creates GetBindNotFound with default headers values

func (*GetBindNotFound) SetConfigurationVersion added in v1.2.2

func (o *GetBindNotFound) SetConfigurationVersion(configurationVersion int64)

SetConfigurationVersion sets the configurationVersion to the get bind not found response

func (*GetBindNotFound) SetPayload

func (o *GetBindNotFound) SetPayload(payload *models.Error)

SetPayload sets the payload to the get bind not found response

func (*GetBindNotFound) WithConfigurationVersion added in v1.2.2

func (o *GetBindNotFound) WithConfigurationVersion(configurationVersion int64) *GetBindNotFound

WithConfigurationVersion adds the configurationVersion to the get bind not found response

func (*GetBindNotFound) WithPayload

func (o *GetBindNotFound) WithPayload(payload *models.Error) *GetBindNotFound

WithPayload adds the payload to the get bind not found response

func (*GetBindNotFound) WriteResponse

func (o *GetBindNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type GetBindOK

type GetBindOK struct {
	/*Configuration file version

	 */
	ConfigurationVersion int64 `json:"Configuration-Version"`

	/*
	  In: Body
	*/
	Payload *GetBindOKBody `json:"body,omitempty"`
}

GetBindOK Successful operation

swagger:response getBindOK

func NewGetBindOK

func NewGetBindOK() *GetBindOK

NewGetBindOK creates GetBindOK with default headers values

func (*GetBindOK) SetConfigurationVersion added in v1.2.2

func (o *GetBindOK) SetConfigurationVersion(configurationVersion int64)

SetConfigurationVersion sets the configurationVersion to the get bind o k response

func (*GetBindOK) SetPayload

func (o *GetBindOK) SetPayload(payload *GetBindOKBody)

SetPayload sets the payload to the get bind o k response

func (*GetBindOK) WithConfigurationVersion added in v1.2.2

func (o *GetBindOK) WithConfigurationVersion(configurationVersion int64) *GetBindOK

WithConfigurationVersion adds the configurationVersion to the get bind o k response

func (*GetBindOK) WithPayload

func (o *GetBindOK) WithPayload(payload *GetBindOKBody) *GetBindOK

WithPayload adds the payload to the get bind o k response

func (*GetBindOK) WriteResponse

func (o *GetBindOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type GetBindOKBody

type GetBindOKBody struct {

	// version
	Version int64 `json:"_version,omitempty"`

	// data
	Data *models.Bind `json:"data,omitempty"`
}

GetBindOKBody get bind o k body swagger:model GetBindOKBody

func (*GetBindOKBody) MarshalBinary

func (o *GetBindOKBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GetBindOKBody) UnmarshalBinary

func (o *GetBindOKBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetBindOKBody) Validate

func (o *GetBindOKBody) Validate(formats strfmt.Registry) error

Validate validates this get bind o k body

type GetBindParams

type GetBindParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*Parent frontend name
	  Required: true
	  In: query
	*/
	Frontend string
	/*Bind name
	  Required: true
	  In: path
	*/
	Name string
	/*ID of the transaction where we want to add the operation. Cannot be used when version is specified.
	  In: query
	*/
	TransactionID *string
}

GetBindParams contains all the bound params for the get bind operation typically these are obtained from a http.Request

swagger:parameters getBind

func NewGetBindParams

func NewGetBindParams() GetBindParams

NewGetBindParams creates a new GetBindParams object no default values defined in spec.

func (*GetBindParams) BindRequest

func (o *GetBindParams) 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 NewGetBindParams() beforehand.

type GetBindURL

type GetBindURL struct {
	Name string

	Frontend      string
	TransactionID *string
	// contains filtered or unexported fields
}

GetBindURL generates an URL for the get bind operation

func (*GetBindURL) Build

func (o *GetBindURL) Build() (*url.URL, error)

Build a url path and query string

func (*GetBindURL) BuildFull

func (o *GetBindURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*GetBindURL) Must

func (o *GetBindURL) Must(u *url.URL, err error) *url.URL

Must is a helper function to panic when the url builder returns an error

func (*GetBindURL) SetBasePath

func (o *GetBindURL) 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 (*GetBindURL) String

func (o *GetBindURL) String() string

String returns the string representation of the path with query string

func (*GetBindURL) StringFull

func (o *GetBindURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*GetBindURL) WithBasePath

func (o *GetBindURL) WithBasePath(bp string) *GetBindURL

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 GetBinds

type GetBinds struct {
	Context *middleware.Context
	Handler GetBindsHandler
}

GetBinds swagger:route GET /services/haproxy/configuration/binds Bind getBinds

Return an array of binds

Returns an array of all binds that are configured in specified frontend.

func NewGetBinds

func NewGetBinds(ctx *middleware.Context, handler GetBindsHandler) *GetBinds

NewGetBinds creates a new http.Handler for the get binds operation

func (*GetBinds) ServeHTTP

func (o *GetBinds) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type GetBindsDefault

type GetBindsDefault struct {

	/*Configuration file version

	 */
	ConfigurationVersion int64 `json:"Configuration-Version"`

	/*
	  In: Body
	*/
	Payload *models.Error `json:"body,omitempty"`
	// contains filtered or unexported fields
}

GetBindsDefault General Error

swagger:response getBindsDefault

func NewGetBindsDefault

func NewGetBindsDefault(code int) *GetBindsDefault

NewGetBindsDefault creates GetBindsDefault with default headers values

func (*GetBindsDefault) SetConfigurationVersion added in v1.2.2

func (o *GetBindsDefault) SetConfigurationVersion(configurationVersion int64)

SetConfigurationVersion sets the configurationVersion to the get binds default response

func (*GetBindsDefault) SetPayload

func (o *GetBindsDefault) SetPayload(payload *models.Error)

SetPayload sets the payload to the get binds default response

func (*GetBindsDefault) SetStatusCode

func (o *GetBindsDefault) SetStatusCode(code int)

SetStatusCode sets the status to the get binds default response

func (*GetBindsDefault) WithConfigurationVersion added in v1.2.2

func (o *GetBindsDefault) WithConfigurationVersion(configurationVersion int64) *GetBindsDefault

WithConfigurationVersion adds the configurationVersion to the get binds default response

func (*GetBindsDefault) WithPayload

func (o *GetBindsDefault) WithPayload(payload *models.Error) *GetBindsDefault

WithPayload adds the payload to the get binds default response

func (*GetBindsDefault) WithStatusCode

func (o *GetBindsDefault) WithStatusCode(code int) *GetBindsDefault

WithStatusCode adds the status to the get binds default response

func (*GetBindsDefault) WriteResponse

func (o *GetBindsDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type GetBindsHandler

type GetBindsHandler interface {
	Handle(GetBindsParams, interface{}) middleware.Responder
}

GetBindsHandler interface for that can handle valid get binds params

type GetBindsHandlerFunc

type GetBindsHandlerFunc func(GetBindsParams, interface{}) middleware.Responder

GetBindsHandlerFunc turns a function with the right signature into a get binds handler

func (GetBindsHandlerFunc) Handle

func (fn GetBindsHandlerFunc) Handle(params GetBindsParams, principal interface{}) middleware.Responder

Handle executing the request and returning a response

type GetBindsOK

type GetBindsOK struct {
	/*Configuration file version

	 */
	ConfigurationVersion int64 `json:"Configuration-Version"`

	/*
	  In: Body
	*/
	Payload *GetBindsOKBody `json:"body,omitempty"`
}

GetBindsOK Successful operation

swagger:response getBindsOK

func NewGetBindsOK

func NewGetBindsOK() *GetBindsOK

NewGetBindsOK creates GetBindsOK with default headers values

func (*GetBindsOK) SetConfigurationVersion added in v1.2.2

func (o *GetBindsOK) SetConfigurationVersion(configurationVersion int64)

SetConfigurationVersion sets the configurationVersion to the get binds o k response

func (*GetBindsOK) SetPayload

func (o *GetBindsOK) SetPayload(payload *GetBindsOKBody)

SetPayload sets the payload to the get binds o k response

func (*GetBindsOK) WithConfigurationVersion added in v1.2.2

func (o *GetBindsOK) WithConfigurationVersion(configurationVersion int64) *GetBindsOK

WithConfigurationVersion adds the configurationVersion to the get binds o k response

func (*GetBindsOK) WithPayload

func (o *GetBindsOK) WithPayload(payload *GetBindsOKBody) *GetBindsOK

WithPayload adds the payload to the get binds o k response

func (*GetBindsOK) WriteResponse

func (o *GetBindsOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type GetBindsOKBody

type GetBindsOKBody struct {

	// version
	Version int64 `json:"_version,omitempty"`

	// data
	// Required: true
	Data models.Binds `json:"data"`
}

GetBindsOKBody get binds o k body swagger:model GetBindsOKBody

func (*GetBindsOKBody) MarshalBinary

func (o *GetBindsOKBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GetBindsOKBody) UnmarshalBinary

func (o *GetBindsOKBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetBindsOKBody) Validate

func (o *GetBindsOKBody) Validate(formats strfmt.Registry) error

Validate validates this get binds o k body

type GetBindsParams

type GetBindsParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*Parent frontend name
	  Required: true
	  In: query
	*/
	Frontend string
	/*ID of the transaction where we want to add the operation. Cannot be used when version is specified.
	  In: query
	*/
	TransactionID *string
}

GetBindsParams contains all the bound params for the get binds operation typically these are obtained from a http.Request

swagger:parameters getBinds

func NewGetBindsParams

func NewGetBindsParams() GetBindsParams

NewGetBindsParams creates a new GetBindsParams object no default values defined in spec.

func (*GetBindsParams) BindRequest

func (o *GetBindsParams) 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 NewGetBindsParams() beforehand.

type GetBindsURL

type GetBindsURL struct {
	Frontend      string
	TransactionID *string
	// contains filtered or unexported fields
}

GetBindsURL generates an URL for the get binds operation

func (*GetBindsURL) Build

func (o *GetBindsURL) Build() (*url.URL, error)

Build a url path and query string

func (*GetBindsURL) BuildFull

func (o *GetBindsURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*GetBindsURL) Must

func (o *GetBindsURL) Must(u *url.URL, err error) *url.URL

Must is a helper function to panic when the url builder returns an error

func (*GetBindsURL) SetBasePath

func (o *GetBindsURL) 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 (*GetBindsURL) String

func (o *GetBindsURL) String() string

String returns the string representation of the path with query string

func (*GetBindsURL) StringFull

func (o *GetBindsURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*GetBindsURL) WithBasePath

func (o *GetBindsURL) WithBasePath(bp string) *GetBindsURL

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 ReplaceBind

type ReplaceBind struct {
	Context *middleware.Context
	Handler ReplaceBindHandler
}

ReplaceBind swagger:route PUT /services/haproxy/configuration/binds/{name} Bind replaceBind

Replace a bind

Replaces a bind configuration by it's name in the specified frontend.

func NewReplaceBind

func NewReplaceBind(ctx *middleware.Context, handler ReplaceBindHandler) *ReplaceBind

NewReplaceBind creates a new http.Handler for the replace bind operation

func (*ReplaceBind) ServeHTTP

func (o *ReplaceBind) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type ReplaceBindAccepted

type ReplaceBindAccepted struct {
	/*ID of the requested reload

	 */
	ReloadID string `json:"Reload-ID"`

	/*
	  In: Body
	*/
	Payload *models.Bind `json:"body,omitempty"`
}

ReplaceBindAccepted Configuration change accepted and reload requested

swagger:response replaceBindAccepted

func NewReplaceBindAccepted

func NewReplaceBindAccepted() *ReplaceBindAccepted

NewReplaceBindAccepted creates ReplaceBindAccepted with default headers values

func (*ReplaceBindAccepted) SetPayload

func (o *ReplaceBindAccepted) SetPayload(payload *models.Bind)

SetPayload sets the payload to the replace bind accepted response

func (*ReplaceBindAccepted) SetReloadID

func (o *ReplaceBindAccepted) SetReloadID(reloadID string)

SetReloadID sets the reloadId to the replace bind accepted response

func (*ReplaceBindAccepted) WithPayload

func (o *ReplaceBindAccepted) WithPayload(payload *models.Bind) *ReplaceBindAccepted

WithPayload adds the payload to the replace bind accepted response

func (*ReplaceBindAccepted) WithReloadID

func (o *ReplaceBindAccepted) WithReloadID(reloadID string) *ReplaceBindAccepted

WithReloadID adds the reloadId to the replace bind accepted response

func (*ReplaceBindAccepted) WriteResponse

func (o *ReplaceBindAccepted) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type ReplaceBindBadRequest

type ReplaceBindBadRequest struct {
	/*Configuration file version

	 */
	ConfigurationVersion int64 `json:"Configuration-Version"`

	/*
	  In: Body
	*/
	Payload *models.Error `json:"body,omitempty"`
}

ReplaceBindBadRequest Bad request

swagger:response replaceBindBadRequest

func NewReplaceBindBadRequest

func NewReplaceBindBadRequest() *ReplaceBindBadRequest

NewReplaceBindBadRequest creates ReplaceBindBadRequest with default headers values

func (*ReplaceBindBadRequest) SetConfigurationVersion added in v1.2.2

func (o *ReplaceBindBadRequest) SetConfigurationVersion(configurationVersion int64)

SetConfigurationVersion sets the configurationVersion to the replace bind bad request response

func (*ReplaceBindBadRequest) SetPayload

func (o *ReplaceBindBadRequest) SetPayload(payload *models.Error)

SetPayload sets the payload to the replace bind bad request response

func (*ReplaceBindBadRequest) WithConfigurationVersion added in v1.2.2

func (o *ReplaceBindBadRequest) WithConfigurationVersion(configurationVersion int64) *ReplaceBindBadRequest

WithConfigurationVersion adds the configurationVersion to the replace bind bad request response

func (*ReplaceBindBadRequest) WithPayload

func (o *ReplaceBindBadRequest) WithPayload(payload *models.Error) *ReplaceBindBadRequest

WithPayload adds the payload to the replace bind bad request response

func (*ReplaceBindBadRequest) WriteResponse

func (o *ReplaceBindBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type ReplaceBindDefault

type ReplaceBindDefault struct {

	/*Configuration file version

	 */
	ConfigurationVersion int64 `json:"Configuration-Version"`

	/*
	  In: Body
	*/
	Payload *models.Error `json:"body,omitempty"`
	// contains filtered or unexported fields
}

ReplaceBindDefault General Error

swagger:response replaceBindDefault

func NewReplaceBindDefault

func NewReplaceBindDefault(code int) *ReplaceBindDefault

NewReplaceBindDefault creates ReplaceBindDefault with default headers values

func (*ReplaceBindDefault) SetConfigurationVersion added in v1.2.2

func (o *ReplaceBindDefault) SetConfigurationVersion(configurationVersion int64)

SetConfigurationVersion sets the configurationVersion to the replace bind default response

func (*ReplaceBindDefault) SetPayload

func (o *ReplaceBindDefault) SetPayload(payload *models.Error)

SetPayload sets the payload to the replace bind default response

func (*ReplaceBindDefault) SetStatusCode

func (o *ReplaceBindDefault) SetStatusCode(code int)

SetStatusCode sets the status to the replace bind default response

func (*ReplaceBindDefault) WithConfigurationVersion added in v1.2.2

func (o *ReplaceBindDefault) WithConfigurationVersion(configurationVersion int64) *ReplaceBindDefault

WithConfigurationVersion adds the configurationVersion to the replace bind default response

func (*ReplaceBindDefault) WithPayload

func (o *ReplaceBindDefault) WithPayload(payload *models.Error) *ReplaceBindDefault

WithPayload adds the payload to the replace bind default response

func (*ReplaceBindDefault) WithStatusCode

func (o *ReplaceBindDefault) WithStatusCode(code int) *ReplaceBindDefault

WithStatusCode adds the status to the replace bind default response

func (*ReplaceBindDefault) WriteResponse

func (o *ReplaceBindDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type ReplaceBindHandler

type ReplaceBindHandler interface {
	Handle(ReplaceBindParams, interface{}) middleware.Responder
}

ReplaceBindHandler interface for that can handle valid replace bind params

type ReplaceBindHandlerFunc

type ReplaceBindHandlerFunc func(ReplaceBindParams, interface{}) middleware.Responder

ReplaceBindHandlerFunc turns a function with the right signature into a replace bind handler

func (ReplaceBindHandlerFunc) Handle

func (fn ReplaceBindHandlerFunc) Handle(params ReplaceBindParams, principal interface{}) middleware.Responder

Handle executing the request and returning a response

type ReplaceBindNotFound

type ReplaceBindNotFound struct {
	/*Configuration file version

	 */
	ConfigurationVersion int64 `json:"Configuration-Version"`

	/*
	  In: Body
	*/
	Payload *models.Error `json:"body,omitempty"`
}

ReplaceBindNotFound The specified resource was not found

swagger:response replaceBindNotFound

func NewReplaceBindNotFound

func NewReplaceBindNotFound() *ReplaceBindNotFound

NewReplaceBindNotFound creates ReplaceBindNotFound with default headers values

func (*ReplaceBindNotFound) SetConfigurationVersion added in v1.2.2

func (o *ReplaceBindNotFound) SetConfigurationVersion(configurationVersion int64)

SetConfigurationVersion sets the configurationVersion to the replace bind not found response

func (*ReplaceBindNotFound) SetPayload

func (o *ReplaceBindNotFound) SetPayload(payload *models.Error)

SetPayload sets the payload to the replace bind not found response

func (*ReplaceBindNotFound) WithConfigurationVersion added in v1.2.2

func (o *ReplaceBindNotFound) WithConfigurationVersion(configurationVersion int64) *ReplaceBindNotFound

WithConfigurationVersion adds the configurationVersion to the replace bind not found response

func (*ReplaceBindNotFound) WithPayload

func (o *ReplaceBindNotFound) WithPayload(payload *models.Error) *ReplaceBindNotFound

WithPayload adds the payload to the replace bind not found response

func (*ReplaceBindNotFound) WriteResponse

func (o *ReplaceBindNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type ReplaceBindOK

type ReplaceBindOK struct {

	/*
	  In: Body
	*/
	Payload *models.Bind `json:"body,omitempty"`
}

ReplaceBindOK Bind replaced

swagger:response replaceBindOK

func NewReplaceBindOK

func NewReplaceBindOK() *ReplaceBindOK

NewReplaceBindOK creates ReplaceBindOK with default headers values

func (*ReplaceBindOK) SetPayload

func (o *ReplaceBindOK) SetPayload(payload *models.Bind)

SetPayload sets the payload to the replace bind o k response

func (*ReplaceBindOK) WithPayload

func (o *ReplaceBindOK) WithPayload(payload *models.Bind) *ReplaceBindOK

WithPayload adds the payload to the replace bind o k response

func (*ReplaceBindOK) WriteResponse

func (o *ReplaceBindOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type ReplaceBindParams

type ReplaceBindParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*
	  Required: true
	  In: body
	*/
	Data *models.Bind
	/*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
	/*Parent frontend name
	  Required: true
	  In: query
	*/
	Frontend string
	/*Bind name
	  Required: true
	  In: path
	*/
	Name string
	/*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
}

ReplaceBindParams contains all the bound params for the replace bind operation typically these are obtained from a http.Request

swagger:parameters replaceBind

func NewReplaceBindParams

func NewReplaceBindParams() ReplaceBindParams

NewReplaceBindParams creates a new ReplaceBindParams object with the default values initialized.

func (*ReplaceBindParams) BindRequest

func (o *ReplaceBindParams) 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 NewReplaceBindParams() beforehand.

type ReplaceBindURL

type ReplaceBindURL struct {
	Name string

	ForceReload   *bool
	Frontend      string
	TransactionID *string
	Version       *int64
	// contains filtered or unexported fields
}

ReplaceBindURL generates an URL for the replace bind operation

func (*ReplaceBindURL) Build

func (o *ReplaceBindURL) Build() (*url.URL, error)

Build a url path and query string

func (*ReplaceBindURL) BuildFull

func (o *ReplaceBindURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*ReplaceBindURL) Must

func (o *ReplaceBindURL) Must(u *url.URL, err error) *url.URL

Must is a helper function to panic when the url builder returns an error

func (*ReplaceBindURL) SetBasePath

func (o *ReplaceBindURL) 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 (*ReplaceBindURL) String

func (o *ReplaceBindURL) String() string

String returns the string representation of the path with query string

func (*ReplaceBindURL) StringFull

func (o *ReplaceBindURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*ReplaceBindURL) WithBasePath

func (o *ReplaceBindURL) WithBasePath(bp string) *ReplaceBindURL

WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL