acl

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 CreateACLAcceptedCode int = 202

CreateACLAcceptedCode is the HTTP code returned for type CreateACLAccepted

View Source
const CreateACLBadRequestCode int = 400

CreateACLBadRequestCode is the HTTP code returned for type CreateACLBadRequest

View Source
const CreateACLConflictCode int = 409

CreateACLConflictCode is the HTTP code returned for type CreateACLConflict

View Source
const CreateACLCreatedCode int = 201

CreateACLCreatedCode is the HTTP code returned for type CreateACLCreated

View Source
const DeleteACLAcceptedCode int = 202

DeleteACLAcceptedCode is the HTTP code returned for type DeleteACLAccepted

View Source
const DeleteACLNoContentCode int = 204

DeleteACLNoContentCode is the HTTP code returned for type DeleteACLNoContent

View Source
const DeleteACLNotFoundCode int = 404

DeleteACLNotFoundCode is the HTTP code returned for type DeleteACLNotFound

View Source
const GetACLNotFoundCode int = 404

GetACLNotFoundCode is the HTTP code returned for type GetACLNotFound

View Source
const GetACLOKCode int = 200

GetACLOKCode is the HTTP code returned for type GetACLOK

View Source
const GetAclsOKCode int = 200

GetAclsOKCode is the HTTP code returned for type GetAclsOK

View Source
const ReplaceACLAcceptedCode int = 202

ReplaceACLAcceptedCode is the HTTP code returned for type ReplaceACLAccepted

View Source
const ReplaceACLBadRequestCode int = 400

ReplaceACLBadRequestCode is the HTTP code returned for type ReplaceACLBadRequest

View Source
const ReplaceACLNotFoundCode int = 404

ReplaceACLNotFoundCode is the HTTP code returned for type ReplaceACLNotFound

View Source
const ReplaceACLOKCode int = 200

ReplaceACLOKCode is the HTTP code returned for type ReplaceACLOK

Variables

This section is empty.

Functions

This section is empty.

Types

type CreateACL

type CreateACL struct {
	Context *middleware.Context
	Handler CreateACLHandler
}

CreateACL swagger:route POST /services/haproxy/configuration/acls ACL createAcl

Add a new ACL line

Adds a new ACL line of the specified type in the specified parent.

func NewCreateACL

func NewCreateACL(ctx *middleware.Context, handler CreateACLHandler) *CreateACL

NewCreateACL creates a new http.Handler for the create Acl operation

func (*CreateACL) ServeHTTP

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

type CreateACLAccepted

