Documentation
¶
Index ¶
- Constants
- type ClusterListMembers
- type ClusterListMembersBadRequest
- func (o *ClusterListMembersBadRequest) SetPayload(payload *rest_model.APIErrorEnvelope)
- func (o *ClusterListMembersBadRequest) WithPayload(payload *rest_model.APIErrorEnvelope) *ClusterListMembersBadRequest
- func (o *ClusterListMembersBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type ClusterListMembersHandler
- type ClusterListMembersHandlerFunc
- type ClusterListMembersOK
- type ClusterListMembersParams
- type ClusterListMembersTooManyRequests
- func (o *ClusterListMembersTooManyRequests) SetPayload(payload *rest_model.APIErrorEnvelope)
- func (o *ClusterListMembersTooManyRequests) WithPayload(payload *rest_model.APIErrorEnvelope) *ClusterListMembersTooManyRequests
- func (o *ClusterListMembersTooManyRequests) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type ClusterListMembersURL
- func (o *ClusterListMembersURL) Build() (*url.URL, error)
- func (o *ClusterListMembersURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *ClusterListMembersURL) Must(u *url.URL, err error) *url.URL
- func (o *ClusterListMembersURL) SetBasePath(bp string)
- func (o *ClusterListMembersURL) String() string
- func (o *ClusterListMembersURL) StringFull(scheme, host string) string
- func (o *ClusterListMembersURL) WithBasePath(bp string) *ClusterListMembersURL
- type ClusterListMembersUnauthorized
- func (o *ClusterListMembersUnauthorized) SetPayload(payload *rest_model.APIErrorEnvelope)
- func (o *ClusterListMembersUnauthorized) WithPayload(payload *rest_model.APIErrorEnvelope) *ClusterListMembersUnauthorized
- func (o *ClusterListMembersUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type ClusterMemberAdd
- type ClusterMemberAddBadRequest
- func (o *ClusterMemberAddBadRequest) SetPayload(payload *rest_model.APIErrorEnvelope)
- func (o *ClusterMemberAddBadRequest) WithPayload(payload *rest_model.APIErrorEnvelope) *ClusterMemberAddBadRequest
- func (o *ClusterMemberAddBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type ClusterMemberAddHandler
- type ClusterMemberAddHandlerFunc
- type ClusterMemberAddOK
- type ClusterMemberAddParams
- type ClusterMemberAddServiceUnavailable
- func (o *ClusterMemberAddServiceUnavailable) SetPayload(payload *rest_model.APIErrorEnvelope)
- func (o *ClusterMemberAddServiceUnavailable) WithPayload(payload *rest_model.APIErrorEnvelope) *ClusterMemberAddServiceUnavailable
- func (o *ClusterMemberAddServiceUnavailable) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type ClusterMemberAddTooManyRequests
- func (o *ClusterMemberAddTooManyRequests) SetPayload(payload *rest_model.APIErrorEnvelope)
- func (o *ClusterMemberAddTooManyRequests) WithPayload(payload *rest_model.APIErrorEnvelope) *ClusterMemberAddTooManyRequests
- func (o *ClusterMemberAddTooManyRequests) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type ClusterMemberAddURL
- func (o *ClusterMemberAddURL) Build() (*url.URL, error)
- func (o *ClusterMemberAddURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *ClusterMemberAddURL) Must(u *url.URL, err error) *url.URL
- func (o *ClusterMemberAddURL) SetBasePath(bp string)
- func (o *ClusterMemberAddURL) String() string
- func (o *ClusterMemberAddURL) StringFull(scheme, host string) string
- func (o *ClusterMemberAddURL) WithBasePath(bp string) *ClusterMemberAddURL
- type ClusterMemberAddUnauthorized
- func (o *ClusterMemberAddUnauthorized) SetPayload(payload *rest_model.APIErrorEnvelope)
- func (o *ClusterMemberAddUnauthorized) WithPayload(payload *rest_model.APIErrorEnvelope) *ClusterMemberAddUnauthorized
- func (o *ClusterMemberAddUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type ClusterMemberRemove
- type ClusterMemberRemoveBadRequest
- func (o *ClusterMemberRemoveBadRequest) SetPayload(payload *rest_model.APIErrorEnvelope)
- func (o *ClusterMemberRemoveBadRequest) WithPayload(payload *rest_model.APIErrorEnvelope) *ClusterMemberRemoveBadRequest
- func (o *ClusterMemberRemoveBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type ClusterMemberRemoveHandler
- type ClusterMemberRemoveHandlerFunc
- type ClusterMemberRemoveNotFound
- func (o *ClusterMemberRemoveNotFound) SetPayload(payload *rest_model.APIErrorEnvelope)
- func (o *ClusterMemberRemoveNotFound) WithPayload(payload *rest_model.APIErrorEnvelope) *ClusterMemberRemoveNotFound
- func (o *ClusterMemberRemoveNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type ClusterMemberRemoveOK
- type ClusterMemberRemoveParams
- type ClusterMemberRemoveServiceUnavailable
- func (o *ClusterMemberRemoveServiceUnavailable) SetPayload(payload *rest_model.APIErrorEnvelope)
- func (o *ClusterMemberRemoveServiceUnavailable) WithPayload(payload *rest_model.APIErrorEnvelope) *ClusterMemberRemoveServiceUnavailable
- func (o *ClusterMemberRemoveServiceUnavailable) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type ClusterMemberRemoveTooManyRequests
- func (o *ClusterMemberRemoveTooManyRequests) SetPayload(payload *rest_model.APIErrorEnvelope)
- func (o *ClusterMemberRemoveTooManyRequests) WithPayload(payload *rest_model.APIErrorEnvelope) *ClusterMemberRemoveTooManyRequests
- func (o *ClusterMemberRemoveTooManyRequests) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type ClusterMemberRemoveURL
- func (o *ClusterMemberRemoveURL) Build() (*url.URL, error)
- func (o *ClusterMemberRemoveURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *ClusterMemberRemoveURL) Must(u *url.URL, err error) *url.URL
- func (o *ClusterMemberRemoveURL) SetBasePath(bp string)
- func (o *ClusterMemberRemoveURL) String() string
- func (o *ClusterMemberRemoveURL) StringFull(scheme, host string) string
- func (o *ClusterMemberRemoveURL) WithBasePath(bp string) *ClusterMemberRemoveURL
- type ClusterMemberRemoveUnauthorized
- func (o *ClusterMemberRemoveUnauthorized) SetPayload(payload *rest_model.APIErrorEnvelope)
- func (o *ClusterMemberRemoveUnauthorized) WithPayload(payload *rest_model.APIErrorEnvelope) *ClusterMemberRemoveUnauthorized
- func (o *ClusterMemberRemoveUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type ClusterTransferLeadership
- type ClusterTransferLeadershipHandler
- type ClusterTransferLeadershipHandlerFunc
- type ClusterTransferLeadershipInternalServerError
- func (o *ClusterTransferLeadershipInternalServerError) SetPayload(payload *rest_model.APIErrorEnvelope)
- func (o *ClusterTransferLeadershipInternalServerError) WithPayload(payload *rest_model.APIErrorEnvelope) *ClusterTransferLeadershipInternalServerError
- func (o *ClusterTransferLeadershipInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type ClusterTransferLeadershipNotFound
- func (o *ClusterTransferLeadershipNotFound) SetPayload(payload *rest_model.APIErrorEnvelope)
- func (o *ClusterTransferLeadershipNotFound) WithPayload(payload *rest_model.APIErrorEnvelope) *ClusterTransferLeadershipNotFound
- func (o *ClusterTransferLeadershipNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type ClusterTransferLeadershipOK
- type ClusterTransferLeadershipParams
- type ClusterTransferLeadershipServiceUnavailable
- func (o *ClusterTransferLeadershipServiceUnavailable) SetPayload(payload *rest_model.APIErrorEnvelope)
- func (o *ClusterTransferLeadershipServiceUnavailable) WithPayload(payload *rest_model.APIErrorEnvelope) *ClusterTransferLeadershipServiceUnavailable
- func (o *ClusterTransferLeadershipServiceUnavailable) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type ClusterTransferLeadershipTooManyRequests
- func (o *ClusterTransferLeadershipTooManyRequests) SetPayload(payload *rest_model.APIErrorEnvelope)
- func (o *ClusterTransferLeadershipTooManyRequests) WithPayload(payload *rest_model.APIErrorEnvelope) *ClusterTransferLeadershipTooManyRequests
- func (o *ClusterTransferLeadershipTooManyRequests) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type ClusterTransferLeadershipURL
- func (o *ClusterTransferLeadershipURL) Build() (*url.URL, error)
- func (o *ClusterTransferLeadershipURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *ClusterTransferLeadershipURL) Must(u *url.URL, err error) *url.URL
- func (o *ClusterTransferLeadershipURL) SetBasePath(bp string)
- func (o *ClusterTransferLeadershipURL) String() string
- func (o *ClusterTransferLeadershipURL) StringFull(scheme, host string) string
- func (o *ClusterTransferLeadershipURL) WithBasePath(bp string) *ClusterTransferLeadershipURL
- type ClusterTransferLeadershipUnauthorized
- func (o *ClusterTransferLeadershipUnauthorized) SetPayload(payload *rest_model.APIErrorEnvelope)
- func (o *ClusterTransferLeadershipUnauthorized) WithPayload(payload *rest_model.APIErrorEnvelope) *ClusterTransferLeadershipUnauthorized
- func (o *ClusterTransferLeadershipUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
Constants ¶
const ClusterListMembersBadRequestCode int = 400
ClusterListMembersBadRequestCode is the HTTP code returned for type ClusterListMembersBadRequest
const ClusterListMembersOKCode int = 200
ClusterListMembersOKCode is the HTTP code returned for type ClusterListMembersOK
const ClusterListMembersTooManyRequestsCode int = 429
ClusterListMembersTooManyRequestsCode is the HTTP code returned for type ClusterListMembersTooManyRequests
ClusterListMembersUnauthorizedCode is the HTTP code returned for type ClusterListMembersUnauthorized
const ClusterMemberAddBadRequestCode int = 400
ClusterMemberAddBadRequestCode is the HTTP code returned for type ClusterMemberAddBadRequest
const ClusterMemberAddOKCode int = 200
ClusterMemberAddOKCode is the HTTP code returned for type ClusterMemberAddOK
ClusterMemberAddServiceUnavailableCode is the HTTP code returned for type ClusterMemberAddServiceUnavailable
const ClusterMemberAddTooManyRequestsCode int = 429
ClusterMemberAddTooManyRequestsCode is the HTTP code returned for type ClusterMemberAddTooManyRequests
ClusterMemberAddUnauthorizedCode is the HTTP code returned for type ClusterMemberAddUnauthorized
const ClusterMemberRemoveBadRequestCode int = 400
ClusterMemberRemoveBadRequestCode is the HTTP code returned for type ClusterMemberRemoveBadRequest
const ClusterMemberRemoveNotFoundCode int = 404
ClusterMemberRemoveNotFoundCode is the HTTP code returned for type ClusterMemberRemoveNotFound
const ClusterMemberRemoveOKCode int = 200
ClusterMemberRemoveOKCode is the HTTP code returned for type ClusterMemberRemoveOK
ClusterMemberRemoveServiceUnavailableCode is the HTTP code returned for type ClusterMemberRemoveServiceUnavailable
const ClusterMemberRemoveTooManyRequestsCode int = 429
ClusterMemberRemoveTooManyRequestsCode is the HTTP code returned for type ClusterMemberRemoveTooManyRequests
ClusterMemberRemoveUnauthorizedCode is the HTTP code returned for type ClusterMemberRemoveUnauthorized
const ClusterTransferLeadershipInternalServerErrorCode int = 500
ClusterTransferLeadershipInternalServerErrorCode is the HTTP code returned for type ClusterTransferLeadershipInternalServerError
const ClusterTransferLeadershipNotFoundCode int = 404
ClusterTransferLeadershipNotFoundCode is the HTTP code returned for type ClusterTransferLeadershipNotFound
const ClusterTransferLeadershipOKCode int = 200
ClusterTransferLeadershipOKCode is the HTTP code returned for type ClusterTransferLeadershipOK
ClusterTransferLeadershipServiceUnavailableCode is the HTTP code returned for type ClusterTransferLeadershipServiceUnavailable
const ClusterTransferLeadershipTooManyRequestsCode int = 429
ClusterTransferLeadershipTooManyRequestsCode is the HTTP code returned for type ClusterTransferLeadershipTooManyRequests
ClusterTransferLeadershipUnauthorizedCode is the HTTP code returned for type ClusterTransferLeadershipUnauthorized
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClusterListMembers ¶
type ClusterListMembers struct { Context *middleware.Context Handler ClusterListMembersHandler }
ClusterListMembers swagger:route GET /cluster/list-members Cluster clusterListMembers
Returns all members of a cluster and their current status ¶
Returns all members of a cluster and their current status
func NewClusterListMembers ¶
func NewClusterListMembers(ctx *middleware.Context, handler ClusterListMembersHandler) *ClusterListMembers
NewClusterListMembers creates a new http.Handler for the cluster list members operation
func (*ClusterListMembers) ServeHTTP ¶
func (o *ClusterListMembers) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type ClusterListMembersBadRequest ¶
type ClusterListMembersBadRequest struct { /* In: Body */ Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"` }
ClusterListMembersBadRequest 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 clusterListMembersBadRequest
func NewClusterListMembersBadRequest ¶
func NewClusterListMembersBadRequest() *ClusterListMembersBadRequest
NewClusterListMembersBadRequest creates ClusterListMembersBadRequest with default headers values
func (*ClusterListMembersBadRequest) SetPayload ¶
func (o *ClusterListMembersBadRequest) SetPayload(payload *rest_model.APIErrorEnvelope)
SetPayload sets the payload to the cluster list members bad request response
func (*ClusterListMembersBadRequest) WithPayload ¶
func (o *ClusterListMembersBadRequest) WithPayload(payload *rest_model.APIErrorEnvelope) *ClusterListMembersBadRequest
WithPayload adds the payload to the cluster list members bad request response
func (*ClusterListMembersBadRequest) WriteResponse ¶
func (o *ClusterListMembersBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ClusterListMembersHandler ¶
type ClusterListMembersHandler interface {
Handle(ClusterListMembersParams) middleware.Responder
}
ClusterListMembersHandler interface for that can handle valid cluster list members params
type ClusterListMembersHandlerFunc ¶
type ClusterListMembersHandlerFunc func(ClusterListMembersParams) middleware.Responder
ClusterListMembersHandlerFunc turns a function with the right signature into a cluster list members handler
func (ClusterListMembersHandlerFunc) Handle ¶
func (fn ClusterListMembersHandlerFunc) Handle(params ClusterListMembersParams) middleware.Responder
Handle executing the request and returning a response
type ClusterListMembersOK ¶
type ClusterListMembersOK struct { /* In: Body */ Payload *rest_model.ClusterMemberListResponse `json:"body,omitempty"` }
ClusterListMembersOK A response to a cluster list-members request
swagger:response clusterListMembersOK
func NewClusterListMembersOK ¶
func NewClusterListMembersOK() *ClusterListMembersOK
NewClusterListMembersOK creates ClusterListMembersOK with default headers values
func (*ClusterListMembersOK) SetPayload ¶
func (o *ClusterListMembersOK) SetPayload(payload *rest_model.ClusterMemberListResponse)
SetPayload sets the payload to the cluster list members o k response
func (*ClusterListMembersOK) WithPayload ¶
func (o *ClusterListMembersOK) WithPayload(payload *rest_model.ClusterMemberListResponse) *ClusterListMembersOK
WithPayload adds the payload to the cluster list members o k response
func (*ClusterListMembersOK) WriteResponse ¶
func (o *ClusterListMembersOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ClusterListMembersParams ¶
type ClusterListMembersParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` }
ClusterListMembersParams contains all the bound params for the cluster list members operation typically these are obtained from a http.Request
swagger:parameters clusterListMembers
func NewClusterListMembersParams ¶
func NewClusterListMembersParams() ClusterListMembersParams
NewClusterListMembersParams creates a new ClusterListMembersParams object
There are no default values defined in the spec.
func (*ClusterListMembersParams) BindRequest ¶
func (o *ClusterListMembersParams) 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 NewClusterListMembersParams() beforehand.
type ClusterListMembersTooManyRequests ¶
type ClusterListMembersTooManyRequests struct { /* In: Body */ Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"` }
ClusterListMembersTooManyRequests The resource requested is rate limited and the rate limit has been exceeded
swagger:response clusterListMembersTooManyRequests
func NewClusterListMembersTooManyRequests ¶
func NewClusterListMembersTooManyRequests() *ClusterListMembersTooManyRequests
NewClusterListMembersTooManyRequests creates ClusterListMembersTooManyRequests with default headers values
func (*ClusterListMembersTooManyRequests) SetPayload ¶
func (o *ClusterListMembersTooManyRequests) SetPayload(payload *rest_model.APIErrorEnvelope)
SetPayload sets the payload to the cluster list members too many requests response
func (*ClusterListMembersTooManyRequests) WithPayload ¶
func (o *ClusterListMembersTooManyRequests) WithPayload(payload *rest_model.APIErrorEnvelope) *ClusterListMembersTooManyRequests
WithPayload adds the payload to the cluster list members too many requests response
func (*ClusterListMembersTooManyRequests) WriteResponse ¶
func (o *ClusterListMembersTooManyRequests) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ClusterListMembersURL ¶
type ClusterListMembersURL struct {
// contains filtered or unexported fields
}
ClusterListMembersURL generates an URL for the cluster list members operation
func (*ClusterListMembersURL) Build ¶
func (o *ClusterListMembersURL) Build() (*url.URL, error)
Build a url path and query string
func (*ClusterListMembersURL) BuildFull ¶
func (o *ClusterListMembersURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*ClusterListMembersURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*ClusterListMembersURL) SetBasePath ¶
func (o *ClusterListMembersURL) 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 (*ClusterListMembersURL) String ¶
func (o *ClusterListMembersURL) String() string
String returns the string representation of the path with query string
func (*ClusterListMembersURL) StringFull ¶
func (o *ClusterListMembersURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*ClusterListMembersURL) WithBasePath ¶
func (o *ClusterListMembersURL) WithBasePath(bp string) *ClusterListMembersURL
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 ClusterListMembersUnauthorized ¶
type ClusterListMembersUnauthorized struct { rest_model.APIErrorEnvelope `json:"body,omitempty"` }Payload *
ClusterListMembersUnauthorized The currently supplied session does not have the correct access rights to request this resource
swagger:response clusterListMembersUnauthorized
func NewClusterListMembersUnauthorized ¶
func NewClusterListMembersUnauthorized() *ClusterListMembersUnauthorized
NewClusterListMembersUnauthorized creates ClusterListMembersUnauthorized with default headers values
func (*ClusterListMembersUnauthorized) SetPayload ¶
func (o *ClusterListMembersUnauthorized) SetPayload(payload *rest_model.APIErrorEnvelope)
SetPayload sets the payload to the cluster list members unauthorized response
func (*ClusterListMembersUnauthorized) WithPayload ¶
func (o *ClusterListMembersUnauthorized) WithPayload(payload *rest_model.APIErrorEnvelope) *ClusterListMembersUnauthorized
WithPayload adds the payload to the cluster list members unauthorized response
func (*ClusterListMembersUnauthorized) WriteResponse ¶
func (o *ClusterListMembersUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ClusterMemberAdd ¶
type ClusterMemberAdd struct { Context *middleware.Context Handler ClusterMemberAddHandler }
ClusterMemberAdd swagger:route POST /cluster/add-member Cluster clusterMemberAdd
Add a member to the controller cluster ¶
Add a member to the controller cluster. Requires admin access.
func NewClusterMemberAdd ¶
func NewClusterMemberAdd(ctx *middleware.Context, handler ClusterMemberAddHandler) *ClusterMemberAdd
NewClusterMemberAdd creates a new http.Handler for the cluster member add operation
func (*ClusterMemberAdd) ServeHTTP ¶
func (o *ClusterMemberAdd) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type ClusterMemberAddBadRequest ¶
type ClusterMemberAddBadRequest struct { /* In: Body */ Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"` }
ClusterMemberAddBadRequest 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 clusterMemberAddBadRequest
func NewClusterMemberAddBadRequest ¶
func NewClusterMemberAddBadRequest() *ClusterMemberAddBadRequest
NewClusterMemberAddBadRequest creates ClusterMemberAddBadRequest with default headers values
func (*ClusterMemberAddBadRequest) SetPayload ¶
func (o *ClusterMemberAddBadRequest) SetPayload(payload *rest_model.APIErrorEnvelope)
SetPayload sets the payload to the cluster member add bad request response
func (*ClusterMemberAddBadRequest) WithPayload ¶
func (o *ClusterMemberAddBadRequest) WithPayload(payload *rest_model.APIErrorEnvelope) *ClusterMemberAddBadRequest
WithPayload adds the payload to the cluster member add bad request response
func (*ClusterMemberAddBadRequest) WriteResponse ¶
func (o *ClusterMemberAddBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ClusterMemberAddHandler ¶
type ClusterMemberAddHandler interface {
Handle(ClusterMemberAddParams) middleware.Responder
}
ClusterMemberAddHandler interface for that can handle valid cluster member add params
type ClusterMemberAddHandlerFunc ¶
type ClusterMemberAddHandlerFunc func(ClusterMemberAddParams) middleware.Responder
ClusterMemberAddHandlerFunc turns a function with the right signature into a cluster member add handler
func (ClusterMemberAddHandlerFunc) Handle ¶
func (fn ClusterMemberAddHandlerFunc) Handle(params ClusterMemberAddParams) middleware.Responder
Handle executing the request and returning a response
type ClusterMemberAddOK ¶
type ClusterMemberAddOK struct { /* In: Body */ Payload *rest_model.Empty `json:"body,omitempty"` }
ClusterMemberAddOK Base empty response
swagger:response clusterMemberAddOK
func NewClusterMemberAddOK ¶
func NewClusterMemberAddOK() *ClusterMemberAddOK
NewClusterMemberAddOK creates ClusterMemberAddOK with default headers values
func (*ClusterMemberAddOK) SetPayload ¶
func (o *ClusterMemberAddOK) SetPayload(payload *rest_model.Empty)
SetPayload sets the payload to the cluster member add o k response
func (*ClusterMemberAddOK) WithPayload ¶
func (o *ClusterMemberAddOK) WithPayload(payload *rest_model.Empty) *ClusterMemberAddOK
WithPayload adds the payload to the cluster member add o k response
func (*ClusterMemberAddOK) WriteResponse ¶
func (o *ClusterMemberAddOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ClusterMemberAddParams ¶
type ClusterMemberAddParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*member parameters Required: true In: body */ Member *rest_model.ClusterMemberAdd }
ClusterMemberAddParams contains all the bound params for the cluster member add operation typically these are obtained from a http.Request
swagger:parameters clusterMemberAdd
func NewClusterMemberAddParams ¶
func NewClusterMemberAddParams() ClusterMemberAddParams
NewClusterMemberAddParams creates a new ClusterMemberAddParams object
There are no default values defined in the spec.
func (*ClusterMemberAddParams) BindRequest ¶
func (o *ClusterMemberAddParams) 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 NewClusterMemberAddParams() beforehand.
type ClusterMemberAddServiceUnavailable ¶
type ClusterMemberAddServiceUnavailable struct { rest_model.APIErrorEnvelope `json:"body,omitempty"` }Payload *
ClusterMemberAddServiceUnavailable The request could not be completed due to the server being busy or in a temporarily bad state
swagger:response clusterMemberAddServiceUnavailable
func NewClusterMemberAddServiceUnavailable ¶
func NewClusterMemberAddServiceUnavailable() *ClusterMemberAddServiceUnavailable
NewClusterMemberAddServiceUnavailable creates ClusterMemberAddServiceUnavailable with default headers values
func (*ClusterMemberAddServiceUnavailable) SetPayload ¶
func (o *ClusterMemberAddServiceUnavailable) SetPayload(payload *rest_model.APIErrorEnvelope)
SetPayload sets the payload to the cluster member add service unavailable response
func (*ClusterMemberAddServiceUnavailable) WithPayload ¶
func (o *ClusterMemberAddServiceUnavailable) WithPayload(payload *rest_model.APIErrorEnvelope) *ClusterMemberAddServiceUnavailable
WithPayload adds the payload to the cluster member add service unavailable response
func (*ClusterMemberAddServiceUnavailable) WriteResponse ¶
func (o *ClusterMemberAddServiceUnavailable) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ClusterMemberAddTooManyRequests ¶
type ClusterMemberAddTooManyRequests struct { /* In: Body */ Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"` }
ClusterMemberAddTooManyRequests The resource requested is rate limited and the rate limit has been exceeded
swagger:response clusterMemberAddTooManyRequests
func NewClusterMemberAddTooManyRequests ¶
func NewClusterMemberAddTooManyRequests() *ClusterMemberAddTooManyRequests
NewClusterMemberAddTooManyRequests creates ClusterMemberAddTooManyRequests with default headers values
func (*ClusterMemberAddTooManyRequests) SetPayload ¶
func (o *ClusterMemberAddTooManyRequests) SetPayload(payload *rest_model.APIErrorEnvelope)
SetPayload sets the payload to the cluster member add too many requests response
func (*ClusterMemberAddTooManyRequests) WithPayload ¶
func (o *ClusterMemberAddTooManyRequests) WithPayload(payload *rest_model.APIErrorEnvelope) *ClusterMemberAddTooManyRequests
WithPayload adds the payload to the cluster member add too many requests response
func (*ClusterMemberAddTooManyRequests) WriteResponse ¶
func (o *ClusterMemberAddTooManyRequests) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ClusterMemberAddURL ¶
type ClusterMemberAddURL struct {
// contains filtered or unexported fields
}
ClusterMemberAddURL generates an URL for the cluster member add operation
func (*ClusterMemberAddURL) Build ¶
func (o *ClusterMemberAddURL) Build() (*url.URL, error)
Build a url path and query string
func (*ClusterMemberAddURL) BuildFull ¶
func (o *ClusterMemberAddURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*ClusterMemberAddURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*ClusterMemberAddURL) SetBasePath ¶
func (o *ClusterMemberAddURL) 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 (*ClusterMemberAddURL) String ¶
func (o *ClusterMemberAddURL) String() string
String returns the string representation of the path with query string
func (*ClusterMemberAddURL) StringFull ¶
func (o *ClusterMemberAddURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*ClusterMemberAddURL) WithBasePath ¶
func (o *ClusterMemberAddURL) WithBasePath(bp string) *ClusterMemberAddURL
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 ClusterMemberAddUnauthorized ¶
type ClusterMemberAddUnauthorized struct { rest_model.APIErrorEnvelope `json:"body,omitempty"` }Payload *
ClusterMemberAddUnauthorized The currently supplied session does not have the correct access rights to request this resource
swagger:response clusterMemberAddUnauthorized
func NewClusterMemberAddUnauthorized ¶
func NewClusterMemberAddUnauthorized() *ClusterMemberAddUnauthorized
NewClusterMemberAddUnauthorized creates ClusterMemberAddUnauthorized with default headers values
func (*ClusterMemberAddUnauthorized) SetPayload ¶
func (o *ClusterMemberAddUnauthorized) SetPayload(payload *rest_model.APIErrorEnvelope)
SetPayload sets the payload to the cluster member add unauthorized response
func (*ClusterMemberAddUnauthorized) WithPayload ¶
func (o *ClusterMemberAddUnauthorized) WithPayload(payload *rest_model.APIErrorEnvelope) *ClusterMemberAddUnauthorized
WithPayload adds the payload to the cluster member add unauthorized response
func (*ClusterMemberAddUnauthorized) WriteResponse ¶
func (o *ClusterMemberAddUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ClusterMemberRemove ¶
type ClusterMemberRemove struct { Context *middleware.Context Handler ClusterMemberRemoveHandler }
ClusterMemberRemove swagger:route POST /cluster/remove-member Cluster clusterMemberRemove
Remove a member from the controller cluster ¶
Remove a member from the controller cluster. Requires admin access.
func NewClusterMemberRemove ¶
func NewClusterMemberRemove(ctx *middleware.Context, handler ClusterMemberRemoveHandler) *ClusterMemberRemove
NewClusterMemberRemove creates a new http.Handler for the cluster member remove operation
func (*ClusterMemberRemove) ServeHTTP ¶
func (o *ClusterMemberRemove) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type ClusterMemberRemoveBadRequest ¶
type ClusterMemberRemoveBadRequest struct { /* In: Body */ Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"` }
ClusterMemberRemoveBadRequest 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 clusterMemberRemoveBadRequest
func NewClusterMemberRemoveBadRequest ¶
func NewClusterMemberRemoveBadRequest() *ClusterMemberRemoveBadRequest
NewClusterMemberRemoveBadRequest creates ClusterMemberRemoveBadRequest with default headers values
func (*ClusterMemberRemoveBadRequest) SetPayload ¶
func (o *ClusterMemberRemoveBadRequest) SetPayload(payload *rest_model.APIErrorEnvelope)
SetPayload sets the payload to the cluster member remove bad request response
func (*ClusterMemberRemoveBadRequest) WithPayload ¶
func (o *ClusterMemberRemoveBadRequest) WithPayload(payload *rest_model.APIErrorEnvelope) *ClusterMemberRemoveBadRequest
WithPayload adds the payload to the cluster member remove bad request response
func (*ClusterMemberRemoveBadRequest) WriteResponse ¶
func (o *ClusterMemberRemoveBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ClusterMemberRemoveHandler ¶
type ClusterMemberRemoveHandler interface {
Handle(ClusterMemberRemoveParams) middleware.Responder
}
ClusterMemberRemoveHandler interface for that can handle valid cluster member remove params
type ClusterMemberRemoveHandlerFunc ¶
type ClusterMemberRemoveHandlerFunc func(ClusterMemberRemoveParams) middleware.Responder
ClusterMemberRemoveHandlerFunc turns a function with the right signature into a cluster member remove handler
func (ClusterMemberRemoveHandlerFunc) Handle ¶
func (fn ClusterMemberRemoveHandlerFunc) Handle(params ClusterMemberRemoveParams) middleware.Responder
Handle executing the request and returning a response
type ClusterMemberRemoveNotFound ¶
type ClusterMemberRemoveNotFound struct { /* In: Body */ Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"` }
ClusterMemberRemoveNotFound The requested resource does not exist
swagger:response clusterMemberRemoveNotFound
func NewClusterMemberRemoveNotFound ¶
func NewClusterMemberRemoveNotFound() *ClusterMemberRemoveNotFound
NewClusterMemberRemoveNotFound creates ClusterMemberRemoveNotFound with default headers values
func (*ClusterMemberRemoveNotFound) SetPayload ¶
func (o *ClusterMemberRemoveNotFound) SetPayload(payload *rest_model.APIErrorEnvelope)
SetPayload sets the payload to the cluster member remove not found response
func (*ClusterMemberRemoveNotFound) WithPayload ¶
func (o *ClusterMemberRemoveNotFound) WithPayload(payload *rest_model.APIErrorEnvelope) *ClusterMemberRemoveNotFound
WithPayload adds the payload to the cluster member remove not found response
func (*ClusterMemberRemoveNotFound) WriteResponse ¶
func (o *ClusterMemberRemoveNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ClusterMemberRemoveOK ¶
type ClusterMemberRemoveOK struct { /* In: Body */ Payload *rest_model.Empty `json:"body,omitempty"` }
ClusterMemberRemoveOK Base empty response
swagger:response clusterMemberRemoveOK
func NewClusterMemberRemoveOK ¶
func NewClusterMemberRemoveOK() *ClusterMemberRemoveOK
NewClusterMemberRemoveOK creates ClusterMemberRemoveOK with default headers values
func (*ClusterMemberRemoveOK) SetPayload ¶
func (o *ClusterMemberRemoveOK) SetPayload(payload *rest_model.Empty)
SetPayload sets the payload to the cluster member remove o k response
func (*ClusterMemberRemoveOK) WithPayload ¶
func (o *ClusterMemberRemoveOK) WithPayload(payload *rest_model.Empty) *ClusterMemberRemoveOK
WithPayload adds the payload to the cluster member remove o k response
func (*ClusterMemberRemoveOK) WriteResponse ¶
func (o *ClusterMemberRemoveOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ClusterMemberRemoveParams ¶
type ClusterMemberRemoveParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*member parameters Required: true In: body */ Member *rest_model.ClusterMemberRemove }
ClusterMemberRemoveParams contains all the bound params for the cluster member remove operation typically these are obtained from a http.Request
swagger:parameters clusterMemberRemove
func NewClusterMemberRemoveParams ¶
func NewClusterMemberRemoveParams() ClusterMemberRemoveParams
NewClusterMemberRemoveParams creates a new ClusterMemberRemoveParams object
There are no default values defined in the spec.
func (*ClusterMemberRemoveParams) BindRequest ¶
func (o *ClusterMemberRemoveParams) 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 NewClusterMemberRemoveParams() beforehand.
type ClusterMemberRemoveServiceUnavailable ¶
type ClusterMemberRemoveServiceUnavailable struct { rest_model.APIErrorEnvelope `json:"body,omitempty"` }Payload *
ClusterMemberRemoveServiceUnavailable The request could not be completed due to the server being busy or in a temporarily bad state
swagger:response clusterMemberRemoveServiceUnavailable
func NewClusterMemberRemoveServiceUnavailable ¶
func NewClusterMemberRemoveServiceUnavailable() *ClusterMemberRemoveServiceUnavailable
NewClusterMemberRemoveServiceUnavailable creates ClusterMemberRemoveServiceUnavailable with default headers values
func (*ClusterMemberRemoveServiceUnavailable) SetPayload ¶
func (o *ClusterMemberRemoveServiceUnavailable) SetPayload(payload *rest_model.APIErrorEnvelope)
SetPayload sets the payload to the cluster member remove service unavailable response
func (*ClusterMemberRemoveServiceUnavailable) WithPayload ¶
func (o *ClusterMemberRemoveServiceUnavailable) WithPayload(payload *rest_model.APIErrorEnvelope) *ClusterMemberRemoveServiceUnavailable
WithPayload adds the payload to the cluster member remove service unavailable response
func (*ClusterMemberRemoveServiceUnavailable) WriteResponse ¶
func (o *ClusterMemberRemoveServiceUnavailable) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ClusterMemberRemoveTooManyRequests ¶
type ClusterMemberRemoveTooManyRequests struct { /* In: Body */ Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"` }
ClusterMemberRemoveTooManyRequests The resource requested is rate limited and the rate limit has been exceeded
swagger:response clusterMemberRemoveTooManyRequests
func NewClusterMemberRemoveTooManyRequests ¶
func NewClusterMemberRemoveTooManyRequests() *ClusterMemberRemoveTooManyRequests
NewClusterMemberRemoveTooManyRequests creates ClusterMemberRemoveTooManyRequests with default headers values
func (*ClusterMemberRemoveTooManyRequests) SetPayload ¶
func (o *ClusterMemberRemoveTooManyRequests) SetPayload(payload *rest_model.APIErrorEnvelope)
SetPayload sets the payload to the cluster member remove too many requests response
func (*ClusterMemberRemoveTooManyRequests) WithPayload ¶
func (o *ClusterMemberRemoveTooManyRequests) WithPayload(payload *rest_model.APIErrorEnvelope) *ClusterMemberRemoveTooManyRequests
WithPayload adds the payload to the cluster member remove too many requests response
func (*ClusterMemberRemoveTooManyRequests) WriteResponse ¶
func (o *ClusterMemberRemoveTooManyRequests) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ClusterMemberRemoveURL ¶
type ClusterMemberRemoveURL struct {
// contains filtered or unexported fields
}
ClusterMemberRemoveURL generates an URL for the cluster member remove operation
func (*ClusterMemberRemoveURL) Build ¶
func (o *ClusterMemberRemoveURL) Build() (*url.URL, error)
Build a url path and query string
func (*ClusterMemberRemoveURL) BuildFull ¶
func (o *ClusterMemberRemoveURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*ClusterMemberRemoveURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*ClusterMemberRemoveURL) SetBasePath ¶
func (o *ClusterMemberRemoveURL) 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 (*ClusterMemberRemoveURL) String ¶
func (o *ClusterMemberRemoveURL) String() string
String returns the string representation of the path with query string
func (*ClusterMemberRemoveURL) StringFull ¶
func (o *ClusterMemberRemoveURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*ClusterMemberRemoveURL) WithBasePath ¶
func (o *ClusterMemberRemoveURL) WithBasePath(bp string) *ClusterMemberRemoveURL
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 ClusterMemberRemoveUnauthorized ¶
type ClusterMemberRemoveUnauthorized struct { rest_model.APIErrorEnvelope `json:"body,omitempty"` }Payload *
ClusterMemberRemoveUnauthorized The currently supplied session does not have the correct access rights to request this resource
swagger:response clusterMemberRemoveUnauthorized
func NewClusterMemberRemoveUnauthorized ¶
func NewClusterMemberRemoveUnauthorized() *ClusterMemberRemoveUnauthorized
NewClusterMemberRemoveUnauthorized creates ClusterMemberRemoveUnauthorized with default headers values
func (*ClusterMemberRemoveUnauthorized) SetPayload ¶
func (o *ClusterMemberRemoveUnauthorized) SetPayload(payload *rest_model.APIErrorEnvelope)
SetPayload sets the payload to the cluster member remove unauthorized response
func (*ClusterMemberRemoveUnauthorized) WithPayload ¶
func (o *ClusterMemberRemoveUnauthorized) WithPayload(payload *rest_model.APIErrorEnvelope) *ClusterMemberRemoveUnauthorized
WithPayload adds the payload to the cluster member remove unauthorized response
func (*ClusterMemberRemoveUnauthorized) WriteResponse ¶
func (o *ClusterMemberRemoveUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ClusterTransferLeadership ¶
type ClusterTransferLeadership struct { Context *middleware.Context Handler ClusterTransferLeadershipHandler }
ClusterTransferLeadership swagger:route POST /cluster/transfer-leadership Cluster clusterTransferLeadership
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 NewClusterTransferLeadership ¶
func NewClusterTransferLeadership(ctx *middleware.Context, handler ClusterTransferLeadershipHandler) *ClusterTransferLeadership
NewClusterTransferLeadership creates a new http.Handler for the cluster transfer leadership operation
func (*ClusterTransferLeadership) ServeHTTP ¶
func (o *ClusterTransferLeadership) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type ClusterTransferLeadershipHandler ¶
type ClusterTransferLeadershipHandler interface {
Handle(ClusterTransferLeadershipParams) middleware.Responder
}
ClusterTransferLeadershipHandler interface for that can handle valid cluster transfer leadership params
type ClusterTransferLeadershipHandlerFunc ¶
type ClusterTransferLeadershipHandlerFunc func(ClusterTransferLeadershipParams) middleware.Responder
ClusterTransferLeadershipHandlerFunc turns a function with the right signature into a cluster transfer leadership handler
func (ClusterTransferLeadershipHandlerFunc) Handle ¶
func (fn ClusterTransferLeadershipHandlerFunc) Handle(params ClusterTransferLeadershipParams) middleware.Responder
Handle executing the request and returning a response
type ClusterTransferLeadershipInternalServerError ¶
type ClusterTransferLeadershipInternalServerError struct { /* In: Body */ Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"` }
ClusterTransferLeadershipInternalServerError 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 clusterTransferLeadershipInternalServerError
func NewClusterTransferLeadershipInternalServerError ¶
func NewClusterTransferLeadershipInternalServerError() *ClusterTransferLeadershipInternalServerError
NewClusterTransferLeadershipInternalServerError creates ClusterTransferLeadershipInternalServerError with default headers values
func (*ClusterTransferLeadershipInternalServerError) SetPayload ¶
func (o *ClusterTransferLeadershipInternalServerError) SetPayload(payload *rest_model.APIErrorEnvelope)
SetPayload sets the payload to the cluster transfer leadership internal server error response
func (*ClusterTransferLeadershipInternalServerError) WithPayload ¶
func (o *ClusterTransferLeadershipInternalServerError) WithPayload(payload *rest_model.APIErrorEnvelope) *ClusterTransferLeadershipInternalServerError
WithPayload adds the payload to the cluster transfer leadership internal server error response
func (*ClusterTransferLeadershipInternalServerError) WriteResponse ¶
func (o *ClusterTransferLeadershipInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ClusterTransferLeadershipNotFound ¶
type ClusterTransferLeadershipNotFound struct { /* In: Body */ Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"` }
ClusterTransferLeadershipNotFound The requested resource does not exist
swagger:response clusterTransferLeadershipNotFound
func NewClusterTransferLeadershipNotFound ¶
func NewClusterTransferLeadershipNotFound() *ClusterTransferLeadershipNotFound
NewClusterTransferLeadershipNotFound creates ClusterTransferLeadershipNotFound with default headers values
func (*ClusterTransferLeadershipNotFound) SetPayload ¶
func (o *ClusterTransferLeadershipNotFound) SetPayload(payload *rest_model.APIErrorEnvelope)
SetPayload sets the payload to the cluster transfer leadership not found response
func (*ClusterTransferLeadershipNotFound) WithPayload ¶
func (o *ClusterTransferLeadershipNotFound) WithPayload(payload *rest_model.APIErrorEnvelope) *ClusterTransferLeadershipNotFound
WithPayload adds the payload to the cluster transfer leadership not found response
func (*ClusterTransferLeadershipNotFound) WriteResponse ¶
func (o *ClusterTransferLeadershipNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ClusterTransferLeadershipOK ¶
type ClusterTransferLeadershipOK struct { /* In: Body */ Payload *rest_model.Empty `json:"body,omitempty"` }
ClusterTransferLeadershipOK Base empty response
swagger:response clusterTransferLeadershipOK
func NewClusterTransferLeadershipOK ¶
func NewClusterTransferLeadershipOK() *ClusterTransferLeadershipOK
NewClusterTransferLeadershipOK creates ClusterTransferLeadershipOK with default headers values
func (*ClusterTransferLeadershipOK) SetPayload ¶
func (o *ClusterTransferLeadershipOK) SetPayload(payload *rest_model.Empty)
SetPayload sets the payload to the cluster transfer leadership o k response
func (*ClusterTransferLeadershipOK) WithPayload ¶
func (o *ClusterTransferLeadershipOK) WithPayload(payload *rest_model.Empty) *ClusterTransferLeadershipOK
WithPayload adds the payload to the cluster transfer leadership o k response
func (*ClusterTransferLeadershipOK) WriteResponse ¶
func (o *ClusterTransferLeadershipOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ClusterTransferLeadershipParams ¶
type ClusterTransferLeadershipParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*transfer operation parameters Required: true In: body */ Member *rest_model.ClusterTransferLeadership }
ClusterTransferLeadershipParams contains all the bound params for the cluster transfer leadership operation typically these are obtained from a http.Request
swagger:parameters clusterTransferLeadership
func NewClusterTransferLeadershipParams ¶
func NewClusterTransferLeadershipParams() ClusterTransferLeadershipParams
NewClusterTransferLeadershipParams creates a new ClusterTransferLeadershipParams object
There are no default values defined in the spec.
func (*ClusterTransferLeadershipParams) BindRequest ¶
func (o *ClusterTransferLeadershipParams) 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 NewClusterTransferLeadershipParams() beforehand.
type ClusterTransferLeadershipServiceUnavailable ¶
type ClusterTransferLeadershipServiceUnavailable struct { rest_model.APIErrorEnvelope `json:"body,omitempty"` }Payload *
ClusterTransferLeadershipServiceUnavailable The request could not be completed due to the server being busy or in a temporarily bad state
swagger:response clusterTransferLeadershipServiceUnavailable
func NewClusterTransferLeadershipServiceUnavailable ¶
func NewClusterTransferLeadershipServiceUnavailable() *ClusterTransferLeadershipServiceUnavailable
NewClusterTransferLeadershipServiceUnavailable creates ClusterTransferLeadershipServiceUnavailable with default headers values
func (*ClusterTransferLeadershipServiceUnavailable) SetPayload ¶
func (o *ClusterTransferLeadershipServiceUnavailable) SetPayload(payload *rest_model.APIErrorEnvelope)
SetPayload sets the payload to the cluster transfer leadership service unavailable response
func (*ClusterTransferLeadershipServiceUnavailable) WithPayload ¶
func (o *ClusterTransferLeadershipServiceUnavailable) WithPayload(payload *rest_model.APIErrorEnvelope) *ClusterTransferLeadershipServiceUnavailable
WithPayload adds the payload to the cluster transfer leadership service unavailable response
func (*ClusterTransferLeadershipServiceUnavailable) WriteResponse ¶
func (o *ClusterTransferLeadershipServiceUnavailable) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ClusterTransferLeadershipTooManyRequests ¶
type ClusterTransferLeadershipTooManyRequests struct { /* In: Body */ Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"` }
ClusterTransferLeadershipTooManyRequests The resource requested is rate limited and the rate limit has been exceeded
swagger:response clusterTransferLeadershipTooManyRequests
func NewClusterTransferLeadershipTooManyRequests ¶
func NewClusterTransferLeadershipTooManyRequests() *ClusterTransferLeadershipTooManyRequests
NewClusterTransferLeadershipTooManyRequests creates ClusterTransferLeadershipTooManyRequests with default headers values
func (*ClusterTransferLeadershipTooManyRequests) SetPayload ¶
func (o *ClusterTransferLeadershipTooManyRequests) SetPayload(payload *rest_model.APIErrorEnvelope)
SetPayload sets the payload to the cluster transfer leadership too many requests response
func (*ClusterTransferLeadershipTooManyRequests) WithPayload ¶
func (o *ClusterTransferLeadershipTooManyRequests) WithPayload(payload *rest_model.APIErrorEnvelope) *ClusterTransferLeadershipTooManyRequests
WithPayload adds the payload to the cluster transfer leadership too many requests response
func (*ClusterTransferLeadershipTooManyRequests) WriteResponse ¶
func (o *ClusterTransferLeadershipTooManyRequests) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ClusterTransferLeadershipURL ¶
type ClusterTransferLeadershipURL struct {
// contains filtered or unexported fields
}
ClusterTransferLeadershipURL generates an URL for the cluster transfer leadership operation
func (*ClusterTransferLeadershipURL) Build ¶
func (o *ClusterTransferLeadershipURL) Build() (*url.URL, error)
Build a url path and query string
func (*ClusterTransferLeadershipURL) BuildFull ¶
func (o *ClusterTransferLeadershipURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*ClusterTransferLeadershipURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*ClusterTransferLeadershipURL) SetBasePath ¶
func (o *ClusterTransferLeadershipURL) 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 (*ClusterTransferLeadershipURL) String ¶
func (o *ClusterTransferLeadershipURL) String() string
String returns the string representation of the path with query string
func (*ClusterTransferLeadershipURL) StringFull ¶
func (o *ClusterTransferLeadershipURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*ClusterTransferLeadershipURL) WithBasePath ¶
func (o *ClusterTransferLeadershipURL) WithBasePath(bp string) *ClusterTransferLeadershipURL
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 ClusterTransferLeadershipUnauthorized ¶
type ClusterTransferLeadershipUnauthorized struct { rest_model.APIErrorEnvelope `json:"body,omitempty"` }Payload *
ClusterTransferLeadershipUnauthorized The currently supplied session does not have the correct access rights to request this resource
swagger:response clusterTransferLeadershipUnauthorized
func NewClusterTransferLeadershipUnauthorized ¶
func NewClusterTransferLeadershipUnauthorized() *ClusterTransferLeadershipUnauthorized
NewClusterTransferLeadershipUnauthorized creates ClusterTransferLeadershipUnauthorized with default headers values
func (*ClusterTransferLeadershipUnauthorized) SetPayload ¶
func (o *ClusterTransferLeadershipUnauthorized) SetPayload(payload *rest_model.APIErrorEnvelope)
SetPayload sets the payload to the cluster transfer leadership unauthorized response
func (*ClusterTransferLeadershipUnauthorized) WithPayload ¶
func (o *ClusterTransferLeadershipUnauthorized) WithPayload(payload *rest_model.APIErrorEnvelope) *ClusterTransferLeadershipUnauthorized
WithPayload adds the payload to the cluster transfer leadership unauthorized response
func (*ClusterTransferLeadershipUnauthorized) WriteResponse ¶
func (o *ClusterTransferLeadershipUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
Source Files
¶
- cluster_list_members.go
- cluster_list_members_parameters.go
- cluster_list_members_responses.go
- cluster_list_members_urlbuilder.go
- cluster_member_add.go
- cluster_member_add_parameters.go
- cluster_member_add_responses.go
- cluster_member_add_urlbuilder.go
- cluster_member_remove.go
- cluster_member_remove_parameters.go
- cluster_member_remove_responses.go
- cluster_member_remove_urlbuilder.go
- cluster_transfer_leadership.go
- cluster_transfer_leadership_parameters.go
- cluster_transfer_leadership_responses.go
- cluster_transfer_leadership_urlbuilder.go