Documentation ¶
Index ¶
- Constants
- type RaftListMembers
- type RaftListMembersBadRequest
- type RaftListMembersHandler
- type RaftListMembersHandlerFunc
- type RaftListMembersOK
- type RaftListMembersParams
- type RaftListMembersTooManyRequests
- func (o *RaftListMembersTooManyRequests) SetPayload(payload *rest_model.APIErrorEnvelope)
- func (o *RaftListMembersTooManyRequests) WithPayload(payload *rest_model.APIErrorEnvelope) *RaftListMembersTooManyRequests
- func (o *RaftListMembersTooManyRequests) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type RaftListMembersURL
- func (o *RaftListMembersURL) Build() (*url.URL, error)
- func (o *RaftListMembersURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *RaftListMembersURL) Must(u *url.URL, err error) *url.URL
- func (o *RaftListMembersURL) SetBasePath(bp string)
- func (o *RaftListMembersURL) String() string
- func (o *RaftListMembersURL) StringFull(scheme, host string) string
- func (o *RaftListMembersURL) WithBasePath(bp string) *RaftListMembersURL
- type RaftListMembersUnauthorized
- func (o *RaftListMembersUnauthorized) SetPayload(payload *rest_model.APIErrorEnvelope)
- func (o *RaftListMembersUnauthorized) WithPayload(payload *rest_model.APIErrorEnvelope) *RaftListMembersUnauthorized
- func (o *RaftListMembersUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type RaftMemberAdd
- type RaftMemberAddBadRequest
- type RaftMemberAddHandler
- type RaftMemberAddHandlerFunc
- type RaftMemberAddOK
- type RaftMemberAddParams
- type RaftMemberAddTooManyRequests
- func (o *RaftMemberAddTooManyRequests) SetPayload(payload *rest_model.APIErrorEnvelope)
- func (o *RaftMemberAddTooManyRequests) WithPayload(payload *rest_model.APIErrorEnvelope) *RaftMemberAddTooManyRequests
- func (o *RaftMemberAddTooManyRequests) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type RaftMemberAddURL
- func (o *RaftMemberAddURL) Build() (*url.URL, error)
- func (o *RaftMemberAddURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *RaftMemberAddURL) Must(u *url.URL, err error) *url.URL
- func (o *RaftMemberAddURL) SetBasePath(bp string)
- func (o *RaftMemberAddURL) String() string
- func (o *RaftMemberAddURL) StringFull(scheme, host string) string
- func (o *RaftMemberAddURL) WithBasePath(bp string) *RaftMemberAddURL
- type RaftMemberAddUnauthorized
- type RaftMemberRemove
- type RaftMemberRemoveBadRequest
- func (o *RaftMemberRemoveBadRequest) SetPayload(payload *rest_model.APIErrorEnvelope)
- func (o *RaftMemberRemoveBadRequest) WithPayload(payload *rest_model.APIErrorEnvelope) *RaftMemberRemoveBadRequest
- func (o *RaftMemberRemoveBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type RaftMemberRemoveHandler
- type RaftMemberRemoveHandlerFunc
- type RaftMemberRemoveNotFound
- type RaftMemberRemoveOK
- type RaftMemberRemoveParams
- type RaftMemberRemoveTooManyRequests
- func (o *RaftMemberRemoveTooManyRequests) SetPayload(payload *rest_model.APIErrorEnvelope)
- func (o *RaftMemberRemoveTooManyRequests) WithPayload(payload *rest_model.APIErrorEnvelope) *RaftMemberRemoveTooManyRequests
- func (o *RaftMemberRemoveTooManyRequests) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type RaftMemberRemoveURL
- func (o *RaftMemberRemoveURL) Build() (*url.URL, error)
- func (o *RaftMemberRemoveURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *RaftMemberRemoveURL) Must(u *url.URL, err error) *url.URL
- func (o *RaftMemberRemoveURL) SetBasePath(bp string)
- func (o *RaftMemberRemoveURL) String() string
- func (o *RaftMemberRemoveURL) StringFull(scheme, host string) string
- func (o *RaftMemberRemoveURL) WithBasePath(bp string) *RaftMemberRemoveURL
- type RaftMemberRemoveUnauthorized
- func (o *RaftMemberRemoveUnauthorized) SetPayload(payload *rest_model.APIErrorEnvelope)
- func (o *RaftMemberRemoveUnauthorized) WithPayload(payload *rest_model.APIErrorEnvelope) *RaftMemberRemoveUnauthorized
- func (o *RaftMemberRemoveUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type RaftTransferLeadership
- type RaftTransferLeadershipHandler
- type RaftTransferLeadershipHandlerFunc
- type RaftTransferLeadershipInternalServerError
- func (o *RaftTransferLeadershipInternalServerError) SetPayload(payload *rest_model.APIErrorEnvelope)
- func (o *RaftTransferLeadershipInternalServerError) WithPayload(payload *rest_model.APIErrorEnvelope) *RaftTransferLeadershipInternalServerError
- func (o *RaftTransferLeadershipInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type RaftTransferLeadershipNotFound
- func (o *RaftTransferLeadershipNotFound) SetPayload(payload *rest_model.APIErrorEnvelope)
- func (o *RaftTransferLeadershipNotFound) WithPayload(payload *rest_model.APIErrorEnvelope) *RaftTransferLeadershipNotFound
- func (o *RaftTransferLeadershipNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type RaftTransferLeadershipOK
- type RaftTransferLeadershipParams
- type RaftTransferLeadershipTooManyRequests
- func (o *RaftTransferLeadershipTooManyRequests) SetPayload(payload *rest_model.APIErrorEnvelope)
- func (o *RaftTransferLeadershipTooManyRequests) WithPayload(payload *rest_model.APIErrorEnvelope) *RaftTransferLeadershipTooManyRequests
- func (o *RaftTransferLeadershipTooManyRequests) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type RaftTransferLeadershipURL
- func (o *RaftTransferLeadershipURL) Build() (*url.URL, error)
- func (o *RaftTransferLeadershipURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *RaftTransferLeadershipURL) Must(u *url.URL, err error) *url.URL
- func (o *RaftTransferLeadershipURL) SetBasePath(bp string)
- func (o *RaftTransferLeadershipURL) String() string
- func (o *RaftTransferLeadershipURL) StringFull(scheme, host string) string
- func (o *RaftTransferLeadershipURL) WithBasePath(bp string) *RaftTransferLeadershipURL
- type RaftTransferLeadershipUnauthorized
- func (o *RaftTransferLeadershipUnauthorized) SetPayload(payload *rest_model.APIErrorEnvelope)
- func (o *RaftTransferLeadershipUnauthorized) WithPayload(payload *rest_model.APIErrorEnvelope) *RaftTransferLeadershipUnauthorized
- func (o *RaftTransferLeadershipUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
Constants ¶
const RaftListMembersBadRequestCode int = 400
RaftListMembersBadRequestCode is the HTTP code returned for type RaftListMembersBadRequest
const RaftListMembersOKCode int = 200
RaftListMembersOKCode is the HTTP code returned for type RaftListMembersOK
const RaftListMembersTooManyRequestsCode int = 429
RaftListMembersTooManyRequestsCode is the HTTP code returned for type RaftListMembersTooManyRequests
RaftListMembersUnauthorizedCode is the HTTP code returned for type RaftListMembersUnauthorized
const RaftMemberAddBadRequestCode int = 400
RaftMemberAddBadRequestCode is the HTTP code returned for type RaftMemberAddBadRequest
const RaftMemberAddOKCode int = 200
RaftMemberAddOKCode is the HTTP code returned for type RaftMemberAddOK
const RaftMemberAddTooManyRequestsCode int = 429
RaftMemberAddTooManyRequestsCode is the HTTP code returned for type RaftMemberAddTooManyRequests
RaftMemberAddUnauthorizedCode is the HTTP code returned for type RaftMemberAddUnauthorized
const RaftMemberRemoveBadRequestCode int = 400
RaftMemberRemoveBadRequestCode is the HTTP code returned for type RaftMemberRemoveBadRequest
const RaftMemberRemoveNotFoundCode int = 404
RaftMemberRemoveNotFoundCode is the HTTP code returned for type RaftMemberRemoveNotFound
const RaftMemberRemoveOKCode int = 200
RaftMemberRemoveOKCode is the HTTP code returned for type RaftMemberRemoveOK
const RaftMemberRemoveTooManyRequestsCode int = 429
RaftMemberRemoveTooManyRequestsCode is the HTTP code returned for type RaftMemberRemoveTooManyRequests
RaftMemberRemoveUnauthorizedCode is the HTTP code returned for type RaftMemberRemoveUnauthorized
const RaftTransferLeadershipInternalServerErrorCode int = 500
RaftTransferLeadershipInternalServerErrorCode is the HTTP code returned for type RaftTransferLeadershipInternalServerError
const RaftTransferLeadershipNotFoundCode int = 404
RaftTransferLeadershipNotFoundCode is the HTTP code returned for type RaftTransferLeadershipNotFound
const RaftTransferLeadershipOKCode int = 200
RaftTransferLeadershipOKCode is the HTTP code returned for type RaftTransferLeadershipOK
const RaftTransferLeadershipTooManyRequestsCode int = 429
RaftTransferLeadershipTooManyRequestsCode is the HTTP code returned for type RaftTransferLeadershipTooManyRequests
RaftTransferLeadershipUnauthorizedCode is the HTTP code returned for type RaftTransferLeadershipUnauthorized
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RaftListMembers ¶
type RaftListMembers struct { Context *middleware.Context Handler RaftListMembersHandler }
RaftListMembers swagger:route GET /raft/list-members Raft raftListMembers
Returns all members of a cluster and their current status ¶
Returns all members of a cluster and their current status
func NewRaftListMembers ¶
func NewRaftListMembers(ctx *middleware.Context, handler RaftListMembersHandler) *RaftListMembers
NewRaftListMembers creates a new http.Handler for the raft list members operation
func (*RaftListMembers) ServeHTTP ¶
func (o *RaftListMembers) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type RaftListMembersBadRequest ¶ added in v0.31.3
type RaftListMembersBadRequest struct { /* In: Body */ Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"` }
RaftListMembersBadRequest The supplied request contains invalid fields or could not be parsed (json and non-json bodies). The error's code, message, and cause fields can be inspected for further information
swagger:response raftListMembersBadRequest
func NewRaftListMembersBadRequest ¶ added in v0.31.3
func NewRaftListMembersBadRequest() *RaftListMembersBadRequest
NewRaftListMembersBadRequest creates RaftListMembersBadRequest with default headers values
func (*RaftListMembersBadRequest) SetPayload ¶ added in v0.31.3
func (o *RaftListMembersBadRequest) SetPayload(payload *rest_model.APIErrorEnvelope)
SetPayload sets the payload to the raft list members bad request response
func (*RaftListMembersBadRequest) WithPayload ¶ added in v0.31.3
func (o *RaftListMembersBadRequest) WithPayload(payload *rest_model.APIErrorEnvelope) *RaftListMembersBadRequest
WithPayload adds the payload to the raft list members bad request response
func (*RaftListMembersBadRequest) WriteResponse ¶ added in v0.31.3
func (o *RaftListMembersBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type RaftListMembersHandler ¶
type RaftListMembersHandler interface {
Handle(RaftListMembersParams) middleware.Responder
}
RaftListMembersHandler interface for that can handle valid raft list members params
type RaftListMembersHandlerFunc ¶
type RaftListMembersHandlerFunc func(RaftListMembersParams) middleware.Responder
RaftListMembersHandlerFunc turns a function with the right signature into a raft list members handler
func (RaftListMembersHandlerFunc) Handle ¶
func (fn RaftListMembersHandlerFunc) Handle(params RaftListMembersParams) middleware.Responder
Handle executing the request and returning a response
type RaftListMembersOK ¶
type RaftListMembersOK struct { /* In: Body */ Payload *rest_model.RaftMemberListResponse `json:"body,omitempty"` }
RaftListMembersOK A response to a raft list-members request
swagger:response raftListMembersOK
func NewRaftListMembersOK ¶
func NewRaftListMembersOK() *RaftListMembersOK
NewRaftListMembersOK creates RaftListMembersOK with default headers values
func (*RaftListMembersOK) SetPayload ¶
func (o *RaftListMembersOK) SetPayload(payload *rest_model.RaftMemberListResponse)
SetPayload sets the payload to the raft list members o k response
func (*RaftListMembersOK) WithPayload ¶
func (o *RaftListMembersOK) WithPayload(payload *rest_model.RaftMemberListResponse) *RaftListMembersOK
WithPayload adds the payload to the raft list members o k response
func (*RaftListMembersOK) WriteResponse ¶
func (o *RaftListMembersOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type RaftListMembersParams ¶
RaftListMembersParams contains all the bound params for the raft list members operation typically these are obtained from a http.Request
swagger:parameters raftListMembers
func NewRaftListMembersParams ¶
func NewRaftListMembersParams() RaftListMembersParams
NewRaftListMembersParams creates a new RaftListMembersParams object
There are no default values defined in the spec.
func (*RaftListMembersParams) BindRequest ¶
func (o *RaftListMembersParams) 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 NewRaftListMembersParams() beforehand.
type RaftListMembersTooManyRequests ¶ added in v0.31.0
type RaftListMembersTooManyRequests struct { /* In: Body */ Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"` }
RaftListMembersTooManyRequests The resource requested is rate limited and the rate limit has been exceeded
swagger:response raftListMembersTooManyRequests
func NewRaftListMembersTooManyRequests ¶ added in v0.31.0
func NewRaftListMembersTooManyRequests() *RaftListMembersTooManyRequests
NewRaftListMembersTooManyRequests creates RaftListMembersTooManyRequests with default headers values
func (*RaftListMembersTooManyRequests) SetPayload ¶ added in v0.31.0
func (o *RaftListMembersTooManyRequests) SetPayload(payload *rest_model.APIErrorEnvelope)
SetPayload sets the payload to the raft list members too many requests response
func (*RaftListMembersTooManyRequests) WithPayload ¶ added in v0.31.0
func (o *RaftListMembersTooManyRequests) WithPayload(payload *rest_model.APIErrorEnvelope) *RaftListMembersTooManyRequests
WithPayload adds the payload to the raft list members too many requests response
func (*RaftListMembersTooManyRequests) WriteResponse ¶ added in v0.31.0
func (o *RaftListMembersTooManyRequests) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type RaftListMembersURL ¶
type RaftListMembersURL struct {
// contains filtered or unexported fields
}
RaftListMembersURL generates an URL for the raft list members operation
func (*RaftListMembersURL) Build ¶
func (o *RaftListMembersURL) Build() (*url.URL, error)
Build a url path and query string
func (*RaftListMembersURL) BuildFull ¶
func (o *RaftListMembersURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*RaftListMembersURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*RaftListMembersURL) SetBasePath ¶
func (o *RaftListMembersURL) 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 (*RaftListMembersURL) String ¶
func (o *RaftListMembersURL) String() string
String returns the string representation of the path with query string
func (*RaftListMembersURL) StringFull ¶
func (o *RaftListMembersURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*RaftListMembersURL) WithBasePath ¶
func (o *RaftListMembersURL) WithBasePath(bp string) *RaftListMembersURL
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 RaftListMembersUnauthorized ¶
type RaftListMembersUnauthorized struct { rest_model.APIErrorEnvelope `json:"body,omitempty"` }Payload *
RaftListMembersUnauthorized The currently supplied session does not have the correct access rights to request this resource
swagger:response raftListMembersUnauthorized
func NewRaftListMembersUnauthorized ¶
func NewRaftListMembersUnauthorized() *RaftListMembersUnauthorized
NewRaftListMembersUnauthorized creates RaftListMembersUnauthorized with default headers values
func (*RaftListMembersUnauthorized) SetPayload ¶
func (o *RaftListMembersUnauthorized) SetPayload(payload *rest_model.APIErrorEnvelope)
SetPayload sets the payload to the raft list members unauthorized response
func (*RaftListMembersUnauthorized) WithPayload ¶
func (o *RaftListMembersUnauthorized) WithPayload(payload *rest_model.APIErrorEnvelope) *RaftListMembersUnauthorized
WithPayload adds the payload to the raft list members unauthorized response
func (*RaftListMembersUnauthorized) WriteResponse ¶
func (o *RaftListMembersUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type RaftMemberAdd ¶ added in v0.31.3
type RaftMemberAdd struct { Context *middleware.Context Handler RaftMemberAddHandler }
RaftMemberAdd swagger:route POST /raft/add-member Raft raftMemberAdd
Add a member to the raft cluster ¶
Add a member to the raft cluster. Requires admin access.
func NewRaftMemberAdd ¶ added in v0.31.3
func NewRaftMemberAdd(ctx *middleware.Context, handler RaftMemberAddHandler) *RaftMemberAdd
NewRaftMemberAdd creates a new http.Handler for the raft member add operation
func (*RaftMemberAdd) ServeHTTP ¶ added in v0.31.3
func (o *RaftMemberAdd) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type RaftMemberAddBadRequest ¶ added in v0.31.3
type RaftMemberAddBadRequest struct { /* In: Body */ Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"` }
RaftMemberAddBadRequest The supplied request contains invalid fields or could not be parsed (json and non-json bodies). The error's code, message, and cause fields can be inspected for further information
swagger:response raftMemberAddBadRequest
func NewRaftMemberAddBadRequest ¶ added in v0.31.3
func NewRaftMemberAddBadRequest() *RaftMemberAddBadRequest
NewRaftMemberAddBadRequest creates RaftMemberAddBadRequest with default headers values
func (*RaftMemberAddBadRequest) SetPayload ¶ added in v0.31.3
func (o *RaftMemberAddBadRequest) SetPayload(payload *rest_model.APIErrorEnvelope)
SetPayload sets the payload to the raft member add bad request response
func (*RaftMemberAddBadRequest) WithPayload ¶ added in v0.31.3
func (o *RaftMemberAddBadRequest) WithPayload(payload *rest_model.APIErrorEnvelope) *RaftMemberAddBadRequest
WithPayload adds the payload to the raft member add bad request response
func (*RaftMemberAddBadRequest) WriteResponse ¶ added in v0.31.3
func (o *RaftMemberAddBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type RaftMemberAddHandler ¶ added in v0.31.3
type RaftMemberAddHandler interface {
Handle(RaftMemberAddParams) middleware.Responder
}
RaftMemberAddHandler interface for that can handle valid raft member add params
type RaftMemberAddHandlerFunc ¶ added in v0.31.3
type RaftMemberAddHandlerFunc func(RaftMemberAddParams) middleware.Responder
RaftMemberAddHandlerFunc turns a function with the right signature into a raft member add handler
func (RaftMemberAddHandlerFunc) Handle ¶ added in v0.31.3
func (fn RaftMemberAddHandlerFunc) Handle(params RaftMemberAddParams) middleware.Responder
Handle executing the request and returning a response
type RaftMemberAddOK ¶ added in v0.31.3
type RaftMemberAddOK struct { /* In: Body */ Payload *rest_model.Empty `json:"body,omitempty"` }
RaftMemberAddOK Base empty response
swagger:response raftMemberAddOK
func NewRaftMemberAddOK ¶ added in v0.31.3
func NewRaftMemberAddOK() *RaftMemberAddOK
NewRaftMemberAddOK creates RaftMemberAddOK with default headers values
func (*RaftMemberAddOK) SetPayload ¶ added in v0.31.3
func (o *RaftMemberAddOK) SetPayload(payload *rest_model.Empty)
SetPayload sets the payload to the raft member add o k response
func (*RaftMemberAddOK) WithPayload ¶ added in v0.31.3
func (o *RaftMemberAddOK) WithPayload(payload *rest_model.Empty) *RaftMemberAddOK
WithPayload adds the payload to the raft member add o k response
func (*RaftMemberAddOK) WriteResponse ¶ added in v0.31.3
func (o *RaftMemberAddOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type RaftMemberAddParams ¶ added in v0.31.3
type RaftMemberAddParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*member parameters Required: true In: body */ Member *rest_model.RaftMemberAdd }
RaftMemberAddParams contains all the bound params for the raft member add operation typically these are obtained from a http.Request
swagger:parameters raftMemberAdd
func NewRaftMemberAddParams ¶ added in v0.31.3
func NewRaftMemberAddParams() RaftMemberAddParams
NewRaftMemberAddParams creates a new RaftMemberAddParams object
There are no default values defined in the spec.
func (*RaftMemberAddParams) BindRequest ¶ added in v0.31.3
func (o *RaftMemberAddParams) 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 NewRaftMemberAddParams() beforehand.
type RaftMemberAddTooManyRequests ¶ added in v0.31.3
type RaftMemberAddTooManyRequests struct { /* In: Body */ Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"` }
RaftMemberAddTooManyRequests The resource requested is rate limited and the rate limit has been exceeded
swagger:response raftMemberAddTooManyRequests
func NewRaftMemberAddTooManyRequests ¶ added in v0.31.3
func NewRaftMemberAddTooManyRequests() *RaftMemberAddTooManyRequests
NewRaftMemberAddTooManyRequests creates RaftMemberAddTooManyRequests with default headers values
func (*RaftMemberAddTooManyRequests) SetPayload ¶ added in v0.31.3
func (o *RaftMemberAddTooManyRequests) SetPayload(payload *rest_model.APIErrorEnvelope)
SetPayload sets the payload to the raft member add too many requests response
func (*RaftMemberAddTooManyRequests) WithPayload ¶ added in v0.31.3
func (o *RaftMemberAddTooManyRequests) WithPayload(payload *rest_model.APIErrorEnvelope) *RaftMemberAddTooManyRequests
WithPayload adds the payload to the raft member add too many requests response
func (*RaftMemberAddTooManyRequests) WriteResponse ¶ added in v0.31.3
func (o *RaftMemberAddTooManyRequests) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type RaftMemberAddURL ¶ added in v0.31.3
type RaftMemberAddURL struct {
// contains filtered or unexported fields
}
RaftMemberAddURL generates an URL for the raft member add operation
func (*RaftMemberAddURL) Build ¶ added in v0.31.3
func (o *RaftMemberAddURL) Build() (*url.URL, error)
Build a url path and query string
func (*RaftMemberAddURL) BuildFull ¶ added in v0.31.3
func (o *RaftMemberAddURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*RaftMemberAddURL) Must ¶ added in v0.31.3
Must is a helper function to panic when the url builder returns an error
func (*RaftMemberAddURL) SetBasePath ¶ added in v0.31.3
func (o *RaftMemberAddURL) 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 (*RaftMemberAddURL) String ¶ added in v0.31.3
func (o *RaftMemberAddURL) String() string
String returns the string representation of the path with query string
func (*RaftMemberAddURL) StringFull ¶ added in v0.31.3
func (o *RaftMemberAddURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*RaftMemberAddURL) WithBasePath ¶ added in v0.31.3
func (o *RaftMemberAddURL) WithBasePath(bp string) *RaftMemberAddURL
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 RaftMemberAddUnauthorized ¶ added in v0.31.3
type RaftMemberAddUnauthorized struct { rest_model.APIErrorEnvelope `json:"body,omitempty"` }Payload *
RaftMemberAddUnauthorized The currently supplied session does not have the correct access rights to request this resource
swagger:response raftMemberAddUnauthorized
func NewRaftMemberAddUnauthorized ¶ added in v0.31.3
func NewRaftMemberAddUnauthorized() *RaftMemberAddUnauthorized
NewRaftMemberAddUnauthorized creates RaftMemberAddUnauthorized with default headers values
func (*RaftMemberAddUnauthorized) SetPayload ¶ added in v0.31.3
func (o *RaftMemberAddUnauthorized) SetPayload(payload *rest_model.APIErrorEnvelope)
SetPayload sets the payload to the raft member add unauthorized response
func (*RaftMemberAddUnauthorized) WithPayload ¶ added in v0.31.3
func (o *RaftMemberAddUnauthorized) WithPayload(payload *rest_model.APIErrorEnvelope) *RaftMemberAddUnauthorized
WithPayload adds the payload to the raft member add unauthorized response
func (*RaftMemberAddUnauthorized) WriteResponse ¶ added in v0.31.3
func (o *RaftMemberAddUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type RaftMemberRemove ¶ added in v0.31.3
type RaftMemberRemove struct { Context *middleware.Context Handler RaftMemberRemoveHandler }
RaftMemberRemove swagger:route POST /raft/remove-member Raft raftMemberRemove
Remove a member from the raft cluster ¶
Remove a member from the raft cluster. Requires admin access.
func NewRaftMemberRemove ¶ added in v0.31.3
func NewRaftMemberRemove(ctx *middleware.Context, handler RaftMemberRemoveHandler) *RaftMemberRemove
NewRaftMemberRemove creates a new http.Handler for the raft member remove operation
func (*RaftMemberRemove) ServeHTTP ¶ added in v0.31.3
func (o *RaftMemberRemove) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type RaftMemberRemoveBadRequest ¶ added in v0.31.3
type RaftMemberRemoveBadRequest struct { /* In: Body */ Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"` }
RaftMemberRemoveBadRequest The supplied request contains invalid fields or could not be parsed (json and non-json bodies). The error's code, message, and cause fields can be inspected for further information
swagger:response raftMemberRemoveBadRequest
func NewRaftMemberRemoveBadRequest ¶ added in v0.31.3
func NewRaftMemberRemoveBadRequest() *RaftMemberRemoveBadRequest
NewRaftMemberRemoveBadRequest creates RaftMemberRemoveBadRequest with default headers values
func (*RaftMemberRemoveBadRequest) SetPayload ¶ added in v0.31.3
func (o *RaftMemberRemoveBadRequest) SetPayload(payload *rest_model.APIErrorEnvelope)
SetPayload sets the payload to the raft member remove bad request response
func (*RaftMemberRemoveBadRequest) WithPayload ¶ added in v0.31.3
func (o *RaftMemberRemoveBadRequest) WithPayload(payload *rest_model.APIErrorEnvelope) *RaftMemberRemoveBadRequest
WithPayload adds the payload to the raft member remove bad request response
func (*RaftMemberRemoveBadRequest) WriteResponse ¶ added in v0.31.3
func (o *RaftMemberRemoveBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type RaftMemberRemoveHandler ¶ added in v0.31.3
type RaftMemberRemoveHandler interface {
Handle(RaftMemberRemoveParams) middleware.Responder
}
RaftMemberRemoveHandler interface for that can handle valid raft member remove params
type RaftMemberRemoveHandlerFunc ¶ added in v0.31.3
type RaftMemberRemoveHandlerFunc func(RaftMemberRemoveParams) middleware.Responder
RaftMemberRemoveHandlerFunc turns a function with the right signature into a raft member remove handler
func (RaftMemberRemoveHandlerFunc) Handle ¶ added in v0.31.3
func (fn RaftMemberRemoveHandlerFunc) Handle(params RaftMemberRemoveParams) middleware.Responder
Handle executing the request and returning a response
type RaftMemberRemoveNotFound ¶ added in v0.31.3
type RaftMemberRemoveNotFound struct { /* In: Body */ Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"` }
RaftMemberRemoveNotFound The requested resource does not exist
swagger:response raftMemberRemoveNotFound
func NewRaftMemberRemoveNotFound ¶ added in v0.31.3
func NewRaftMemberRemoveNotFound() *RaftMemberRemoveNotFound
NewRaftMemberRemoveNotFound creates RaftMemberRemoveNotFound with default headers values
func (*RaftMemberRemoveNotFound) SetPayload ¶ added in v0.31.3
func (o *RaftMemberRemoveNotFound) SetPayload(payload *rest_model.APIErrorEnvelope)
SetPayload sets the payload to the raft member remove not found response
func (*RaftMemberRemoveNotFound) WithPayload ¶ added in v0.31.3
func (o *RaftMemberRemoveNotFound) WithPayload(payload *rest_model.APIErrorEnvelope) *RaftMemberRemoveNotFound
WithPayload adds the payload to the raft member remove not found response
func (*RaftMemberRemoveNotFound) WriteResponse ¶ added in v0.31.3
func (o *RaftMemberRemoveNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type RaftMemberRemoveOK ¶ added in v0.31.3
type RaftMemberRemoveOK struct { /* In: Body */ Payload *rest_model.Empty `json:"body,omitempty"` }
RaftMemberRemoveOK Base empty response
swagger:response raftMemberRemoveOK
func NewRaftMemberRemoveOK ¶ added in v0.31.3
func NewRaftMemberRemoveOK() *RaftMemberRemoveOK
NewRaftMemberRemoveOK creates RaftMemberRemoveOK with default headers values
func (*RaftMemberRemoveOK) SetPayload ¶ added in v0.31.3
func (o *RaftMemberRemoveOK) SetPayload(payload *rest_model.Empty)
SetPayload sets the payload to the raft member remove o k response
func (*RaftMemberRemoveOK) WithPayload ¶ added in v0.31.3
func (o *RaftMemberRemoveOK) WithPayload(payload *rest_model.Empty) *RaftMemberRemoveOK
WithPayload adds the payload to the raft member remove o k response
func (*RaftMemberRemoveOK) WriteResponse ¶ added in v0.31.3
func (o *RaftMemberRemoveOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type RaftMemberRemoveParams ¶ added in v0.31.3
type RaftMemberRemoveParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*member parameters Required: true In: body */ Member *rest_model.RaftMemberRemove }
RaftMemberRemoveParams contains all the bound params for the raft member remove operation typically these are obtained from a http.Request
swagger:parameters raftMemberRemove
func NewRaftMemberRemoveParams ¶ added in v0.31.3
func NewRaftMemberRemoveParams() RaftMemberRemoveParams
NewRaftMemberRemoveParams creates a new RaftMemberRemoveParams object
There are no default values defined in the spec.
func (*RaftMemberRemoveParams) BindRequest ¶ added in v0.31.3
func (o *RaftMemberRemoveParams) 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 NewRaftMemberRemoveParams() beforehand.
type RaftMemberRemoveTooManyRequests ¶ added in v0.31.3
type RaftMemberRemoveTooManyRequests struct { /* In: Body */ Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"` }
RaftMemberRemoveTooManyRequests The resource requested is rate limited and the rate limit has been exceeded
swagger:response raftMemberRemoveTooManyRequests
func NewRaftMemberRemoveTooManyRequests ¶ added in v0.31.3
func NewRaftMemberRemoveTooManyRequests() *RaftMemberRemoveTooManyRequests
NewRaftMemberRemoveTooManyRequests creates RaftMemberRemoveTooManyRequests with default headers values
func (*RaftMemberRemoveTooManyRequests) SetPayload ¶ added in v0.31.3
func (o *RaftMemberRemoveTooManyRequests) SetPayload(payload *rest_model.APIErrorEnvelope)
SetPayload sets the payload to the raft member remove too many requests response
func (*RaftMemberRemoveTooManyRequests) WithPayload ¶ added in v0.31.3
func (o *RaftMemberRemoveTooManyRequests) WithPayload(payload *rest_model.APIErrorEnvelope) *RaftMemberRemoveTooManyRequests
WithPayload adds the payload to the raft member remove too many requests response
func (*RaftMemberRemoveTooManyRequests) WriteResponse ¶ added in v0.31.3
func (o *RaftMemberRemoveTooManyRequests) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type RaftMemberRemoveURL ¶ added in v0.31.3
type RaftMemberRemoveURL struct {
// contains filtered or unexported fields
}
RaftMemberRemoveURL generates an URL for the raft member remove operation
func (*RaftMemberRemoveURL) Build ¶ added in v0.31.3
func (o *RaftMemberRemoveURL) Build() (*url.URL, error)
Build a url path and query string
func (*RaftMemberRemoveURL) BuildFull ¶ added in v0.31.3
func (o *RaftMemberRemoveURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*RaftMemberRemoveURL) Must ¶ added in v0.31.3
Must is a helper function to panic when the url builder returns an error
func (*RaftMemberRemoveURL) SetBasePath ¶ added in v0.31.3
func (o *RaftMemberRemoveURL) 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 (*RaftMemberRemoveURL) String ¶ added in v0.31.3
func (o *RaftMemberRemoveURL) String() string
String returns the string representation of the path with query string
func (*RaftMemberRemoveURL) StringFull ¶ added in v0.31.3
func (o *RaftMemberRemoveURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*RaftMemberRemoveURL) WithBasePath ¶ added in v0.31.3
func (o *RaftMemberRemoveURL) WithBasePath(bp string) *RaftMemberRemoveURL
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 RaftMemberRemoveUnauthorized ¶ added in v0.31.3
type RaftMemberRemoveUnauthorized struct { rest_model.APIErrorEnvelope `json:"body,omitempty"` }Payload *
RaftMemberRemoveUnauthorized The currently supplied session does not have the correct access rights to request this resource
swagger:response raftMemberRemoveUnauthorized
func NewRaftMemberRemoveUnauthorized ¶ added in v0.31.3
func NewRaftMemberRemoveUnauthorized() *RaftMemberRemoveUnauthorized
NewRaftMemberRemoveUnauthorized creates RaftMemberRemoveUnauthorized with default headers values
func (*RaftMemberRemoveUnauthorized) SetPayload ¶ added in v0.31.3
func (o *RaftMemberRemoveUnauthorized) SetPayload(payload *rest_model.APIErrorEnvelope)
SetPayload sets the payload to the raft member remove unauthorized response
func (*RaftMemberRemoveUnauthorized) WithPayload ¶ added in v0.31.3
func (o *RaftMemberRemoveUnauthorized) WithPayload(payload *rest_model.APIErrorEnvelope) *RaftMemberRemoveUnauthorized
WithPayload adds the payload to the raft member remove unauthorized response
func (*RaftMemberRemoveUnauthorized) WriteResponse ¶ added in v0.31.3
func (o *RaftMemberRemoveUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type RaftTransferLeadership ¶ added in v1.1.3
type RaftTransferLeadership struct { Context *middleware.Context Handler RaftTransferLeadershipHandler }
RaftTransferLeadership swagger:route POST /raft/transfer-leadership Raft raftTransferLeadership
Attempts to transfer leadership to a different member of the cluster ¶
Attempts to transfer leadership to a different member of the cluster. Requires admin access.
func NewRaftTransferLeadership ¶ added in v1.1.3
func NewRaftTransferLeadership(ctx *middleware.Context, handler RaftTransferLeadershipHandler) *RaftTransferLeadership
NewRaftTransferLeadership creates a new http.Handler for the raft transfer leadership operation
func (*RaftTransferLeadership) ServeHTTP ¶ added in v1.1.3
func (o *RaftTransferLeadership) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type RaftTransferLeadershipHandler ¶ added in v1.1.3
type RaftTransferLeadershipHandler interface {
Handle(RaftTransferLeadershipParams) middleware.Responder
}
RaftTransferLeadershipHandler interface for that can handle valid raft transfer leadership params
type RaftTransferLeadershipHandlerFunc ¶ added in v1.1.3
type RaftTransferLeadershipHandlerFunc func(RaftTransferLeadershipParams) middleware.Responder
RaftTransferLeadershipHandlerFunc turns a function with the right signature into a raft transfer leadership handler
func (RaftTransferLeadershipHandlerFunc) Handle ¶ added in v1.1.3
func (fn RaftTransferLeadershipHandlerFunc) Handle(params RaftTransferLeadershipParams) middleware.Responder
Handle executing the request and returning a response
type RaftTransferLeadershipInternalServerError ¶ added in v1.1.3
type RaftTransferLeadershipInternalServerError struct { /* In: Body */ Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"` }
RaftTransferLeadershipInternalServerError The supplied request contains invalid fields or could not be parsed (json and non-json bodies). The error's code, message, and cause fields can be inspected for further information
swagger:response raftTransferLeadershipInternalServerError
func NewRaftTransferLeadershipInternalServerError ¶ added in v1.1.3
func NewRaftTransferLeadershipInternalServerError() *RaftTransferLeadershipInternalServerError
NewRaftTransferLeadershipInternalServerError creates RaftTransferLeadershipInternalServerError with default headers values
func (*RaftTransferLeadershipInternalServerError) SetPayload ¶ added in v1.1.3
func (o *RaftTransferLeadershipInternalServerError) SetPayload(payload *rest_model.APIErrorEnvelope)
SetPayload sets the payload to the raft transfer leadership internal server error response
func (*RaftTransferLeadershipInternalServerError) WithPayload ¶ added in v1.1.3
func (o *RaftTransferLeadershipInternalServerError) WithPayload(payload *rest_model.APIErrorEnvelope) *RaftTransferLeadershipInternalServerError
WithPayload adds the payload to the raft transfer leadership internal server error response
func (*RaftTransferLeadershipInternalServerError) WriteResponse ¶ added in v1.1.3
func (o *RaftTransferLeadershipInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type RaftTransferLeadershipNotFound ¶ added in v1.1.3
type RaftTransferLeadershipNotFound struct { /* In: Body */ Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"` }
RaftTransferLeadershipNotFound The requested resource does not exist
swagger:response raftTransferLeadershipNotFound
func NewRaftTransferLeadershipNotFound ¶ added in v1.1.3
func NewRaftTransferLeadershipNotFound() *RaftTransferLeadershipNotFound
NewRaftTransferLeadershipNotFound creates RaftTransferLeadershipNotFound with default headers values
func (*RaftTransferLeadershipNotFound) SetPayload ¶ added in v1.1.3
func (o *RaftTransferLeadershipNotFound) SetPayload(payload *rest_model.APIErrorEnvelope)
SetPayload sets the payload to the raft transfer leadership not found response
func (*RaftTransferLeadershipNotFound) WithPayload ¶ added in v1.1.3
func (o *RaftTransferLeadershipNotFound) WithPayload(payload *rest_model.APIErrorEnvelope) *RaftTransferLeadershipNotFound
WithPayload adds the payload to the raft transfer leadership not found response
func (*RaftTransferLeadershipNotFound) WriteResponse ¶ added in v1.1.3
func (o *RaftTransferLeadershipNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type RaftTransferLeadershipOK ¶ added in v1.1.3
type RaftTransferLeadershipOK struct { /* In: Body */ Payload *rest_model.Empty `json:"body,omitempty"` }
RaftTransferLeadershipOK Base empty response
swagger:response raftTransferLeadershipOK
func NewRaftTransferLeadershipOK ¶ added in v1.1.3
func NewRaftTransferLeadershipOK() *RaftTransferLeadershipOK
NewRaftTransferLeadershipOK creates RaftTransferLeadershipOK with default headers values
func (*RaftTransferLeadershipOK) SetPayload ¶ added in v1.1.3
func (o *RaftTransferLeadershipOK) SetPayload(payload *rest_model.Empty)
SetPayload sets the payload to the raft transfer leadership o k response
func (*RaftTransferLeadershipOK) WithPayload ¶ added in v1.1.3
func (o *RaftTransferLeadershipOK) WithPayload(payload *rest_model.Empty) *RaftTransferLeadershipOK
WithPayload adds the payload to the raft transfer leadership o k response
func (*RaftTransferLeadershipOK) WriteResponse ¶ added in v1.1.3
func (o *RaftTransferLeadershipOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type RaftTransferLeadershipParams ¶ added in v1.1.3
type RaftTransferLeadershipParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*transfer operation parameters Required: true In: body */ Member *rest_model.RaftTransferLeadership }
RaftTransferLeadershipParams contains all the bound params for the raft transfer leadership operation typically these are obtained from a http.Request
swagger:parameters raftTransferLeadership
func NewRaftTransferLeadershipParams ¶ added in v1.1.3
func NewRaftTransferLeadershipParams() RaftTransferLeadershipParams
NewRaftTransferLeadershipParams creates a new RaftTransferLeadershipParams object
There are no default values defined in the spec.
func (*RaftTransferLeadershipParams) BindRequest ¶ added in v1.1.3
func (o *RaftTransferLeadershipParams) 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 NewRaftTransferLeadershipParams() beforehand.
type RaftTransferLeadershipTooManyRequests ¶ added in v1.1.3
type RaftTransferLeadershipTooManyRequests struct { /* In: Body */ Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"` }
RaftTransferLeadershipTooManyRequests The resource requested is rate limited and the rate limit has been exceeded
swagger:response raftTransferLeadershipTooManyRequests
func NewRaftTransferLeadershipTooManyRequests ¶ added in v1.1.3
func NewRaftTransferLeadershipTooManyRequests() *RaftTransferLeadershipTooManyRequests
NewRaftTransferLeadershipTooManyRequests creates RaftTransferLeadershipTooManyRequests with default headers values
func (*RaftTransferLeadershipTooManyRequests) SetPayload ¶ added in v1.1.3
func (o *RaftTransferLeadershipTooManyRequests) SetPayload(payload *rest_model.APIErrorEnvelope)
SetPayload sets the payload to the raft transfer leadership too many requests response
func (*RaftTransferLeadershipTooManyRequests) WithPayload ¶ added in v1.1.3
func (o *RaftTransferLeadershipTooManyRequests) WithPayload(payload *rest_model.APIErrorEnvelope) *RaftTransferLeadershipTooManyRequests
WithPayload adds the payload to the raft transfer leadership too many requests response
func (*RaftTransferLeadershipTooManyRequests) WriteResponse ¶ added in v1.1.3
func (o *RaftTransferLeadershipTooManyRequests) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type RaftTransferLeadershipURL ¶ added in v1.1.3
type RaftTransferLeadershipURL struct {
// contains filtered or unexported fields
}
RaftTransferLeadershipURL generates an URL for the raft transfer leadership operation
func (*RaftTransferLeadershipURL) Build ¶ added in v1.1.3
func (o *RaftTransferLeadershipURL) Build() (*url.URL, error)
Build a url path and query string
func (*RaftTransferLeadershipURL) BuildFull ¶ added in v1.1.3
func (o *RaftTransferLeadershipURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*RaftTransferLeadershipURL) Must ¶ added in v1.1.3
Must is a helper function to panic when the url builder returns an error
func (*RaftTransferLeadershipURL) SetBasePath ¶ added in v1.1.3
func (o *RaftTransferLeadershipURL) 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 (*RaftTransferLeadershipURL) String ¶ added in v1.1.3
func (o *RaftTransferLeadershipURL) String() string
String returns the string representation of the path with query string
func (*RaftTransferLeadershipURL) StringFull ¶ added in v1.1.3
func (o *RaftTransferLeadershipURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*RaftTransferLeadershipURL) WithBasePath ¶ added in v1.1.3
func (o *RaftTransferLeadershipURL) WithBasePath(bp string) *RaftTransferLeadershipURL
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 RaftTransferLeadershipUnauthorized ¶ added in v1.1.3
type RaftTransferLeadershipUnauthorized struct { rest_model.APIErrorEnvelope `json:"body,omitempty"` }Payload *
RaftTransferLeadershipUnauthorized The currently supplied session does not have the correct access rights to request this resource
swagger:response raftTransferLeadershipUnauthorized
func NewRaftTransferLeadershipUnauthorized ¶ added in v1.1.3
func NewRaftTransferLeadershipUnauthorized() *RaftTransferLeadershipUnauthorized
NewRaftTransferLeadershipUnauthorized creates RaftTransferLeadershipUnauthorized with default headers values
func (*RaftTransferLeadershipUnauthorized) SetPayload ¶ added in v1.1.3
func (o *RaftTransferLeadershipUnauthorized) SetPayload(payload *rest_model.APIErrorEnvelope)
SetPayload sets the payload to the raft transfer leadership unauthorized response
func (*RaftTransferLeadershipUnauthorized) WithPayload ¶ added in v1.1.3
func (o *RaftTransferLeadershipUnauthorized) WithPayload(payload *rest_model.APIErrorEnvelope) *RaftTransferLeadershipUnauthorized
WithPayload adds the payload to the raft transfer leadership unauthorized response
func (*RaftTransferLeadershipUnauthorized) WriteResponse ¶ added in v1.1.3
func (o *RaftTransferLeadershipUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
Source Files ¶
- raft_list_members.go
- raft_list_members_parameters.go
- raft_list_members_responses.go
- raft_list_members_urlbuilder.go
- raft_member_add.go
- raft_member_add_parameters.go
- raft_member_add_responses.go
- raft_member_add_urlbuilder.go
- raft_member_remove.go
- raft_member_remove_parameters.go
- raft_member_remove_responses.go
- raft_member_remove_urlbuilder.go
- raft_transfer_leadership.go
- raft_transfer_leadership_parameters.go
- raft_transfer_leadership_responses.go
- raft_transfer_leadership_urlbuilder.go