type CreateACLAccepted struct {
	/*ID of the requested reload

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

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

CreateACLAccepted Configuration change accepted and reload requested

swagger:response createAclAccepted

func NewCreateACLAccepted

func NewCreateACLAccepted() *CreateACLAccepted

NewCreateACLAccepted creates CreateACLAccepted with default headers values

func (*CreateACLAccepted) SetPayload

func (o *CreateACLAccepted) SetPayload(payload *models.ACL)

SetPayload sets the payload to the create Acl accepted response

func (*CreateACLAccepted) SetReloadID

func (o *CreateACLAccepted) SetReloadID(reloadID string)

SetReloadID sets the reloadId to the create Acl accepted response

func (*CreateACLAccepted) WithPayload

func (o *CreateACLAccepted) WithPayload(payload *models.ACL) *CreateACLAccepted

WithPayload adds the payload to the create Acl accepted response

func (*CreateACLAccepted) WithReloadID

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

WithReloadID adds the reloadId to the create Acl accepted response

func (*CreateACLAccepted) WriteResponse

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

WriteResponse to the client

type CreateACLBadRequest

type CreateACLBadRequest struct {
	/*Configuration file version

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

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

CreateACLBadRequest Bad request

swagger:response createAclBadRequest

func NewCreateACLBadRequest

func NewCreateACLBadRequest() *CreateACLBadRequest

NewCreateACLBadRequest creates CreateACLBadRequest with default headers values

func (*CreateACLBadRequest) SetConfigurationVersion added in v1.2.2

func (o *CreateACLBadRequest) SetConfigurationVersion(configurationVersion int64)

SetConfigurationVersion sets the configurationVersion to the create Acl bad request response

func (*CreateACLBadRequest) SetPayload

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

SetPayload sets the payload to the create Acl bad request response

func (*CreateACLBadRequest) WithConfigurationVersion added in v1.2.2

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

WithConfigurationVersion adds the configurationVersion to the create Acl bad request response

func (*CreateACLBadRequest) WithPayload

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

WithPayload adds the payload to the create Acl bad request response

func (*CreateACLBadRequest) WriteResponse

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

WriteResponse to the client

type CreateACLConflict

type CreateACLConflict struct {
	/*Configuration file version

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

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

CreateACLConflict The specified resource already exists

swagger:response createAclConflict

func NewCreateACLConflict

func NewCreateACLConflict() *CreateACLConflict

NewCreateACLConflict creates CreateACLConflict with default headers values

func (*CreateACLConflict) SetConfigurationVersion added in v1.2.2

func (o *CreateACLConflict) SetConfigurationVersion(configurationVersion int64)

SetConfigurationVersion sets the configurationVersion to the create Acl conflict response

func (*CreateACLConflict) SetPayload

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

SetPayload sets the payload to the create Acl conflict response

func (*CreateACLConflict) WithConfigurationVersion added in v1.2.2

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

WithConfigurationVersion adds the configurationVersion to the create Acl conflict response

func (*CreateACLConflict) WithPayload

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

WithPayload adds the payload to the create Acl conflict response

func (*CreateACLConflict) WriteResponse

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

WriteResponse to the client

type CreateACLCreated

type CreateACLCreated struct {

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

CreateACLCreated ACL line created

swagger:response createAclCreated

func NewCreateACLCreated

func NewCreateACLCreated() *CreateACLCreated

NewCreateACLCreated creates CreateACLCreated with default headers values

func (*CreateACLCreated) SetPayload

func (o *CreateACLCreated) SetPayload(payload *models.ACL)

SetPayload sets the payload to the create Acl created response

func (*CreateACLCreated) WithPayload

func (o *CreateACLCreated) WithPayload(payload *models.ACL) *CreateACLCreated

WithPayload adds the payload to the create Acl created response

func (*CreateACLCreated) WriteResponse

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

WriteResponse to the client

type CreateACLDefault

type CreateACLDefault struct {

	/*Configuration file version

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

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

CreateACLDefault General Error

swagger:response createAclDefault

func NewCreateACLDefault

func NewCreateACLDefault(code int) *CreateACLDefault

NewCreateACLDefault creates CreateACLDefault with default headers values

func (*CreateACLDefault) SetConfigurationVersion added in v1.2.2

func (o *CreateACLDefault) SetConfigurationVersion(configurationVersion int64)

SetConfigurationVersion sets the configurationVersion to the create Acl default response

func (*CreateACLDefault) SetPayload

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

SetPayload sets the payload to the create Acl default response

func (*CreateACLDefault) SetStatusCode

func (o *CreateACLDefault) SetStatusCode(code int)

SetStatusCode sets the status to the create Acl default response

func (*CreateACLDefault) WithConfigurationVersion added in v1.2.2

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

WithConfigurationVersion adds the configurationVersion to the create Acl default response

func (*CreateACLDefault) WithPayload

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

WithPayload adds the payload to the create Acl default response

func (*CreateACLDefault) WithStatusCode

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

WithStatusCode adds the status to the create Acl default response

func (*CreateACLDefault) WriteResponse

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

WriteResponse to the client

type CreateACLHandler

type CreateACLHandler interface {
	Handle(CreateACLParams, interface{}) middleware.Responder
}

CreateACLHandler interface for that can handle valid create Acl params

type CreateACLHandlerFunc

type CreateACLHandlerFunc func(CreateACLParams, interface{}) middleware.Responder

CreateACLHandlerFunc turns a function with the right signature into a create Acl handler

func (CreateACLHandlerFunc) Handle

func (fn CreateACLHandlerFunc) Handle(params CreateACLParams, principal interface{}) middleware.Responder

Handle executing the request and returning a response

type CreateACLParams

type CreateACLParams struct {

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

	/*
	  Required: true
	  In: body
	*/
	Data *models.ACL
	/*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 name
	  Required: true
	  In: query
	*/
	ParentName string
	/*Parent type
	  Required: true
	  In: query
	*/
	ParentType 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
}

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

swagger:parameters createAcl

func NewCreateACLParams

