site_replication

package
v1.3.3 Latest Latest
Warning

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

Go to latest
Published: May 3, 2024 License: AGPL-3.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const GetSiteReplicationInfoOKCode int = 200

GetSiteReplicationInfoOKCode is the HTTP code returned for type GetSiteReplicationInfoOK

View Source
const GetSiteReplicationStatusOKCode int = 200

GetSiteReplicationStatusOKCode is the HTTP code returned for type GetSiteReplicationStatusOK

View Source
const SiteReplicationEditOKCode int = 200

SiteReplicationEditOKCode is the HTTP code returned for type SiteReplicationEditOK

View Source
const SiteReplicationInfoAddOKCode int = 200

SiteReplicationInfoAddOKCode is the HTTP code returned for type SiteReplicationInfoAddOK

View Source
const SiteReplicationRemoveNoContentCode int = 204

SiteReplicationRemoveNoContentCode is the HTTP code returned for type SiteReplicationRemoveNoContent

Variables

This section is empty.

Functions

This section is empty.

Types

type GetSiteReplicationInfo

type GetSiteReplicationInfo struct {
	Context *middleware.Context
	Handler GetSiteReplicationInfoHandler
}
GetSiteReplicationInfo swagger:route GET /admin/site-replication SiteReplication getSiteReplicationInfo

Get list of Replication Sites

func NewGetSiteReplicationInfo

func NewGetSiteReplicationInfo(ctx *middleware.Context, handler GetSiteReplicationInfoHandler) *GetSiteReplicationInfo

NewGetSiteReplicationInfo creates a new http.Handler for the get site replication info operation

func (*GetSiteReplicationInfo) ServeHTTP

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

type GetSiteReplicationInfoDefault

