Documentation ¶
Index ¶
- Constants
- type GetSiteReplicationInfo
- type GetSiteReplicationInfoDefault
- func (o *GetSiteReplicationInfoDefault) SetPayload(payload *models.Error)
- func (o *GetSiteReplicationInfoDefault) SetStatusCode(code int)
- func (o *GetSiteReplicationInfoDefault) WithPayload(payload *models.Error) *GetSiteReplicationInfoDefault
- func (o *GetSiteReplicationInfoDefault) WithStatusCode(code int) *GetSiteReplicationInfoDefault
- func (o *GetSiteReplicationInfoDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetSiteReplicationInfoHandler
- type GetSiteReplicationInfoHandlerFunc
- type GetSiteReplicationInfoOK
- func (o *GetSiteReplicationInfoOK) SetPayload(payload *models.SiteReplicationInfoResponse)
- func (o *GetSiteReplicationInfoOK) WithPayload(payload *models.SiteReplicationInfoResponse) *GetSiteReplicationInfoOK
- func (o *GetSiteReplicationInfoOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetSiteReplicationInfoParams
- type GetSiteReplicationInfoURL
- func (o *GetSiteReplicationInfoURL) Build() (*url.URL, error)
- func (o *GetSiteReplicationInfoURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *GetSiteReplicationInfoURL) Must(u *url.URL, err error) *url.URL
- func (o *GetSiteReplicationInfoURL) SetBasePath(bp string)
- func (o *GetSiteReplicationInfoURL) String() string
- func (o *GetSiteReplicationInfoURL) StringFull(scheme, host string) string
- func (o *GetSiteReplicationInfoURL) WithBasePath(bp string) *GetSiteReplicationInfoURL
- type GetSiteReplicationStatus
- type GetSiteReplicationStatusDefault
- func (o *GetSiteReplicationStatusDefault) SetPayload(payload *models.Error)
- func (o *GetSiteReplicationStatusDefault) SetStatusCode(code int)
- func (o *GetSiteReplicationStatusDefault) WithPayload(payload *models.Error) *GetSiteReplicationStatusDefault
- func (o *GetSiteReplicationStatusDefault) WithStatusCode(code int) *GetSiteReplicationStatusDefault
- func (o *GetSiteReplicationStatusDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetSiteReplicationStatusHandler
- type GetSiteReplicationStatusHandlerFunc
- type GetSiteReplicationStatusOK
- func (o *GetSiteReplicationStatusOK) SetPayload(payload *models.SiteReplicationStatusResponse)
- func (o *GetSiteReplicationStatusOK) WithPayload(payload *models.SiteReplicationStatusResponse) *GetSiteReplicationStatusOK
- func (o *GetSiteReplicationStatusOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetSiteReplicationStatusParams
- type GetSiteReplicationStatusURL
- func (o *GetSiteReplicationStatusURL) Build() (*url.URL, error)
- func (o *GetSiteReplicationStatusURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *GetSiteReplicationStatusURL) Must(u *url.URL, err error) *url.URL
- func (o *GetSiteReplicationStatusURL) SetBasePath(bp string)
- func (o *GetSiteReplicationStatusURL) String() string
- func (o *GetSiteReplicationStatusURL) StringFull(scheme, host string) string
- func (o *GetSiteReplicationStatusURL) WithBasePath(bp string) *GetSiteReplicationStatusURL
- type SiteReplicationEdit
- type SiteReplicationEditDefault
- func (o *SiteReplicationEditDefault) SetPayload(payload *models.Error)
- func (o *SiteReplicationEditDefault) SetStatusCode(code int)
- func (o *SiteReplicationEditDefault) WithPayload(payload *models.Error) *SiteReplicationEditDefault
- func (o *SiteReplicationEditDefault) WithStatusCode(code int) *SiteReplicationEditDefault
- func (o *SiteReplicationEditDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type SiteReplicationEditHandler
- type SiteReplicationEditHandlerFunc
- type SiteReplicationEditOK
- type SiteReplicationEditParams
- type SiteReplicationEditURL
- func (o *SiteReplicationEditURL) Build() (*url.URL, error)
- func (o *SiteReplicationEditURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *SiteReplicationEditURL) Must(u *url.URL, err error) *url.URL
- func (o *SiteReplicationEditURL) SetBasePath(bp string)
- func (o *SiteReplicationEditURL) String() string
- func (o *SiteReplicationEditURL) StringFull(scheme, host string) string
- func (o *SiteReplicationEditURL) WithBasePath(bp string) *SiteReplicationEditURL
- type SiteReplicationInfoAdd
- type SiteReplicationInfoAddDefault
- func (o *SiteReplicationInfoAddDefault) SetPayload(payload *models.Error)
- func (o *SiteReplicationInfoAddDefault) SetStatusCode(code int)
- func (o *SiteReplicationInfoAddDefault) WithPayload(payload *models.Error) *SiteReplicationInfoAddDefault
- func (o *SiteReplicationInfoAddDefault) WithStatusCode(code int) *SiteReplicationInfoAddDefault
- func (o *SiteReplicationInfoAddDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type SiteReplicationInfoAddHandler
- type SiteReplicationInfoAddHandlerFunc
- type SiteReplicationInfoAddOK
- func (o *SiteReplicationInfoAddOK) SetPayload(payload *models.SiteReplicationAddResponse)
- func (o *SiteReplicationInfoAddOK) WithPayload(payload *models.SiteReplicationAddResponse) *SiteReplicationInfoAddOK
- func (o *SiteReplicationInfoAddOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type SiteReplicationInfoAddParams
- type SiteReplicationInfoAddURL
- func (o *SiteReplicationInfoAddURL) Build() (*url.URL, error)
- func (o *SiteReplicationInfoAddURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *SiteReplicationInfoAddURL) Must(u *url.URL, err error) *url.URL
- func (o *SiteReplicationInfoAddURL) SetBasePath(bp string)
- func (o *SiteReplicationInfoAddURL) String() string
- func (o *SiteReplicationInfoAddURL) StringFull(scheme, host string) string
- func (o *SiteReplicationInfoAddURL) WithBasePath(bp string) *SiteReplicationInfoAddURL
- type SiteReplicationRemove
- type SiteReplicationRemoveDefault
- func (o *SiteReplicationRemoveDefault) SetPayload(payload *models.Error)
- func (o *SiteReplicationRemoveDefault) SetStatusCode(code int)
- func (o *SiteReplicationRemoveDefault) WithPayload(payload *models.Error) *SiteReplicationRemoveDefault
- func (o *SiteReplicationRemoveDefault) WithStatusCode(code int) *SiteReplicationRemoveDefault
- func (o *SiteReplicationRemoveDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type SiteReplicationRemoveHandler
- type SiteReplicationRemoveHandlerFunc
- type SiteReplicationRemoveNoContent
- func (o *SiteReplicationRemoveNoContent) SetPayload(payload *models.PeerSiteRemoveResponse)
- func (o *SiteReplicationRemoveNoContent) WithPayload(payload *models.PeerSiteRemoveResponse) *SiteReplicationRemoveNoContent
- func (o *SiteReplicationRemoveNoContent) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type SiteReplicationRemoveParams
- type SiteReplicationRemoveURL
- func (o *SiteReplicationRemoveURL) Build() (*url.URL, error)
- func (o *SiteReplicationRemoveURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *SiteReplicationRemoveURL) Must(u *url.URL, err error) *url.URL
- func (o *SiteReplicationRemoveURL) SetBasePath(bp string)
- func (o *SiteReplicationRemoveURL) String() string
- func (o *SiteReplicationRemoveURL) StringFull(scheme, host string) string
- func (o *SiteReplicationRemoveURL) WithBasePath(bp string) *SiteReplicationRemoveURL
Constants ¶
const GetSiteReplicationInfoOKCode int = 200
GetSiteReplicationInfoOKCode is the HTTP code returned for type GetSiteReplicationInfoOK
const GetSiteReplicationStatusOKCode int = 200
GetSiteReplicationStatusOKCode is the HTTP code returned for type GetSiteReplicationStatusOK
const SiteReplicationEditOKCode int = 200
SiteReplicationEditOKCode is the HTTP code returned for type SiteReplicationEditOK
const SiteReplicationInfoAddOKCode int = 200
SiteReplicationInfoAddOKCode is the HTTP code returned for type SiteReplicationInfoAddOK
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.Error `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.Error)
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 ¶
func (o *GetSiteReplicationInfoDefault) WithPayload(payload *models.Error) *GetSiteReplicationInfoDefault
WithPayload adds the payload to the get site replication info default response
func (*GetSiteReplicationInfoDefault) WithStatusCode ¶
func (o *GetSiteReplicationInfoDefault) WithStatusCode(code int) *GetSiteReplicationInfoDefault
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 ¶
func (fn GetSiteReplicationInfoHandlerFunc) Handle(params GetSiteReplicationInfoParams, principal *models.Principal) middleware.Responder
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 ¶
func (o *GetSiteReplicationInfoOK) SetPayload(payload *models.SiteReplicationInfoResponse)
SetPayload sets the payload to the get site replication info o k response
func (*GetSiteReplicationInfoOK) WithPayload ¶
func (o *GetSiteReplicationInfoOK) WithPayload(payload *models.SiteReplicationInfoResponse) *GetSiteReplicationInfoOK
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 ¶
func (o *GetSiteReplicationInfoParams) 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 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 ¶
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 ¶
func (o *GetSiteReplicationInfoURL) WithBasePath(bp string) *GetSiteReplicationInfoURL
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 ¶
func (o *GetSiteReplicationStatus) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type GetSiteReplicationStatusDefault ¶
type GetSiteReplicationStatusDefault struct { /* In: Body */ Payload *models.Error `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.Error)
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 ¶
func (o *GetSiteReplicationStatusDefault) WithPayload(payload *models.Error) *GetSiteReplicationStatusDefault
WithPayload adds the payload to the get site replication status default response
func (*GetSiteReplicationStatusDefault) WithStatusCode ¶
func (o *GetSiteReplicationStatusDefault) WithStatusCode(code int) *GetSiteReplicationStatusDefault
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 ¶
func (fn GetSiteReplicationStatusHandlerFunc) Handle(params GetSiteReplicationStatusParams, principal *models.Principal) middleware.Responder
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 ¶
func (o *GetSiteReplicationStatusOK) SetPayload(payload *models.SiteReplicationStatusResponse)
SetPayload sets the payload to the get site replication status o k response
func (*GetSiteReplicationStatusOK) WithPayload ¶
func (o *GetSiteReplicationStatusOK) WithPayload(payload *models.SiteReplicationStatusResponse) *GetSiteReplicationStatusOK
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 ¶
func (o *GetSiteReplicationStatusParams) 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 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 ¶
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 ¶
func (o *GetSiteReplicationStatusURL) WithBasePath(bp string) *GetSiteReplicationStatusURL
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.Error `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.Error)
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 ¶
func (o *SiteReplicationEditDefault) WithPayload(payload *models.Error) *SiteReplicationEditDefault
WithPayload adds the payload to the site replication edit default response
func (*SiteReplicationEditDefault) WithStatusCode ¶
func (o *SiteReplicationEditDefault) WithStatusCode(code int) *SiteReplicationEditDefault
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 ¶
func (fn SiteReplicationEditHandlerFunc) Handle(params SiteReplicationEditParams, principal *models.Principal) middleware.Responder
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 ¶
func (o *SiteReplicationEditOK) WithPayload(payload *models.PeerSiteEditResponse) *SiteReplicationEditOK
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 ¶
func (o *SiteReplicationEditParams) 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 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 ¶
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 ¶
func (o *SiteReplicationEditURL) WithBasePath(bp string) *SiteReplicationEditURL
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.Error `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.Error)
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 ¶
func (o *SiteReplicationInfoAddDefault) WithPayload(payload *models.Error) *SiteReplicationInfoAddDefault
WithPayload adds the payload to the site replication info add default response
func (*SiteReplicationInfoAddDefault) WithStatusCode ¶
func (o *SiteReplicationInfoAddDefault) WithStatusCode(code int) *SiteReplicationInfoAddDefault
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 ¶
func (fn SiteReplicationInfoAddHandlerFunc) Handle(params SiteReplicationInfoAddParams, principal *models.Principal) middleware.Responder
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 ¶
func (o *SiteReplicationInfoAddOK) SetPayload(payload *models.SiteReplicationAddResponse)
SetPayload sets the payload to the site replication info add o k response
func (*SiteReplicationInfoAddOK) WithPayload ¶
func (o *SiteReplicationInfoAddOK) WithPayload(payload *models.SiteReplicationAddResponse) *SiteReplicationInfoAddOK
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 ¶
func (o *SiteReplicationInfoAddParams) 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 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 ¶
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 ¶
func (o *SiteReplicationInfoAddURL) WithBasePath(bp string) *SiteReplicationInfoAddURL
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.Error `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.Error)
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 ¶
func (o *SiteReplicationRemoveDefault) WithPayload(payload *models.Error) *SiteReplicationRemoveDefault
WithPayload adds the payload to the site replication remove default response
func (*SiteReplicationRemoveDefault) WithStatusCode ¶
func (o *SiteReplicationRemoveDefault) WithStatusCode(code int) *SiteReplicationRemoveDefault
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 ¶
func (fn SiteReplicationRemoveHandlerFunc) Handle(params SiteReplicationRemoveParams, principal *models.Principal) middleware.Responder
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 ¶
func (o *SiteReplicationRemoveNoContent) SetPayload(payload *models.PeerSiteRemoveResponse)
SetPayload sets the payload to the site replication remove no content response
func (*SiteReplicationRemoveNoContent) WithPayload ¶
func (o *SiteReplicationRemoveNoContent) WithPayload(payload *models.PeerSiteRemoveResponse) *SiteReplicationRemoveNoContent
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 ¶
func (o *SiteReplicationRemoveParams) 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 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 ¶
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 ¶
func (o *SiteReplicationRemoveURL) WithBasePath(bp string) *SiteReplicationRemoveURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
Source Files ¶
- get_site_replication_info.go
- get_site_replication_info_parameters.go
- get_site_replication_info_responses.go
- get_site_replication_info_urlbuilder.go
- get_site_replication_status.go
- get_site_replication_status_parameters.go
- get_site_replication_status_responses.go
- get_site_replication_status_urlbuilder.go
- site_replication_edit.go
- site_replication_edit_parameters.go
- site_replication_edit_responses.go
- site_replication_edit_urlbuilder.go
- site_replication_info_add.go
- site_replication_info_add_parameters.go
- site_replication_info_add_responses.go
- site_replication_info_add_urlbuilder.go
- site_replication_remove.go
- site_replication_remove_parameters.go
- site_replication_remove_responses.go
- site_replication_remove_urlbuilder.go