func NewCreateACLParams() CreateACLParams

NewCreateACLParams creates a new CreateACLParams object with the default values initialized.

func (*CreateACLParams) BindRequest

func (o *CreateACLParams) 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 NewCreateACLParams() beforehand.

type CreateACLURL

type CreateACLURL struct {
	ForceReload   *bool
	ParentName    string
	ParentType    string
	TransactionID *string
	Version       *int64
	// contains filtered or unexported fields
}

CreateACLURL generates an URL for the create Acl operation

func (*CreateACLURL) Build

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

Build a url path and query string

func (*CreateACLURL) BuildFull

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

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

func (*CreateACLURL) Must

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

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

func (*CreateACLURL) SetBasePath

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

func (o *CreateACLURL) String() string

String returns the string representation of the path with query string

func (*CreateACLURL) StringFull

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

StringFull returns the string representation of a complete url

func (*CreateACLURL) WithBasePath

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

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 DeleteACL

type DeleteACL struct {
	Context *middleware.Context
	Handler DeleteACLHandler
}

DeleteACL swagger:route DELETE /services/haproxy/configuration/acls/{id} ACL deleteAcl

Delete a ACL line

Deletes a ACL line configuration by it's ID from the specified parent.

func NewDeleteACL

func NewDeleteACL(ctx *middleware.Context, handler DeleteACLHandler) *DeleteACL

NewDeleteACL creates a new http.Handler for the delete Acl operation

func (*DeleteACL) ServeHTTP

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

type DeleteACLAccepted

type DeleteACLAccepted struct {
	/*ID of the requested reload

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

DeleteACLAccepted Configuration change accepted and reload requested

swagger:response deleteAclAccepted

func NewDeleteACLAccepted

func NewDeleteACLAccepted() *DeleteACLAccepted

NewDeleteACLAccepted creates DeleteACLAccepted with default headers values

func (*DeleteACLAccepted) SetReloadID

func (o *DeleteACLAccepted) SetReloadID(reloadID string)

SetReloadID sets the reloadId to the delete Acl accepted response

func (*DeleteACLAccepted) WithReloadID

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

WithReloadID adds the reloadId to the delete Acl accepted response

func (*DeleteACLAccepted) WriteResponse

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

WriteResponse to the client

type DeleteACLDefault

type DeleteACLDefault struct {

	/*Configuration file version

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

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

DeleteACLDefault General Error

swagger:response deleteAclDefault

func NewDeleteACLDefault

func NewDeleteACLDefault(code int) *DeleteACLDefault

NewDeleteACLDefault creates DeleteACLDefault with default headers values

func (*DeleteACLDefault) SetConfigurationVersion added in v1.2.2

func (o *DeleteACLDefault) SetConfigurationVersion(configurationVersion int64)

SetConfigurationVersion sets the configurationVersion to the delete Acl default response

func (*DeleteACLDefault) SetPayload

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

SetPayload sets the payload to the delete Acl default response

func (*DeleteACLDefault) SetStatusCode

func (o *DeleteACLDefault) SetStatusCode(code int)

SetStatusCode sets the status to the delete Acl default response

func (*DeleteACLDefault) WithConfigurationVersion added in v1.2.2

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

WithConfigurationVersion adds the configurationVersion to the delete Acl default response

func (*DeleteACLDefault) WithPayload

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

WithPayload adds the payload to the delete Acl default response

func (*DeleteACLDefault) WithStatusCode

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

WithStatusCode adds the status to the delete Acl default response

func (*DeleteACLDefault) WriteResponse

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

WriteResponse to the client

type DeleteACLHandler

type DeleteACLHandler interface {
	Handle(DeleteACLParams, interface{}) middleware.Responder
}

DeleteACLHandler interface for that can handle valid delete Acl params

type DeleteACLHandlerFunc

type DeleteACLHandlerFunc func(DeleteACLParams, interface{}) middleware.Responder

DeleteACLHandlerFunc turns a function with the right signature into a delete Acl handler

func (DeleteACLHandlerFunc) Handle

func (fn DeleteACLHandlerFunc) Handle(params DeleteACLParams, principal interface{}) middleware.Responder

Handle executing the request and returning a response

type DeleteACLNoContent

type DeleteACLNoContent struct {
}

DeleteACLNoContent ACL line deleted

swagger:response deleteAclNoContent

func NewDeleteACLNoContent

func NewDeleteACLNoContent() *DeleteACLNoContent

NewDeleteACLNoContent creates DeleteACLNoContent with default headers values

func (*DeleteACLNoContent) WriteResponse

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

WriteResponse to the client

type DeleteACLNotFound

type DeleteACLNotFound struct {
	/*Configuration file version

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

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

DeleteACLNotFound The specified resource was not found

swagger:response deleteAclNotFound

func NewDeleteACLNotFound

func NewDeleteACLNotFound() *DeleteACLNotFound

NewDeleteACLNotFound creates DeleteACLNotFound with default headers values

func (*DeleteACLNotFound) SetConfigurationVersion added in v1.2.2

func (o *DeleteACLNotFound) SetConfigurationVersion(configurationVersion int64)

SetConfigurationVersion sets the configurationVersion to the delete Acl not found response

func (*DeleteACLNotFound) SetPayload

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

SetPayload sets the payload to the delete Acl not found response

func (*DeleteACLNotFound) WithConfigurationVersion added in v1.2.2

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

WithConfigurationVersion adds the configurationVersion to the delete Acl not found response

func (*DeleteACLNotFound) WithPayload

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

WithPayload adds the payload to the delete Acl not found response

func (*DeleteACLNotFound) WriteResponse

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

WriteResponse to the client

type DeleteACLParams

type DeleteACLParams 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
	/*ACL line ID
	  Required: true
	  In: path
	*/
	ID int64
	/*Parent name
	  Required: true
	  In: query
	*/
	ParentName string
	/*Parent type
	  Required: true
	  In: query
	*/
	ParentType 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
}

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