type GetSiteReplicationInfoDefault struct {

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

GetSiteReplicationInfoDefault Generic error response.

swagger:response getSiteReplicationInfoDefault

func NewGetSiteReplicationInfoDefault

func NewGetSiteReplicationInfoDefault(code int) *GetSiteReplicationInfoDefault

NewGetSiteReplicationInfoDefault creates GetSiteReplicationInfoDefault with default headers values

func (*GetSiteReplicationInfoDefault) SetPayload

func (o *GetSiteReplicationInfoDefault) SetPayload(payload *models.APIError)

SetPayload sets the payload to the get site replication info default response

func (*GetSiteReplicationInfoDefault) SetStatusCode

func (o *GetSiteReplicationInfoDefault) SetStatusCode(code int)

SetStatusCode sets the status to the get site replication info default response

func (*GetSiteReplicationInfoDefault) WithPayload

WithPayload adds the payload to the get site replication info default response

func (*GetSiteReplicationInfoDefault) WithStatusCode

WithStatusCode adds the status to the get site replication info default response

func (*GetSiteReplicationInfoDefault) WriteResponse

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

WriteResponse to the client

type GetSiteReplicationInfoHandler

type GetSiteReplicationInfoHandler interface {
	Handle(GetSiteReplicationInfoParams, *models.Principal) middleware.Responder
}

GetSiteReplicationInfoHandler interface for that can handle valid get site replication info params

type GetSiteReplicationInfoHandlerFunc

type GetSiteReplicationInfoHandlerFunc func(GetSiteReplicationInfoParams, *models.Principal) middleware.Responder

GetSiteReplicationInfoHandlerFunc turns a function with the right signature into a get site replication info handler

func (GetSiteReplicationInfoHandlerFunc) Handle

Handle executing the request and returning a response

type GetSiteReplicationInfoOK

type GetSiteReplicationInfoOK struct {

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

GetSiteReplicationInfoOK A successful response.

swagger:response getSiteReplicationInfoOK

func NewGetSiteReplicationInfoOK

func NewGetSiteReplicationInfoOK() *GetSiteReplicationInfoOK

NewGetSiteReplicationInfoOK creates GetSiteReplicationInfoOK with default headers values

func (*GetSiteReplicationInfoOK) SetPayload

SetPayload sets the payload to the get site replication info o k response

func (*GetSiteReplicationInfoOK) WithPayload

WithPayload adds the payload to the get site replication info o k response

func (*GetSiteReplicationInfoOK) WriteResponse

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

WriteResponse to the client

type GetSiteReplicationInfoParams

type GetSiteReplicationInfoParams struct {

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

GetSiteReplicationInfoParams contains all the bound params for the get site replication info operation typically these are obtained from a http.Request

swagger:parameters GetSiteReplicationInfo

func NewGetSiteReplicationInfoParams

func NewGetSiteReplicationInfoParams() GetSiteReplicationInfoParams

NewGetSiteReplicationInfoParams creates a new GetSiteReplicationInfoParams object

There are no default values defined in the spec.

func (*GetSiteReplicationInfoParams) BindRequest

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 NewGetSiteReplicationInfoParams() beforehand.

type GetSiteReplicationInfoURL

type GetSiteReplicationInfoURL struct {
	// contains filtered or unexported fields
}

GetSiteReplicationInfoURL generates an URL for the get site replication info operation

func (*GetSiteReplicationInfoURL) Build

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

Build a url path and query string

func (*GetSiteReplicationInfoURL) BuildFull

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

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

func (*GetSiteReplicationInfoURL) Must

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

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

func (*GetSiteReplicationInfoURL) SetBasePath

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

func (o *GetSiteReplicationInfoURL) String() string

String returns the string representation of the path with query string

func (*GetSiteReplicationInfoURL) StringFull

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

StringFull returns the string representation of a complete url

func (*GetSiteReplicationInfoURL) WithBasePath

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 GetSiteReplicationStatus

type GetSiteReplicationStatus struct {
	Context *middleware.Context
	Handler GetSiteReplicationStatusHandler
}
GetSiteReplicationStatus swagger:route GET /admin/site-replication/status SiteReplication getSiteReplicationStatus

Display overall site replication status

func NewGetSiteReplicationStatus

func NewGetSiteReplicationStatus(ctx *middleware.Context, handler GetSiteReplicationStatusHandler) *GetSiteReplicationStatus

NewGetSiteReplicationStatus creates a new http.Handler for the get site replication status operation

func (*GetSiteReplicationStatus) ServeHTTP

type GetSiteReplicationStatusDefault

type GetSiteReplicationStatusDefault struct {

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

GetSiteReplicationStatusDefault Generic error response.

swagger:response getSiteReplicationStatusDefault

func NewGetSiteReplicationStatusDefault

func NewGetSiteReplicationStatusDefault(code int) *GetSiteReplicationStatusDefault

NewGetSiteReplicationStatusDefault creates GetSiteReplicationStatusDefault with default headers values

func (*GetSiteReplicationStatusDefault) SetPayload

func (o *GetSiteReplicationStatusDefault) SetPayload(payload *models.APIError)

SetPayload sets the payload to the get site replication status default response

func (*GetSiteReplicationStatusDefault) SetStatusCode

func (o *GetSiteReplicationStatusDefault) SetStatusCode(code int)

SetStatusCode sets the status to the get site replication status default response

func (*GetSiteReplicationStatusDefault) WithPayload

WithPayload adds the payload to the get site replication status default response

func (*GetSiteReplicationStatusDefault) WithStatusCode

WithStatusCode adds the status to the get site replication status default response

func (*GetSiteReplicationStatusDefault) WriteResponse

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

WriteResponse to the client

type GetSiteReplicationStatusHandler

type GetSiteReplicationStatusHandler interface {
	Handle(GetSiteReplicationStatusParams, *models.Principal) middleware.Responder
}

GetSiteReplicationStatusHandler interface for that can handle valid get site replication status params

type GetSiteReplicationStatusHandlerFunc

type GetSiteReplicationStatusHandlerFunc func(GetSiteReplicationStatusParams, *models.Principal) middleware.Responder

GetSiteReplicationStatusHandlerFunc turns a function with the right signature into a get site replication status handler

func (GetSiteReplicationStatusHandlerFunc) Handle

Handle executing the request and returning a response

type GetSiteReplicationStatusOK

type GetSiteReplicationStatusOK struct {

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

GetSiteReplicationStatusOK A successful response.

swagger:response getSiteReplicationStatusOK

func NewGetSiteReplicationStatusOK

func NewGetSiteReplicationStatusOK() *GetSiteReplicationStatusOK

NewGetSiteReplicationStatusOK creates GetSiteReplicationStatusOK with default headers values

func (*GetSiteReplicationStatusOK) SetPayload

SetPayload sets the payload to the get site replication status o k response

func (*GetSiteReplicationStatusOK) WithPayload

WithPayload adds the payload to the get site replication status o k response

func (*GetSiteReplicationStatusOK) WriteResponse

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

WriteResponse to the client

type GetSiteReplicationStatusParams

type GetSiteReplicationStatusParams struct {

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

	/*Include Bucket stats
	  In: query
	  Default: true
	*/
	Buckets *bool
	/*Entity Type to lookup
	  In: query
	*/
	EntityType *string
	/*Entity Value to lookup
	  In: query
	*/
	EntityValue *string
	/*Include Group stats
	  In: query
	  Default: true
	*/
	Groups *bool
	/*Include Policies stats
	  In: query
	  Default: true
	*/
	Policies *bool
	/*Include Policies stats
	  In: query
	  Default: true
	*/
	Users *bool
}

GetSiteReplicationStatusParams contains all the bound params for the get site replication status operation typically these are obtained from a http.Request

swagger:parameters GetSiteReplicationStatus

func NewGetSiteReplicationStatusParams

func NewGetSiteReplicationStatusParams() GetSiteReplicationStatusParams

NewGetSiteReplicationStatusParams creates a new GetSiteReplicationStatusParams object with the default values initialized.

func (*GetSiteReplicationStatusParams) BindRequest

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 NewGetSiteReplicationStatusParams() beforehand.

type GetSiteReplicationStatusURL

type GetSiteReplicationStatusURL struct {
	Buckets     *bool
	EntityType  *string
	EntityValue *string
	Groups      *bool
	Policies    *bool
	Users       *bool
	// contains filtered or unexported fields
}

GetSiteReplicationStatusURL generates an URL for the get site replication status operation

func (*GetSiteReplicationStatusURL) Build

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

Build a url path and query string

func (*GetSiteReplicationStatusURL) BuildFull

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

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

func (*GetSiteReplicationStatusURL) Must

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

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

func (*GetSiteReplicationStatusURL) SetBasePath

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

func (o *GetSiteReplicationStatusURL) String() string

String returns the string representation of the path with query string

func (*GetSiteReplicationStatusURL) StringFull

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

StringFull returns the string representation of a complete url

func (*GetSiteReplicationStatusURL) WithBasePath

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 SiteReplicationEdit

type SiteReplicationEdit struct {
	Context *middleware.Context
	Handler SiteReplicationEditHandler
}
SiteReplicationEdit swagger:route PUT /admin/site-replication SiteReplication siteReplicationEdit

Edit a Replication Site

func NewSiteReplicationEdit

func NewSiteReplicationEdit(ctx *middleware.Context, handler SiteReplicationEditHandler) *SiteReplicationEdit

NewSiteReplicationEdit creates a new http.Handler for the site replication edit operation

func (*SiteReplicationEdit) ServeHTTP

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

type SiteReplicationEditDefault

type SiteReplicationEditDefault struct {

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

SiteReplicationEditDefault Generic error response.

swagger:response siteReplicationEditDefault

func NewSiteReplicationEditDefault

func NewSiteReplicationEditDefault(code int) *SiteReplicationEditDefault

NewSiteReplicationEditDefault creates SiteReplicationEditDefault with default headers values

func (*SiteReplicationEditDefault) SetPayload

func (o *SiteReplicationEditDefault) SetPayload(payload *models.APIError)

SetPayload sets the payload to the site replication edit default response

func (*SiteReplicationEditDefault) SetStatusCode

func (o *SiteReplicationEditDefault) SetStatusCode(code int)

SetStatusCode sets the status to the site replication edit default response

func (*SiteReplicationEditDefault) WithPayload

WithPayload adds the payload to the site replication edit default response

func (*SiteReplicationEditDefault) WithStatusCode

WithStatusCode adds the status to the site replication edit default response

func (*SiteReplicationEditDefault) WriteResponse

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

WriteResponse to the client

type SiteReplicationEditHandler

type SiteReplicationEditHandler interface {
	Handle(SiteReplicationEditParams, *models.Principal) middleware.Responder
}

SiteReplicationEditHandler interface for that can handle valid site replication edit params

type SiteReplicationEditHandlerFunc

type SiteReplicationEditHandlerFunc func(SiteReplicationEditParams, *models.Principal) middleware.Responder

SiteReplicationEditHandlerFunc turns a function with the right signature into a site replication edit handler

func (SiteReplicationEditHandlerFunc) Handle

Handle executing the request and returning a response

type SiteReplicationEditOK

type SiteReplicationEditOK struct {

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

SiteReplicationEditOK A successful response.

swagger:response siteReplicationEditOK

func NewSiteReplicationEditOK

func NewSiteReplicationEditOK() *SiteReplicationEditOK

NewSiteReplicationEditOK creates SiteReplicationEditOK with default headers values

func (*SiteReplicationEditOK) SetPayload

func (o *SiteReplicationEditOK) SetPayload(payload *models.PeerSiteEditResponse)

SetPayload sets the payload to the site replication edit o k response

func (*SiteReplicationEditOK) WithPayload

WithPayload adds the payload to the site replication edit o k response

func (*SiteReplicationEditOK) WriteResponse

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

WriteResponse to the client

type SiteReplicationEditParams

type SiteReplicationEditParams struct {

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

	/*
	  Required: true
	  In: body
	*/
	Body *models.PeerInfo
}

SiteReplicationEditParams contains all the bound params for the site replication edit operation typically these are obtained from a http.Request

swagger:parameters SiteReplicationEdit

func NewSiteReplicationEditParams

func NewSiteReplicationEditParams() SiteReplicationEditParams

NewSiteReplicationEditParams creates a new SiteReplicationEditParams object

There are no default values defined in the spec.

func (*SiteReplicationEditParams) BindRequest

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 NewSiteReplicationEditParams() beforehand.

type SiteReplicationEditURL

type SiteReplicationEditURL struct {
	// contains filtered or unexported fields
}

SiteReplicationEditURL generates an URL for the site replication edit operation

func (*SiteReplicationEditURL) Build

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

Build a url path and query string

func (*SiteReplicationEditURL) BuildFull

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

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

func (*SiteReplicationEditURL) Must

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

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

func (*SiteReplicationEditURL) SetBasePath

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

func (o *SiteReplicationEditURL) String() string

String returns the string representation of the path with query string

func (*SiteReplicationEditURL) StringFull

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

StringFull returns the string representation of a complete url

func (*SiteReplicationEditURL) WithBasePath

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 SiteReplicationInfoAdd

type SiteReplicationInfoAdd struct {
	Context *middleware.Context
	Handler SiteReplicationInfoAddHandler
}
SiteReplicationInfoAdd swagger:route POST /admin/site-replication SiteReplication siteReplicationInfoAdd

Add a Replication Site

func NewSiteReplicationInfoAdd

func NewSiteReplicationInfoAdd(ctx *middleware.Context, handler SiteReplicationInfoAddHandler) *SiteReplicationInfoAdd

NewSiteReplicationInfoAdd creates a new http.Handler for the site replication info add operation

func (*SiteReplicationInfoAdd) ServeHTTP

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

type SiteReplicationInfoAddDefault

type SiteReplicationInfoAddDefault struct {

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

SiteReplicationInfoAddDefault Generic error response.

swagger:response siteReplicationInfoAddDefault

func NewSiteReplicationInfoAddDefault

func NewSiteReplicationInfoAddDefault(code int) *SiteReplicationInfoAddDefault

NewSiteReplicationInfoAddDefault creates SiteReplicationInfoAddDefault with default headers values

func (*SiteReplicationInfoAddDefault) SetPayload

func (o *SiteReplicationInfoAddDefault) SetPayload(payload *models.APIError)

SetPayload sets the payload to the site replication info add default response

func (*SiteReplicationInfoAddDefault) SetStatusCode

func (o *SiteReplicationInfoAddDefault) SetStatusCode(code int)

SetStatusCode sets the status to the site replication info add default response

func (*SiteReplicationInfoAddDefault) WithPayload

WithPayload adds the payload to the site replication info add default response

func (*SiteReplicationInfoAddDefault) WithStatusCode

WithStatusCode adds the status to the site replication info add default response

func (*SiteReplicationInfoAddDefault) WriteResponse

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

WriteResponse to the client

type SiteReplicationInfoAddHandler

type SiteReplicationInfoAddHandler interface {
	Handle(SiteReplicationInfoAddParams, *models.Principal) middleware.Responder
}

SiteReplicationInfoAddHandler interface for that can handle valid site replication info add params

type SiteReplicationInfoAddHandlerFunc

type SiteReplicationInfoAddHandlerFunc func(SiteReplicationInfoAddParams, *models.Principal) middleware.Responder

SiteReplicationInfoAddHandlerFunc turns a function with the right signature into a site replication info add handler

func (SiteReplicationInfoAddHandlerFunc) Handle

Handle executing the request and returning a response

type SiteReplicationInfoAddOK

type SiteReplicationInfoAddOK struct {

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

SiteReplicationInfoAddOK A successful response.

swagger:response siteReplicationInfoAddOK

func NewSiteReplicationInfoAddOK

func NewSiteReplicationInfoAddOK() *SiteReplicationInfoAddOK

NewSiteReplicationInfoAddOK creates SiteReplicationInfoAddOK with default headers values

func (*SiteReplicationInfoAddOK) SetPayload

SetPayload sets the payload to the site replication info add o k response

func (*SiteReplicationInfoAddOK) WithPayload

WithPayload adds the payload to the site replication info add o k response

func (*SiteReplicationInfoAddOK) WriteResponse

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

WriteResponse to the client

type SiteReplicationInfoAddParams

type SiteReplicationInfoAddParams struct {

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

	/*
	  Required: true
	  In: body
	*/
	Body models.SiteReplicationAddRequest
}

SiteReplicationInfoAddParams contains all the bound params for the site replication info add operation typically these are obtained from a http.Request

swagger:parameters SiteReplicationInfoAdd

func NewSiteReplicationInfoAddParams

func NewSiteReplicationInfoAddParams() SiteReplicationInfoAddParams

NewSiteReplicationInfoAddParams creates a new SiteReplicationInfoAddParams object

There are no default values defined in the spec.

func (*SiteReplicationInfoAddParams) BindRequest

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 NewSiteReplicationInfoAddParams() beforehand.

type SiteReplicationInfoAddURL

type SiteReplicationInfoAddURL struct {
	// contains filtered or unexported fields
}

SiteReplicationInfoAddURL generates an URL for the site replication info add operation

func (*SiteReplicationInfoAddURL) Build

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

Build a url path and query string

func (*SiteReplicationInfoAddURL) BuildFull

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

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

func (*SiteReplicationInfoAddURL) Must

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

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

func (*SiteReplicationInfoAddURL) SetBasePath

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

func (o *SiteReplicationInfoAddURL) String() string

String returns the string representation of the path with query string

func (*SiteReplicationInfoAddURL) StringFull

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

StringFull returns the string representation of a complete url

func (*SiteReplicationInfoAddURL) WithBasePath

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 SiteReplicationRemove

type SiteReplicationRemove struct {
	Context *middleware.Context
	Handler SiteReplicationRemoveHandler
}
SiteReplicationRemove swagger:route DELETE /admin/site-replication SiteReplication siteReplicationRemove

Remove a Replication Site

func NewSiteReplicationRemove

func NewSiteReplicationRemove(ctx *middleware.Context, handler SiteReplicationRemoveHandler) *SiteReplicationRemove

NewSiteReplicationRemove creates a new http.Handler for the site replication remove operation

func (*SiteReplicationRemove) ServeHTTP

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

type SiteReplicationRemoveDefault

type SiteReplicationRemoveDefault struct {

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

SiteReplicationRemoveDefault Generic error response.

swagger:response siteReplicationRemoveDefault

func NewSiteReplicationRemoveDefault

func NewSiteReplicationRemoveDefault(code int) *SiteReplicationRemoveDefault

NewSiteReplicationRemoveDefault creates SiteReplicationRemoveDefault with default headers values

func (*SiteReplicationRemoveDefault) SetPayload

func (o *SiteReplicationRemoveDefault) SetPayload(payload *models.APIError)

SetPayload sets the payload to the site replication remove default response

func (*SiteReplicationRemoveDefault) SetStatusCode

func (o *SiteReplicationRemoveDefault) SetStatusCode(code int)

SetStatusCode sets the status to the site replication remove default response

func (*SiteReplicationRemoveDefault) WithPayload

WithPayload adds the payload to the site replication remove default response

func (*SiteReplicationRemoveDefault) WithStatusCode

WithStatusCode adds the status to the site replication remove default response

func (*SiteReplicationRemoveDefault) WriteResponse

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

WriteResponse to the client

type SiteReplicationRemoveHandler

type SiteReplicationRemoveHandler interface {
	Handle(SiteReplicationRemoveParams, *models.Principal) middleware.Responder
}

SiteReplicationRemoveHandler interface for that can handle valid site replication remove params

type SiteReplicationRemoveHandlerFunc

type SiteReplicationRemoveHandlerFunc func(SiteReplicationRemoveParams, *models.Principal) middleware.Responder

SiteReplicationRemoveHandlerFunc turns a function with the right signature into a site replication remove handler

func (SiteReplicationRemoveHandlerFunc) Handle

Handle executing the request and returning a response

type SiteReplicationRemoveNoContent

type SiteReplicationRemoveNoContent struct {

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

SiteReplicationRemoveNoContent A successful response.

swagger:response siteReplicationRemoveNoContent

func NewSiteReplicationRemoveNoContent

func NewSiteReplicationRemoveNoContent() *SiteReplicationRemoveNoContent

NewSiteReplicationRemoveNoContent creates SiteReplicationRemoveNoContent with default headers values

func (*SiteReplicationRemoveNoContent) SetPayload

SetPayload sets the payload to the site replication remove no content response

func (*SiteReplicationRemoveNoContent) WithPayload

WithPayload adds the payload to the site replication remove no content response

func (*SiteReplicationRemoveNoContent) WriteResponse

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

WriteResponse to the client

type SiteReplicationRemoveParams

type SiteReplicationRemoveParams struct {

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

	/*
	  Required: true
	  In: body
	*/
	Body *models.PeerInfoRemove
}

SiteReplicationRemoveParams contains all the bound params for the site replication remove operation typically these are obtained from a http.Request

swagger:parameters SiteReplicationRemove

func NewSiteReplicationRemoveParams

func NewSiteReplicationRemoveParams() SiteReplicationRemoveParams

NewSiteReplicationRemoveParams creates a new SiteReplicationRemoveParams object

There are no default values defined in the spec.

func (*SiteReplicationRemoveParams) BindRequest

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 NewSiteReplicationRemoveParams() beforehand.

type SiteReplicationRemoveURL

type SiteReplicationRemoveURL struct {
	// contains filtered or unexported fields
}

SiteReplicationRemoveURL generates an URL for the site replication remove operation

func (*SiteReplicationRemoveURL) Build

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

Build a url path and query string

func (*SiteReplicationRemoveURL) BuildFull

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

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

func (*SiteReplicationRemoveURL) Must

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

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

func (*SiteReplicationRemoveURL) SetBasePath

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

func (o *SiteReplicationRemoveURL) String() string

String returns the string representation of the path with query string

func (*SiteReplicationRemoveURL) StringFull

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

StringFull returns the string representation of a complete url

func (*SiteReplicationRemoveURL) WithBasePath

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