swagger:parameters deleteAcl

func NewDeleteACLParams

func NewDeleteACLParams() DeleteACLParams

NewDeleteACLParams creates a new DeleteACLParams object with the default values initialized.

func (*DeleteACLParams) BindRequest

func (o *DeleteACLParams) 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 NewDeleteACLParams() beforehand.

type DeleteACLURL

type DeleteACLURL struct {
	ID int64

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

DeleteACLURL generates an URL for the delete Acl operation

func (*DeleteACLURL) Build

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

Build a url path and query string

func (*DeleteACLURL) BuildFull

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

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

func (*DeleteACLURL) Must

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

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

func (*DeleteACLURL) SetBasePath

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

func (o *DeleteACLURL) String() string

String returns the string representation of the path with query string

func (*DeleteACLURL) StringFull

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

StringFull returns the string representation of a complete url

func (*DeleteACLURL) WithBasePath

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

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 GetACL

type GetACL struct {
	Context *middleware.Context
	Handler GetACLHandler
}

GetACL swagger:route GET /services/haproxy/configuration/acls/{id} ACL getAcl

Return one ACL line

Returns one ACL line configuration by it's ID in the specified parent.

func NewGetACL

func NewGetACL(ctx *middleware.Context, handler GetACLHandler) *GetACL

NewGetACL creates a new http.Handler for the get Acl operation

func (*GetACL) ServeHTTP

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

type GetACLDefault

type GetACLDefault struct {

	/*Configuration file version

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

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

GetACLDefault General Error

swagger:response getAclDefault

func NewGetACLDefault

func NewGetACLDefault(code int) *GetACLDefault

NewGetACLDefault creates GetACLDefault with default headers values

func (*GetACLDefault) SetConfigurationVersion added in v1.2.2

func (o *GetACLDefault) SetConfigurationVersion(configurationVersion int64)

SetConfigurationVersion sets the configurationVersion to the get Acl default response

func (*GetACLDefault) SetPayload

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

SetPayload sets the payload to the get Acl default response

func (*GetACLDefault) SetStatusCode

func (o *GetACLDefault) SetStatusCode(code int)

SetStatusCode sets the status to the get Acl default response

func (*GetACLDefault) WithConfigurationVersion added in v1.2.2

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

WithConfigurationVersion adds the configurationVersion to the get Acl default response

func (*GetACLDefault) WithPayload

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

WithPayload adds the payload to the get Acl default response

func (*GetACLDefault) WithStatusCode

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

WithStatusCode adds the status to the get Acl default response

func (*GetACLDefault) WriteResponse

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

WriteResponse to the client

type GetACLHandler

type GetACLHandler interface {
	Handle(GetACLParams, interface{}) middleware.Responder
}

GetACLHandler interface for that can handle valid get Acl params

type GetACLHandlerFunc

type GetACLHandlerFunc func(GetACLParams, interface{}) middleware.Responder

GetACLHandlerFunc turns a function with the right signature into a get Acl handler

func (GetACLHandlerFunc) Handle

func (fn GetACLHandlerFunc) Handle(params GetACLParams, principal interface{}) middleware.Responder

Handle executing the request and returning a response

type GetACLNotFound

type GetACLNotFound struct {
	/*Configuration file version

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

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

GetACLNotFound The specified resource was not found

swagger:response getAclNotFound

func NewGetACLNotFound

func NewGetACLNotFound() *GetACLNotFound

NewGetACLNotFound creates GetACLNotFound with default headers values

func (*GetACLNotFound) SetConfigurationVersion added in v1.2.2

func (o *GetACLNotFound) SetConfigurationVersion(configurationVersion int64)

SetConfigurationVersion sets the configurationVersion to the get Acl not found response

func (*GetACLNotFound) SetPayload

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

SetPayload sets the payload to the get Acl not found response

func (*GetACLNotFound) WithConfigurationVersion added in v1.2.2

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

WithConfigurationVersion adds the configurationVersion to the get Acl not found response

func (*GetACLNotFound) WithPayload

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

WithPayload adds the payload to the get Acl not found response

func (*GetACLNotFound) WriteResponse

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

WriteResponse to the client

type GetACLOK

type GetACLOK struct {
	/*Configuration file version

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

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

GetACLOK Successful operation

swagger:response getAclOK

func NewGetACLOK

func NewGetACLOK() *GetACLOK

NewGetACLOK creates GetACLOK with default headers values

func (*GetACLOK) SetConfigurationVersion added in v1.2.2

func (o *GetACLOK) SetConfigurationVersion(configurationVersion int64)

SetConfigurationVersion sets the configurationVersion to the get Acl o k response

func (*GetACLOK) SetPayload

func (o *GetACLOK) SetPayload(payload *GetACLOKBody)

SetPayload sets the payload to the get Acl o k response

func (*GetACLOK) WithConfigurationVersion added in v1.2.2

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

WithConfigurationVersion adds the configurationVersion to the get Acl o k response

func (*GetACLOK) WithPayload

func (o *GetACLOK) WithPayload(payload *GetACLOKBody) *GetACLOK

WithPayload adds the payload to the get Acl o k response

func (*GetACLOK) WriteResponse

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

WriteResponse to the client

type GetACLOKBody

type GetACLOKBody struct {

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

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

GetACLOKBody get ACL o k body swagger:model GetACLOKBody

func (*GetACLOKBody) MarshalBinary

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

MarshalBinary interface implementation

func (*GetACLOKBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*GetACLOKBody) Validate

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

Validate validates this get ACL o k body

type GetACLParams

type GetACLParams struct {

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

	/*ACL line ID
	  Required: true
	  In: path
	*/
	ID int64
	/*Parent name
	  Required: true
	  In: query
	*/
	ParentName string
	/*Parent type
	  Required: true
	  In: query
	*/
	ParentType string
	/*ID of the transaction where we want to add the operation. Cannot be used when version is specified.
	  In: query
	*/
	TransactionID *string
}

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

swagger:parameters getAcl

func NewGetACLParams

func NewGetACLParams() GetACLParams

NewGetACLParams creates a new GetACLParams object no default values defined in spec.

func (*GetACLParams) BindRequest

func (o *GetACLParams) 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 NewGetACLParams() beforehand.

type GetACLURL

type GetACLURL struct {
	ID int64

	ParentName    string
	ParentType    string
	TransactionID *string
	// contains filtered or unexported fields
}

GetACLURL generates an URL for the get Acl operation

func (*GetACLURL) Build

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

Build a url path and query string

func (*GetACLURL) BuildFull

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

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

func (*GetACLURL) Must

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

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

func (*GetACLURL) SetBasePath

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

func (o *GetACLURL) String() string

String returns the string representation of the path with query string

func (*GetACLURL) StringFull

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

StringFull returns the string representation of a complete url

func (*GetACLURL) WithBasePath

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

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 GetAcls

type GetAcls struct {
	Context *middleware.Context
	Handler GetAclsHandler
}

GetAcls swagger:route GET /services/haproxy/configuration/acls ACL getAcls

Return an array of all ACL lines

Returns all ACL lines that are configured in specified parent.

func NewGetAcls

func NewGetAcls(ctx *middleware.Context, handler GetAclsHandler) *GetAcls

NewGetAcls creates a new http.Handler for the get acls operation

func (*GetAcls) ServeHTTP

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

type GetAclsDefault

type GetAclsDefault struct {

	/*Configuration file version

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

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

GetAclsDefault General Error

swagger:response getAclsDefault

func NewGetAclsDefault

func NewGetAclsDefault(code int) *GetAclsDefault

NewGetAclsDefault creates GetAclsDefault with default headers values

func (*GetAclsDefault) SetConfigurationVersion added in v1.2.2

func (o *GetAclsDefault) SetConfigurationVersion(configurationVersion int64)

SetConfigurationVersion sets the configurationVersion to the get acls default response

func (*GetAclsDefault) SetPayload

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

SetPayload sets the payload to the get acls default response

func (*GetAclsDefault) SetStatusCode

func (o *GetAclsDefault) SetStatusCode(code int)

SetStatusCode sets the status to the get acls default response

func (*GetAclsDefault) WithConfigurationVersion added in v1.2.2

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

WithConfigurationVersion adds the configurationVersion to the get acls default response

func (*GetAclsDefault) WithPayload

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

WithPayload adds the payload to the get acls default response

func (*GetAclsDefault) WithStatusCode

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

WithStatusCode adds the status to the get acls default response

func (*GetAclsDefault) WriteResponse

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

WriteResponse to the client

type GetAclsHandler

type GetAclsHandler interface {
	Handle(GetAclsParams, interface{}) middleware.Responder
}

GetAclsHandler interface for that can handle valid get acls params

type GetAclsHandlerFunc

type GetAclsHandlerFunc func(GetAclsParams, interface{}) middleware.Responder

GetAclsHandlerFunc turns a function with the right signature into a get acls handler

func (GetAclsHandlerFunc) Handle

func (fn GetAclsHandlerFunc) Handle(params GetAclsParams, principal interface{}) middleware.Responder

Handle executing the request and returning a response

type GetAclsOK

type GetAclsOK struct {
	/*Configuration file version

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

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

GetAclsOK Successful operation

swagger:response getAclsOK

func NewGetAclsOK

func NewGetAclsOK() *GetAclsOK

NewGetAclsOK creates GetAclsOK with default headers values

func (*GetAclsOK) SetConfigurationVersion added in v1.2.2

func (o *GetAclsOK) SetConfigurationVersion(configurationVersion int64)

SetConfigurationVersion sets the configurationVersion to the get acls o k response

func (*GetAclsOK) SetPayload

func (o *GetAclsOK) SetPayload(payload *GetAclsOKBody)

SetPayload sets the payload to the get acls o k response

func (*GetAclsOK) WithConfigurationVersion added in v1.2.2

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

WithConfigurationVersion adds the configurationVersion to the get acls o k response

func (*GetAclsOK) WithPayload

func (o *GetAclsOK) WithPayload(payload *GetAclsOKBody) *GetAclsOK

WithPayload adds the payload to the get acls o k response

func (*GetAclsOK) WriteResponse

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

WriteResponse to the client

type GetAclsOKBody

type GetAclsOKBody struct {

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

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

GetAclsOKBody get acls o k body swagger:model GetAclsOKBody

func (*GetAclsOKBody) MarshalBinary

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

MarshalBinary interface implementation

func (*GetAclsOKBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*GetAclsOKBody) Validate

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

Validate validates this get acls o k body

type GetAclsParams

type GetAclsParams struct {

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

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

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

swagger:parameters getAcls

func NewGetAclsParams

func NewGetAclsParams() GetAclsParams

NewGetAclsParams creates a new GetAclsParams object no default values defined in spec.

func (*GetAclsParams) BindRequest

func (o *GetAclsParams) 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 NewGetAclsParams() beforehand.

type GetAclsURL

type GetAclsURL struct {
	ParentName    string
	ParentType    string
	TransactionID *string
	// contains filtered or unexported fields
}

GetAclsURL generates an URL for the get acls operation

func (*GetAclsURL) Build

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

Build a url path and query string

func (*GetAclsURL) BuildFull

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

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

func (*GetAclsURL) Must

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

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

func (*GetAclsURL) SetBasePath

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

func (o *GetAclsURL) String() string

String returns the string representation of the path with query string

func (*GetAclsURL) StringFull

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

StringFull returns the string representation of a complete url

func (*GetAclsURL) WithBasePath

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

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 ReplaceACL

type ReplaceACL struct {
	Context *middleware.Context
	Handler ReplaceACLHandler
}

ReplaceACL swagger:route PUT /services/haproxy/configuration/acls/{id} ACL replaceAcl

Replace a ACL line

Replaces a ACL line configuration by it's ID in the specified parent.

func NewReplaceACL

func NewReplaceACL(ctx *middleware.Context, handler ReplaceACLHandler) *ReplaceACL

NewReplaceACL creates a new http.Handler for the replace Acl operation

func (*ReplaceACL) ServeHTTP

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

type ReplaceACLAccepted

type ReplaceACLAccepted struct {
	/*ID of the requested reload

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

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

ReplaceACLAccepted Configuration change accepted and reload requested

swagger:response replaceAclAccepted

func NewReplaceACLAccepted

func NewReplaceACLAccepted() *ReplaceACLAccepted

NewReplaceACLAccepted creates ReplaceACLAccepted with default headers values

func (*ReplaceACLAccepted) SetPayload

func (o *ReplaceACLAccepted) SetPayload(payload *models.ACL)

SetPayload sets the payload to the replace Acl accepted response

func (*ReplaceACLAccepted) SetReloadID

func (o *ReplaceACLAccepted) SetReloadID(reloadID string)

SetReloadID sets the reloadId to the replace Acl accepted response

func (*ReplaceACLAccepted) WithPayload

func (o *ReplaceACLAccepted) WithPayload(payload *models.ACL) *ReplaceACLAccepted

WithPayload adds the payload to the replace Acl accepted response

func (*ReplaceACLAccepted) WithReloadID

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

WithReloadID adds the reloadId to the replace Acl accepted response

func (*ReplaceACLAccepted) WriteResponse

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

WriteResponse to the client

type ReplaceACLBadRequest

type ReplaceACLBadRequest struct {
	/*Configuration file version

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

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

ReplaceACLBadRequest Bad request

swagger:response replaceAclBadRequest

func NewReplaceACLBadRequest

func NewReplaceACLBadRequest() *ReplaceACLBadRequest

NewReplaceACLBadRequest creates ReplaceACLBadRequest with default headers values

func (*ReplaceACLBadRequest) SetConfigurationVersion added in v1.2.2

func (o *ReplaceACLBadRequest) SetConfigurationVersion(configurationVersion int64)

SetConfigurationVersion sets the configurationVersion to the replace Acl bad request response

func (*ReplaceACLBadRequest) SetPayload

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

SetPayload sets the payload to the replace Acl bad request response

func (*ReplaceACLBadRequest) WithConfigurationVersion added in v1.2.2

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

WithConfigurationVersion adds the configurationVersion to the replace Acl bad request response

func (*ReplaceACLBadRequest) WithPayload

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

WithPayload adds the payload to the replace Acl bad request response

func (*ReplaceACLBadRequest) WriteResponse

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

WriteResponse to the client

type ReplaceACLDefault

type ReplaceACLDefault struct {

	/*Configuration file version

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

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

ReplaceACLDefault General Error

swagger:response replaceAclDefault

func NewReplaceACLDefault

func NewReplaceACLDefault(code int) *ReplaceACLDefault

NewReplaceACLDefault creates ReplaceACLDefault with default headers values

func (*ReplaceACLDefault) SetConfigurationVersion added in v1.2.2

func (o *ReplaceACLDefault) SetConfigurationVersion(configurationVersion int64)

SetConfigurationVersion sets the configurationVersion to the replace Acl default response

func (*ReplaceACLDefault) SetPayload

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

SetPayload sets the payload to the replace Acl default response

func (*ReplaceACLDefault) SetStatusCode

func (o *ReplaceACLDefault) SetStatusCode(code int)

SetStatusCode sets the status to the replace Acl default response

func (*ReplaceACLDefault) WithConfigurationVersion added in v1.2.2

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

WithConfigurationVersion adds the configurationVersion to the replace Acl default response

func (*ReplaceACLDefault) WithPayload

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

WithPayload adds the payload to the replace Acl default response

func (*ReplaceACLDefault) WithStatusCode

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

WithStatusCode adds the status to the replace Acl default response

func (*ReplaceACLDefault) WriteResponse

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

WriteResponse to the client

type ReplaceACLHandler

type ReplaceACLHandler interface {
	Handle(ReplaceACLParams, interface{}) middleware.Responder
}

ReplaceACLHandler interface for that can handle valid replace Acl params

type ReplaceACLHandlerFunc

type ReplaceACLHandlerFunc func(ReplaceACLParams, interface{}) middleware.Responder

ReplaceACLHandlerFunc turns a function with the right signature into a replace Acl handler

func (ReplaceACLHandlerFunc) Handle

func (fn ReplaceACLHandlerFunc) Handle(params ReplaceACLParams, principal interface{}) middleware.Responder

Handle executing the request and returning a response

type ReplaceACLNotFound

type ReplaceACLNotFound struct {
	/*Configuration file version

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

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

ReplaceACLNotFound The specified resource was not found

swagger:response replaceAclNotFound

func NewReplaceACLNotFound

func NewReplaceACLNotFound() *ReplaceACLNotFound

NewReplaceACLNotFound creates ReplaceACLNotFound with default headers values

func (*ReplaceACLNotFound) SetConfigurationVersion added in v1.2.2

func (o *ReplaceACLNotFound) SetConfigurationVersion(configurationVersion int64)

SetConfigurationVersion sets the configurationVersion to the replace Acl not found response

func (*ReplaceACLNotFound) SetPayload

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

SetPayload sets the payload to the replace Acl not found response

func (*ReplaceACLNotFound) WithConfigurationVersion added in v1.2.2

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

WithConfigurationVersion adds the configurationVersion to the replace Acl not found response

func (*ReplaceACLNotFound) WithPayload

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

WithPayload adds the payload to the replace Acl not found response

func (*ReplaceACLNotFound) WriteResponse

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

WriteResponse to the client

type ReplaceACLOK

type ReplaceACLOK struct {

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

ReplaceACLOK ACL line replaced

swagger:response replaceAclOK

func NewReplaceACLOK

func NewReplaceACLOK() *ReplaceACLOK

NewReplaceACLOK creates ReplaceACLOK with default headers values

func (*ReplaceACLOK) SetPayload

func (o *ReplaceACLOK) SetPayload(payload *models.ACL)

SetPayload sets the payload to the replace Acl o k response

func (*ReplaceACLOK) WithPayload

func (o *ReplaceACLOK) WithPayload(payload *models.ACL) *ReplaceACLOK

WithPayload adds the payload to the replace Acl o k response

func (*ReplaceACLOK) WriteResponse

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

WriteResponse to the client

type ReplaceACLParams

type ReplaceACLParams struct {

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

	/*
	  Required: true
	  In: body
	*/
	Data *models.ACL
	/*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
	/*ACL line ID
	  Required: true
	  In: path
	*/
	ID int64
	/*Parent name
	  Required: true
	  In: query
	*/
	ParentName string
	/*Parent type
	  Required: true
	  In: query
	*/
	ParentType 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
}

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

swagger:parameters replaceAcl

func NewReplaceACLParams

func NewReplaceACLParams() ReplaceACLParams

NewReplaceACLParams creates a new ReplaceACLParams object with the default values initialized.

func (*ReplaceACLParams) BindRequest

func (o *ReplaceACLParams) 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 NewReplaceACLParams() beforehand.

type ReplaceACLURL

type ReplaceACLURL struct {
	ID int64

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

ReplaceACLURL generates an URL for the replace Acl operation

func (*ReplaceACLURL) Build

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

Build a url path and query string

func (*ReplaceACLURL) BuildFull

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

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

func (*ReplaceACLURL) Must

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

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

func (*ReplaceACLURL) SetBasePath

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

func (o *ReplaceACLURL) String() string

String returns the string representation of the path with query string

func (*ReplaceACLURL) StringFull

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

StringFull returns the string representation of a complete url

func (*ReplaceACLURL) WithBasePath

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

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